1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPosition swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewCanvas swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewControlBar swig_types[103]
2570 #define SWIGTYPE_p_wxPreviewFrame swig_types[104]
2571 #define SWIGTYPE_p_wxPrintData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPrintDialogData swig_types[107]
2574 #define SWIGTYPE_p_wxPrintPreview swig_types[108]
2575 #define SWIGTYPE_p_wxPrinter swig_types[109]
2576 #define SWIGTYPE_p_wxProgressDialog swig_types[110]
2577 #define SWIGTYPE_p_wxPyApp swig_types[111]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyHScrolledWindow swig_types[114]
2581 #define SWIGTYPE_p_wxPyHVScrolledWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[116]
2583 #define SWIGTYPE_p_wxPyImageHandler swig_types[117]
2584 #define SWIGTYPE_p_wxPyPanel swig_types[118]
2585 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[119]
2586 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[120]
2587 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[121]
2588 #define SWIGTYPE_p_wxPyPrintPreview swig_types[122]
2589 #define SWIGTYPE_p_wxPyPrintout swig_types[123]
2590 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[126]
2593 #define SWIGTYPE_p_wxPyVListBox swig_types[127]
2594 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxPyWindow swig_types[130]
2597 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[131]
2598 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxRegion swig_types[134]
2601 #define SWIGTYPE_p_wxSashEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSashWindow swig_types[137]
2604 #define SWIGTYPE_p_wxScrollEvent swig_types[138]
2605 #define SWIGTYPE_p_wxScrollWinEvent swig_types[139]
2606 #define SWIGTYPE_p_wxScrolledWindow swig_types[140]
2607 #define SWIGTYPE_p_wxSetCursorEvent swig_types[141]
2608 #define SWIGTYPE_p_wxShowEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[143]
2610 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[144]
2611 #define SWIGTYPE_p_wxSize swig_types[145]
2612 #define SWIGTYPE_p_wxSizeEvent swig_types[146]
2613 #define SWIGTYPE_p_wxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxSizerItem swig_types[148]
2615 #define SWIGTYPE_p_wxSplashScreen swig_types[149]
2616 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[150]
2617 #define SWIGTYPE_p_wxSplitterEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSplitterWindow swig_types[152]
2619 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxStatusBar swig_types[154]
2621 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[155]
2622 #define SWIGTYPE_p_wxString swig_types[156]
2623 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTGAHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTIFFHandler swig_types[159]
2626 #define SWIGTYPE_p_wxTaskBarIcon swig_types[160]
2627 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTextEntryDialog swig_types[162]
2629 #define SWIGTYPE_p_wxTipWindow swig_types[163]
2630 #define SWIGTYPE_p_wxToolBar swig_types[164]
2631 #define SWIGTYPE_p_wxTopLevelWindow swig_types[165]
2632 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
2633 #define SWIGTYPE_p_wxValidator swig_types[167]
2634 #define SWIGTYPE_p_wxVarHScrollHelper swig_types[168]
2635 #define SWIGTYPE_p_wxVarHVScrollHelper swig_types[169]
2636 #define SWIGTYPE_p_wxVarScrollHelperBase swig_types[170]
2637 #define SWIGTYPE_p_wxVarVScrollHelper swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[174]
2641 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175]
2642 #define SWIGTYPE_p_wxXPMHandler swig_types[176]
2643 static swig_type_info
*swig_types
[178];
2644 static swig_module_info swig_module
= {swig_types
, 177, 0, 0, 0, 0};
2645 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2646 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2648 /* -------- TYPES TABLE (END) -------- */
2650 #if (PY_VERSION_HEX <= 0x02000000)
2651 # if !defined(SWIG_PYTHON_CLASSIC)
2652 # error "This python version requires to use swig with the '-classic' option"
2655 #if (PY_VERSION_HEX <= 0x02020000)
2656 # error "This python version requires to use swig with the '-nomodern' option"
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodernargs' option"
2662 # error "This python version requires to use swig with the '-nofastunpack' option"
2665 /*-----------------------------------------------
2666 @(target):= _windows_.so
2667 ------------------------------------------------*/
2668 #define SWIG_init init_windows_
2670 #define SWIG_name "_windows_"
2672 #define SWIGVERSION 0x010329
2675 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2676 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2679 #include <stdexcept>
2683 class PyObject_ptr
{
2688 PyObject_ptr() :_obj(0)
2692 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2697 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2699 if (initial_ref
) Py_XINCREF(_obj
);
2702 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2704 Py_XINCREF(item
._obj
);
2715 operator PyObject
*() const
2720 PyObject
*operator->() const
2729 struct PyObject_var
: PyObject_ptr
{
2730 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2732 PyObject_var
& operator = (PyObject
* obj
)
2742 #include "wx/wxPython/wxPython.h"
2743 #include "wx/wxPython/pyclasses.h"
2746 static const wxString
wxPyEmptyString(wxEmptyString
);
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2778 int res
= SWIG_AsVal_long (obj
, &v
);
2779 if (SWIG_IsOK(res
)) {
2780 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2781 return SWIG_OverflowError
;
2783 if (val
) *val
= static_cast< int >(v
);
2791 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2793 if (obj
== Py_True
) {
2794 if (val
) *val
= true;
2796 } else if (obj
== Py_False
) {
2797 if (val
) *val
= false;
2801 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2802 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2808 #define SWIG_From_long PyInt_FromLong
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_int (int value
)
2814 return SWIG_From_long (value
);
2819 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2821 if (PyNumber_Check(obj
)) {
2822 if (val
) *val
= PyFloat_AsDouble(obj
);
2825 return SWIG_TypeError
;
2829 #define SWIG_From_double PyFloat_FromDouble
2831 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2832 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2833 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2834 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2835 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2836 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2838 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2842 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2844 self
->GetFieldRect(i
, r
);
2847 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2848 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2849 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2851 #include <wx/popupwin.h>
2854 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2857 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2858 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2859 : wxPopupTransientWindow(parent
, style
) {}
2861 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2862 DEC_PYCALLBACK__(OnDismiss
);
2863 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2868 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2869 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2870 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2873 #include <wx/tipwin.h>
2875 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2876 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2879 #include <wx/tipwin.h>
2880 #include <wx/vscroll.h>
2883 SWIGINTERNINLINE PyObject
*
2884 SWIG_From_unsigned_SS_long (unsigned long value
)
2886 return (value
> LONG_MAX
) ?
2887 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2891 SWIGINTERNINLINE PyObject
*
2892 SWIG_From_size_t (size_t value
)
2894 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2899 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2902 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2903 return SWIG_TypeError
;
2906 *val
= (unsigned long)v
;
2911 SWIGINTERNINLINE
int
2912 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2915 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2916 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2921 class wxPyVScrolledWindow
: public wxVScrolledWindow
2923 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2925 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2927 wxPyVScrolledWindow(wxWindow
*parent
,
2928 wxWindowID id
= wxID_ANY
,
2929 const wxPoint
& pos
= wxDefaultPosition
,
2930 const wxSize
& size
= wxDefaultSize
,
2932 const wxString
& name
= wxPyPanelNameStr
)
2933 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2936 // Overridable virtuals
2938 // this function must be overridden in the derived class and it should
2939 // return the height of the given line in pixels
2940 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight
);
2941 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
); // old name
2943 // this function doesn't have to be overridden but it may be useful to do
2944 // it if calculating the lines heights is a relatively expensive operation
2945 // as it gives the user code a possibility to calculate several of them at
2948 // OnGetLinesHint() is normally called just before OnGetRowHeight() but you
2949 // shouldn't rely on the latter being called for all lines in the interval
2950 // specified here. It is also possible that OnGetRowHeight() will be
2951 // called for the lines outside of this interval, so this is really just a
2952 // hint, not a promise.
2954 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2956 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint
);
2957 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
); // old name
2959 // when the number of lines changes, we try to estimate the total height
2960 // of all lines which is a rather expensive operation in terms of lines
2961 // access, so if the user code may estimate the average height
2962 // better/faster than we do, it should override this function to implement
2965 // this function should return the best guess for the total height it may
2967 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2970 // Also expose some other interesting protected methods
2973 // get the total height of the lines between lineMin (inclusive) and
2974 // lineMax (exclusive)
2975 wxCoord
GetRowsHeight(size_t lineMin
, size_t lineMax
) const
2976 { return wxVScrolledWindow::GetRowsHeight(lineMin
, lineMax
); }
2982 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2984 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetRowHeight
);
2985 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2986 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetRowsHeightHint
);
2987 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2989 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2992 class wxPyHScrolledWindow
: public wxHScrolledWindow
2994 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow
)
2996 wxPyHScrolledWindow() : wxHScrolledWindow() {}
2998 wxPyHScrolledWindow(wxWindow
*parent
,
2999 wxWindowID id
= wxID_ANY
,
3000 const wxPoint
& pos
= wxDefaultPosition
,
3001 const wxSize
& size
= wxDefaultSize
,
3003 const wxString
& name
= wxPyPanelNameStr
)
3004 : wxHScrolledWindow(parent
, id
, pos
, size
, style
, name
)
3007 // Overridable virtuals
3008 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth
);
3009 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint
);
3010 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth
);
3012 wxCoord
GetColumnsWidth(size_t columnMin
, size_t columnMax
) const
3013 { return wxHScrolledWindow::GetColumnsWidth(columnMin
, columnMax
); }
3018 IMPLEMENT_ABSTRACT_CLASS(wxPyHScrolledWindow
, wxHScrolledWindow
);
3020 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHScrolledWindow
, wxHScrolledWindow
, OnGetColumnWidth
);
3021 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHScrolledWindow
, wxHScrolledWindow
, OnGetColumnsWidthHint
);
3022 IMP_PYCALLBACK_COORD_const (wxPyHScrolledWindow
, wxHScrolledWindow
, EstimateTotalWidth
);
3026 class wxPyHVScrolledWindow
: public wxHVScrolledWindow
3028 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow
)
3030 wxPyHVScrolledWindow() : wxHVScrolledWindow() {}
3032 wxPyHVScrolledWindow(wxWindow
*parent
,
3033 wxWindowID id
= wxID_ANY
,
3034 const wxPoint
& pos
= wxDefaultPosition
,
3035 const wxSize
& size
= wxDefaultSize
,
3037 const wxString
& name
= wxPyPanelNameStr
)
3038 : wxHVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
3041 // Overridable virtuals
3042 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight
);
3043 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint
);
3044 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
3046 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth
);
3047 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint
);
3048 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth
);
3050 wxCoord
GetRowsHeight(size_t lineMin
, size_t lineMax
) const
3051 { return wxHVScrolledWindow::GetRowsHeight(lineMin
, lineMax
); }
3053 wxCoord
GetColumnsWidth(size_t columnMin
, size_t columnMax
) const
3054 { return wxHVScrolledWindow::GetColumnsWidth(columnMin
, columnMax
); }
3059 IMPLEMENT_ABSTRACT_CLASS(wxPyHVScrolledWindow
, wxHVScrolledWindow
);
3061 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow
, wxHVScrolledWindow
, OnGetRowHeight
);
3062 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow
, wxHVScrolledWindow
, OnGetRowsHeightHint
);
3063 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow
, wxHVScrolledWindow
, EstimateTotalHeight
);
3065 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow
, wxHVScrolledWindow
, OnGetColumnWidth
);
3066 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow
, wxHVScrolledWindow
, OnGetColumnsWidthHint
);
3067 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow
, wxHVScrolledWindow
, EstimateTotalWidth
);
3071 #include <wx/vlbox.h>
3073 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
3075 class wxPyVListBox
: public wxVListBox
3077 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3079 wxPyVListBox() : wxVListBox() {}
3081 wxPyVListBox(wxWindow
*parent
,
3082 wxWindowID id
= wxID_ANY
,
3083 const wxPoint
& pos
= wxDefaultPosition
,
3084 const wxSize
& size
= wxDefaultSize
,
3086 const wxString
& name
= wxPyVListBoxNameStr
)
3087 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3090 // Overridable virtuals
3092 // the derived class must implement this function to actually draw the item
3093 // with the given index on the provided DC
3094 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3095 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3098 // the derived class must implement this method to return the height of the
3100 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3101 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3104 // this method may be used to draw separators between the lines; note that
3105 // the rectangle may be modified, typically to deflate it a bit before
3106 // passing to OnDrawItem()
3108 // the base class version doesn't do anything
3109 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3110 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3113 // this method is used to draw the items background and, maybe, a border
3116 // the base class version implements a reasonable default behaviour which
3117 // consists in drawing the selected item with the standard background
3118 // colour and drawing a border around the item if it is either selected or
3120 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3121 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3127 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3129 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3130 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3131 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3132 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3135 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3136 unsigned long cookie
= 0;
3137 int selected
= self
->GetFirstSelected(cookie
);
3138 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3139 PyObject
* tup
= PyTuple_New(2);
3140 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3141 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3142 wxPyEndBlockThreads(blocked
);
3145 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3146 int selected
= self
->GetNextSelected(cookie
);
3147 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3148 PyObject
* tup
= PyTuple_New(2);
3149 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3150 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3151 wxPyEndBlockThreads(blocked
);
3155 #include <wx/htmllbox.h>
3158 class wxPyHtmlListBox
: public wxHtmlListBox
3160 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3162 wxPyHtmlListBox() : wxHtmlListBox() {}
3164 wxPyHtmlListBox(wxWindow
*parent
,
3165 wxWindowID id
= wxID_ANY
,
3166 const wxPoint
& pos
= wxDefaultPosition
,
3167 const wxSize
& size
= wxDefaultSize
,
3169 const wxString
& name
= wxPyVListBoxNameStr
)
3170 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3173 // Overridable virtuals
3175 // this method must be implemented in the derived class and should return
3176 // the body (i.e. without <html>) of the HTML for the given item
3177 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3179 // this function may be overridden to decorate HTML returned by OnGetItem()
3180 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3182 // These are from wxVListBox
3183 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3184 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3187 // // this method allows to customize the selection appearance: it may be used
3188 // // to specify the colour of the text which normally has the given colour
3189 // // colFg when it is inside the selection
3191 // // by default, the original colour is not used at all and all text has the
3192 // // same (default for this system) colour inside selection
3193 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3195 // // this is the same as GetSelectedTextColour() but allows to customize the
3196 // // background colour -- this is even more rarely used as you can change it
3197 // // globally using SetSelectionBackground()
3198 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3201 // This method may be overriden to handle clicking on a link in
3202 // the listbox. By default, clicking links is ignored.
3203 virtual void OnLinkClicked(size_t n
,
3204 const wxHtmlLinkInfo
& link
);
3210 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3212 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3213 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3214 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3215 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3218 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3219 const wxHtmlLinkInfo
& link
) {
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3223 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3224 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3227 wxPyEndBlockThreads(blocked
);
3229 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3234 const wxArrayString wxPyEmptyStringArray
;
3236 static const wxString
wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr
);
3240 #ifndef wxHAS_TASK_BAR_ICON
3241 // implement dummy classes for platforms that don't have it
3243 class wxTaskBarIcon
: public wxEvtHandler
3246 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3250 class wxTaskBarIconEvent
: public wxEvent
3253 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3254 { wxPyRaiseNotImplemented(); }
3255 virtual wxEvent
* Clone() const { return NULL
; }
3256 bool IsOk() const { return false; }
3257 bool IsIconInstalled() const { return false; }
3258 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3259 bool RemoveIcon() { return false; }
3260 bool PopupMenu(wxMenu
*menu
) { return false; }
3264 wxEVT_TASKBAR_MOVE
= 0,
3265 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3266 wxEVT_TASKBAR_LEFT_UP
= 0,
3267 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3268 wxEVT_TASKBAR_RIGHT_UP
= 0,
3269 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3270 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3275 // Otherwise make a class that can virtualize CreatePopupMenu
3276 class wxPyTaskBarIcon
: public wxTaskBarIcon
3278 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3280 wxPyTaskBarIcon() : wxTaskBarIcon()
3283 wxMenu
* CreatePopupMenu() {
3284 wxMenu
*rval
= NULL
;
3286 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3287 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3290 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3292 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3297 wxPyEndBlockThreads(blocked
);
3299 rval
= wxTaskBarIcon::CreatePopupMenu();
3306 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3310 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3314 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3315 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3316 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3317 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3318 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3319 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3321 // for compatibility only
3322 #define wxHIDE_READONLY 0
3324 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3326 self
->GetFilenames(arr
);
3327 return wxArrayString2PyList_helper(arr
);
3329 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3331 self
->GetPaths(arr
);
3332 return wxArrayString2PyList_helper(arr
);
3334 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3335 return wxArrayInt2PyList_helper(self
->GetSelections());
3337 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
){
3338 return new wxSingleChoiceDialog(parent
, message
, caption
,
3339 choices
, choices_array
, NULL
, style
, pos
);
3341 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3343 SWIGINTERNINLINE PyObject
*
3344 SWIG_From_bool (bool value
)
3346 return PyBool_FromLong(value
? 1 : 0);
3352 // C++ version of Python aware wxWindow
3353 class wxPyWindow
: public wxWindow
3355 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3357 wxPyWindow() : wxWindow() {}
3358 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3359 const wxPoint
& pos
= wxDefaultPosition
,
3360 const wxSize
& size
= wxDefaultSize
,
3362 const wxString
& name
= wxPyPanelNameStr
)
3363 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3366 bool DoEraseBackground(wxDC
* dc
) {
3368 return wxWindow::DoEraseBackground(dc
->GetHDC());
3370 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3376 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3377 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3378 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3379 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3381 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3382 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3385 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3386 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3388 DEC_PYCALLBACK__(InitDialog
);
3389 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3390 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3391 DEC_PYCALLBACK_BOOL_(Validate
);
3393 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3394 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3395 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3397 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3398 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3400 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3401 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3403 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3405 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3410 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3412 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3413 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3414 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3415 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3417 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3418 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3419 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3421 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3422 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3424 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3425 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3426 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3427 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3429 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3430 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3431 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3433 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3434 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3436 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3437 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3439 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3441 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3443 // C++ version of Python aware wxPanel
3444 class wxPyPanel
: public wxPanel
3446 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3448 wxPyPanel() : wxPanel() {}
3449 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3450 const wxPoint
& pos
= wxDefaultPosition
,
3451 const wxSize
& size
= wxDefaultSize
,
3453 const wxString
& name
= wxPyPanelNameStr
)
3454 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3456 bool DoEraseBackground(wxDC
* dc
) {
3458 return wxWindow::DoEraseBackground(dc
->GetHDC());
3460 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3467 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3468 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3469 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3470 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3472 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3473 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3476 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3477 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3479 DEC_PYCALLBACK__(InitDialog
);
3480 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3481 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3482 DEC_PYCALLBACK_BOOL_(Validate
);
3484 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3485 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3486 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3488 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3489 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3491 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3492 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3494 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3496 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3501 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3503 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3504 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3505 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3506 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3508 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3509 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3512 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3513 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3515 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3516 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3517 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3518 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3520 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3521 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3522 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3524 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3525 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3527 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3528 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3530 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3532 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3534 // C++ version of Python aware wxScrolledWindow
3535 class wxPyScrolledWindow
: public wxScrolledWindow
3537 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3539 wxPyScrolledWindow() : wxScrolledWindow() {}
3540 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3541 const wxPoint
& pos
= wxDefaultPosition
,
3542 const wxSize
& size
= wxDefaultSize
,
3544 const wxString
& name
= wxPyPanelNameStr
)
3545 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3547 bool DoEraseBackground(wxDC
* dc
) {
3549 return wxWindow::DoEraseBackground(dc
->GetHDC());
3551 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3557 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3558 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3559 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3560 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3562 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3563 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3564 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3566 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3567 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3569 DEC_PYCALLBACK__(InitDialog
);
3570 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3571 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3572 DEC_PYCALLBACK_BOOL_(Validate
);
3574 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3575 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3576 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3578 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3579 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3581 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3582 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3584 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3586 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3591 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3593 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3594 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3595 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3596 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3598 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3599 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3600 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3602 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3603 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3605 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3606 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3607 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3608 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3610 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3611 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3612 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3614 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3615 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3617 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3618 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3620 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3622 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3625 #include "wx/wxPython/printfw.h"
3628 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3629 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3630 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3632 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3633 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3634 self
->GetPrivDataLen());
3635 wxPyEndBlockThreads(blocked
);
3638 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3639 if (! PyString_Check(data
)) {
3640 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3641 "Expected string object"));
3645 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3646 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3647 wxPyEndBlockThreads(blocked
);
3651 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3653 // Since this one would be tough and ugly to do with the Macros...
3654 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3655 bool hadErr
= false;
3658 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3659 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3660 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3661 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3664 val
= PyTuple_GetItem(result
, 0);
3665 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3668 val
= PyTuple_GetItem(result
, 1);
3669 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3672 val
= PyTuple_GetItem(result
, 2);
3673 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3676 val
= PyTuple_GetItem(result
, 3);
3677 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3684 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3689 wxPyEndBlockThreads(blocked
);
3691 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3696 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3697 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3698 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3699 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3700 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3701 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3702 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3708 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3709 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3712 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3713 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3716 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3717 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3718 PyObject* win = wxPyMake_wxObject(a,false); \
3719 PyObject* dc = wxPyMake_wxObject(&b,false); \
3720 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3724 wxPyEndBlockThreads(blocked); \
3726 rval = PCLASS::CBNAME(a, b); \
3733 class wxPyPrintPreview
: public wxPrintPreview
3735 DECLARE_CLASS(wxPyPrintPreview
)
3737 wxPyPrintPreview(wxPyPrintout
* printout
,
3738 wxPyPrintout
* printoutForPrinting
,
3739 wxPrintDialogData
* data
=NULL
)
3740 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3742 wxPyPrintPreview(wxPyPrintout
* printout
,
3743 wxPyPrintout
* printoutForPrinting
,
3745 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3748 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3749 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3750 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3751 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3752 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3753 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3754 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3759 // Stupid renamed classes... Fix this in 2.5...
3760 #if defined(__WXMSW__)
3761 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3762 #elif defined(__WXMAC__)
3763 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3765 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3768 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3769 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3770 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3771 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3772 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3773 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3774 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3777 class wxPyPreviewFrame
: public wxPreviewFrame
3779 DECLARE_CLASS(wxPyPreviewFrame
)
3781 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3782 const wxString
& title
,
3783 const wxPoint
& pos
= wxDefaultPosition
,
3784 const wxSize
& size
= wxDefaultSize
,
3785 long style
= wxDEFAULT_FRAME_STYLE
,
3786 const wxString
& name
= wxPyFrameNameStr
)
3787 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3790 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3791 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3793 DEC_PYCALLBACK_VOID_(Initialize
);
3794 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3795 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3800 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3802 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3803 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3804 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3807 class wxPyPreviewControlBar
: public wxPreviewControlBar
3809 DECLARE_CLASS(wxPyPreviewControlBar
)
3811 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3814 const wxPoint
& pos
= wxDefaultPosition
,
3815 const wxSize
& size
= wxDefaultSize
,
3817 const wxString
& name
= wxPyPanelNameStr
)
3818 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3821 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3823 DEC_PYCALLBACK_VOID_(CreateButtons
);
3824 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3829 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3830 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3831 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3836 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
= 0;
3838 wxWindow
*arg1
= (wxWindow
*) 0 ;
3839 int arg2
= (int) (int)-1 ;
3840 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3841 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3842 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3843 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3844 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3845 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3846 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3847 wxPanel
*result
= 0 ;
3856 bool temp6
= false ;
3857 PyObject
* obj0
= 0 ;
3858 PyObject
* obj1
= 0 ;
3859 PyObject
* obj2
= 0 ;
3860 PyObject
* obj3
= 0 ;
3861 PyObject
* obj4
= 0 ;
3862 PyObject
* obj5
= 0 ;
3863 char * kwnames
[] = {
3864 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3869 if (!SWIG_IsOK(res1
)) {
3870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3872 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3875 if (!SWIG_IsOK(ecode2
)) {
3876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3878 arg2
= static_cast< int >(val2
);
3883 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3889 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3893 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3894 if (!SWIG_IsOK(ecode5
)) {
3895 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3897 arg5
= static_cast< long >(val5
);
3901 arg6
= wxString_in_helper(obj5
);
3902 if (arg6
== NULL
) SWIG_fail
;
3907 if (!wxPyCheckForApp()) SWIG_fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3928 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3929 PyObject
*resultobj
= 0;
3930 wxPanel
*result
= 0 ;
3932 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3934 if (!wxPyCheckForApp()) SWIG_fail
;
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 result
= (wxPanel
*)new wxPanel();
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3947 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
= 0;
3949 wxPanel
*arg1
= (wxPanel
*) 0 ;
3950 wxWindow
*arg2
= (wxWindow
*) 0 ;
3951 int arg3
= (int) (int)-1 ;
3952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3956 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3957 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3958 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3970 bool temp7
= false ;
3971 PyObject
* obj0
= 0 ;
3972 PyObject
* obj1
= 0 ;
3973 PyObject
* obj2
= 0 ;
3974 PyObject
* obj3
= 0 ;
3975 PyObject
* obj4
= 0 ;
3976 PyObject
* obj5
= 0 ;
3977 PyObject
* obj6
= 0 ;
3978 char * kwnames
[] = {
3979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3984 if (!SWIG_IsOK(res1
)) {
3985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3987 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3988 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3989 if (!SWIG_IsOK(res2
)) {
3990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3992 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3995 if (!SWIG_IsOK(ecode3
)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3998 arg3
= static_cast< int >(val3
);
4003 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4009 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4013 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4014 if (!SWIG_IsOK(ecode6
)) {
4015 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
4017 arg6
= static_cast< long >(val6
);
4021 arg7
= wxString_in_helper(obj6
);
4022 if (arg7
== NULL
) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4049 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4050 PyObject
*resultobj
= 0;
4051 wxPanel
*arg1
= (wxPanel
*) 0 ;
4054 PyObject
*swig_obj
[1] ;
4056 if (!args
) SWIG_fail
;
4058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
4059 if (!SWIG_IsOK(res1
)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
4062 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 (arg1
)->SetFocusIgnoringChildren();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= SWIG_Py_Void();
4076 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
= 0;
4078 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4079 SwigValueWrapper
<wxVisualAttributes
> result
;
4082 PyObject
* obj0
= 0 ;
4083 char * kwnames
[] = {
4084 (char *) "variant", NULL
4087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4089 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4090 if (!SWIG_IsOK(ecode1
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4093 arg1
= static_cast< wxWindowVariant
>(val1
);
4096 if (!wxPyCheckForApp()) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4109 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4112 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4113 return SWIG_Py_Void();
4116 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4117 return SWIG_Python_InitShadowInstance(args
);
4120 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
= 0;
4122 wxWindow
*arg1
= (wxWindow
*) 0 ;
4123 int arg2
= (int) (int)-1 ;
4124 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4125 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4126 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4127 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4128 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4129 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4130 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4131 wxScrolledWindow
*result
= 0 ;
4140 bool temp6
= false ;
4141 PyObject
* obj0
= 0 ;
4142 PyObject
* obj1
= 0 ;
4143 PyObject
* obj2
= 0 ;
4144 PyObject
* obj3
= 0 ;
4145 PyObject
* obj4
= 0 ;
4146 PyObject
* obj5
= 0 ;
4147 char * kwnames
[] = {
4148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4153 if (!SWIG_IsOK(res1
)) {
4154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4156 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4159 if (!SWIG_IsOK(ecode2
)) {
4160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4162 arg2
= static_cast< int >(val2
);
4167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4173 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4177 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4178 if (!SWIG_IsOK(ecode5
)) {
4179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4181 arg5
= static_cast< long >(val5
);
4185 arg6
= wxString_in_helper(obj5
);
4186 if (arg6
== NULL
) SWIG_fail
;
4191 if (!wxPyCheckForApp()) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4212 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4213 PyObject
*resultobj
= 0;
4214 wxScrolledWindow
*result
= 0 ;
4216 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4218 if (!wxPyCheckForApp()) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4231 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
= 0;
4233 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4234 wxWindow
*arg2
= (wxWindow
*) 0 ;
4235 int arg3
= (int) (int)-1 ;
4236 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4237 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4238 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4239 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4240 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4241 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4242 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4254 bool temp7
= false ;
4255 PyObject
* obj0
= 0 ;
4256 PyObject
* obj1
= 0 ;
4257 PyObject
* obj2
= 0 ;
4258 PyObject
* obj3
= 0 ;
4259 PyObject
* obj4
= 0 ;
4260 PyObject
* obj5
= 0 ;
4261 PyObject
* obj6
= 0 ;
4262 char * kwnames
[] = {
4263 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4268 if (!SWIG_IsOK(res1
)) {
4269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4271 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4273 if (!SWIG_IsOK(res2
)) {
4274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4276 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4279 if (!SWIG_IsOK(ecode3
)) {
4280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4282 arg3
= static_cast< int >(val3
);
4287 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4293 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4297 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4298 if (!SWIG_IsOK(ecode6
)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4301 arg6
= static_cast< long >(val6
);
4305 arg7
= wxString_in_helper(obj6
);
4306 if (arg7
== NULL
) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4333 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
= 0;
4335 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4340 int arg6
= (int) 0 ;
4341 int arg7
= (int) 0 ;
4342 bool arg8
= (bool) false ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4361 PyObject
* obj2
= 0 ;
4362 PyObject
* obj3
= 0 ;
4363 PyObject
* obj4
= 0 ;
4364 PyObject
* obj5
= 0 ;
4365 PyObject
* obj6
= 0 ;
4366 PyObject
* obj7
= 0 ;
4367 char * kwnames
[] = {
4368 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) 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_SetScrollbars" "', 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_SetScrollbars" "', 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_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4386 arg3
= static_cast< int >(val3
);
4387 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4388 if (!SWIG_IsOK(ecode4
)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4391 arg4
= static_cast< int >(val4
);
4392 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4393 if (!SWIG_IsOK(ecode5
)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4396 arg5
= static_cast< int >(val5
);
4398 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4399 if (!SWIG_IsOK(ecode6
)) {
4400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4402 arg6
= static_cast< int >(val6
);
4405 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4406 if (!SWIG_IsOK(ecode7
)) {
4407 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4409 arg7
= static_cast< int >(val7
);
4412 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4413 if (!SWIG_IsOK(ecode8
)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4416 arg8
= static_cast< bool >(val8
);
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_Py_Void();
4431 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
= 0;
4433 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 char * kwnames
[] = {
4446 (char *) "self",(char *) "x",(char *) "y", NULL
4449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4451 if (!SWIG_IsOK(res1
)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4456 if (!SWIG_IsOK(ecode2
)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4459 arg2
= static_cast< int >(val2
);
4460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4461 if (!SWIG_IsOK(ecode3
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4464 arg3
= static_cast< int >(val3
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->Scroll(arg2
,arg3
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_Py_Void();
4478 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4489 char * kwnames
[] = {
4490 (char *) "self",(char *) "orient", NULL
4493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4495 if (!SWIG_IsOK(res1
)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4498 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4500 if (!SWIG_IsOK(ecode2
)) {
4501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4503 arg2
= static_cast< int >(val2
);
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= SWIG_From_int(static_cast< int >(result
));
4517 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
= 0;
4519 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4529 PyObject
* obj1
= 0 ;
4530 PyObject
* obj2
= 0 ;
4531 char * kwnames
[] = {
4532 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4537 if (!SWIG_IsOK(res1
)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4540 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4542 if (!SWIG_IsOK(ecode2
)) {
4543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4545 arg2
= static_cast< int >(val2
);
4546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4547 if (!SWIG_IsOK(ecode3
)) {
4548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4550 arg3
= static_cast< int >(val3
);
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= SWIG_Py_Void();
4564 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
*resultobj
= 0;
4566 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4575 PyObject
* obj0
= 0 ;
4576 PyObject
* obj1
= 0 ;
4577 PyObject
* obj2
= 0 ;
4578 char * kwnames
[] = {
4579 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4584 if (!SWIG_IsOK(res1
)) {
4585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4587 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4589 if (!SWIG_IsOK(ecode2
)) {
4590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4592 arg2
= static_cast< int >(val2
);
4593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4594 if (!SWIG_IsOK(ecode3
)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4597 arg3
= static_cast< int >(val3
);
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 (arg1
)->SetScrollRate(arg2
,arg3
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= SWIG_Py_Void();
4611 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4612 PyObject
*resultobj
= 0;
4613 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4614 int *arg2
= (int *) 0 ;
4615 int *arg3
= (int *) 0 ;
4619 int res2
= SWIG_TMPOBJ
;
4621 int res3
= SWIG_TMPOBJ
;
4622 PyObject
*swig_obj
[1] ;
4626 if (!args
) SWIG_fail
;
4628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4629 if (!SWIG_IsOK(res1
)) {
4630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4632 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_Py_Void();
4640 if (SWIG_IsTmpObj(res2
)) {
4641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4643 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4646 if (SWIG_IsTmpObj(res3
)) {
4647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4649 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4658 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
= 0;
4660 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 PyObject
* obj2
= 0 ;
4672 char * kwnames
[] = {
4673 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4678 if (!SWIG_IsOK(res1
)) {
4679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4681 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4682 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4683 if (!SWIG_IsOK(ecode2
)) {
4684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4686 arg2
= static_cast< bool >(val2
);
4687 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4688 if (!SWIG_IsOK(ecode3
)) {
4689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4691 arg3
= static_cast< bool >(val3
);
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 (arg1
)->EnableScrolling(arg2
,arg3
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= SWIG_Py_Void();
4705 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4706 PyObject
*resultobj
= 0;
4707 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4708 int *arg2
= (int *) 0 ;
4709 int *arg3
= (int *) 0 ;
4713 int res2
= SWIG_TMPOBJ
;
4715 int res3
= SWIG_TMPOBJ
;
4716 PyObject
*swig_obj
[1] ;
4720 if (!args
) SWIG_fail
;
4722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4723 if (!SWIG_IsOK(res1
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4726 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= SWIG_Py_Void();
4734 if (SWIG_IsTmpObj(res2
)) {
4735 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4737 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4738 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4740 if (SWIG_IsTmpObj(res3
)) {
4741 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4743 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4752 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
= 0;
4754 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4763 PyObject
* obj0
= 0 ;
4764 PyObject
* obj1
= 0 ;
4765 PyObject
* obj2
= 0 ;
4766 char * kwnames
[] = {
4767 (char *) "self",(char *) "xs",(char *) "ys", NULL
4770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4772 if (!SWIG_IsOK(res1
)) {
4773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4775 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4776 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4777 if (!SWIG_IsOK(ecode2
)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4780 arg2
= static_cast< double >(val2
);
4781 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4782 if (!SWIG_IsOK(ecode3
)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4785 arg3
= static_cast< double >(val3
);
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 (arg1
)->SetScale(arg2
,arg3
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_Py_Void();
4799 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4800 PyObject
*resultobj
= 0;
4801 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4805 PyObject
*swig_obj
[1] ;
4807 if (!args
) SWIG_fail
;
4809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4810 if (!SWIG_IsOK(res1
)) {
4811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4813 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_From_double(static_cast< double >(result
));
4827 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4828 PyObject
*resultobj
= 0;
4829 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4833 PyObject
*swig_obj
[1] ;
4835 if (!args
) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4841 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= SWIG_From_double(static_cast< double >(result
));
4855 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4856 PyObject
*resultobj
= 0;
4857 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4864 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4866 if (!SWIG_IsOK(res1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4869 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4872 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4887 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4888 PyObject
*resultobj
= 0;
4889 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4892 int *arg4
= (int *) 0 ;
4893 int *arg5
= (int *) 0 ;
4901 int res4
= SWIG_TMPOBJ
;
4903 int res5
= SWIG_TMPOBJ
;
4907 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4912 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4913 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4914 if (!SWIG_IsOK(ecode2
)) {
4915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4917 arg2
= static_cast< int >(val2
);
4918 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4919 if (!SWIG_IsOK(ecode3
)) {
4920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4922 arg3
= static_cast< int >(val3
);
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 resultobj
= SWIG_Py_Void();
4930 if (SWIG_IsTmpObj(res4
)) {
4931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4933 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4936 if (SWIG_IsTmpObj(res5
)) {
4937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4939 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4948 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4952 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4955 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4958 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4962 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4967 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4968 PyObject
*resultobj
= 0;
4969 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4976 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4978 if (!SWIG_IsOK(res1
)) {
4979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4981 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4984 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4999 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
5000 PyObject
*resultobj
= 0;
5001 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5004 int *arg4
= (int *) 0 ;
5005 int *arg5
= (int *) 0 ;
5013 int res4
= SWIG_TMPOBJ
;
5015 int res5
= SWIG_TMPOBJ
;
5019 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
5020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5021 if (!SWIG_IsOK(res1
)) {
5022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5024 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5025 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5026 if (!SWIG_IsOK(ecode2
)) {
5027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
5029 arg2
= static_cast< int >(val2
);
5030 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
5031 if (!SWIG_IsOK(ecode3
)) {
5032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
5034 arg3
= static_cast< int >(val3
);
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= SWIG_Py_Void();
5042 if (SWIG_IsTmpObj(res4
)) {
5043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
5045 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
5048 if (SWIG_IsTmpObj(res5
)) {
5049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
5051 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
5060 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
5064 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
5067 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
5070 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
5074 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5079 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5080 PyObject
*resultobj
= 0;
5081 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5084 PyObject
*swig_obj
[1] ;
5086 if (!args
) SWIG_fail
;
5088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5089 if (!SWIG_IsOK(res1
)) {
5090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5092 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 (arg1
)->AdjustScrollbars();
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 resultobj
= SWIG_Py_Void();
5106 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
= 0;
5108 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5109 wxScrollWinEvent
*arg2
= 0 ;
5115 PyObject
* obj0
= 0 ;
5116 PyObject
* obj1
= 0 ;
5117 char * kwnames
[] = {
5118 (char *) "self",(char *) "event", NULL
5121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5123 if (!SWIG_IsOK(res1
)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5126 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5128 if (!SWIG_IsOK(res2
)) {
5129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5134 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_From_int(static_cast< int >(result
));
5148 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
= 0;
5150 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5151 wxWindow
*arg2
= (wxWindow
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5158 char * kwnames
[] = {
5159 (char *) "self",(char *) "target", NULL
5162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5164 if (!SWIG_IsOK(res1
)) {
5165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5167 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5169 if (!SWIG_IsOK(res2
)) {
5170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5172 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 (arg1
)->SetTargetWindow(arg2
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= SWIG_Py_Void();
5186 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5187 PyObject
*resultobj
= 0;
5188 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5189 wxWindow
*result
= 0 ;
5192 PyObject
*swig_obj
[1] ;
5194 if (!args
) SWIG_fail
;
5196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5197 if (!SWIG_IsOK(res1
)) {
5198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5200 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= wxPyMake_wxObject(result
, 0);
5216 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
= 0;
5218 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5225 PyObject
* obj1
= 0 ;
5226 char * kwnames
[] = {
5227 (char *) "self",(char *) "dc", NULL
5230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5232 if (!SWIG_IsOK(res1
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5235 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5237 if (!SWIG_IsOK(res2
)) {
5238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5243 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 (arg1
)->DoPrepareDC(*arg2
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= SWIG_Py_Void();
5257 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
= 0;
5259 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5260 SwigValueWrapper
<wxVisualAttributes
> result
;
5263 PyObject
* obj0
= 0 ;
5264 char * kwnames
[] = {
5265 (char *) "variant", NULL
5268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5270 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5271 if (!SWIG_IsOK(ecode1
)) {
5272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5274 arg1
= static_cast< wxWindowVariant
>(val1
);
5277 if (!wxPyCheckForApp()) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5290 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5293 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5294 return SWIG_Py_Void();
5297 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5298 return SWIG_Python_InitShadowInstance(args
);
5301 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5302 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5307 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5308 PyObject
*pyobj
= 0;
5312 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5314 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5321 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5322 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5327 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5328 PyObject
*pyobj
= 0;
5332 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5334 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5341 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5342 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5347 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5348 PyObject
*pyobj
= 0;
5352 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5354 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5361 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5362 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5367 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5368 PyObject
*pyobj
= 0;
5372 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5374 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5381 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
= 0;
5383 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5384 bool arg2
= (bool) true ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 char * kwnames
[] = {
5392 (char *) "self",(char *) "maximize", NULL
5395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5400 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5402 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5403 if (!SWIG_IsOK(ecode2
)) {
5404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5406 arg2
= static_cast< bool >(val2
);
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 (arg1
)->Maximize(arg2
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_Py_Void();
5421 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5422 PyObject
*resultobj
= 0;
5423 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5426 PyObject
*swig_obj
[1] ;
5428 if (!args
) SWIG_fail
;
5430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5431 if (!SWIG_IsOK(res1
)) {
5432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5434 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= SWIG_Py_Void();
5448 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
= 0;
5450 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5451 bool arg2
= (bool) true ;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5458 char * kwnames
[] = {
5459 (char *) "self",(char *) "iconize", NULL
5462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5464 if (!SWIG_IsOK(res1
)) {
5465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5467 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5469 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5470 if (!SWIG_IsOK(ecode2
)) {
5471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5473 arg2
= static_cast< bool >(val2
);
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 (arg1
)->Iconize(arg2
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_Py_Void();
5488 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5489 PyObject
*resultobj
= 0;
5490 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5494 PyObject
*swig_obj
[1] ;
5496 if (!args
) SWIG_fail
;
5498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5499 if (!SWIG_IsOK(res1
)) {
5500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5502 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5518 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5519 PyObject
*resultobj
= 0;
5520 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5524 PyObject
*swig_obj
[1] ;
5526 if (!args
) SWIG_fail
;
5528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5529 if (!SWIG_IsOK(res1
)) {
5530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5532 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5548 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5549 PyObject
*resultobj
= 0;
5550 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5554 PyObject
*swig_obj
[1] ;
5556 if (!args
) SWIG_fail
;
5558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5559 if (!SWIG_IsOK(res1
)) {
5560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5562 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5578 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5579 PyObject
*resultobj
= 0;
5580 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5584 PyObject
*swig_obj
[1] ;
5586 if (!args
) SWIG_fail
;
5588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5589 if (!SWIG_IsOK(res1
)) {
5590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5592 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5599 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5606 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
*resultobj
= 0;
5608 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5616 char * kwnames
[] = {
5617 (char *) "self",(char *) "icon", NULL
5620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5625 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5627 if (!SWIG_IsOK(res2
)) {
5628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5633 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= SWIG_Py_Void();
5647 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
= 0;
5649 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5650 wxIconBundle
*arg2
= 0 ;
5655 PyObject
* obj0
= 0 ;
5656 PyObject
* obj1
= 0 ;
5657 char * kwnames
[] = {
5658 (char *) "self",(char *) "icons", NULL
5661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5663 if (!SWIG_IsOK(res1
)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5666 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5667 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5668 if (!SWIG_IsOK(res2
)) {
5669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5674 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5681 resultobj
= SWIG_Py_Void();
5688 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
= 0;
5690 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5692 long arg3
= (long) wxFULLSCREEN_ALL
;
5700 PyObject
* obj0
= 0 ;
5701 PyObject
* obj1
= 0 ;
5702 PyObject
* obj2
= 0 ;
5703 char * kwnames
[] = {
5704 (char *) "self",(char *) "show",(char *) "style", NULL
5707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5709 if (!SWIG_IsOK(res1
)) {
5710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5712 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5713 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5714 if (!SWIG_IsOK(ecode2
)) {
5715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5717 arg2
= static_cast< bool >(val2
);
5719 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5720 if (!SWIG_IsOK(ecode3
)) {
5721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5723 arg3
= static_cast< long >(val3
);
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5740 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5741 PyObject
*resultobj
= 0;
5742 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5746 PyObject
*swig_obj
[1] ;
5748 if (!args
) SWIG_fail
;
5750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5751 if (!SWIG_IsOK(res1
)) {
5752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5754 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5770 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
= 0;
5772 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5773 wxString
*arg2
= 0 ;
5776 bool temp2
= false ;
5777 PyObject
* obj0
= 0 ;
5778 PyObject
* obj1
= 0 ;
5779 char * kwnames
[] = {
5780 (char *) "self",(char *) "title", NULL
5783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5785 if (!SWIG_IsOK(res1
)) {
5786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5788 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5790 arg2
= wxString_in_helper(obj1
);
5791 if (arg2
== NULL
) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 (arg1
)->SetTitle((wxString
const &)*arg2
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= SWIG_Py_Void();
5815 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5816 PyObject
*resultobj
= 0;
5817 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5821 PyObject
*swig_obj
[1] ;
5823 if (!args
) SWIG_fail
;
5825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5826 if (!SWIG_IsOK(res1
)) {
5827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5829 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5849 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
= 0;
5851 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5858 PyObject
* obj0
= 0 ;
5859 PyObject
* obj1
= 0 ;
5860 char * kwnames
[] = {
5861 (char *) "self",(char *) "enable", NULL
5864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5866 if (!SWIG_IsOK(res1
)) {
5867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5869 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5870 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5871 if (!SWIG_IsOK(ecode2
)) {
5872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5874 arg2
= static_cast< bool >(val2
);
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5890 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
= 0;
5892 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5893 wxRegion
*arg2
= 0 ;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5901 char * kwnames
[] = {
5902 (char *) "self",(char *) "region", NULL
5905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5907 if (!SWIG_IsOK(res1
)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5910 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5911 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5912 if (!SWIG_IsOK(res2
)) {
5913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5918 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5934 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
= 0;
5936 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5937 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5942 PyObject
* obj0
= 0 ;
5943 PyObject
* obj1
= 0 ;
5944 char * kwnames
[] = {
5945 (char *) "self",(char *) "flags", NULL
5948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5950 if (!SWIG_IsOK(res1
)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5953 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5956 if (!SWIG_IsOK(ecode2
)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5959 arg2
= static_cast< int >(val2
);
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 (arg1
)->RequestUserAttention(arg2
);
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= SWIG_Py_Void();
5974 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5975 PyObject
*resultobj
= 0;
5976 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5980 PyObject
*swig_obj
[1] ;
5982 if (!args
) SWIG_fail
;
5984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5985 if (!SWIG_IsOK(res1
)) {
5986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5988 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (bool)(arg1
)->IsActive();
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6004 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
= 0;
6006 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6014 char * kwnames
[] = {
6015 (char *) "self",(char *) "on", NULL
6018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6020 if (!SWIG_IsOK(res1
)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6023 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6024 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6025 if (!SWIG_IsOK(ecode2
)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6028 arg2
= static_cast< bool >(val2
);
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= SWIG_Py_Void();
6042 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6043 PyObject
*resultobj
= 0;
6044 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6048 PyObject
*swig_obj
[1] ;
6050 if (!args
) SWIG_fail
;
6052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6053 if (!SWIG_IsOK(res1
)) {
6054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6056 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6072 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
= 0;
6074 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6075 int arg2
= (int) wxBOTH
;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6082 char * kwnames
[] = {
6083 (char *) "self",(char *) "dir", NULL
6086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6088 if (!SWIG_IsOK(res1
)) {
6089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6091 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6094 if (!SWIG_IsOK(ecode2
)) {
6095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6097 arg2
= static_cast< int >(val2
);
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 (arg1
)->CenterOnScreen(arg2
);
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= SWIG_Py_Void();
6112 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6113 PyObject
*resultobj
= 0;
6114 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6115 wxWindow
*result
= 0 ;
6118 PyObject
*swig_obj
[1] ;
6120 if (!args
) SWIG_fail
;
6122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6123 if (!SWIG_IsOK(res1
)) {
6124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6126 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6134 resultobj
= wxPyMake_wxObject(result
, 0);
6142 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
= 0;
6144 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6145 wxWindow
*arg2
= (wxWindow
*) 0 ;
6146 wxWindow
*result
= 0 ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6153 char * kwnames
[] = {
6154 (char *) "self",(char *) "child", NULL
6157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6159 if (!SWIG_IsOK(res1
)) {
6160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6162 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6164 if (!SWIG_IsOK(res2
)) {
6165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6167 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= wxPyMake_wxObject(result
, 0);
6183 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
= 0;
6185 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6186 wxWindow
*arg2
= (wxWindow
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6193 char * kwnames
[] = {
6194 (char *) "self",(char *) "win", NULL
6197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6202 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6204 if (!SWIG_IsOK(res2
)) {
6205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6207 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 (arg1
)->SetTmpDefaultItem(arg2
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= SWIG_Py_Void();
6221 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6222 PyObject
*resultobj
= 0;
6223 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6224 wxWindow
*result
= 0 ;
6227 PyObject
*swig_obj
[1] ;
6229 if (!args
) SWIG_fail
;
6231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6232 if (!SWIG_IsOK(res1
)) {
6233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6235 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= wxPyMake_wxObject(result
, 0);
6251 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6254 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6255 return SWIG_Py_Void();
6258 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
= 0;
6260 wxWindow
*arg1
= (wxWindow
*) 0 ;
6261 int arg2
= (int) (int)-1 ;
6262 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6263 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6264 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6265 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6266 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6267 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6268 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6269 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6270 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6271 wxFrame
*result
= 0 ;
6276 bool temp3
= false ;
6281 bool temp7
= false ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6284 PyObject
* obj2
= 0 ;
6285 PyObject
* obj3
= 0 ;
6286 PyObject
* obj4
= 0 ;
6287 PyObject
* obj5
= 0 ;
6288 PyObject
* obj6
= 0 ;
6289 char * kwnames
[] = {
6290 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6295 if (!SWIG_IsOK(res1
)) {
6296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6298 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6301 if (!SWIG_IsOK(ecode2
)) {
6302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6304 arg2
= static_cast< int >(val2
);
6308 arg3
= wxString_in_helper(obj2
);
6309 if (arg3
== NULL
) SWIG_fail
;
6316 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6322 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6326 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6327 if (!SWIG_IsOK(ecode6
)) {
6328 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6330 arg6
= static_cast< long >(val6
);
6334 arg7
= wxString_in_helper(obj6
);
6335 if (arg7
== NULL
) SWIG_fail
;
6340 if (!wxPyCheckForApp()) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6369 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6370 PyObject
*resultobj
= 0;
6371 wxFrame
*result
= 0 ;
6373 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6375 if (!wxPyCheckForApp()) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (wxFrame
*)new wxFrame();
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6388 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
= 0;
6390 wxFrame
*arg1
= (wxFrame
*) 0 ;
6391 wxWindow
*arg2
= (wxWindow
*) 0 ;
6392 int arg3
= (int) (int)-1 ;
6393 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6394 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6395 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6396 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6397 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6398 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6399 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6400 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6401 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6409 bool temp4
= false ;
6414 bool temp8
= false ;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6417 PyObject
* obj2
= 0 ;
6418 PyObject
* obj3
= 0 ;
6419 PyObject
* obj4
= 0 ;
6420 PyObject
* obj5
= 0 ;
6421 PyObject
* obj6
= 0 ;
6422 PyObject
* obj7
= 0 ;
6423 char * kwnames
[] = {
6424 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6429 if (!SWIG_IsOK(res1
)) {
6430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6432 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6433 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6434 if (!SWIG_IsOK(res2
)) {
6435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6437 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6440 if (!SWIG_IsOK(ecode3
)) {
6441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6443 arg3
= static_cast< int >(val3
);
6447 arg4
= wxString_in_helper(obj3
);
6448 if (arg4
== NULL
) SWIG_fail
;
6455 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6461 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6465 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6466 if (!SWIG_IsOK(ecode7
)) {
6467 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6469 arg7
= static_cast< long >(val7
);
6473 arg8
= wxString_in_helper(obj7
);
6474 if (arg8
== NULL
) SWIG_fail
;
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6509 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6510 PyObject
*resultobj
= 0;
6511 wxFrame
*arg1
= (wxFrame
*) 0 ;
6514 PyObject
*swig_obj
[1] ;
6516 if (!args
) SWIG_fail
;
6518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6519 if (!SWIG_IsOK(res1
)) {
6520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6522 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 (arg1
)->SendSizeEvent();
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= SWIG_Py_Void();
6536 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
= 0;
6538 wxFrame
*arg1
= (wxFrame
*) 0 ;
6539 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6544 PyObject
* obj0
= 0 ;
6545 PyObject
* obj1
= 0 ;
6546 char * kwnames
[] = {
6547 (char *) "self",(char *) "menubar", NULL
6550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6552 if (!SWIG_IsOK(res1
)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6555 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6556 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6557 if (!SWIG_IsOK(res2
)) {
6558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6560 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 (arg1
)->SetMenuBar(arg2
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= SWIG_Py_Void();
6574 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6575 PyObject
*resultobj
= 0;
6576 wxFrame
*arg1
= (wxFrame
*) 0 ;
6577 wxMenuBar
*result
= 0 ;
6580 PyObject
*swig_obj
[1] ;
6582 if (!args
) SWIG_fail
;
6584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6585 if (!SWIG_IsOK(res1
)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6588 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= wxPyMake_wxObject(result
, 0);
6604 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
= 0;
6606 wxFrame
*arg1
= (wxFrame
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 char * kwnames
[] = {
6616 (char *) "self",(char *) "winid", NULL
6619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6621 if (!SWIG_IsOK(res1
)) {
6622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6624 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6626 if (!SWIG_IsOK(ecode2
)) {
6627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6629 arg2
= static_cast< int >(val2
);
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6645 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
= 0;
6647 wxFrame
*arg1
= (wxFrame
*) 0 ;
6648 int arg2
= (int) 1 ;
6649 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6650 int arg4
= (int) 0 ;
6651 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6652 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6653 wxStatusBar
*result
= 0 ;
6662 bool temp5
= false ;
6663 PyObject
* obj0
= 0 ;
6664 PyObject
* obj1
= 0 ;
6665 PyObject
* obj2
= 0 ;
6666 PyObject
* obj3
= 0 ;
6667 PyObject
* obj4
= 0 ;
6668 char * kwnames
[] = {
6669 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6674 if (!SWIG_IsOK(res1
)) {
6675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6677 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6680 if (!SWIG_IsOK(ecode2
)) {
6681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6683 arg2
= static_cast< int >(val2
);
6686 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6687 if (!SWIG_IsOK(ecode3
)) {
6688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6690 arg3
= static_cast< long >(val3
);
6693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6694 if (!SWIG_IsOK(ecode4
)) {
6695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6697 arg4
= static_cast< int >(val4
);
6701 arg5
= wxString_in_helper(obj4
);
6702 if (arg5
== NULL
) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6729 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6730 PyObject
*resultobj
= 0;
6731 wxFrame
*arg1
= (wxFrame
*) 0 ;
6732 wxStatusBar
*result
= 0 ;
6735 PyObject
*swig_obj
[1] ;
6737 if (!args
) SWIG_fail
;
6739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6740 if (!SWIG_IsOK(res1
)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6743 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6751 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6759 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
= 0;
6761 wxFrame
*arg1
= (wxFrame
*) 0 ;
6762 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6769 char * kwnames
[] = {
6770 (char *) "self",(char *) "statBar", NULL
6773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6775 if (!SWIG_IsOK(res1
)) {
6776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6778 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6780 if (!SWIG_IsOK(res2
)) {
6781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6783 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 (arg1
)->SetStatusBar(arg2
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 resultobj
= SWIG_Py_Void();
6797 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
= 0;
6799 wxFrame
*arg1
= (wxFrame
*) 0 ;
6800 wxString
*arg2
= 0 ;
6801 int arg3
= (int) 0 ;
6804 bool temp2
= false ;
6807 PyObject
* obj0
= 0 ;
6808 PyObject
* obj1
= 0 ;
6809 PyObject
* obj2
= 0 ;
6810 char * kwnames
[] = {
6811 (char *) "self",(char *) "text",(char *) "number", NULL
6814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6816 if (!SWIG_IsOK(res1
)) {
6817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6819 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6821 arg2
= wxString_in_helper(obj1
);
6822 if (arg2
== NULL
) SWIG_fail
;
6826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6827 if (!SWIG_IsOK(ecode3
)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6830 arg3
= static_cast< int >(val3
);
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_Py_Void();
6853 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
= 0;
6855 wxFrame
*arg1
= (wxFrame
*) 0 ;
6857 int *arg3
= (int *) 0 ;
6860 PyObject
* obj0
= 0 ;
6861 PyObject
* obj1
= 0 ;
6862 char * kwnames
[] = {
6863 (char *) "self",(char *) "widths", NULL
6866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6868 if (!SWIG_IsOK(res1
)) {
6869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6871 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6873 arg2
= PyList_Size(obj1
);
6874 arg3
= int_LIST_helper(obj1
);
6875 if (arg3
== NULL
) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_Py_Void();
6885 if (arg3
) delete [] arg3
;
6890 if (arg3
) delete [] arg3
;
6896 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
= 0;
6898 wxFrame
*arg1
= (wxFrame
*) 0 ;
6899 wxString
*arg2
= 0 ;
6900 int arg3
= (int) 0 ;
6903 bool temp2
= false ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6908 PyObject
* obj2
= 0 ;
6909 char * kwnames
[] = {
6910 (char *) "self",(char *) "text",(char *) "number", NULL
6913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6915 if (!SWIG_IsOK(res1
)) {
6916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6918 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6920 arg2
= wxString_in_helper(obj1
);
6921 if (arg2
== NULL
) SWIG_fail
;
6925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6926 if (!SWIG_IsOK(ecode3
)) {
6927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6929 arg3
= static_cast< int >(val3
);
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_Py_Void();
6952 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
= 0;
6954 wxFrame
*arg1
= (wxFrame
*) 0 ;
6955 int arg2
= (int) 0 ;
6960 PyObject
* obj0
= 0 ;
6961 PyObject
* obj1
= 0 ;
6962 char * kwnames
[] = {
6963 (char *) "self",(char *) "number", NULL
6966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6968 if (!SWIG_IsOK(res1
)) {
6969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6971 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6974 if (!SWIG_IsOK(ecode2
)) {
6975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6977 arg2
= static_cast< int >(val2
);
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 (arg1
)->PopStatusText(arg2
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= SWIG_Py_Void();
6992 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
= 0;
6994 wxFrame
*arg1
= (wxFrame
*) 0 ;
7000 PyObject
* obj0
= 0 ;
7001 PyObject
* obj1
= 0 ;
7002 char * kwnames
[] = {
7003 (char *) "self",(char *) "n", NULL
7006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7008 if (!SWIG_IsOK(res1
)) {
7009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7011 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7013 if (!SWIG_IsOK(ecode2
)) {
7014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7016 arg2
= static_cast< int >(val2
);
7018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 (arg1
)->SetStatusBarPane(arg2
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 resultobj
= SWIG_Py_Void();
7030 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7031 PyObject
*resultobj
= 0;
7032 wxFrame
*arg1
= (wxFrame
*) 0 ;
7036 PyObject
*swig_obj
[1] ;
7038 if (!args
) SWIG_fail
;
7040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7041 if (!SWIG_IsOK(res1
)) {
7042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7044 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_From_int(static_cast< int >(result
));
7058 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
= 0;
7060 wxFrame
*arg1
= (wxFrame
*) 0 ;
7061 long arg2
= (long) -1 ;
7062 int arg3
= (int) -1 ;
7063 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7064 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7065 wxToolBar
*result
= 0 ;
7072 bool temp4
= false ;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7075 PyObject
* obj2
= 0 ;
7076 PyObject
* obj3
= 0 ;
7077 char * kwnames
[] = {
7078 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7083 if (!SWIG_IsOK(res1
)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7086 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7088 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7089 if (!SWIG_IsOK(ecode2
)) {
7090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7092 arg2
= static_cast< long >(val2
);
7095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7096 if (!SWIG_IsOK(ecode3
)) {
7097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7099 arg3
= static_cast< int >(val3
);
7103 arg4
= wxString_in_helper(obj3
);
7104 if (arg4
== NULL
) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7131 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7132 PyObject
*resultobj
= 0;
7133 wxFrame
*arg1
= (wxFrame
*) 0 ;
7134 wxToolBar
*result
= 0 ;
7137 PyObject
*swig_obj
[1] ;
7139 if (!args
) SWIG_fail
;
7141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7142 if (!SWIG_IsOK(res1
)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7145 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7161 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
= 0;
7163 wxFrame
*arg1
= (wxFrame
*) 0 ;
7164 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7169 PyObject
* obj0
= 0 ;
7170 PyObject
* obj1
= 0 ;
7171 char * kwnames
[] = {
7172 (char *) "self",(char *) "toolbar", NULL
7175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7177 if (!SWIG_IsOK(res1
)) {
7178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7180 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7182 if (!SWIG_IsOK(res2
)) {
7183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7185 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 (arg1
)->SetToolBar(arg2
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_Py_Void();
7199 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
= 0;
7201 wxFrame
*arg1
= (wxFrame
*) 0 ;
7202 wxString
*arg2
= 0 ;
7206 bool temp2
= false ;
7209 PyObject
* obj0
= 0 ;
7210 PyObject
* obj1
= 0 ;
7211 PyObject
* obj2
= 0 ;
7212 char * kwnames
[] = {
7213 (char *) "self",(char *) "text",(char *) "show", NULL
7216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7218 if (!SWIG_IsOK(res1
)) {
7219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7221 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7223 arg2
= wxString_in_helper(obj1
);
7224 if (arg2
== NULL
) SWIG_fail
;
7227 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7228 if (!SWIG_IsOK(ecode3
)) {
7229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7231 arg3
= static_cast< bool >(val3
);
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= SWIG_Py_Void();
7253 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
= 0;
7255 wxFrame
*arg1
= (wxFrame
*) 0 ;
7256 wxMenu
*arg2
= (wxMenu
*) NULL
;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7263 char * kwnames
[] = {
7264 (char *) "self",(char *) "menu", NULL
7267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7269 if (!SWIG_IsOK(res1
)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7272 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7275 if (!SWIG_IsOK(res2
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7278 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 (arg1
)->DoMenuUpdates(arg2
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_Py_Void();
7293 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
= 0;
7295 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7296 SwigValueWrapper
<wxVisualAttributes
> result
;
7299 PyObject
* obj0
= 0 ;
7300 char * kwnames
[] = {
7301 (char *) "variant", NULL
7304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7306 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7307 if (!SWIG_IsOK(ecode1
)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7310 arg1
= static_cast< wxWindowVariant
>(val1
);
7313 if (!wxPyCheckForApp()) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7326 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7329 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7330 return SWIG_Py_Void();
7333 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7334 return SWIG_Python_InitShadowInstance(args
);
7337 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
= 0;
7339 wxWindow
*arg1
= (wxWindow
*) 0 ;
7340 int arg2
= (int) (int)-1 ;
7341 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7342 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7343 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7344 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7345 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7346 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7347 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7348 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7349 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7350 wxDialog
*result
= 0 ;
7355 bool temp3
= false ;
7360 bool temp7
= false ;
7361 PyObject
* obj0
= 0 ;
7362 PyObject
* obj1
= 0 ;
7363 PyObject
* obj2
= 0 ;
7364 PyObject
* obj3
= 0 ;
7365 PyObject
* obj4
= 0 ;
7366 PyObject
* obj5
= 0 ;
7367 PyObject
* obj6
= 0 ;
7368 char * kwnames
[] = {
7369 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7374 if (!SWIG_IsOK(res1
)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7377 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7380 if (!SWIG_IsOK(ecode2
)) {
7381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7383 arg2
= static_cast< int >(val2
);
7387 arg3
= wxString_in_helper(obj2
);
7388 if (arg3
== NULL
) SWIG_fail
;
7395 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7401 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7405 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7406 if (!SWIG_IsOK(ecode6
)) {
7407 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7409 arg6
= static_cast< long >(val6
);
7413 arg7
= wxString_in_helper(obj6
);
7414 if (arg7
== NULL
) SWIG_fail
;
7419 if (!wxPyCheckForApp()) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7448 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7449 PyObject
*resultobj
= 0;
7450 wxDialog
*result
= 0 ;
7452 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7454 if (!wxPyCheckForApp()) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 result
= (wxDialog
*)new wxDialog();
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7467 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
= 0;
7469 wxDialog
*arg1
= (wxDialog
*) 0 ;
7470 wxWindow
*arg2
= (wxWindow
*) 0 ;
7471 int arg3
= (int) (int)-1 ;
7472 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7473 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7474 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7475 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7476 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7477 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7478 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7479 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7480 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7488 bool temp4
= false ;
7493 bool temp8
= false ;
7494 PyObject
* obj0
= 0 ;
7495 PyObject
* obj1
= 0 ;
7496 PyObject
* obj2
= 0 ;
7497 PyObject
* obj3
= 0 ;
7498 PyObject
* obj4
= 0 ;
7499 PyObject
* obj5
= 0 ;
7500 PyObject
* obj6
= 0 ;
7501 PyObject
* obj7
= 0 ;
7502 char * kwnames
[] = {
7503 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7508 if (!SWIG_IsOK(res1
)) {
7509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7511 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7512 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7513 if (!SWIG_IsOK(res2
)) {
7514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7516 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7519 if (!SWIG_IsOK(ecode3
)) {
7520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7522 arg3
= static_cast< int >(val3
);
7526 arg4
= wxString_in_helper(obj3
);
7527 if (arg4
== NULL
) SWIG_fail
;
7534 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7540 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7544 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7545 if (!SWIG_IsOK(ecode7
)) {
7546 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7548 arg7
= static_cast< long >(val7
);
7552 arg8
= wxString_in_helper(obj7
);
7553 if (arg8
== NULL
) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7588 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
= 0;
7590 wxDialog
*arg1
= (wxDialog
*) 0 ;
7596 PyObject
* obj0
= 0 ;
7597 PyObject
* obj1
= 0 ;
7598 char * kwnames
[] = {
7599 (char *) "self",(char *) "returnCode", NULL
7602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7604 if (!SWIG_IsOK(res1
)) {
7605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7607 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7609 if (!SWIG_IsOK(ecode2
)) {
7610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7612 arg2
= static_cast< int >(val2
);
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->SetReturnCode(arg2
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_Py_Void();
7626 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7627 PyObject
*resultobj
= 0;
7628 wxDialog
*arg1
= (wxDialog
*) 0 ;
7632 PyObject
*swig_obj
[1] ;
7634 if (!args
) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7640 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_From_int(static_cast< int >(result
));
7654 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
= 0;
7656 wxDialog
*arg1
= (wxDialog
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7663 PyObject
* obj1
= 0 ;
7664 char * kwnames
[] = {
7665 (char *) "self",(char *) "affirmativeId", NULL
7668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7670 if (!SWIG_IsOK(res1
)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7673 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7675 if (!SWIG_IsOK(ecode2
)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7678 arg2
= static_cast< int >(val2
);
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 (arg1
)->SetAffirmativeId(arg2
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_Py_Void();
7692 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7693 PyObject
*resultobj
= 0;
7694 wxDialog
*arg1
= (wxDialog
*) 0 ;
7698 PyObject
*swig_obj
[1] ;
7700 if (!args
) SWIG_fail
;
7702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7703 if (!SWIG_IsOK(res1
)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7706 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= SWIG_From_int(static_cast< int >(result
));
7720 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
= 0;
7722 wxDialog
*arg1
= (wxDialog
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7730 char * kwnames
[] = {
7731 (char *) "self",(char *) "escapeId", NULL
7734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7736 if (!SWIG_IsOK(res1
)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7739 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7741 if (!SWIG_IsOK(ecode2
)) {
7742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7744 arg2
= static_cast< int >(val2
);
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 (arg1
)->SetEscapeId(arg2
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_Py_Void();
7758 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7759 PyObject
*resultobj
= 0;
7760 wxDialog
*arg1
= (wxDialog
*) 0 ;
7764 PyObject
*swig_obj
[1] ;
7766 if (!args
) SWIG_fail
;
7768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7769 if (!SWIG_IsOK(res1
)) {
7770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7772 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_From_int(static_cast< int >(result
));
7786 SWIGINTERN PyObject
*_wrap_Dialog_GetParentForModalDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
= 0;
7788 wxDialog
*arg1
= (wxDialog
*) 0 ;
7789 wxWindow
*arg2
= (wxWindow
*) NULL
;
7790 wxWindow
*result
= 0 ;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7797 char * kwnames
[] = {
7798 (char *) "self",(char *) "parent", NULL
7801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Dialog_GetParentForModalDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7803 if (!SWIG_IsOK(res1
)) {
7804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "1"" of type '" "wxDialog const *""'");
7806 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7808 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7809 if (!SWIG_IsOK(res2
)) {
7810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
7812 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 result
= (wxWindow
*)((wxDialog
const *)arg1
)->GetParentForModalDialog(arg2
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= wxPyMake_wxObject(result
, 0);
7829 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
= 0;
7831 wxDialog
*arg1
= (wxDialog
*) 0 ;
7832 wxString
*arg2
= 0 ;
7833 wxSizer
*result
= 0 ;
7836 bool temp2
= false ;
7837 PyObject
* obj0
= 0 ;
7838 PyObject
* obj1
= 0 ;
7839 char * kwnames
[] = {
7840 (char *) "self",(char *) "message", NULL
7843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7845 if (!SWIG_IsOK(res1
)) {
7846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7848 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7850 arg2
= wxString_in_helper(obj1
);
7851 if (arg2
== NULL
) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7877 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
= 0;
7879 wxDialog
*arg1
= (wxDialog
*) 0 ;
7881 wxSizer
*result
= 0 ;
7886 PyObject
* obj0
= 0 ;
7887 PyObject
* obj1
= 0 ;
7888 char * kwnames
[] = {
7889 (char *) "self",(char *) "flags", NULL
7892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7894 if (!SWIG_IsOK(res1
)) {
7895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7897 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7898 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7899 if (!SWIG_IsOK(ecode2
)) {
7900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7902 arg2
= static_cast< long >(val2
);
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7918 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
= 0;
7920 wxDialog
*arg1
= (wxDialog
*) 0 ;
7922 wxSizer
*result
= 0 ;
7927 PyObject
* obj0
= 0 ;
7928 PyObject
* obj1
= 0 ;
7929 char * kwnames
[] = {
7930 (char *) "self",(char *) "flags", NULL
7933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7935 if (!SWIG_IsOK(res1
)) {
7936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7938 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7939 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7940 if (!SWIG_IsOK(ecode2
)) {
7941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7943 arg2
= static_cast< long >(val2
);
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7959 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
= 0;
7961 wxDialog
*arg1
= (wxDialog
*) 0 ;
7963 wxStdDialogButtonSizer
*result
= 0 ;
7968 PyObject
* obj0
= 0 ;
7969 PyObject
* obj1
= 0 ;
7970 char * kwnames
[] = {
7971 (char *) "self",(char *) "flags", NULL
7974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7976 if (!SWIG_IsOK(res1
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7979 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7980 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7981 if (!SWIG_IsOK(ecode2
)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7984 arg2
= static_cast< long >(val2
);
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7998 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7999 PyObject
*resultobj
= 0;
8000 wxDialog
*arg1
= (wxDialog
*) 0 ;
8004 PyObject
*swig_obj
[1] ;
8006 if (!args
) SWIG_fail
;
8008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8009 if (!SWIG_IsOK(res1
)) {
8010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8012 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8028 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8029 PyObject
*resultobj
= 0;
8030 wxDialog
*arg1
= (wxDialog
*) 0 ;
8034 PyObject
*swig_obj
[1] ;
8036 if (!args
) SWIG_fail
;
8038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8039 if (!SWIG_IsOK(res1
)) {
8040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8042 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 result
= (int)(arg1
)->ShowModal();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= SWIG_From_int(static_cast< int >(result
));
8056 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
= 0;
8058 wxDialog
*arg1
= (wxDialog
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8065 PyObject
* obj1
= 0 ;
8066 char * kwnames
[] = {
8067 (char *) "self",(char *) "retCode", NULL
8070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8075 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8077 if (!SWIG_IsOK(ecode2
)) {
8078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8080 arg2
= static_cast< int >(val2
);
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 (arg1
)->EndModal(arg2
);
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= SWIG_Py_Void();
8094 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
= 0;
8096 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8097 SwigValueWrapper
<wxVisualAttributes
> result
;
8100 PyObject
* obj0
= 0 ;
8101 char * kwnames
[] = {
8102 (char *) "variant", NULL
8105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8107 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8108 if (!SWIG_IsOK(ecode1
)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8111 arg1
= static_cast< wxWindowVariant
>(val1
);
8114 if (!wxPyCheckForApp()) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8127 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8130 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8131 return SWIG_Py_Void();
8134 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8135 return SWIG_Python_InitShadowInstance(args
);
8138 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
*resultobj
= 0;
8140 wxWindow
*arg1
= (wxWindow
*) 0 ;
8141 int arg2
= (int) (int)-1 ;
8142 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8143 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8144 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8145 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8146 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8147 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8148 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8149 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8150 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8151 wxMiniFrame
*result
= 0 ;
8156 bool temp3
= false ;
8161 bool temp7
= false ;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8164 PyObject
* obj2
= 0 ;
8165 PyObject
* obj3
= 0 ;
8166 PyObject
* obj4
= 0 ;
8167 PyObject
* obj5
= 0 ;
8168 PyObject
* obj6
= 0 ;
8169 char * kwnames
[] = {
8170 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8175 if (!SWIG_IsOK(res1
)) {
8176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8178 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8181 if (!SWIG_IsOK(ecode2
)) {
8182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8184 arg2
= static_cast< int >(val2
);
8188 arg3
= wxString_in_helper(obj2
);
8189 if (arg3
== NULL
) SWIG_fail
;
8196 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8202 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8206 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8207 if (!SWIG_IsOK(ecode6
)) {
8208 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8210 arg6
= static_cast< long >(val6
);
8214 arg7
= wxString_in_helper(obj6
);
8215 if (arg7
== NULL
) SWIG_fail
;
8220 if (!wxPyCheckForApp()) SWIG_fail
;
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8249 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8250 PyObject
*resultobj
= 0;
8251 wxMiniFrame
*result
= 0 ;
8253 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8255 if (!wxPyCheckForApp()) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (wxMiniFrame
*)new wxMiniFrame();
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8268 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
= 0;
8270 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8271 wxWindow
*arg2
= (wxWindow
*) 0 ;
8272 int arg3
= (int) (int)-1 ;
8273 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8274 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8275 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8276 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8277 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8278 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8279 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8280 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8281 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8289 bool temp4
= false ;
8294 bool temp8
= false ;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8297 PyObject
* obj2
= 0 ;
8298 PyObject
* obj3
= 0 ;
8299 PyObject
* obj4
= 0 ;
8300 PyObject
* obj5
= 0 ;
8301 PyObject
* obj6
= 0 ;
8302 PyObject
* obj7
= 0 ;
8303 char * kwnames
[] = {
8304 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8309 if (!SWIG_IsOK(res1
)) {
8310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8312 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8314 if (!SWIG_IsOK(res2
)) {
8315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8317 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8320 if (!SWIG_IsOK(ecode3
)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8323 arg3
= static_cast< int >(val3
);
8327 arg4
= wxString_in_helper(obj3
);
8328 if (arg4
== NULL
) SWIG_fail
;
8335 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8341 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8345 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8346 if (!SWIG_IsOK(ecode7
)) {
8347 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8349 arg7
= static_cast< long >(val7
);
8353 arg8
= wxString_in_helper(obj7
);
8354 if (arg8
== NULL
) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8389 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8392 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8393 return SWIG_Py_Void();
8396 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8397 return SWIG_Python_InitShadowInstance(args
);
8400 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
= 0;
8402 wxBitmap
*arg1
= 0 ;
8403 wxWindow
*arg2
= (wxWindow
*) 0 ;
8405 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8406 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8407 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8408 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8409 long arg6
= (long) wxNO_BORDER
;
8410 wxSplashScreenWindow
*result
= 0 ;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8423 PyObject
* obj2
= 0 ;
8424 PyObject
* obj3
= 0 ;
8425 PyObject
* obj4
= 0 ;
8426 PyObject
* obj5
= 0 ;
8427 char * kwnames
[] = {
8428 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8439 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8440 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8441 if (!SWIG_IsOK(res2
)) {
8442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8444 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8446 if (!SWIG_IsOK(ecode3
)) {
8447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8449 arg3
= static_cast< int >(val3
);
8453 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8459 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8463 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8464 if (!SWIG_IsOK(ecode6
)) {
8465 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8467 arg6
= static_cast< long >(val6
);
8470 if (!wxPyCheckForApp()) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8483 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
= 0;
8485 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8486 wxBitmap
*arg2
= 0 ;
8491 PyObject
* obj0
= 0 ;
8492 PyObject
* obj1
= 0 ;
8493 char * kwnames
[] = {
8494 (char *) "self",(char *) "bitmap", NULL
8497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8499 if (!SWIG_IsOK(res1
)) {
8500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8502 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8504 if (!SWIG_IsOK(res2
)) {
8505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8510 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= SWIG_Py_Void();
8524 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8525 PyObject
*resultobj
= 0;
8526 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8527 wxBitmap
*result
= 0 ;
8530 PyObject
*swig_obj
[1] ;
8532 if (!args
) SWIG_fail
;
8534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8535 if (!SWIG_IsOK(res1
)) {
8536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8538 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8543 result
= (wxBitmap
*) &_result_ref
;
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8549 wxBitmap
* resultptr
= new wxBitmap(*result
);
8550 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8558 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8561 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8562 return SWIG_Py_Void();
8565 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8566 return SWIG_Python_InitShadowInstance(args
);
8569 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
= 0;
8571 wxBitmap
*arg1
= 0 ;
8574 wxWindow
*arg4
= (wxWindow
*) 0 ;
8575 int arg5
= (int) -1 ;
8576 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8577 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8578 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8579 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8580 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8581 wxSplashScreen
*result
= 0 ;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8598 PyObject
* obj2
= 0 ;
8599 PyObject
* obj3
= 0 ;
8600 PyObject
* obj4
= 0 ;
8601 PyObject
* obj5
= 0 ;
8602 PyObject
* obj6
= 0 ;
8603 PyObject
* obj7
= 0 ;
8604 char * kwnames
[] = {
8605 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8609 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8610 if (!SWIG_IsOK(res1
)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8616 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8617 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8618 if (!SWIG_IsOK(ecode2
)) {
8619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8621 arg2
= static_cast< long >(val2
);
8622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8623 if (!SWIG_IsOK(ecode3
)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8626 arg3
= static_cast< int >(val3
);
8627 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8628 if (!SWIG_IsOK(res4
)) {
8629 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8631 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8633 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8634 if (!SWIG_IsOK(ecode5
)) {
8635 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8637 arg5
= static_cast< int >(val5
);
8642 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8648 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8652 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8653 if (!SWIG_IsOK(ecode8
)) {
8654 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8656 arg8
= static_cast< long >(val8
);
8659 if (!wxPyCheckForApp()) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8672 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8673 PyObject
*resultobj
= 0;
8674 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8678 PyObject
*swig_obj
[1] ;
8680 if (!args
) SWIG_fail
;
8682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8683 if (!SWIG_IsOK(res1
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8686 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_From_long(static_cast< long >(result
));
8700 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8701 PyObject
*resultobj
= 0;
8702 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8703 wxSplashScreenWindow
*result
= 0 ;
8706 PyObject
*swig_obj
[1] ;
8708 if (!args
) SWIG_fail
;
8710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8711 if (!SWIG_IsOK(res1
)) {
8712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8714 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8728 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8729 PyObject
*resultobj
= 0;
8730 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8734 PyObject
*swig_obj
[1] ;
8736 if (!args
) SWIG_fail
;
8738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8739 if (!SWIG_IsOK(res1
)) {
8740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8742 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= SWIG_From_int(static_cast< int >(result
));
8756 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8759 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8760 return SWIG_Py_Void();
8763 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8764 return SWIG_Python_InitShadowInstance(args
);
8767 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
= 0;
8769 wxWindow
*arg1
= (wxWindow
*) 0 ;
8770 int arg2
= (int) -1 ;
8771 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8772 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8773 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8774 wxStatusBar
*result
= 0 ;
8781 bool temp4
= false ;
8782 PyObject
* obj0
= 0 ;
8783 PyObject
* obj1
= 0 ;
8784 PyObject
* obj2
= 0 ;
8785 PyObject
* obj3
= 0 ;
8786 char * kwnames
[] = {
8787 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8792 if (!SWIG_IsOK(res1
)) {
8793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8798 if (!SWIG_IsOK(ecode2
)) {
8799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8801 arg2
= static_cast< int >(val2
);
8804 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8805 if (!SWIG_IsOK(ecode3
)) {
8806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8808 arg3
= static_cast< long >(val3
);
8812 arg4
= wxString_in_helper(obj3
);
8813 if (arg4
== NULL
) SWIG_fail
;
8818 if (!wxPyCheckForApp()) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8839 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8840 PyObject
*resultobj
= 0;
8841 wxStatusBar
*result
= 0 ;
8843 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8845 if (!wxPyCheckForApp()) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 result
= (wxStatusBar
*)new wxStatusBar();
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8858 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
= 0;
8860 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8861 wxWindow
*arg2
= (wxWindow
*) 0 ;
8862 int arg3
= (int) -1 ;
8863 long arg4
= (long) wxST_SIZEGRIP
;
8864 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8865 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8875 bool temp5
= false ;
8876 PyObject
* obj0
= 0 ;
8877 PyObject
* obj1
= 0 ;
8878 PyObject
* obj2
= 0 ;
8879 PyObject
* obj3
= 0 ;
8880 PyObject
* obj4
= 0 ;
8881 char * kwnames
[] = {
8882 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8887 if (!SWIG_IsOK(res1
)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8890 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8892 if (!SWIG_IsOK(res2
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8895 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8898 if (!SWIG_IsOK(ecode3
)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8901 arg3
= static_cast< int >(val3
);
8904 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8905 if (!SWIG_IsOK(ecode4
)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8908 arg4
= static_cast< long >(val4
);
8912 arg5
= wxString_in_helper(obj4
);
8913 if (arg5
== NULL
) SWIG_fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8940 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
= 0;
8942 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8943 int arg2
= (int) 1 ;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8950 char * kwnames
[] = {
8951 (char *) "self",(char *) "number", NULL
8954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8956 if (!SWIG_IsOK(res1
)) {
8957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8959 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8962 if (!SWIG_IsOK(ecode2
)) {
8963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8965 arg2
= static_cast< int >(val2
);
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 (arg1
)->SetFieldsCount(arg2
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= SWIG_Py_Void();
8980 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8981 PyObject
*resultobj
= 0;
8982 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8986 PyObject
*swig_obj
[1] ;
8988 if (!args
) SWIG_fail
;
8990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8991 if (!SWIG_IsOK(res1
)) {
8992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8994 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= SWIG_From_int(static_cast< int >(result
));
9008 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
= 0;
9010 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9011 wxString
*arg2
= 0 ;
9012 int arg3
= (int) 0 ;
9015 bool temp2
= false ;
9018 PyObject
* obj0
= 0 ;
9019 PyObject
* obj1
= 0 ;
9020 PyObject
* obj2
= 0 ;
9021 char * kwnames
[] = {
9022 (char *) "self",(char *) "text",(char *) "number", NULL
9025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9027 if (!SWIG_IsOK(res1
)) {
9028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9030 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9032 arg2
= wxString_in_helper(obj1
);
9033 if (arg2
== NULL
) SWIG_fail
;
9037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9038 if (!SWIG_IsOK(ecode3
)) {
9039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9041 arg3
= static_cast< int >(val3
);
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= SWIG_Py_Void();
9064 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
= 0;
9066 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9067 int arg2
= (int) 0 ;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9075 char * kwnames
[] = {
9076 (char *) "self",(char *) "number", NULL
9079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9081 if (!SWIG_IsOK(res1
)) {
9082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9084 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9087 if (!SWIG_IsOK(ecode2
)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9090 arg2
= static_cast< int >(val2
);
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9111 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
= 0;
9113 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9114 wxString
*arg2
= 0 ;
9115 int arg3
= (int) 0 ;
9118 bool temp2
= false ;
9121 PyObject
* obj0
= 0 ;
9122 PyObject
* obj1
= 0 ;
9123 PyObject
* obj2
= 0 ;
9124 char * kwnames
[] = {
9125 (char *) "self",(char *) "text",(char *) "number", NULL
9128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9130 if (!SWIG_IsOK(res1
)) {
9131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9133 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9135 arg2
= wxString_in_helper(obj1
);
9136 if (arg2
== NULL
) SWIG_fail
;
9140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9141 if (!SWIG_IsOK(ecode3
)) {
9142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9144 arg3
= static_cast< int >(val3
);
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_Py_Void();
9167 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
= 0;
9169 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9170 int arg2
= (int) 0 ;
9175 PyObject
* obj0
= 0 ;
9176 PyObject
* obj1
= 0 ;
9177 char * kwnames
[] = {
9178 (char *) "self",(char *) "number", NULL
9181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9183 if (!SWIG_IsOK(res1
)) {
9184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9186 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9189 if (!SWIG_IsOK(ecode2
)) {
9190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9192 arg2
= static_cast< int >(val2
);
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 (arg1
)->PopStatusText(arg2
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_Py_Void();
9207 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
= 0;
9209 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9211 int *arg3
= (int *) 0 ;
9214 PyObject
* obj0
= 0 ;
9215 PyObject
* obj1
= 0 ;
9216 char * kwnames
[] = {
9217 (char *) "self",(char *) "widths", NULL
9220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9222 if (!SWIG_IsOK(res1
)) {
9223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9225 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9227 arg2
= PyList_Size(obj1
);
9228 arg3
= int_LIST_helper(obj1
);
9229 if (arg3
== NULL
) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= SWIG_Py_Void();
9239 if (arg3
) delete [] arg3
;
9244 if (arg3
) delete [] arg3
;
9250 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
= 0;
9252 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9254 int *arg3
= (int *) 0 ;
9257 PyObject
* obj0
= 0 ;
9258 PyObject
* obj1
= 0 ;
9259 char * kwnames
[] = {
9260 (char *) "self",(char *) "styles", NULL
9263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9265 if (!SWIG_IsOK(res1
)) {
9266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9268 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9270 arg2
= PyList_Size(obj1
);
9271 arg3
= int_LIST_helper(obj1
);
9272 if (arg3
== NULL
) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_Py_Void();
9282 if (arg3
) delete [] arg3
;
9287 if (arg3
) delete [] arg3
;
9293 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
= 0;
9295 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9302 PyObject
* obj0
= 0 ;
9303 PyObject
* obj1
= 0 ;
9304 char * kwnames
[] = {
9305 (char *) "self",(char *) "i", NULL
9308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9310 if (!SWIG_IsOK(res1
)) {
9311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9313 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9315 if (!SWIG_IsOK(ecode2
)) {
9316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9318 arg2
= static_cast< int >(val2
);
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9332 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
= 0;
9334 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9342 char * kwnames
[] = {
9343 (char *) "self",(char *) "height", NULL
9346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9351 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9353 if (!SWIG_IsOK(ecode2
)) {
9354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9356 arg2
= static_cast< int >(val2
);
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 (arg1
)->SetMinHeight(arg2
);
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= SWIG_Py_Void();
9370 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9371 PyObject
*resultobj
= 0;
9372 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9376 PyObject
*swig_obj
[1] ;
9378 if (!args
) SWIG_fail
;
9380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9381 if (!SWIG_IsOK(res1
)) {
9382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9384 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_From_int(static_cast< int >(result
));
9398 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9399 PyObject
*resultobj
= 0;
9400 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9404 PyObject
*swig_obj
[1] ;
9406 if (!args
) SWIG_fail
;
9408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9409 if (!SWIG_IsOK(res1
)) {
9410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9412 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= SWIG_From_int(static_cast< int >(result
));
9426 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
= 0;
9428 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9429 SwigValueWrapper
<wxVisualAttributes
> result
;
9432 PyObject
* obj0
= 0 ;
9433 char * kwnames
[] = {
9434 (char *) "variant", NULL
9437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9439 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9440 if (!SWIG_IsOK(ecode1
)) {
9441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9443 arg1
= static_cast< wxWindowVariant
>(val1
);
9446 if (!wxPyCheckForApp()) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9459 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9462 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9463 return SWIG_Py_Void();
9466 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9467 return SWIG_Python_InitShadowInstance(args
);
9470 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9471 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9476 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9477 PyObject
*pyobj
= 0;
9481 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9483 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9490 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
= 0;
9492 wxWindow
*arg1
= (wxWindow
*) 0 ;
9493 int arg2
= (int) -1 ;
9494 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9495 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9496 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9497 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9498 long arg5
= (long) wxSP_3D
;
9499 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9500 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9501 wxSplitterWindow
*result
= 0 ;
9510 bool temp6
= false ;
9511 PyObject
* obj0
= 0 ;
9512 PyObject
* obj1
= 0 ;
9513 PyObject
* obj2
= 0 ;
9514 PyObject
* obj3
= 0 ;
9515 PyObject
* obj4
= 0 ;
9516 PyObject
* obj5
= 0 ;
9517 char * kwnames
[] = {
9518 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9523 if (!SWIG_IsOK(res1
)) {
9524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9526 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9529 if (!SWIG_IsOK(ecode2
)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9532 arg2
= static_cast< int >(val2
);
9537 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9543 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9547 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9548 if (!SWIG_IsOK(ecode5
)) {
9549 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9551 arg5
= static_cast< long >(val5
);
9555 arg6
= wxString_in_helper(obj5
);
9556 if (arg6
== NULL
) SWIG_fail
;
9561 if (!wxPyCheckForApp()) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9582 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9583 PyObject
*resultobj
= 0;
9584 wxSplitterWindow
*result
= 0 ;
9586 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9588 if (!wxPyCheckForApp()) SWIG_fail
;
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9601 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
= 0;
9603 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9604 wxWindow
*arg2
= (wxWindow
*) 0 ;
9605 int arg3
= (int) -1 ;
9606 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9607 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9608 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9609 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9610 long arg6
= (long) wxSP_3D
;
9611 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9612 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9624 bool temp7
= false ;
9625 PyObject
* obj0
= 0 ;
9626 PyObject
* obj1
= 0 ;
9627 PyObject
* obj2
= 0 ;
9628 PyObject
* obj3
= 0 ;
9629 PyObject
* obj4
= 0 ;
9630 PyObject
* obj5
= 0 ;
9631 PyObject
* obj6
= 0 ;
9632 char * kwnames
[] = {
9633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9638 if (!SWIG_IsOK(res1
)) {
9639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9641 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9643 if (!SWIG_IsOK(res2
)) {
9644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9646 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9649 if (!SWIG_IsOK(ecode3
)) {
9650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9652 arg3
= static_cast< int >(val3
);
9657 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9663 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9667 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9668 if (!SWIG_IsOK(ecode6
)) {
9669 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9671 arg6
= static_cast< long >(val6
);
9675 arg7
= wxString_in_helper(obj6
);
9676 if (arg7
== NULL
) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9703 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9704 PyObject
*resultobj
= 0;
9705 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9706 wxWindow
*result
= 0 ;
9709 PyObject
*swig_obj
[1] ;
9711 if (!args
) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9717 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= wxPyMake_wxObject(result
, 0);
9733 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9734 PyObject
*resultobj
= 0;
9735 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9736 wxWindow
*result
= 0 ;
9739 PyObject
*swig_obj
[1] ;
9741 if (!args
) SWIG_fail
;
9743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9744 if (!SWIG_IsOK(res1
)) {
9745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9747 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= wxPyMake_wxObject(result
, 0);
9763 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
= 0;
9765 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9773 char * kwnames
[] = {
9774 (char *) "self",(char *) "mode", NULL
9777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9779 if (!SWIG_IsOK(res1
)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9782 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9784 if (!SWIG_IsOK(ecode2
)) {
9785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9787 arg2
= static_cast< int >(val2
);
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 (arg1
)->SetSplitMode(arg2
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= SWIG_Py_Void();
9801 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9802 PyObject
*resultobj
= 0;
9803 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9807 PyObject
*swig_obj
[1] ;
9809 if (!args
) SWIG_fail
;
9811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9812 if (!SWIG_IsOK(res1
)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9815 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= SWIG_From_int(static_cast< int >(result
));
9829 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
= 0;
9831 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9832 wxWindow
*arg2
= (wxWindow
*) 0 ;
9837 PyObject
* obj0
= 0 ;
9838 PyObject
* obj1
= 0 ;
9839 char * kwnames
[] = {
9840 (char *) "self",(char *) "window", NULL
9843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9845 if (!SWIG_IsOK(res1
)) {
9846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9848 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9849 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9850 if (!SWIG_IsOK(res2
)) {
9851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9853 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 (arg1
)->Initialize(arg2
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= SWIG_Py_Void();
9867 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
= 0;
9869 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9870 wxWindow
*arg2
= (wxWindow
*) 0 ;
9871 wxWindow
*arg3
= (wxWindow
*) 0 ;
9872 int arg4
= (int) 0 ;
9882 PyObject
* obj0
= 0 ;
9883 PyObject
* obj1
= 0 ;
9884 PyObject
* obj2
= 0 ;
9885 PyObject
* obj3
= 0 ;
9886 char * kwnames
[] = {
9887 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9892 if (!SWIG_IsOK(res1
)) {
9893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9895 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9897 if (!SWIG_IsOK(res2
)) {
9898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9900 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9901 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9902 if (!SWIG_IsOK(res3
)) {
9903 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9905 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9907 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9908 if (!SWIG_IsOK(ecode4
)) {
9909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9911 arg4
= static_cast< int >(val4
);
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9928 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
= 0;
9930 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9931 wxWindow
*arg2
= (wxWindow
*) 0 ;
9932 wxWindow
*arg3
= (wxWindow
*) 0 ;
9933 int arg4
= (int) 0 ;
9943 PyObject
* obj0
= 0 ;
9944 PyObject
* obj1
= 0 ;
9945 PyObject
* obj2
= 0 ;
9946 PyObject
* obj3
= 0 ;
9947 char * kwnames
[] = {
9948 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9953 if (!SWIG_IsOK(res1
)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9956 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9957 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9958 if (!SWIG_IsOK(res2
)) {
9959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9961 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9962 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9963 if (!SWIG_IsOK(res3
)) {
9964 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9966 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9969 if (!SWIG_IsOK(ecode4
)) {
9970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9972 arg4
= static_cast< int >(val4
);
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9989 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
= 0;
9991 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9992 wxWindow
*arg2
= (wxWindow
*) NULL
;
9998 PyObject
* obj0
= 0 ;
9999 PyObject
* obj1
= 0 ;
10000 char * kwnames
[] = {
10001 (char *) "self",(char *) "toRemove", NULL
10004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10006 if (!SWIG_IsOK(res1
)) {
10007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10009 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10011 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10012 if (!SWIG_IsOK(res2
)) {
10013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10015 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (bool)(arg1
)->Unsplit(arg2
);
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10032 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
= 0;
10034 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10035 wxWindow
*arg2
= (wxWindow
*) 0 ;
10036 wxWindow
*arg3
= (wxWindow
*) 0 ;
10044 PyObject
* obj0
= 0 ;
10045 PyObject
* obj1
= 0 ;
10046 PyObject
* obj2
= 0 ;
10047 char * kwnames
[] = {
10048 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10053 if (!SWIG_IsOK(res1
)) {
10054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10056 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10057 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10058 if (!SWIG_IsOK(res2
)) {
10059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10061 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10062 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10063 if (!SWIG_IsOK(res3
)) {
10064 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10066 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10082 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10083 PyObject
*resultobj
= 0;
10084 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10087 PyObject
*swig_obj
[1] ;
10089 if (!args
) SWIG_fail
;
10090 swig_obj
[0] = args
;
10091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10092 if (!SWIG_IsOK(res1
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10095 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 (arg1
)->UpdateSize();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_Py_Void();
10109 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10110 PyObject
*resultobj
= 0;
10111 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10115 PyObject
*swig_obj
[1] ;
10117 if (!args
) SWIG_fail
;
10118 swig_obj
[0] = args
;
10119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10120 if (!SWIG_IsOK(res1
)) {
10121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10123 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10139 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10140 PyObject
*resultobj
= 0;
10141 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10147 PyObject
* obj0
= 0 ;
10148 PyObject
* obj1
= 0 ;
10149 char * kwnames
[] = {
10150 (char *) "self",(char *) "width", NULL
10153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10155 if (!SWIG_IsOK(res1
)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10158 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10160 if (!SWIG_IsOK(ecode2
)) {
10161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10163 arg2
= static_cast< int >(val2
);
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 (arg1
)->SetSashSize(arg2
);
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_Py_Void();
10177 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
= 0;
10179 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10185 PyObject
* obj0
= 0 ;
10186 PyObject
* obj1
= 0 ;
10187 char * kwnames
[] = {
10188 (char *) "self",(char *) "width", NULL
10191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10193 if (!SWIG_IsOK(res1
)) {
10194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10196 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10198 if (!SWIG_IsOK(ecode2
)) {
10199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10201 arg2
= static_cast< int >(val2
);
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 (arg1
)->SetBorderSize(arg2
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_Py_Void();
10215 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10216 PyObject
*resultobj
= 0;
10217 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10221 PyObject
*swig_obj
[1] ;
10223 if (!args
) SWIG_fail
;
10224 swig_obj
[0] = args
;
10225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10226 if (!SWIG_IsOK(res1
)) {
10227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10229 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_From_int(static_cast< int >(result
));
10243 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10244 PyObject
*resultobj
= 0;
10245 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10249 PyObject
*swig_obj
[1] ;
10251 if (!args
) SWIG_fail
;
10252 swig_obj
[0] = args
;
10253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10254 if (!SWIG_IsOK(res1
)) {
10255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10257 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 resultobj
= SWIG_From_int(static_cast< int >(result
));
10271 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
= 0;
10273 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10275 bool arg3
= (bool) true ;
10282 PyObject
* obj0
= 0 ;
10283 PyObject
* obj1
= 0 ;
10284 PyObject
* obj2
= 0 ;
10285 char * kwnames
[] = {
10286 (char *) "self",(char *) "position",(char *) "redraw", NULL
10289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10291 if (!SWIG_IsOK(res1
)) {
10292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10294 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10296 if (!SWIG_IsOK(ecode2
)) {
10297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10299 arg2
= static_cast< int >(val2
);
10301 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10302 if (!SWIG_IsOK(ecode3
)) {
10303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10305 arg3
= static_cast< bool >(val3
);
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 (arg1
)->SetSashPosition(arg2
,arg3
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= SWIG_Py_Void();
10320 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10321 PyObject
*resultobj
= 0;
10322 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10326 PyObject
*swig_obj
[1] ;
10328 if (!args
) SWIG_fail
;
10329 swig_obj
[0] = args
;
10330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10331 if (!SWIG_IsOK(res1
)) {
10332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10334 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 resultobj
= SWIG_From_int(static_cast< int >(result
));
10348 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
= 0;
10350 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 PyObject
* obj1
= 0 ;
10358 char * kwnames
[] = {
10359 (char *) "self",(char *) "gravity", NULL
10362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10364 if (!SWIG_IsOK(res1
)) {
10365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10367 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10368 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10369 if (!SWIG_IsOK(ecode2
)) {
10370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10372 arg2
= static_cast< double >(val2
);
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 (arg1
)->SetSashGravity(arg2
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_Py_Void();
10386 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10387 PyObject
*resultobj
= 0;
10388 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10392 PyObject
*swig_obj
[1] ;
10394 if (!args
) SWIG_fail
;
10395 swig_obj
[0] = args
;
10396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10397 if (!SWIG_IsOK(res1
)) {
10398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10400 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10407 resultobj
= SWIG_From_double(static_cast< double >(result
));
10414 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
= 0;
10416 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 PyObject
* obj1
= 0 ;
10424 char * kwnames
[] = {
10425 (char *) "self",(char *) "min", NULL
10428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10430 if (!SWIG_IsOK(res1
)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10433 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10435 if (!SWIG_IsOK(ecode2
)) {
10436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10438 arg2
= static_cast< int >(val2
);
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 (arg1
)->SetMinimumPaneSize(arg2
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10445 resultobj
= SWIG_Py_Void();
10452 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10453 PyObject
*resultobj
= 0;
10454 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10458 PyObject
*swig_obj
[1] ;
10460 if (!args
) SWIG_fail
;
10461 swig_obj
[0] = args
;
10462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10463 if (!SWIG_IsOK(res1
)) {
10464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10466 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= SWIG_From_int(static_cast< int >(result
));
10480 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
= 0;
10482 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10485 int arg4
= (int) 5 ;
10495 PyObject
* obj0
= 0 ;
10496 PyObject
* obj1
= 0 ;
10497 PyObject
* obj2
= 0 ;
10498 PyObject
* obj3
= 0 ;
10499 char * kwnames
[] = {
10500 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10505 if (!SWIG_IsOK(res1
)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10508 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10510 if (!SWIG_IsOK(ecode2
)) {
10511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10513 arg2
= static_cast< int >(val2
);
10514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10515 if (!SWIG_IsOK(ecode3
)) {
10516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10518 arg3
= static_cast< int >(val3
);
10520 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10521 if (!SWIG_IsOK(ecode4
)) {
10522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10524 arg4
= static_cast< int >(val4
);
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10541 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10542 PyObject
*resultobj
= 0;
10543 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10546 PyObject
*swig_obj
[1] ;
10548 if (!args
) SWIG_fail
;
10549 swig_obj
[0] = args
;
10550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10551 if (!SWIG_IsOK(res1
)) {
10552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10554 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 (arg1
)->SizeWindows();
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 resultobj
= SWIG_Py_Void();
10568 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
= 0;
10570 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10576 PyObject
* obj0
= 0 ;
10577 PyObject
* obj1
= 0 ;
10578 char * kwnames
[] = {
10579 (char *) "self",(char *) "needUpdating", NULL
10582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10584 if (!SWIG_IsOK(res1
)) {
10585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10587 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10588 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10589 if (!SWIG_IsOK(ecode2
)) {
10590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10592 arg2
= static_cast< bool >(val2
);
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 (arg1
)->SetNeedUpdating(arg2
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_Py_Void();
10606 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10607 PyObject
*resultobj
= 0;
10608 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10612 PyObject
*swig_obj
[1] ;
10614 if (!args
) SWIG_fail
;
10615 swig_obj
[0] = args
;
10616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10617 if (!SWIG_IsOK(res1
)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10620 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10636 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
= 0;
10638 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10639 SwigValueWrapper
<wxVisualAttributes
> result
;
10642 PyObject
* obj0
= 0 ;
10643 char * kwnames
[] = {
10644 (char *) "variant", NULL
10647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10649 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10650 if (!SWIG_IsOK(ecode1
)) {
10651 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10653 arg1
= static_cast< wxWindowVariant
>(val1
);
10656 if (!wxPyCheckForApp()) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10669 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10672 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10673 return SWIG_Py_Void();
10676 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10677 return SWIG_Python_InitShadowInstance(args
);
10680 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
= 0;
10682 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10683 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10684 wxSplitterEvent
*result
= 0 ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 char * kwnames
[] = {
10692 (char *) "type",(char *) "splitter", NULL
10695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10697 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10698 if (!SWIG_IsOK(ecode1
)) {
10699 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10701 arg1
= static_cast< wxEventType
>(val1
);
10704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10705 if (!SWIG_IsOK(res2
)) {
10706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10708 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10723 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
= 0;
10725 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 char * kwnames
[] = {
10734 (char *) "self",(char *) "pos", NULL
10737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10739 if (!SWIG_IsOK(res1
)) {
10740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10742 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10744 if (!SWIG_IsOK(ecode2
)) {
10745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10747 arg2
= static_cast< int >(val2
);
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 (arg1
)->SetSashPosition(arg2
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= SWIG_Py_Void();
10761 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10762 PyObject
*resultobj
= 0;
10763 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10767 PyObject
*swig_obj
[1] ;
10769 if (!args
) SWIG_fail
;
10770 swig_obj
[0] = args
;
10771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10772 if (!SWIG_IsOK(res1
)) {
10773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10775 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 resultobj
= SWIG_From_int(static_cast< int >(result
));
10789 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10790 PyObject
*resultobj
= 0;
10791 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10792 wxWindow
*result
= 0 ;
10795 PyObject
*swig_obj
[1] ;
10797 if (!args
) SWIG_fail
;
10798 swig_obj
[0] = args
;
10799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10800 if (!SWIG_IsOK(res1
)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10803 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= wxPyMake_wxObject(result
, 0);
10819 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10820 PyObject
*resultobj
= 0;
10821 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10825 PyObject
*swig_obj
[1] ;
10827 if (!args
) SWIG_fail
;
10828 swig_obj
[0] = args
;
10829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10830 if (!SWIG_IsOK(res1
)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10833 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_From_int(static_cast< int >(result
));
10847 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10848 PyObject
*resultobj
= 0;
10849 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10853 PyObject
*swig_obj
[1] ;
10855 if (!args
) SWIG_fail
;
10856 swig_obj
[0] = args
;
10857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10858 if (!SWIG_IsOK(res1
)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10861 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 resultobj
= SWIG_From_int(static_cast< int >(result
));
10875 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10878 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10879 return SWIG_Py_Void();
10882 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10883 return SWIG_Python_InitShadowInstance(args
);
10886 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10887 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10892 SWIGINTERN PyObject
*SashNameStr_get(void) {
10893 PyObject
*pyobj
= 0;
10897 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10899 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10906 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10907 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10912 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10913 PyObject
*pyobj
= 0;
10917 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10919 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10926 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
= 0;
10928 wxWindow
*arg1
= (wxWindow
*) 0 ;
10929 int arg2
= (int) -1 ;
10930 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10931 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10932 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10933 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10934 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10935 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10936 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10937 wxSashWindow
*result
= 0 ;
10946 bool temp6
= false ;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 PyObject
* obj2
= 0 ;
10950 PyObject
* obj3
= 0 ;
10951 PyObject
* obj4
= 0 ;
10952 PyObject
* obj5
= 0 ;
10953 char * kwnames
[] = {
10954 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10959 if (!SWIG_IsOK(res1
)) {
10960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10962 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10965 if (!SWIG_IsOK(ecode2
)) {
10966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10968 arg2
= static_cast< int >(val2
);
10973 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10979 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10983 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10984 if (!SWIG_IsOK(ecode5
)) {
10985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10987 arg5
= static_cast< long >(val5
);
10991 arg6
= wxString_in_helper(obj5
);
10992 if (arg6
== NULL
) SWIG_fail
;
10997 if (!wxPyCheckForApp()) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
11018 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11019 PyObject
*resultobj
= 0;
11020 wxSashWindow
*result
= 0 ;
11022 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
11024 if (!wxPyCheckForApp()) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (wxSashWindow
*)new wxSashWindow();
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
11037 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
= 0;
11039 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11040 wxWindow
*arg2
= (wxWindow
*) 0 ;
11041 int arg3
= (int) -1 ;
11042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11046 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
11047 wxString
const &arg7_defvalue
= wxPySashNameStr
;
11048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11060 bool temp7
= false ;
11061 PyObject
* obj0
= 0 ;
11062 PyObject
* obj1
= 0 ;
11063 PyObject
* obj2
= 0 ;
11064 PyObject
* obj3
= 0 ;
11065 PyObject
* obj4
= 0 ;
11066 PyObject
* obj5
= 0 ;
11067 PyObject
* obj6
= 0 ;
11068 char * kwnames
[] = {
11069 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11074 if (!SWIG_IsOK(res1
)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11077 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11079 if (!SWIG_IsOK(res2
)) {
11080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11085 if (!SWIG_IsOK(ecode3
)) {
11086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11088 arg3
= static_cast< int >(val3
);
11093 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11099 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11103 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11104 if (!SWIG_IsOK(ecode6
)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11107 arg6
= static_cast< long >(val6
);
11111 arg7
= wxString_in_helper(obj6
);
11112 if (arg7
== NULL
) SWIG_fail
;
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11139 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
= 0;
11141 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11142 wxSashEdgePosition arg2
;
11150 PyObject
* obj0
= 0 ;
11151 PyObject
* obj1
= 0 ;
11152 PyObject
* obj2
= 0 ;
11153 char * kwnames
[] = {
11154 (char *) "self",(char *) "edge",(char *) "sash", NULL
11157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11159 if (!SWIG_IsOK(res1
)) {
11160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11162 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11164 if (!SWIG_IsOK(ecode2
)) {
11165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11167 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11168 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11169 if (!SWIG_IsOK(ecode3
)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11172 arg3
= static_cast< bool >(val3
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 (arg1
)->SetSashVisible(arg2
,arg3
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= SWIG_Py_Void();
11186 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
= 0;
11188 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11189 wxSashEdgePosition arg2
;
11195 PyObject
* obj0
= 0 ;
11196 PyObject
* obj1
= 0 ;
11197 char * kwnames
[] = {
11198 (char *) "self",(char *) "edge", NULL
11201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11203 if (!SWIG_IsOK(res1
)) {
11204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11206 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11208 if (!SWIG_IsOK(ecode2
)) {
11209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11211 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11227 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
= 0;
11229 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11230 wxSashEdgePosition arg2
;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 char * kwnames
[] = {
11239 (char *) "self",(char *) "edge", NULL
11242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11244 if (!SWIG_IsOK(res1
)) {
11245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11247 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11249 if (!SWIG_IsOK(ecode2
)) {
11250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11252 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 resultobj
= SWIG_From_int(static_cast< int >(result
));
11266 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
= 0;
11268 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11274 PyObject
* obj0
= 0 ;
11275 PyObject
* obj1
= 0 ;
11276 char * kwnames
[] = {
11277 (char *) "self",(char *) "width", NULL
11280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11282 if (!SWIG_IsOK(res1
)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11285 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11287 if (!SWIG_IsOK(ecode2
)) {
11288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11290 arg2
= static_cast< int >(val2
);
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 (arg1
)->SetDefaultBorderSize(arg2
);
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= SWIG_Py_Void();
11304 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11305 PyObject
*resultobj
= 0;
11306 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11310 PyObject
*swig_obj
[1] ;
11312 if (!args
) SWIG_fail
;
11313 swig_obj
[0] = args
;
11314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11315 if (!SWIG_IsOK(res1
)) {
11316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11318 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= SWIG_From_int(static_cast< int >(result
));
11332 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
= 0;
11334 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 PyObject
* obj1
= 0 ;
11342 char * kwnames
[] = {
11343 (char *) "self",(char *) "width", NULL
11346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11348 if (!SWIG_IsOK(res1
)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11351 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11353 if (!SWIG_IsOK(ecode2
)) {
11354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11356 arg2
= static_cast< int >(val2
);
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 (arg1
)->SetExtraBorderSize(arg2
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 resultobj
= SWIG_Py_Void();
11370 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11371 PyObject
*resultobj
= 0;
11372 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11376 PyObject
*swig_obj
[1] ;
11378 if (!args
) SWIG_fail
;
11379 swig_obj
[0] = args
;
11380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11381 if (!SWIG_IsOK(res1
)) {
11382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11384 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= SWIG_From_int(static_cast< int >(result
));
11398 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
= 0;
11400 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 char * kwnames
[] = {
11409 (char *) "self",(char *) "min", NULL
11412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11414 if (!SWIG_IsOK(res1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11417 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11419 if (!SWIG_IsOK(ecode2
)) {
11420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11422 arg2
= static_cast< int >(val2
);
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 (arg1
)->SetMinimumSizeX(arg2
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= SWIG_Py_Void();
11436 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
= 0;
11438 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 PyObject
* obj1
= 0 ;
11446 char * kwnames
[] = {
11447 (char *) "self",(char *) "min", NULL
11450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11452 if (!SWIG_IsOK(res1
)) {
11453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11455 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11457 if (!SWIG_IsOK(ecode2
)) {
11458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11460 arg2
= static_cast< int >(val2
);
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 (arg1
)->SetMinimumSizeY(arg2
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= SWIG_Py_Void();
11474 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11475 PyObject
*resultobj
= 0;
11476 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11480 PyObject
*swig_obj
[1] ;
11482 if (!args
) SWIG_fail
;
11483 swig_obj
[0] = args
;
11484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11485 if (!SWIG_IsOK(res1
)) {
11486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11488 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= SWIG_From_int(static_cast< int >(result
));
11502 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11503 PyObject
*resultobj
= 0;
11504 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11508 PyObject
*swig_obj
[1] ;
11510 if (!args
) SWIG_fail
;
11511 swig_obj
[0] = args
;
11512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11513 if (!SWIG_IsOK(res1
)) {
11514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11516 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_From_int(static_cast< int >(result
));
11530 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
= 0;
11532 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11538 PyObject
* obj0
= 0 ;
11539 PyObject
* obj1
= 0 ;
11540 char * kwnames
[] = {
11541 (char *) "self",(char *) "max", NULL
11544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11546 if (!SWIG_IsOK(res1
)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11549 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11551 if (!SWIG_IsOK(ecode2
)) {
11552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11554 arg2
= static_cast< int >(val2
);
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 (arg1
)->SetMaximumSizeX(arg2
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= SWIG_Py_Void();
11568 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
= 0;
11570 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 char * kwnames
[] = {
11579 (char *) "self",(char *) "max", NULL
11582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11584 if (!SWIG_IsOK(res1
)) {
11585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11587 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11589 if (!SWIG_IsOK(ecode2
)) {
11590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11592 arg2
= static_cast< int >(val2
);
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 (arg1
)->SetMaximumSizeY(arg2
);
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= SWIG_Py_Void();
11606 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11607 PyObject
*resultobj
= 0;
11608 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11612 PyObject
*swig_obj
[1] ;
11614 if (!args
) SWIG_fail
;
11615 swig_obj
[0] = args
;
11616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11617 if (!SWIG_IsOK(res1
)) {
11618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11620 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= SWIG_From_int(static_cast< int >(result
));
11634 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11635 PyObject
*resultobj
= 0;
11636 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11640 PyObject
*swig_obj
[1] ;
11642 if (!args
) SWIG_fail
;
11643 swig_obj
[0] = args
;
11644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11645 if (!SWIG_IsOK(res1
)) {
11646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11648 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= SWIG_From_int(static_cast< int >(result
));
11662 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
= 0;
11664 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11667 int arg4
= (int) 2 ;
11668 wxSashEdgePosition result
;
11677 PyObject
* obj0
= 0 ;
11678 PyObject
* obj1
= 0 ;
11679 PyObject
* obj2
= 0 ;
11680 PyObject
* obj3
= 0 ;
11681 char * kwnames
[] = {
11682 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11687 if (!SWIG_IsOK(res1
)) {
11688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11690 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11692 if (!SWIG_IsOK(ecode2
)) {
11693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11695 arg2
= static_cast< int >(val2
);
11696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11697 if (!SWIG_IsOK(ecode3
)) {
11698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11700 arg3
= static_cast< int >(val3
);
11702 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11703 if (!SWIG_IsOK(ecode4
)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11706 arg4
= static_cast< int >(val4
);
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_From_int(static_cast< int >(result
));
11721 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11722 PyObject
*resultobj
= 0;
11723 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11726 PyObject
*swig_obj
[1] ;
11728 if (!args
) SWIG_fail
;
11729 swig_obj
[0] = args
;
11730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11731 if (!SWIG_IsOK(res1
)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11734 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 (arg1
)->SizeWindows();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_Py_Void();
11748 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11751 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11752 return SWIG_Py_Void();
11755 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11756 return SWIG_Python_InitShadowInstance(args
);
11759 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
= 0;
11761 int arg1
= (int) 0 ;
11762 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11763 wxSashEvent
*result
= 0 ;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 char * kwnames
[] = {
11771 (char *) "id",(char *) "edge", NULL
11774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11777 if (!SWIG_IsOK(ecode1
)) {
11778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11780 arg1
= static_cast< int >(val1
);
11783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11784 if (!SWIG_IsOK(ecode2
)) {
11785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11787 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11802 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
= 0;
11804 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11805 wxSashEdgePosition arg2
;
11810 PyObject
* obj0
= 0 ;
11811 PyObject
* obj1
= 0 ;
11812 char * kwnames
[] = {
11813 (char *) "self",(char *) "edge", NULL
11816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11818 if (!SWIG_IsOK(res1
)) {
11819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11821 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11823 if (!SWIG_IsOK(ecode2
)) {
11824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11826 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 (arg1
)->SetEdge(arg2
);
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= SWIG_Py_Void();
11840 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11841 PyObject
*resultobj
= 0;
11842 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11843 wxSashEdgePosition result
;
11846 PyObject
*swig_obj
[1] ;
11848 if (!args
) SWIG_fail
;
11849 swig_obj
[0] = args
;
11850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11851 if (!SWIG_IsOK(res1
)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11854 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= SWIG_From_int(static_cast< int >(result
));
11868 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
= 0;
11870 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11875 PyObject
* obj0
= 0 ;
11876 PyObject
* obj1
= 0 ;
11877 char * kwnames
[] = {
11878 (char *) "self",(char *) "rect", NULL
11881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11883 if (!SWIG_IsOK(res1
)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11886 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11889 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= SWIG_Py_Void();
11904 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11905 PyObject
*resultobj
= 0;
11906 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11910 PyObject
*swig_obj
[1] ;
11912 if (!args
) SWIG_fail
;
11913 swig_obj
[0] = args
;
11914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11915 if (!SWIG_IsOK(res1
)) {
11916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11918 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11932 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
= 0;
11934 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11935 wxSashDragStatus arg2
;
11940 PyObject
* obj0
= 0 ;
11941 PyObject
* obj1
= 0 ;
11942 char * kwnames
[] = {
11943 (char *) "self",(char *) "status", NULL
11946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11948 if (!SWIG_IsOK(res1
)) {
11949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11951 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11953 if (!SWIG_IsOK(ecode2
)) {
11954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11956 arg2
= static_cast< wxSashDragStatus
>(val2
);
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 (arg1
)->SetDragStatus(arg2
);
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= SWIG_Py_Void();
11970 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11971 PyObject
*resultobj
= 0;
11972 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11973 wxSashDragStatus result
;
11976 PyObject
*swig_obj
[1] ;
11978 if (!args
) SWIG_fail
;
11979 swig_obj
[0] = args
;
11980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11981 if (!SWIG_IsOK(res1
)) {
11982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11984 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= SWIG_From_int(static_cast< int >(result
));
11998 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12000 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12001 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12002 return SWIG_Py_Void();
12005 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12006 return SWIG_Python_InitShadowInstance(args
);
12009 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
= 0;
12011 int arg1
= (int) 0 ;
12012 wxQueryLayoutInfoEvent
*result
= 0 ;
12015 PyObject
* obj0
= 0 ;
12016 char * kwnames
[] = {
12017 (char *) "id", NULL
12020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12022 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12023 if (!SWIG_IsOK(ecode1
)) {
12024 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12026 arg1
= static_cast< int >(val1
);
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12041 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
= 0;
12043 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 PyObject
* obj1
= 0 ;
12051 char * kwnames
[] = {
12052 (char *) "self",(char *) "length", NULL
12055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12057 if (!SWIG_IsOK(res1
)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12060 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12062 if (!SWIG_IsOK(ecode2
)) {
12063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12065 arg2
= static_cast< int >(val2
);
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 (arg1
)->SetRequestedLength(arg2
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= SWIG_Py_Void();
12079 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12080 PyObject
*resultobj
= 0;
12081 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12085 PyObject
*swig_obj
[1] ;
12087 if (!args
) SWIG_fail
;
12088 swig_obj
[0] = args
;
12089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12090 if (!SWIG_IsOK(res1
)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12093 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12100 resultobj
= SWIG_From_int(static_cast< int >(result
));
12107 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
= 0;
12109 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 PyObject
* obj1
= 0 ;
12117 char * kwnames
[] = {
12118 (char *) "self",(char *) "flags", NULL
12121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12123 if (!SWIG_IsOK(res1
)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12126 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12128 if (!SWIG_IsOK(ecode2
)) {
12129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12131 arg2
= static_cast< int >(val2
);
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 (arg1
)->SetFlags(arg2
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_Py_Void();
12145 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12146 PyObject
*resultobj
= 0;
12147 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12151 PyObject
*swig_obj
[1] ;
12153 if (!args
) SWIG_fail
;
12154 swig_obj
[0] = args
;
12155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12156 if (!SWIG_IsOK(res1
)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12159 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_From_int(static_cast< int >(result
));
12173 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
= 0;
12175 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12180 PyObject
* obj0
= 0 ;
12181 PyObject
* obj1
= 0 ;
12182 char * kwnames
[] = {
12183 (char *) "self",(char *) "size", NULL
12186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12188 if (!SWIG_IsOK(res1
)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12191 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12194 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 (arg1
)->SetSize((wxSize
const &)*arg2
);
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12202 resultobj
= SWIG_Py_Void();
12209 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 PyObject
*resultobj
= 0;
12211 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12215 PyObject
*swig_obj
[1] ;
12217 if (!args
) SWIG_fail
;
12218 swig_obj
[0] = args
;
12219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12223 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12237 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
= 0;
12239 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12240 wxLayoutOrientation arg2
;
12245 PyObject
* obj0
= 0 ;
12246 PyObject
* obj1
= 0 ;
12247 char * kwnames
[] = {
12248 (char *) "self",(char *) "orient", NULL
12251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12253 if (!SWIG_IsOK(res1
)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12256 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12258 if (!SWIG_IsOK(ecode2
)) {
12259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12261 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 (arg1
)->SetOrientation(arg2
);
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= SWIG_Py_Void();
12275 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12276 PyObject
*resultobj
= 0;
12277 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12278 wxLayoutOrientation result
;
12281 PyObject
*swig_obj
[1] ;
12283 if (!args
) SWIG_fail
;
12284 swig_obj
[0] = args
;
12285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12286 if (!SWIG_IsOK(res1
)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12289 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= SWIG_From_int(static_cast< int >(result
));
12303 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
= 0;
12305 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12306 wxLayoutAlignment arg2
;
12311 PyObject
* obj0
= 0 ;
12312 PyObject
* obj1
= 0 ;
12313 char * kwnames
[] = {
12314 (char *) "self",(char *) "align", NULL
12317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12319 if (!SWIG_IsOK(res1
)) {
12320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12322 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12324 if (!SWIG_IsOK(ecode2
)) {
12325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12327 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 (arg1
)->SetAlignment(arg2
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= SWIG_Py_Void();
12341 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12342 PyObject
*resultobj
= 0;
12343 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12344 wxLayoutAlignment result
;
12347 PyObject
*swig_obj
[1] ;
12349 if (!args
) SWIG_fail
;
12350 swig_obj
[0] = args
;
12351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12352 if (!SWIG_IsOK(res1
)) {
12353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12355 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_From_int(static_cast< int >(result
));
12369 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12372 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12373 return SWIG_Py_Void();
12376 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12377 return SWIG_Python_InitShadowInstance(args
);
12380 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
= 0;
12382 int arg1
= (int) 0 ;
12383 wxCalculateLayoutEvent
*result
= 0 ;
12386 PyObject
* obj0
= 0 ;
12387 char * kwnames
[] = {
12388 (char *) "id", NULL
12391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12393 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12394 if (!SWIG_IsOK(ecode1
)) {
12395 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12397 arg1
= static_cast< int >(val1
);
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12412 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
= 0;
12414 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12420 PyObject
* obj0
= 0 ;
12421 PyObject
* obj1
= 0 ;
12422 char * kwnames
[] = {
12423 (char *) "self",(char *) "flags", NULL
12426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12428 if (!SWIG_IsOK(res1
)) {
12429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12431 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12433 if (!SWIG_IsOK(ecode2
)) {
12434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12436 arg2
= static_cast< int >(val2
);
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 (arg1
)->SetFlags(arg2
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_Py_Void();
12450 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12451 PyObject
*resultobj
= 0;
12452 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12456 PyObject
*swig_obj
[1] ;
12458 if (!args
) SWIG_fail
;
12459 swig_obj
[0] = args
;
12460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12461 if (!SWIG_IsOK(res1
)) {
12462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12464 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= SWIG_From_int(static_cast< int >(result
));
12478 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
= 0;
12480 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 PyObject
* obj1
= 0 ;
12487 char * kwnames
[] = {
12488 (char *) "self",(char *) "rect", NULL
12491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12493 if (!SWIG_IsOK(res1
)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12496 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12499 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 (arg1
)->SetRect((wxRect
const &)*arg2
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= SWIG_Py_Void();
12514 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12515 PyObject
*resultobj
= 0;
12516 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12520 PyObject
*swig_obj
[1] ;
12522 if (!args
) SWIG_fail
;
12523 swig_obj
[0] = args
;
12524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12525 if (!SWIG_IsOK(res1
)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12528 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12542 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12545 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12546 return SWIG_Py_Void();
12549 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12550 return SWIG_Python_InitShadowInstance(args
);
12553 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
= 0;
12555 wxWindow
*arg1
= (wxWindow
*) 0 ;
12556 int arg2
= (int) -1 ;
12557 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12558 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12559 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12560 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12561 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12562 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12563 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12564 wxSashLayoutWindow
*result
= 0 ;
12573 bool temp6
= false ;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 PyObject
* obj2
= 0 ;
12577 PyObject
* obj3
= 0 ;
12578 PyObject
* obj4
= 0 ;
12579 PyObject
* obj5
= 0 ;
12580 char * kwnames
[] = {
12581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12586 if (!SWIG_IsOK(res1
)) {
12587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12589 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12592 if (!SWIG_IsOK(ecode2
)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12595 arg2
= static_cast< int >(val2
);
12600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12610 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12611 if (!SWIG_IsOK(ecode5
)) {
12612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12614 arg5
= static_cast< long >(val5
);
12618 arg6
= wxString_in_helper(obj5
);
12619 if (arg6
== NULL
) SWIG_fail
;
12624 if (!wxPyCheckForApp()) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12645 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12646 PyObject
*resultobj
= 0;
12647 wxSashLayoutWindow
*result
= 0 ;
12649 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12651 if (!wxPyCheckForApp()) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12664 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
= 0;
12666 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12667 wxWindow
*arg2
= (wxWindow
*) 0 ;
12668 int arg3
= (int) -1 ;
12669 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12670 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12671 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12672 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12673 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12674 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12675 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12687 bool temp7
= false ;
12688 PyObject
* obj0
= 0 ;
12689 PyObject
* obj1
= 0 ;
12690 PyObject
* obj2
= 0 ;
12691 PyObject
* obj3
= 0 ;
12692 PyObject
* obj4
= 0 ;
12693 PyObject
* obj5
= 0 ;
12694 PyObject
* obj6
= 0 ;
12695 char * kwnames
[] = {
12696 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12701 if (!SWIG_IsOK(res1
)) {
12702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12704 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12706 if (!SWIG_IsOK(res2
)) {
12707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12709 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12712 if (!SWIG_IsOK(ecode3
)) {
12713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12715 arg3
= static_cast< int >(val3
);
12720 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12726 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12730 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12731 if (!SWIG_IsOK(ecode6
)) {
12732 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12734 arg6
= static_cast< long >(val6
);
12738 arg7
= wxString_in_helper(obj6
);
12739 if (arg7
== NULL
) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12766 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12767 PyObject
*resultobj
= 0;
12768 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12769 wxLayoutAlignment result
;
12772 PyObject
*swig_obj
[1] ;
12774 if (!args
) SWIG_fail
;
12775 swig_obj
[0] = args
;
12776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12777 if (!SWIG_IsOK(res1
)) {
12778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12780 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= SWIG_From_int(static_cast< int >(result
));
12794 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12795 PyObject
*resultobj
= 0;
12796 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12797 wxLayoutOrientation result
;
12800 PyObject
*swig_obj
[1] ;
12802 if (!args
) SWIG_fail
;
12803 swig_obj
[0] = args
;
12804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12805 if (!SWIG_IsOK(res1
)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12808 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_From_int(static_cast< int >(result
));
12822 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
= 0;
12824 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12825 wxLayoutAlignment arg2
;
12830 PyObject
* obj0
= 0 ;
12831 PyObject
* obj1
= 0 ;
12832 char * kwnames
[] = {
12833 (char *) "self",(char *) "alignment", NULL
12836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12838 if (!SWIG_IsOK(res1
)) {
12839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12841 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12843 if (!SWIG_IsOK(ecode2
)) {
12844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12846 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 (arg1
)->SetAlignment(arg2
);
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= SWIG_Py_Void();
12860 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
= 0;
12862 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 char * kwnames
[] = {
12870 (char *) "self",(char *) "size", NULL
12873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12875 if (!SWIG_IsOK(res1
)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12878 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12881 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= SWIG_Py_Void();
12896 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
= 0;
12898 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12899 wxLayoutOrientation arg2
;
12904 PyObject
* obj0
= 0 ;
12905 PyObject
* obj1
= 0 ;
12906 char * kwnames
[] = {
12907 (char *) "self",(char *) "orientation", NULL
12910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12912 if (!SWIG_IsOK(res1
)) {
12913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12915 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12917 if (!SWIG_IsOK(ecode2
)) {
12918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12920 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 (arg1
)->SetOrientation(arg2
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_Py_Void();
12934 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12937 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12938 return SWIG_Py_Void();
12941 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12942 return SWIG_Python_InitShadowInstance(args
);
12945 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12946 PyObject
*resultobj
= 0;
12947 wxLayoutAlgorithm
*result
= 0 ;
12949 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12963 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12964 PyObject
*resultobj
= 0;
12965 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12968 PyObject
*swig_obj
[1] ;
12970 if (!args
) SWIG_fail
;
12971 swig_obj
[0] = args
;
12972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12973 if (!SWIG_IsOK(res1
)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12976 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= SWIG_Py_Void();
12991 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
= 0;
12993 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12994 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12995 wxRect
*arg3
= (wxRect
*) NULL
;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 PyObject
* obj2
= 0 ;
13006 char * kwnames
[] = {
13007 (char *) "self",(char *) "frame",(char *) "rect", NULL
13010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13012 if (!SWIG_IsOK(res1
)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13015 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13017 if (!SWIG_IsOK(res2
)) {
13018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13020 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13022 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13023 if (!SWIG_IsOK(res3
)) {
13024 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13026 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13043 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
= 0;
13045 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13046 wxFrame
*arg2
= (wxFrame
*) 0 ;
13047 wxWindow
*arg3
= (wxWindow
*) NULL
;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 PyObject
* obj2
= 0 ;
13058 char * kwnames
[] = {
13059 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13064 if (!SWIG_IsOK(res1
)) {
13065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13067 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13069 if (!SWIG_IsOK(res2
)) {
13070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13072 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13074 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13075 if (!SWIG_IsOK(res3
)) {
13076 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13078 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13095 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
= 0;
13097 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13098 wxWindow
*arg2
= (wxWindow
*) 0 ;
13099 wxWindow
*arg3
= (wxWindow
*) NULL
;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 PyObject
* obj2
= 0 ;
13110 char * kwnames
[] = {
13111 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13116 if (!SWIG_IsOK(res1
)) {
13117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13119 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13120 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13121 if (!SWIG_IsOK(res2
)) {
13122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13124 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13126 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13127 if (!SWIG_IsOK(res3
)) {
13128 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13130 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13147 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13150 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13151 return SWIG_Py_Void();
13154 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13155 return SWIG_Python_InitShadowInstance(args
);
13158 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
= 0;
13160 wxWindow
*arg1
= (wxWindow
*) 0 ;
13161 int arg2
= (int) wxBORDER_NONE
;
13162 wxPopupWindow
*result
= 0 ;
13167 PyObject
* obj0
= 0 ;
13168 PyObject
* obj1
= 0 ;
13169 char * kwnames
[] = {
13170 (char *) "parent",(char *) "flags", NULL
13173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13175 if (!SWIG_IsOK(res1
)) {
13176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13178 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13181 if (!SWIG_IsOK(ecode2
)) {
13182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13184 arg2
= static_cast< int >(val2
);
13187 if (!wxPyCheckForApp()) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13200 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13201 PyObject
*resultobj
= 0;
13202 wxPopupWindow
*result
= 0 ;
13204 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13206 if (!wxPyCheckForApp()) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (wxPopupWindow
*)new wxPopupWindow();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13219 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
= 0;
13221 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13222 wxWindow
*arg2
= (wxWindow
*) 0 ;
13223 int arg3
= (int) wxBORDER_NONE
;
13231 PyObject
* obj0
= 0 ;
13232 PyObject
* obj1
= 0 ;
13233 PyObject
* obj2
= 0 ;
13234 char * kwnames
[] = {
13235 (char *) "self",(char *) "parent",(char *) "flags", NULL
13238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13240 if (!SWIG_IsOK(res1
)) {
13241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13243 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13245 if (!SWIG_IsOK(res2
)) {
13246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13248 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13251 if (!SWIG_IsOK(ecode3
)) {
13252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13254 arg3
= static_cast< int >(val3
);
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13271 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13272 PyObject
*resultobj
= 0;
13273 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13274 wxPoint
*arg2
= 0 ;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 PyObject
* obj2
= 0 ;
13283 char * kwnames
[] = {
13284 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13292 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13295 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13299 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= SWIG_Py_Void();
13314 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13317 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13318 return SWIG_Py_Void();
13321 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13322 return SWIG_Python_InitShadowInstance(args
);
13325 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
= 0;
13327 wxWindow
*arg1
= (wxWindow
*) 0 ;
13328 int arg2
= (int) wxBORDER_NONE
;
13329 wxPyPopupTransientWindow
*result
= 0 ;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char * kwnames
[] = {
13337 (char *) "parent",(char *) "style", NULL
13340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13342 if (!SWIG_IsOK(res1
)) {
13343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13345 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13348 if (!SWIG_IsOK(ecode2
)) {
13349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13351 arg2
= static_cast< int >(val2
);
13354 if (!wxPyCheckForApp()) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13367 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13368 PyObject
*resultobj
= 0;
13369 wxPyPopupTransientWindow
*result
= 0 ;
13371 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13373 if (!wxPyCheckForApp()) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13386 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
= 0;
13388 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13389 PyObject
*arg2
= (PyObject
*) 0 ;
13390 PyObject
*arg3
= (PyObject
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 PyObject
* obj1
= 0 ;
13395 PyObject
* obj2
= 0 ;
13396 char * kwnames
[] = {
13397 (char *) "self",(char *) "self",(char *) "_class", NULL
13400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13402 if (!SWIG_IsOK(res1
)) {
13403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13405 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_Py_Void();
13421 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
= 0;
13423 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13424 wxWindow
*arg2
= (wxWindow
*) NULL
;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 char * kwnames
[] = {
13432 (char *) "self",(char *) "focus", NULL
13435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13437 if (!SWIG_IsOK(res1
)) {
13438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13440 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13442 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13443 if (!SWIG_IsOK(res2
)) {
13444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13446 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 (arg1
)->Popup(arg2
);
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= SWIG_Py_Void();
13461 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13462 PyObject
*resultobj
= 0;
13463 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13466 PyObject
*swig_obj
[1] ;
13468 if (!args
) SWIG_fail
;
13469 swig_obj
[0] = args
;
13470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13471 if (!SWIG_IsOK(res1
)) {
13472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13474 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= SWIG_Py_Void();
13488 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13491 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13492 return SWIG_Py_Void();
13495 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13496 return SWIG_Python_InitShadowInstance(args
);
13499 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
= 0;
13501 wxWindow
*arg1
= (wxWindow
*) 0 ;
13502 wxString
*arg2
= 0 ;
13503 int arg3
= (int) 100 ;
13504 wxRect
*arg4
= (wxRect
*) NULL
;
13505 wxTipWindow
*result
= 0 ;
13508 bool temp2
= false ;
13513 PyObject
* obj0
= 0 ;
13514 PyObject
* obj1
= 0 ;
13515 PyObject
* obj2
= 0 ;
13516 PyObject
* obj3
= 0 ;
13517 char * kwnames
[] = {
13518 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13523 if (!SWIG_IsOK(res1
)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13526 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13528 arg2
= wxString_in_helper(obj1
);
13529 if (arg2
== NULL
) SWIG_fail
;
13533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13534 if (!SWIG_IsOK(ecode3
)) {
13535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13537 arg3
= static_cast< int >(val3
);
13540 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13541 if (!SWIG_IsOK(res4
)) {
13542 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13544 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13547 if (!wxPyCheckForApp()) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13568 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
= 0;
13570 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13575 PyObject
* obj0
= 0 ;
13576 PyObject
* obj1
= 0 ;
13577 char * kwnames
[] = {
13578 (char *) "self",(char *) "rectBound", NULL
13581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13583 if (!SWIG_IsOK(res1
)) {
13584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13586 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13589 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= SWIG_Py_Void();
13604 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13605 PyObject
*resultobj
= 0;
13606 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13609 PyObject
*swig_obj
[1] ;
13611 if (!args
) SWIG_fail
;
13612 swig_obj
[0] = args
;
13613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13614 if (!SWIG_IsOK(res1
)) {
13615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13617 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= SWIG_Py_Void();
13631 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13634 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13635 return SWIG_Py_Void();
13638 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13639 return SWIG_Python_InitShadowInstance(args
);
13642 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
= 0;
13644 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13645 bool arg2
= (bool) true ;
13650 PyObject
* obj0
= 0 ;
13651 PyObject
* obj1
= 0 ;
13652 char * kwnames
[] = {
13653 (char *) "self",(char *) "scrolling", NULL
13656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13658 if (!SWIG_IsOK(res1
)) {
13659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13661 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13663 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13664 if (!SWIG_IsOK(ecode2
)) {
13665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
13667 arg2
= static_cast< bool >(val2
);
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 (arg1
)->EnablePhysicalScrolling(arg2
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= SWIG_Py_Void();
13682 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
= 0;
13684 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 char * kwnames
[] = {
13694 (char *) "self",(char *) "coord", NULL
13697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13702 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13704 if (!SWIG_IsOK(ecode2
)) {
13705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'");
13707 arg2
= static_cast< int >(val2
);
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->HitTest(arg2
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_From_int(static_cast< int >(result
));
13721 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13722 PyObject
*resultobj
= 0;
13723 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13726 PyObject
*swig_obj
[1] ;
13728 if (!args
) SWIG_fail
;
13729 swig_obj
[0] = args
;
13730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13731 if (!SWIG_IsOK(res1
)) {
13732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13734 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 (arg1
)->RefreshAll();
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_Py_Void();
13748 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13749 PyObject
*resultobj
= 0;
13750 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13754 PyObject
*swig_obj
[1] ;
13756 if (!args
) SWIG_fail
;
13757 swig_obj
[0] = args
;
13758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13759 if (!SWIG_IsOK(res1
)) {
13760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13762 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (size_t)((wxVarScrollHelperBase
const *)arg1
)->GetVisibleBegin();
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13776 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13777 PyObject
*resultobj
= 0;
13778 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13782 PyObject
*swig_obj
[1] ;
13784 if (!args
) SWIG_fail
;
13785 swig_obj
[0] = args
;
13786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13787 if (!SWIG_IsOK(res1
)) {
13788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13790 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (size_t)((wxVarScrollHelperBase
const *)arg1
)->GetVisibleEnd();
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13804 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
= 0;
13806 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13813 PyObject
* obj0
= 0 ;
13814 PyObject
* obj1
= 0 ;
13815 char * kwnames
[] = {
13816 (char *) "self",(char *) "unit", NULL
13819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13821 if (!SWIG_IsOK(res1
)) {
13822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13824 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13825 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13826 if (!SWIG_IsOK(ecode2
)) {
13827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13829 arg2
= static_cast< size_t >(val2
);
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 result
= (bool)((wxVarScrollHelperBase
const *)arg1
)->IsVisible(arg2
);
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13845 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
= 0;
13847 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13854 PyObject
* obj0
= 0 ;
13855 PyObject
* obj1
= 0 ;
13856 char * kwnames
[] = {
13857 (char *) "self",(char *) "coord", NULL
13860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13862 if (!SWIG_IsOK(res1
)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13865 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13867 if (!SWIG_IsOK(ecode2
)) {
13868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
13870 arg2
= static_cast< int >(val2
);
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->CalcScrolledPosition(arg2
);
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= SWIG_From_int(static_cast< int >(result
));
13884 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
= 0;
13886 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13893 PyObject
* obj0
= 0 ;
13894 PyObject
* obj1
= 0 ;
13895 char * kwnames
[] = {
13896 (char *) "self",(char *) "coord", NULL
13899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13901 if (!SWIG_IsOK(res1
)) {
13902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13904 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13906 if (!SWIG_IsOK(ecode2
)) {
13907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
13909 arg2
= static_cast< int >(val2
);
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->CalcUnscrolledPosition(arg2
);
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= SWIG_From_int(static_cast< int >(result
));
13923 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13924 PyObject
*resultobj
= 0;
13925 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13928 PyObject
*swig_obj
[1] ;
13930 if (!args
) SWIG_fail
;
13931 swig_obj
[0] = args
;
13932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13933 if (!SWIG_IsOK(res1
)) {
13934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13936 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 (arg1
)->UpdateScrollbar();
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 resultobj
= SWIG_Py_Void();
13950 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13951 PyObject
*resultobj
= 0;
13952 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13955 PyObject
*swig_obj
[1] ;
13957 if (!args
) SWIG_fail
;
13958 swig_obj
[0] = args
;
13959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13960 if (!SWIG_IsOK(res1
)) {
13961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13963 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 (arg1
)->RemoveScrollbar();
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= SWIG_Py_Void();
13977 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
= 0;
13979 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13980 wxWindow
*arg2
= (wxWindow
*) 0 ;
13985 PyObject
* obj0
= 0 ;
13986 PyObject
* obj1
= 0 ;
13987 char * kwnames
[] = {
13988 (char *) "self",(char *) "target", NULL
13991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13993 if (!SWIG_IsOK(res1
)) {
13994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13996 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13998 if (!SWIG_IsOK(res2
)) {
13999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
14001 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 (arg1
)->SetTargetWindow(arg2
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 resultobj
= SWIG_Py_Void();
14015 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14016 PyObject
*resultobj
= 0;
14017 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14018 wxWindow
*result
= 0 ;
14021 PyObject
*swig_obj
[1] ;
14023 if (!args
) SWIG_fail
;
14024 swig_obj
[0] = args
;
14025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14026 if (!SWIG_IsOK(res1
)) {
14027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14029 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14032 result
= (wxWindow
*)((wxVarScrollHelperBase
const *)arg1
)->GetTargetWindow();
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= wxPyMake_wxObject(result
, 0);
14045 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14046 PyObject
*resultobj
= 0;
14047 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14051 PyObject
*swig_obj
[1] ;
14053 if (!args
) SWIG_fail
;
14054 swig_obj
[0] = args
;
14055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14056 if (!SWIG_IsOK(res1
)) {
14057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14059 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->GetOrientationTargetSize();
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= SWIG_From_int(static_cast< int >(result
));
14073 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14074 PyObject
*resultobj
= 0;
14075 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14079 PyObject
*swig_obj
[1] ;
14081 if (!args
) SWIG_fail
;
14082 swig_obj
[0] = args
;
14083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14084 if (!SWIG_IsOK(res1
)) {
14085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14087 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->GetNonOrientationTargetSize();
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= SWIG_From_int(static_cast< int >(result
));
14101 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14102 PyObject
*resultobj
= 0;
14103 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14104 wxOrientation result
;
14107 PyObject
*swig_obj
[1] ;
14109 if (!args
) SWIG_fail
;
14110 swig_obj
[0] = args
;
14111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14112 if (!SWIG_IsOK(res1
)) {
14113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14115 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 result
= (wxOrientation
)((wxVarScrollHelperBase
const *)arg1
)->GetOrientation();
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= SWIG_From_int(static_cast< int >(result
));
14129 SWIGINTERN PyObject
*VarScrollHelperBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14132 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase
, SWIG_NewClientData(obj
));
14133 return SWIG_Py_Void();
14136 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_SetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
= 0;
14138 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 PyObject
* obj1
= 0 ;
14146 char * kwnames
[] = {
14147 (char *) "self",(char *) "rowCount", NULL
14150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14152 if (!SWIG_IsOK(res1
)) {
14153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14155 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14156 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14157 if (!SWIG_IsOK(ecode2
)) {
14158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'");
14160 arg2
= static_cast< size_t >(val2
);
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 (arg1
)->SetRowCount(arg2
);
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= SWIG_Py_Void();
14174 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollToRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
= 0;
14176 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14183 PyObject
* obj0
= 0 ;
14184 PyObject
* obj1
= 0 ;
14185 char * kwnames
[] = {
14186 (char *) "self",(char *) "row", NULL
14189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14191 if (!SWIG_IsOK(res1
)) {
14192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14194 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14195 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14196 if (!SWIG_IsOK(ecode2
)) {
14197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'");
14199 arg2
= static_cast< size_t >(val2
);
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (bool)(arg1
)->ScrollToRow(arg2
);
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14215 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
= 0;
14217 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 PyObject
* obj1
= 0 ;
14226 char * kwnames
[] = {
14227 (char *) "self",(char *) "rows", NULL
14230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14232 if (!SWIG_IsOK(res1
)) {
14233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14235 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14237 if (!SWIG_IsOK(ecode2
)) {
14238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'");
14240 arg2
= static_cast< int >(val2
);
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 result
= (bool)(arg1
)->ScrollRows(arg2
);
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14256 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollRowPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
= 0;
14258 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14265 PyObject
* obj0
= 0 ;
14266 PyObject
* obj1
= 0 ;
14267 char * kwnames
[] = {
14268 (char *) "self",(char *) "pages", NULL
14271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14273 if (!SWIG_IsOK(res1
)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14276 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14278 if (!SWIG_IsOK(ecode2
)) {
14279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'");
14281 arg2
= static_cast< int >(val2
);
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= (bool)(arg1
)->ScrollRowPages(arg2
);
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14297 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_RefreshRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
= 0;
14299 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14305 PyObject
* obj0
= 0 ;
14306 PyObject
* obj1
= 0 ;
14307 char * kwnames
[] = {
14308 (char *) "self",(char *) "row", NULL
14311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14313 if (!SWIG_IsOK(res1
)) {
14314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14316 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14317 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14318 if (!SWIG_IsOK(ecode2
)) {
14319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'");
14321 arg2
= static_cast< size_t >(val2
);
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 (arg1
)->RefreshRow(arg2
);
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= SWIG_Py_Void();
14335 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_RefreshRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
= 0;
14337 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14346 PyObject
* obj0
= 0 ;
14347 PyObject
* obj1
= 0 ;
14348 PyObject
* obj2
= 0 ;
14349 char * kwnames
[] = {
14350 (char *) "self",(char *) "from",(char *) "to", NULL
14353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14355 if (!SWIG_IsOK(res1
)) {
14356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14358 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14359 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14360 if (!SWIG_IsOK(ecode2
)) {
14361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'");
14363 arg2
= static_cast< size_t >(val2
);
14364 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14365 if (!SWIG_IsOK(ecode3
)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'");
14368 arg3
= static_cast< size_t >(val3
);
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->RefreshRows(arg2
,arg3
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_Py_Void();
14382 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14383 PyObject
*resultobj
= 0;
14384 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14388 PyObject
*swig_obj
[1] ;
14390 if (!args
) SWIG_fail
;
14391 swig_obj
[0] = args
;
14392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14393 if (!SWIG_IsOK(res1
)) {
14394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14396 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetRowCount();
14400 wxPyEndAllowThreads(__tstate
);
14401 if (PyErr_Occurred()) SWIG_fail
;
14403 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14410 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14411 PyObject
*resultobj
= 0;
14412 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14416 PyObject
*swig_obj
[1] ;
14418 if (!args
) SWIG_fail
;
14419 swig_obj
[0] = args
;
14420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14421 if (!SWIG_IsOK(res1
)) {
14422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14424 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetVisibleRowsBegin();
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14438 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14439 PyObject
*resultobj
= 0;
14440 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14444 PyObject
*swig_obj
[1] ;
14446 if (!args
) SWIG_fail
;
14447 swig_obj
[0] = args
;
14448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14449 if (!SWIG_IsOK(res1
)) {
14450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14452 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetVisibleRowsEnd();
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14466 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_IsRowVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
= 0;
14468 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14475 PyObject
* obj0
= 0 ;
14476 PyObject
* obj1
= 0 ;
14477 char * kwnames
[] = {
14478 (char *) "self",(char *) "row", NULL
14481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14483 if (!SWIG_IsOK(res1
)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14486 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14487 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14488 if (!SWIG_IsOK(ecode2
)) {
14489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'");
14491 arg2
= static_cast< size_t >(val2
);
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 result
= (bool)((wxVarVScrollHelper
const *)arg1
)->IsRowVisible(arg2
);
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14507 SWIGINTERN PyObject
*VarVScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14510 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper
, SWIG_NewClientData(obj
));
14511 return SWIG_Py_Void();
14514 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_SetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14515 PyObject
*resultobj
= 0;
14516 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14522 PyObject
* obj0
= 0 ;
14523 PyObject
* obj1
= 0 ;
14524 char * kwnames
[] = {
14525 (char *) "self",(char *) "columnCount", NULL
14528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14530 if (!SWIG_IsOK(res1
)) {
14531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14533 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14534 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14535 if (!SWIG_IsOK(ecode2
)) {
14536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14538 arg2
= static_cast< size_t >(val2
);
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 (arg1
)->SetColumnCount(arg2
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= SWIG_Py_Void();
14552 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollToColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
= 0;
14554 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 char * kwnames
[] = {
14564 (char *) "self",(char *) "column", NULL
14567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14569 if (!SWIG_IsOK(res1
)) {
14570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14572 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14573 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14574 if (!SWIG_IsOK(ecode2
)) {
14575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'");
14577 arg2
= static_cast< size_t >(val2
);
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (bool)(arg1
)->ScrollToColumn(arg2
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14593 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
= 0;
14595 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 PyObject
* obj1
= 0 ;
14604 char * kwnames
[] = {
14605 (char *) "self",(char *) "columns", NULL
14608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14610 if (!SWIG_IsOK(res1
)) {
14611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14613 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14615 if (!SWIG_IsOK(ecode2
)) {
14616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'");
14618 arg2
= static_cast< int >(val2
);
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (bool)(arg1
)->ScrollColumns(arg2
);
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14634 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollColumnPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
= 0;
14636 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 char * kwnames
[] = {
14646 (char *) "self",(char *) "pages", NULL
14649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14651 if (!SWIG_IsOK(res1
)) {
14652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14654 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14656 if (!SWIG_IsOK(ecode2
)) {
14657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'");
14659 arg2
= static_cast< int >(val2
);
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (bool)(arg1
)->ScrollColumnPages(arg2
);
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14675 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_RefreshColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
= 0;
14677 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 PyObject
* obj1
= 0 ;
14685 char * kwnames
[] = {
14686 (char *) "self",(char *) "column", NULL
14689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14691 if (!SWIG_IsOK(res1
)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14694 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14695 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14696 if (!SWIG_IsOK(ecode2
)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'");
14699 arg2
= static_cast< size_t >(val2
);
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 (arg1
)->RefreshColumn(arg2
);
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= SWIG_Py_Void();
14713 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_RefreshColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
= 0;
14715 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 PyObject
* obj1
= 0 ;
14726 PyObject
* obj2
= 0 ;
14727 char * kwnames
[] = {
14728 (char *) "self",(char *) "from",(char *) "to", NULL
14731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14733 if (!SWIG_IsOK(res1
)) {
14734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14736 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14737 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14738 if (!SWIG_IsOK(ecode2
)) {
14739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'");
14741 arg2
= static_cast< size_t >(val2
);
14742 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14743 if (!SWIG_IsOK(ecode3
)) {
14744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'");
14746 arg3
= static_cast< size_t >(val3
);
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 (arg1
)->RefreshColumns(arg2
,arg3
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= SWIG_Py_Void();
14760 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14761 PyObject
*resultobj
= 0;
14762 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14766 PyObject
*swig_obj
[1] ;
14768 if (!args
) SWIG_fail
;
14769 swig_obj
[0] = args
;
14770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14771 if (!SWIG_IsOK(res1
)) {
14772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14774 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetColumnCount();
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14788 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14789 PyObject
*resultobj
= 0;
14790 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14794 PyObject
*swig_obj
[1] ;
14796 if (!args
) SWIG_fail
;
14797 swig_obj
[0] = args
;
14798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14799 if (!SWIG_IsOK(res1
)) {
14800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14802 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetVisibleColumnsBegin();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14816 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14817 PyObject
*resultobj
= 0;
14818 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14822 PyObject
*swig_obj
[1] ;
14824 if (!args
) SWIG_fail
;
14825 swig_obj
[0] = args
;
14826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14827 if (!SWIG_IsOK(res1
)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14830 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetVisibleColumnsEnd();
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14844 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_IsColumnVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
= 0;
14846 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 char * kwnames
[] = {
14856 (char *) "self",(char *) "column", NULL
14859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14861 if (!SWIG_IsOK(res1
)) {
14862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14864 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14865 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14866 if (!SWIG_IsOK(ecode2
)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'");
14869 arg2
= static_cast< size_t >(val2
);
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (bool)((wxVarHScrollHelper
const *)arg1
)->IsColumnVisible(arg2
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14885 SWIGINTERN PyObject
*VarHScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14888 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper
, SWIG_NewClientData(obj
));
14889 return SWIG_Py_Void();
14892 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
= 0;
14894 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 PyObject
* obj2
= 0 ;
14906 char * kwnames
[] = {
14907 (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL
14910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14912 if (!SWIG_IsOK(res1
)) {
14913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14915 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14916 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14917 if (!SWIG_IsOK(ecode2
)) {
14918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14920 arg2
= static_cast< size_t >(val2
);
14921 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14922 if (!SWIG_IsOK(ecode3
)) {
14923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'");
14925 arg3
= static_cast< size_t >(val3
);
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 (arg1
)->SetRowColumnCount(arg2
,arg3
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= SWIG_Py_Void();
14939 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
= 0;
14941 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14942 bool arg2
= (bool) true ;
14943 bool arg3
= (bool) true ;
14950 PyObject
* obj0
= 0 ;
14951 PyObject
* obj1
= 0 ;
14952 PyObject
* obj2
= 0 ;
14953 char * kwnames
[] = {
14954 (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL
14957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14959 if (!SWIG_IsOK(res1
)) {
14960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14962 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14964 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14965 if (!SWIG_IsOK(ecode2
)) {
14966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
14968 arg2
= static_cast< bool >(val2
);
14971 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14972 if (!SWIG_IsOK(ecode3
)) {
14973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'");
14975 arg3
= static_cast< bool >(val3
);
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 (arg1
)->EnablePhysicalScrolling(arg2
,arg3
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= SWIG_Py_Void();
14990 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
= 0;
14992 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14993 wxPosition
*arg2
= 0 ;
14999 PyObject
* obj0
= 0 ;
15000 PyObject
* obj1
= 0 ;
15001 char * kwnames
[] = {
15002 (char *) "self",(char *) "pos", NULL
15005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15007 if (!SWIG_IsOK(res1
)) {
15008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15010 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15012 if (!SWIG_IsOK(res2
)) {
15013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15018 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 result
= (bool)(arg1
)->ScrollToRowColumn((wxPosition
const &)*arg2
);
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15034 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
= 0;
15036 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15037 wxPosition
*arg2
= 0 ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 char * kwnames
[] = {
15045 (char *) "self",(char *) "pos", NULL
15048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15050 if (!SWIG_IsOK(res1
)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15053 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15055 if (!SWIG_IsOK(res2
)) {
15056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15061 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 (arg1
)->RefreshRowColumn((wxPosition
const &)*arg2
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= SWIG_Py_Void();
15075 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
= 0;
15077 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15078 wxPosition
*arg2
= 0 ;
15079 wxPosition
*arg3
= 0 ;
15086 PyObject
* obj0
= 0 ;
15087 PyObject
* obj1
= 0 ;
15088 PyObject
* obj2
= 0 ;
15089 char * kwnames
[] = {
15090 (char *) "self",(char *) "from",(char *) "to", NULL
15093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15095 if (!SWIG_IsOK(res1
)) {
15096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15098 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15100 if (!SWIG_IsOK(res2
)) {
15101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15106 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15107 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPosition
, 0 | 0);
15108 if (!SWIG_IsOK(res3
)) {
15109 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15114 arg3
= reinterpret_cast< wxPosition
* >(argp3
);
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 (arg1
)->RefreshRowsColumns((wxPosition
const &)*arg2
,(wxPosition
const &)*arg3
);
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= SWIG_Py_Void();
15128 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
= 0;
15130 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15131 wxPoint
*arg2
= 0 ;
15136 PyObject
* obj0
= 0 ;
15137 PyObject
* obj1
= 0 ;
15138 char * kwnames
[] = {
15139 (char *) "self",(char *) "pos", NULL
15142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15144 if (!SWIG_IsOK(res1
)) {
15145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15147 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15150 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= ((wxVarHVScrollHelper
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15165 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_ScrollLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15166 PyObject
*resultobj
= 0;
15167 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15171 PyObject
*swig_obj
[1] ;
15173 if (!args
) SWIG_fail
;
15174 swig_obj
[0] = args
;
15175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15176 if (!SWIG_IsOK(res1
)) {
15177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15179 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (bool)(arg1
)->ScrollLayout();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15195 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15196 PyObject
*resultobj
= 0;
15197 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15201 PyObject
*swig_obj
[1] ;
15203 if (!args
) SWIG_fail
;
15204 swig_obj
[0] = args
;
15205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15206 if (!SWIG_IsOK(res1
)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15209 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetRowColumnCount();
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15223 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15224 PyObject
*resultobj
= 0;
15225 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15229 PyObject
*swig_obj
[1] ;
15231 if (!args
) SWIG_fail
;
15232 swig_obj
[0] = args
;
15233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15234 if (!SWIG_IsOK(res1
)) {
15235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15237 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetVisibleBegin();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15251 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15252 PyObject
*resultobj
= 0;
15253 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15257 PyObject
*swig_obj
[1] ;
15259 if (!args
) SWIG_fail
;
15260 swig_obj
[0] = args
;
15261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15262 if (!SWIG_IsOK(res1
)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15265 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetVisibleEnd();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15279 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
= 0;
15281 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15282 wxPosition
*arg2
= 0 ;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 char * kwnames
[] = {
15291 (char *) "self",(char *) "pos", NULL
15294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15296 if (!SWIG_IsOK(res1
)) {
15297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15299 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15301 if (!SWIG_IsOK(res2
)) {
15302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15307 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 result
= (bool)((wxVarHVScrollHelper
const *)arg1
)->IsVisible((wxPosition
const &)*arg2
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15323 SWIGINTERN PyObject
*VarHVScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15326 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper
, SWIG_NewClientData(obj
));
15327 return SWIG_Py_Void();
15330 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
= 0;
15332 wxWindow
*arg1
= (wxWindow
*) 0 ;
15333 int arg2
= (int) wxID_ANY
;
15334 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15335 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15336 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15337 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15338 long arg5
= (long) 0 ;
15339 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15340 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15341 wxPyVScrolledWindow
*result
= 0 ;
15350 bool temp6
= false ;
15351 PyObject
* obj0
= 0 ;
15352 PyObject
* obj1
= 0 ;
15353 PyObject
* obj2
= 0 ;
15354 PyObject
* obj3
= 0 ;
15355 PyObject
* obj4
= 0 ;
15356 PyObject
* obj5
= 0 ;
15357 char * kwnames
[] = {
15358 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15363 if (!SWIG_IsOK(res1
)) {
15364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15366 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15369 if (!SWIG_IsOK(ecode2
)) {
15370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15372 arg2
= static_cast< int >(val2
);
15377 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15383 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15387 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15388 if (!SWIG_IsOK(ecode5
)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15391 arg5
= static_cast< long >(val5
);
15395 arg6
= wxString_in_helper(obj5
);
15396 if (arg6
== NULL
) SWIG_fail
;
15401 if (!wxPyCheckForApp()) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
15422 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15423 PyObject
*resultobj
= 0;
15424 wxPyVScrolledWindow
*result
= 0 ;
15426 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
15428 if (!wxPyCheckForApp()) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
15441 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
= 0;
15443 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15444 PyObject
*arg2
= (PyObject
*) 0 ;
15445 PyObject
*arg3
= (PyObject
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 PyObject
* obj2
= 0 ;
15451 char * kwnames
[] = {
15452 (char *) "self",(char *) "self",(char *) "_class", NULL
15455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15457 if (!SWIG_IsOK(res1
)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15460 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= SWIG_Py_Void();
15476 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
= 0;
15478 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15479 wxWindow
*arg2
= (wxWindow
*) 0 ;
15480 int arg3
= (int) wxID_ANY
;
15481 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15482 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15483 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15484 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15485 long arg6
= (long) 0 ;
15486 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
15487 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15499 bool temp7
= false ;
15500 PyObject
* obj0
= 0 ;
15501 PyObject
* obj1
= 0 ;
15502 PyObject
* obj2
= 0 ;
15503 PyObject
* obj3
= 0 ;
15504 PyObject
* obj4
= 0 ;
15505 PyObject
* obj5
= 0 ;
15506 PyObject
* obj6
= 0 ;
15507 char * kwnames
[] = {
15508 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15513 if (!SWIG_IsOK(res1
)) {
15514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15516 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15517 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15518 if (!SWIG_IsOK(res2
)) {
15519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15521 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15524 if (!SWIG_IsOK(ecode3
)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15527 arg3
= static_cast< int >(val3
);
15532 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15538 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15542 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15543 if (!SWIG_IsOK(ecode6
)) {
15544 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15546 arg6
= static_cast< long >(val6
);
15550 arg7
= wxString_in_helper(obj6
);
15551 if (arg7
== NULL
) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15578 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetRowsHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
= 0;
15580 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15590 PyObject
* obj0
= 0 ;
15591 PyObject
* obj1
= 0 ;
15592 PyObject
* obj2
= 0 ;
15593 char * kwnames
[] = {
15594 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
15597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15599 if (!SWIG_IsOK(res1
)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15602 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15603 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15604 if (!SWIG_IsOK(ecode2
)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
15607 arg2
= static_cast< size_t >(val2
);
15608 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15609 if (!SWIG_IsOK(ecode3
)) {
15610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
15612 arg3
= static_cast< size_t >(val3
);
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetRowsHeight(arg2
,arg3
);
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= SWIG_From_int(static_cast< int >(result
));
15626 SWIGINTERN PyObject
*_wrap_VScrolledWindow_EstimateTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15627 PyObject
*resultobj
= 0;
15628 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15632 PyObject
*swig_obj
[1] ;
15634 if (!args
) SWIG_fail
;
15635 swig_obj
[0] = args
;
15636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15637 if (!SWIG_IsOK(res1
)) {
15638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15640 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->EstimateTotalHeight();
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= SWIG_From_int(static_cast< int >(result
));
15654 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
= 0;
15656 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15657 wxPoint
*arg2
= 0 ;
15662 PyObject
* obj0
= 0 ;
15663 PyObject
* obj1
= 0 ;
15664 char * kwnames
[] = {
15665 (char *) "self",(char *) "pt", NULL
15668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15670 if (!SWIG_IsOK(res1
)) {
15671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15673 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15684 resultobj
= SWIG_From_int(static_cast< int >(result
));
15691 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15694 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
15695 return SWIG_Py_Void();
15698 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15699 return SWIG_Python_InitShadowInstance(args
);
15702 SWIGINTERN PyObject
*_wrap_new_HScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
= 0;
15704 wxWindow
*arg1
= (wxWindow
*) 0 ;
15705 int arg2
= (int) wxID_ANY
;
15706 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15707 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15708 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15709 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15710 long arg5
= (long) 0 ;
15711 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15712 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15713 wxPyHScrolledWindow
*result
= 0 ;
15722 bool temp6
= false ;
15723 PyObject
* obj0
= 0 ;
15724 PyObject
* obj1
= 0 ;
15725 PyObject
* obj2
= 0 ;
15726 PyObject
* obj3
= 0 ;
15727 PyObject
* obj4
= 0 ;
15728 PyObject
* obj5
= 0 ;
15729 char * kwnames
[] = {
15730 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15735 if (!SWIG_IsOK(res1
)) {
15736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15738 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15741 if (!SWIG_IsOK(ecode2
)) {
15742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15744 arg2
= static_cast< int >(val2
);
15749 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15755 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15759 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15760 if (!SWIG_IsOK(ecode5
)) {
15761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15763 arg5
= static_cast< long >(val5
);
15767 arg6
= wxString_in_helper(obj5
);
15768 if (arg6
== NULL
) SWIG_fail
;
15773 if (!wxPyCheckForApp()) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= (wxPyHScrolledWindow
*)new wxPyHScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_POINTER_NEW
| 0 );
15794 SWIGINTERN PyObject
*_wrap_new_PreHScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15795 PyObject
*resultobj
= 0;
15796 wxPyHScrolledWindow
*result
= 0 ;
15798 if (!SWIG_Python_UnpackTuple(args
,"new_PreHScrolledWindow",0,0,0)) SWIG_fail
;
15800 if (!wxPyCheckForApp()) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 result
= (wxPyHScrolledWindow
*)new wxPyHScrolledWindow();
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_POINTER_OWN
| 0 );
15813 SWIGINTERN PyObject
*_wrap_HScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
= 0;
15815 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15816 PyObject
*arg2
= (PyObject
*) 0 ;
15817 PyObject
*arg3
= (PyObject
*) 0 ;
15820 PyObject
* obj0
= 0 ;
15821 PyObject
* obj1
= 0 ;
15822 PyObject
* obj2
= 0 ;
15823 char * kwnames
[] = {
15824 (char *) "self",(char *) "self",(char *) "_class", NULL
15827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15829 if (!SWIG_IsOK(res1
)) {
15830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15832 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= SWIG_Py_Void();
15848 SWIGINTERN PyObject
*_wrap_HScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
= 0;
15850 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15851 wxWindow
*arg2
= (wxWindow
*) 0 ;
15852 int arg3
= (int) wxID_ANY
;
15853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15857 long arg6
= (long) 0 ;
15858 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
15859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15871 bool temp7
= false ;
15872 PyObject
* obj0
= 0 ;
15873 PyObject
* obj1
= 0 ;
15874 PyObject
* obj2
= 0 ;
15875 PyObject
* obj3
= 0 ;
15876 PyObject
* obj4
= 0 ;
15877 PyObject
* obj5
= 0 ;
15878 PyObject
* obj6
= 0 ;
15879 char * kwnames
[] = {
15880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15885 if (!SWIG_IsOK(res1
)) {
15886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15888 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15890 if (!SWIG_IsOK(res2
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15893 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15896 if (!SWIG_IsOK(ecode3
)) {
15897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15899 arg3
= static_cast< int >(val3
);
15904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15914 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15915 if (!SWIG_IsOK(ecode6
)) {
15916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15918 arg6
= static_cast< long >(val6
);
15922 arg7
= wxString_in_helper(obj6
);
15923 if (arg7
== NULL
) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15950 SWIGINTERN PyObject
*_wrap_HScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
= 0;
15952 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15953 wxPoint
*arg2
= 0 ;
15958 PyObject
* obj0
= 0 ;
15959 PyObject
* obj1
= 0 ;
15960 char * kwnames
[] = {
15961 (char *) "self",(char *) "pt", NULL
15964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15966 if (!SWIG_IsOK(res1
)) {
15967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15969 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= SWIG_From_int(static_cast< int >(result
));
15987 SWIGINTERN PyObject
*_wrap_HScrolledWindow_GetColumnsWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
= 0;
15989 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 PyObject
* obj1
= 0 ;
16001 PyObject
* obj2
= 0 ;
16002 char * kwnames
[] = {
16003 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
16008 if (!SWIG_IsOK(res1
)) {
16009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16011 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
16012 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16013 if (!SWIG_IsOK(ecode2
)) {
16014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16016 arg2
= static_cast< size_t >(val2
);
16017 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16018 if (!SWIG_IsOK(ecode3
)) {
16019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16021 arg3
= static_cast< size_t >(val3
);
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->GetColumnsWidth(arg2
,arg3
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= SWIG_From_int(static_cast< int >(result
));
16035 SWIGINTERN PyObject
*_wrap_HScrolledWindow_EstimateTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16036 PyObject
*resultobj
= 0;
16037 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
16041 PyObject
*swig_obj
[1] ;
16043 if (!args
) SWIG_fail
;
16044 swig_obj
[0] = args
;
16045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
16046 if (!SWIG_IsOK(res1
)) {
16047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16049 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->EstimateTotalWidth();
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= SWIG_From_int(static_cast< int >(result
));
16063 SWIGINTERN PyObject
*HScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16066 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_NewClientData(obj
));
16067 return SWIG_Py_Void();
16070 SWIGINTERN PyObject
*HScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16071 return SWIG_Python_InitShadowInstance(args
);
16074 SWIGINTERN PyObject
*_wrap_new_HVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16075 PyObject
*resultobj
= 0;
16076 wxWindow
*arg1
= (wxWindow
*) 0 ;
16077 int arg2
= (int) wxID_ANY
;
16078 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16079 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16080 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16081 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16082 long arg5
= (long) 0 ;
16083 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16084 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16085 wxPyHVScrolledWindow
*result
= 0 ;
16094 bool temp6
= false ;
16095 PyObject
* obj0
= 0 ;
16096 PyObject
* obj1
= 0 ;
16097 PyObject
* obj2
= 0 ;
16098 PyObject
* obj3
= 0 ;
16099 PyObject
* obj4
= 0 ;
16100 PyObject
* obj5
= 0 ;
16101 char * kwnames
[] = {
16102 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16107 if (!SWIG_IsOK(res1
)) {
16108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
16110 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16113 if (!SWIG_IsOK(ecode2
)) {
16114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'");
16116 arg2
= static_cast< int >(val2
);
16121 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16127 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16131 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
16132 if (!SWIG_IsOK(ecode5
)) {
16133 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'");
16135 arg5
= static_cast< long >(val5
);
16139 arg6
= wxString_in_helper(obj5
);
16140 if (arg6
== NULL
) SWIG_fail
;
16145 if (!wxPyCheckForApp()) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (wxPyHVScrolledWindow
*)new wxPyHVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
16166 SWIGINTERN PyObject
*_wrap_new_PreHVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16167 PyObject
*resultobj
= 0;
16168 wxPyHVScrolledWindow
*result
= 0 ;
16170 if (!SWIG_Python_UnpackTuple(args
,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail
;
16172 if (!wxPyCheckForApp()) SWIG_fail
;
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16174 result
= (wxPyHVScrolledWindow
*)new wxPyHVScrolledWindow();
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
16185 SWIGINTERN PyObject
*_wrap_HVScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
= 0;
16187 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16188 PyObject
*arg2
= (PyObject
*) 0 ;
16189 PyObject
*arg3
= (PyObject
*) 0 ;
16192 PyObject
* obj0
= 0 ;
16193 PyObject
* obj1
= 0 ;
16194 PyObject
* obj2
= 0 ;
16195 char * kwnames
[] = {
16196 (char *) "self",(char *) "self",(char *) "_class", NULL
16199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16201 if (!SWIG_IsOK(res1
)) {
16202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16204 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= SWIG_Py_Void();
16220 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
= 0;
16222 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16223 wxWindow
*arg2
= (wxWindow
*) 0 ;
16224 int arg3
= (int) wxID_ANY
;
16225 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16226 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16227 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16228 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16229 long arg6
= (long) 0 ;
16230 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
16231 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16243 bool temp7
= false ;
16244 PyObject
* obj0
= 0 ;
16245 PyObject
* obj1
= 0 ;
16246 PyObject
* obj2
= 0 ;
16247 PyObject
* obj3
= 0 ;
16248 PyObject
* obj4
= 0 ;
16249 PyObject
* obj5
= 0 ;
16250 PyObject
* obj6
= 0 ;
16251 char * kwnames
[] = {
16252 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16257 if (!SWIG_IsOK(res1
)) {
16258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16260 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16262 if (!SWIG_IsOK(res2
)) {
16263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16265 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16268 if (!SWIG_IsOK(ecode3
)) {
16269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
16271 arg3
= static_cast< int >(val3
);
16276 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16282 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16286 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16287 if (!SWIG_IsOK(ecode6
)) {
16288 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
16290 arg6
= static_cast< long >(val6
);
16294 arg7
= wxString_in_helper(obj6
);
16295 if (arg7
== NULL
) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16322 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_GetRowsHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
= 0;
16324 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj1
= 0 ;
16336 PyObject
* obj2
= 0 ;
16337 char * kwnames
[] = {
16338 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
16341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16343 if (!SWIG_IsOK(res1
)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16346 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16347 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16348 if (!SWIG_IsOK(ecode2
)) {
16349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
16351 arg2
= static_cast< size_t >(val2
);
16352 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16353 if (!SWIG_IsOK(ecode3
)) {
16354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
16356 arg3
= static_cast< size_t >(val3
);
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->GetRowsHeight(arg2
,arg3
);
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= SWIG_From_int(static_cast< int >(result
));
16370 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16371 PyObject
*resultobj
= 0;
16372 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16376 PyObject
*swig_obj
[1] ;
16378 if (!args
) SWIG_fail
;
16379 swig_obj
[0] = args
;
16380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16381 if (!SWIG_IsOK(res1
)) {
16382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16384 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->EstimateTotalHeight();
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16391 resultobj
= SWIG_From_int(static_cast< int >(result
));
16398 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_GetColumnsWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16399 PyObject
*resultobj
= 0;
16400 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16410 PyObject
* obj0
= 0 ;
16411 PyObject
* obj1
= 0 ;
16412 PyObject
* obj2
= 0 ;
16413 char * kwnames
[] = {
16414 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16419 if (!SWIG_IsOK(res1
)) {
16420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16422 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16423 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16424 if (!SWIG_IsOK(ecode2
)) {
16425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16427 arg2
= static_cast< size_t >(val2
);
16428 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16429 if (!SWIG_IsOK(ecode3
)) {
16430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16432 arg3
= static_cast< size_t >(val3
);
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->GetColumnsWidth(arg2
,arg3
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= SWIG_From_int(static_cast< int >(result
));
16446 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16447 PyObject
*resultobj
= 0;
16448 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16452 PyObject
*swig_obj
[1] ;
16454 if (!args
) SWIG_fail
;
16455 swig_obj
[0] = args
;
16456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16457 if (!SWIG_IsOK(res1
)) {
16458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16460 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->EstimateTotalWidth();
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= SWIG_From_int(static_cast< int >(result
));
16474 SWIGINTERN PyObject
*HVScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16477 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_NewClientData(obj
));
16478 return SWIG_Py_Void();
16481 SWIGINTERN PyObject
*HVScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16482 return SWIG_Python_InitShadowInstance(args
);
16485 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
16486 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
16491 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
16492 PyObject
*pyobj
= 0;
16496 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
16498 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
16505 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
= 0;
16507 wxWindow
*arg1
= (wxWindow
*) 0 ;
16508 int arg2
= (int) wxID_ANY
;
16509 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16510 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16511 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16512 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16513 long arg5
= (long) 0 ;
16514 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
16515 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16516 wxPyVListBox
*result
= 0 ;
16525 bool temp6
= false ;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 PyObject
* obj2
= 0 ;
16529 PyObject
* obj3
= 0 ;
16530 PyObject
* obj4
= 0 ;
16531 PyObject
* obj5
= 0 ;
16532 char * kwnames
[] = {
16533 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16538 if (!SWIG_IsOK(res1
)) {
16539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16541 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16544 if (!SWIG_IsOK(ecode2
)) {
16545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
16547 arg2
= static_cast< int >(val2
);
16552 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16558 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16562 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
16563 if (!SWIG_IsOK(ecode5
)) {
16564 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
16566 arg5
= static_cast< long >(val5
);
16570 arg6
= wxString_in_helper(obj5
);
16571 if (arg6
== NULL
) SWIG_fail
;
16576 if (!wxPyCheckForApp()) SWIG_fail
;
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
16597 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16598 PyObject
*resultobj
= 0;
16599 wxPyVListBox
*result
= 0 ;
16601 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
16603 if (!wxPyCheckForApp()) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 result
= (wxPyVListBox
*)new wxPyVListBox();
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
16616 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
= 0;
16618 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16619 PyObject
*arg2
= (PyObject
*) 0 ;
16620 PyObject
*arg3
= (PyObject
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 PyObject
* obj1
= 0 ;
16625 PyObject
* obj2
= 0 ;
16626 char * kwnames
[] = {
16627 (char *) "self",(char *) "self",(char *) "_class", NULL
16630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16632 if (!SWIG_IsOK(res1
)) {
16633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16635 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= SWIG_Py_Void();
16651 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
= 0;
16653 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16654 wxWindow
*arg2
= (wxWindow
*) 0 ;
16655 int arg3
= (int) wxID_ANY
;
16656 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16657 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16658 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16659 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16660 long arg6
= (long) 0 ;
16661 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
16662 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16674 bool temp7
= false ;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 PyObject
* obj2
= 0 ;
16678 PyObject
* obj3
= 0 ;
16679 PyObject
* obj4
= 0 ;
16680 PyObject
* obj5
= 0 ;
16681 PyObject
* obj6
= 0 ;
16682 char * kwnames
[] = {
16683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16688 if (!SWIG_IsOK(res1
)) {
16689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16691 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16692 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16693 if (!SWIG_IsOK(res2
)) {
16694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16696 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16699 if (!SWIG_IsOK(ecode3
)) {
16700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
16702 arg3
= static_cast< int >(val3
);
16707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16717 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16718 if (!SWIG_IsOK(ecode6
)) {
16719 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
16721 arg6
= static_cast< long >(val6
);
16725 arg7
= wxString_in_helper(obj6
);
16726 if (arg7
== NULL
) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16753 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16754 PyObject
*resultobj
= 0;
16755 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16759 PyObject
*swig_obj
[1] ;
16761 if (!args
) SWIG_fail
;
16762 swig_obj
[0] = args
;
16763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16764 if (!SWIG_IsOK(res1
)) {
16765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16767 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16774 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16781 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16782 PyObject
*resultobj
= 0;
16783 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16787 PyObject
*swig_obj
[1] ;
16789 if (!args
) SWIG_fail
;
16790 swig_obj
[0] = args
;
16791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16792 if (!SWIG_IsOK(res1
)) {
16793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16795 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16811 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16812 PyObject
*resultobj
= 0;
16813 wxPyVListBox
*arg1
= (wxPyVListBox
*) 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_wxPyVListBox
, 0 | 0 );
16822 if (!SWIG_IsOK(res1
)) {
16823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16825 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= SWIG_From_int(static_cast< int >(result
));
16839 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
= 0;
16841 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 char * kwnames
[] = {
16851 (char *) "self",(char *) "item", NULL
16854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16856 if (!SWIG_IsOK(res1
)) {
16857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16859 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16860 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16861 if (!SWIG_IsOK(ecode2
)) {
16862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
16864 arg2
= static_cast< size_t >(val2
);
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16867 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16880 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
= 0;
16882 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16889 PyObject
* obj0
= 0 ;
16890 PyObject
* obj1
= 0 ;
16891 char * kwnames
[] = {
16892 (char *) "self",(char *) "item", NULL
16895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16897 if (!SWIG_IsOK(res1
)) {
16898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16900 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16901 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16902 if (!SWIG_IsOK(ecode2
)) {
16903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
16905 arg2
= static_cast< size_t >(val2
);
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
16909 wxPyEndAllowThreads(__tstate
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16921 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16922 PyObject
*resultobj
= 0;
16923 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16927 PyObject
*swig_obj
[1] ;
16929 if (!args
) SWIG_fail
;
16930 swig_obj
[0] = args
;
16931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16932 if (!SWIG_IsOK(res1
)) {
16933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16935 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16949 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16950 PyObject
*resultobj
= 0;
16951 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16952 PyObject
*result
= 0 ;
16955 PyObject
*swig_obj
[1] ;
16957 if (!args
) SWIG_fail
;
16958 swig_obj
[0] = args
;
16959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16960 if (!SWIG_IsOK(res1
)) {
16961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16963 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= result
;
16977 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
= 0;
16979 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16980 unsigned long arg2
;
16981 PyObject
*result
= 0 ;
16984 unsigned long val2
;
16986 PyObject
* obj0
= 0 ;
16987 PyObject
* obj1
= 0 ;
16988 char * kwnames
[] = {
16989 (char *) "self",(char *) "cookie", NULL
16992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16994 if (!SWIG_IsOK(res1
)) {
16995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16997 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16998 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
16999 if (!SWIG_IsOK(ecode2
)) {
17000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
17002 arg2
= static_cast< unsigned long >(val2
);
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17009 resultobj
= result
;
17016 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17017 PyObject
*resultobj
= 0;
17018 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17022 PyObject
*swig_obj
[1] ;
17024 if (!args
) SWIG_fail
;
17025 swig_obj
[0] = args
;
17026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17027 if (!SWIG_IsOK(res1
)) {
17028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17030 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
17044 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17045 PyObject
*resultobj
= 0;
17046 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17047 wxColour
*result
= 0 ;
17050 PyObject
*swig_obj
[1] ;
17052 if (!args
) SWIG_fail
;
17053 swig_obj
[0] = args
;
17054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17055 if (!SWIG_IsOK(res1
)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17058 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
17063 result
= (wxColour
*) &_result_ref
;
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
17075 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
= 0;
17077 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 char * kwnames
[] = {
17086 (char *) "self",(char *) "count", NULL
17089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17091 if (!SWIG_IsOK(res1
)) {
17092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17094 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17095 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17096 if (!SWIG_IsOK(ecode2
)) {
17097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17099 arg2
= static_cast< size_t >(val2
);
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 (arg1
)->SetItemCount(arg2
);
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= SWIG_Py_Void();
17113 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17114 PyObject
*resultobj
= 0;
17115 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17118 PyObject
*swig_obj
[1] ;
17120 if (!args
) SWIG_fail
;
17121 swig_obj
[0] = args
;
17122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17123 if (!SWIG_IsOK(res1
)) {
17124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17126 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= SWIG_Py_Void();
17140 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
= 0;
17142 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 char * kwnames
[] = {
17151 (char *) "self",(char *) "selection", NULL
17154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17156 if (!SWIG_IsOK(res1
)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17159 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17161 if (!SWIG_IsOK(ecode2
)) {
17162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
17164 arg2
= static_cast< int >(val2
);
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 (arg1
)->SetSelection(arg2
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17171 resultobj
= SWIG_Py_Void();
17178 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
= 0;
17180 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17182 bool arg3
= (bool) true ;
17190 PyObject
* obj0
= 0 ;
17191 PyObject
* obj1
= 0 ;
17192 PyObject
* obj2
= 0 ;
17193 char * kwnames
[] = {
17194 (char *) "self",(char *) "item",(char *) "select", NULL
17197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17199 if (!SWIG_IsOK(res1
)) {
17200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17202 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17203 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17204 if (!SWIG_IsOK(ecode2
)) {
17205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
17207 arg2
= static_cast< size_t >(val2
);
17209 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17210 if (!SWIG_IsOK(ecode3
)) {
17211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
17213 arg3
= static_cast< bool >(val3
);
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (bool)(arg1
)->Select(arg2
,arg3
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17230 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
= 0;
17232 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 PyObject
* obj2
= 0 ;
17245 char * kwnames
[] = {
17246 (char *) "self",(char *) "from",(char *) "to", NULL
17249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17251 if (!SWIG_IsOK(res1
)) {
17252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17254 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17255 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17256 if (!SWIG_IsOK(ecode2
)) {
17257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
17259 arg2
= static_cast< size_t >(val2
);
17260 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
17261 if (!SWIG_IsOK(ecode3
)) {
17262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
17264 arg3
= static_cast< size_t >(val3
);
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17280 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
= 0;
17282 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 char * kwnames
[] = {
17291 (char *) "self",(char *) "item", NULL
17294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17296 if (!SWIG_IsOK(res1
)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17299 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17300 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17301 if (!SWIG_IsOK(ecode2
)) {
17302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
17304 arg2
= static_cast< size_t >(val2
);
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 (arg1
)->Toggle(arg2
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= SWIG_Py_Void();
17318 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17319 PyObject
*resultobj
= 0;
17320 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17324 PyObject
*swig_obj
[1] ;
17326 if (!args
) SWIG_fail
;
17327 swig_obj
[0] = args
;
17328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17329 if (!SWIG_IsOK(res1
)) {
17330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17332 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 result
= (bool)(arg1
)->SelectAll();
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17348 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17349 PyObject
*resultobj
= 0;
17350 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17354 PyObject
*swig_obj
[1] ;
17356 if (!args
) SWIG_fail
;
17357 swig_obj
[0] = args
;
17358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17359 if (!SWIG_IsOK(res1
)) {
17360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17362 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (bool)(arg1
)->DeselectAll();
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17378 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
= 0;
17380 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17381 wxPoint
*arg2
= 0 ;
17385 PyObject
* obj0
= 0 ;
17386 PyObject
* obj1
= 0 ;
17387 char * kwnames
[] = {
17388 (char *) "self",(char *) "pt", NULL
17391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17393 if (!SWIG_IsOK(res1
)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17396 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17399 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 resultobj
= SWIG_Py_Void();
17414 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
= 0;
17416 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17425 PyObject
* obj0
= 0 ;
17426 PyObject
* obj1
= 0 ;
17427 PyObject
* obj2
= 0 ;
17428 char * kwnames
[] = {
17429 (char *) "self",(char *) "x",(char *) "y", NULL
17432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17434 if (!SWIG_IsOK(res1
)) {
17435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17437 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17439 if (!SWIG_IsOK(ecode2
)) {
17440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
17442 arg2
= static_cast< int >(val2
);
17443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17444 if (!SWIG_IsOK(ecode3
)) {
17445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
17447 arg3
= static_cast< int >(val3
);
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 (arg1
)->SetMargins(arg2
,arg3
);
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_Py_Void();
17461 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
= 0;
17463 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17464 wxColour
*arg2
= 0 ;
17468 PyObject
* obj0
= 0 ;
17469 PyObject
* obj1
= 0 ;
17470 char * kwnames
[] = {
17471 (char *) "self",(char *) "col", NULL
17474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17476 if (!SWIG_IsOK(res1
)) {
17477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17479 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17482 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= SWIG_Py_Void();
17497 SWIGINTERN PyObject
*_wrap_VListBox_RefreshSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17498 PyObject
*resultobj
= 0;
17499 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17502 PyObject
*swig_obj
[1] ;
17504 if (!args
) SWIG_fail
;
17505 swig_obj
[0] = args
;
17506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17507 if (!SWIG_IsOK(res1
)) {
17508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17510 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 (arg1
)->RefreshSelected();
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 resultobj
= SWIG_Py_Void();
17524 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
= 0;
17526 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 PyObject
* obj2
= 0 ;
17540 PyObject
* obj3
= 0 ;
17541 char * kwnames
[] = {
17542 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17547 if (!SWIG_IsOK(res1
)) {
17548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17550 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17551 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
17552 if (!SWIG_IsOK(res2
)) {
17553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17558 arg2
= reinterpret_cast< wxDC
* >(argp2
);
17561 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17563 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17564 if (!SWIG_IsOK(ecode4
)) {
17565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
17567 arg4
= static_cast< size_t >(val4
);
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 resultobj
= SWIG_Py_Void();
17581 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
= 0;
17583 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 PyObject
* obj2
= 0 ;
17597 PyObject
* obj3
= 0 ;
17598 char * kwnames
[] = {
17599 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17604 if (!SWIG_IsOK(res1
)) {
17605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17607 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
17609 if (!SWIG_IsOK(res2
)) {
17610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17615 arg2
= reinterpret_cast< wxDC
* >(argp2
);
17618 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17620 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17621 if (!SWIG_IsOK(ecode4
)) {
17622 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
17624 arg4
= static_cast< size_t >(val4
);
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= SWIG_Py_Void();
17638 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17641 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
17642 return SWIG_Py_Void();
17645 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17646 return SWIG_Python_InitShadowInstance(args
);
17649 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
= 0;
17651 wxWindow
*arg1
= (wxWindow
*) 0 ;
17652 int arg2
= (int) wxID_ANY
;
17653 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17654 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17655 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17656 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17657 long arg5
= (long) 0 ;
17658 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
17659 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17660 wxPyHtmlListBox
*result
= 0 ;
17669 bool temp6
= false ;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 PyObject
* obj2
= 0 ;
17673 PyObject
* obj3
= 0 ;
17674 PyObject
* obj4
= 0 ;
17675 PyObject
* obj5
= 0 ;
17676 char * kwnames
[] = {
17677 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17682 if (!SWIG_IsOK(res1
)) {
17683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17685 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17688 if (!SWIG_IsOK(ecode2
)) {
17689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
17691 arg2
= static_cast< int >(val2
);
17696 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17702 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17706 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17707 if (!SWIG_IsOK(ecode5
)) {
17708 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
17710 arg5
= static_cast< long >(val5
);
17714 arg6
= wxString_in_helper(obj5
);
17715 if (arg6
== NULL
) SWIG_fail
;
17720 if (!wxPyCheckForApp()) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
17741 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17742 PyObject
*resultobj
= 0;
17743 wxPyHtmlListBox
*result
= 0 ;
17745 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
17747 if (!wxPyCheckForApp()) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
17760 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
= 0;
17762 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17763 PyObject
*arg2
= (PyObject
*) 0 ;
17764 PyObject
*arg3
= (PyObject
*) 0 ;
17767 PyObject
* obj0
= 0 ;
17768 PyObject
* obj1
= 0 ;
17769 PyObject
* obj2
= 0 ;
17770 char * kwnames
[] = {
17771 (char *) "self",(char *) "self",(char *) "_class", NULL
17774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17776 if (!SWIG_IsOK(res1
)) {
17777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17779 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= SWIG_Py_Void();
17795 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
= 0;
17797 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17798 wxWindow
*arg2
= (wxWindow
*) 0 ;
17799 int arg3
= (int) wxID_ANY
;
17800 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17801 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17802 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17803 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17804 long arg6
= (long) 0 ;
17805 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
17806 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17818 bool temp7
= false ;
17819 PyObject
* obj0
= 0 ;
17820 PyObject
* obj1
= 0 ;
17821 PyObject
* obj2
= 0 ;
17822 PyObject
* obj3
= 0 ;
17823 PyObject
* obj4
= 0 ;
17824 PyObject
* obj5
= 0 ;
17825 PyObject
* obj6
= 0 ;
17826 char * kwnames
[] = {
17827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17832 if (!SWIG_IsOK(res1
)) {
17833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17835 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17836 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17837 if (!SWIG_IsOK(res2
)) {
17838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17840 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17843 if (!SWIG_IsOK(ecode3
)) {
17844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
17846 arg3
= static_cast< int >(val3
);
17851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17861 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17862 if (!SWIG_IsOK(ecode6
)) {
17863 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
17865 arg6
= static_cast< long >(val6
);
17869 arg7
= wxString_in_helper(obj6
);
17870 if (arg7
== NULL
) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17897 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
= 0;
17899 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 PyObject
* obj1
= 0 ;
17907 char * kwnames
[] = {
17908 (char *) "self",(char *) "count", NULL
17911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17913 if (!SWIG_IsOK(res1
)) {
17914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17916 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17917 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17918 if (!SWIG_IsOK(ecode2
)) {
17919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17921 arg2
= static_cast< size_t >(val2
);
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 (arg1
)->SetItemCount(arg2
);
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 resultobj
= SWIG_Py_Void();
17935 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17936 PyObject
*resultobj
= 0;
17937 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17938 wxFileSystem
*result
= 0 ;
17941 PyObject
*swig_obj
[1] ;
17943 if (!args
) SWIG_fail
;
17944 swig_obj
[0] = args
;
17945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17946 if (!SWIG_IsOK(res1
)) {
17947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17949 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
17954 result
= (wxFileSystem
*) &_result_ref
;
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
17966 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
= 0;
17968 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17970 wxHtmlLinkInfo
*arg3
= 0 ;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 PyObject
* obj2
= 0 ;
17980 char * kwnames
[] = {
17981 (char *) "self",(char *) "n",(char *) "link", NULL
17984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17986 if (!SWIG_IsOK(res1
)) {
17987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17989 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17990 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17991 if (!SWIG_IsOK(ecode2
)) {
17992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
17994 arg2
= static_cast< size_t >(val2
);
17995 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
17996 if (!SWIG_IsOK(res3
)) {
17997 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
18000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
18002 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= SWIG_Py_Void();
18016 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18019 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
18020 return SWIG_Py_Void();
18023 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18024 return SWIG_Python_InitShadowInstance(args
);
18027 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
18028 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
18033 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
18034 PyObject
*pyobj
= 0;
18038 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
18040 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
18047 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
= 0;
18049 wxWindow
*arg1
= (wxWindow
*) 0 ;
18050 int arg2
= (int) -1 ;
18051 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18052 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18053 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18054 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18055 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
18056 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
18057 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
18058 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18059 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18060 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
18061 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18062 wxSimpleHtmlListBox
*result
= 0 ;
18069 bool temp5
= false ;
18074 bool temp8
= false ;
18075 PyObject
* obj0
= 0 ;
18076 PyObject
* obj1
= 0 ;
18077 PyObject
* obj2
= 0 ;
18078 PyObject
* obj3
= 0 ;
18079 PyObject
* obj4
= 0 ;
18080 PyObject
* obj5
= 0 ;
18081 PyObject
* obj6
= 0 ;
18082 PyObject
* obj7
= 0 ;
18083 char * kwnames
[] = {
18084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18089 if (!SWIG_IsOK(res1
)) {
18090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
18092 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18095 if (!SWIG_IsOK(ecode2
)) {
18096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
18098 arg2
= static_cast< int >(val2
);
18103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18109 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18114 if (! PySequence_Check(obj4
)) {
18115 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
18118 arg5
= new wxArrayString
;
18120 int i
, len
=PySequence_Length(obj4
);
18121 for (i
=0; i
<len
; i
++) {
18122 PyObject
* item
= PySequence_GetItem(obj4
, i
);
18123 wxString
* s
= wxString_in_helper(item
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18132 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18133 if (!SWIG_IsOK(ecode6
)) {
18134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
18136 arg6
= static_cast< long >(val6
);
18139 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18140 if (!SWIG_IsOK(res7
)) {
18141 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18146 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18150 arg8
= wxString_in_helper(obj7
);
18151 if (arg8
== NULL
) SWIG_fail
;
18156 if (!wxPyCheckForApp()) SWIG_fail
;
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
18164 if (temp5
) delete arg5
;
18173 if (temp5
) delete arg5
;
18183 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18184 PyObject
*resultobj
= 0;
18185 wxSimpleHtmlListBox
*result
= 0 ;
18187 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
18189 if (!wxPyCheckForApp()) SWIG_fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
18202 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
= 0;
18204 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
18205 wxWindow
*arg2
= (wxWindow
*) 0 ;
18206 int arg3
= (int) -1 ;
18207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18211 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
18212 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
18213 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
18214 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18215 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18216 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
18217 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18227 bool temp6
= false ;
18232 bool temp9
= false ;
18233 PyObject
* obj0
= 0 ;
18234 PyObject
* obj1
= 0 ;
18235 PyObject
* obj2
= 0 ;
18236 PyObject
* obj3
= 0 ;
18237 PyObject
* obj4
= 0 ;
18238 PyObject
* obj5
= 0 ;
18239 PyObject
* obj6
= 0 ;
18240 PyObject
* obj7
= 0 ;
18241 PyObject
* obj8
= 0 ;
18242 char * kwnames
[] = {
18243 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
18248 if (!SWIG_IsOK(res1
)) {
18249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
18251 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
18252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18253 if (!SWIG_IsOK(res2
)) {
18254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18256 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18259 if (!SWIG_IsOK(ecode3
)) {
18260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
18262 arg3
= static_cast< int >(val3
);
18267 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18273 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18278 if (! PySequence_Check(obj5
)) {
18279 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
18282 arg6
= new wxArrayString
;
18284 int i
, len
=PySequence_Length(obj5
);
18285 for (i
=0; i
<len
; i
++) {
18286 PyObject
* item
= PySequence_GetItem(obj5
, i
);
18287 wxString
* s
= wxString_in_helper(item
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18296 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18297 if (!SWIG_IsOK(ecode7
)) {
18298 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
18300 arg7
= static_cast< long >(val7
);
18303 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18304 if (!SWIG_IsOK(res8
)) {
18305 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18310 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18314 arg9
= wxString_in_helper(obj8
);
18315 if (arg9
== NULL
) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18329 if (temp6
) delete arg6
;
18338 if (temp6
) delete arg6
;
18348 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18351 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
18352 return SWIG_Py_Void();
18355 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18356 return SWIG_Python_InitShadowInstance(args
);
18359 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18360 PyObject
*resultobj
= 0;
18361 wxPyTaskBarIcon
*result
= 0 ;
18363 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
18365 if (!wxPyCheckForApp()) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
18378 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18379 PyObject
*resultobj
= 0;
18380 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18383 PyObject
*swig_obj
[1] ;
18385 if (!args
) SWIG_fail
;
18386 swig_obj
[0] = args
;
18387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
18388 if (!SWIG_IsOK(res1
)) {
18389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18391 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 resultobj
= SWIG_Py_Void();
18406 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
= 0;
18408 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18409 PyObject
*arg2
= (PyObject
*) 0 ;
18410 PyObject
*arg3
= (PyObject
*) 0 ;
18411 int arg4
= (int) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 PyObject
* obj2
= 0 ;
18419 PyObject
* obj3
= 0 ;
18420 char * kwnames
[] = {
18421 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
18424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18426 if (!SWIG_IsOK(res1
)) {
18427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18429 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18433 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18434 if (!SWIG_IsOK(ecode4
)) {
18435 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
18437 arg4
= static_cast< int >(val4
);
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= SWIG_Py_Void();
18452 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18453 PyObject
*resultobj
= 0;
18454 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18457 PyObject
*swig_obj
[1] ;
18459 if (!args
) SWIG_fail
;
18460 swig_obj
[0] = args
;
18461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18462 if (!SWIG_IsOK(res1
)) {
18463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18465 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 wxPyTaskBarIcon_Destroy(arg1
);
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= SWIG_Py_Void();
18479 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18480 PyObject
*resultobj
= 0;
18481 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18485 PyObject
*swig_obj
[1] ;
18487 if (!args
) SWIG_fail
;
18488 swig_obj
[0] = args
;
18489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18490 if (!SWIG_IsOK(res1
)) {
18491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18493 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18509 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18510 PyObject
*resultobj
= 0;
18511 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18515 PyObject
*swig_obj
[1] ;
18517 if (!args
) SWIG_fail
;
18518 swig_obj
[0] = args
;
18519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18520 if (!SWIG_IsOK(res1
)) {
18521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18523 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18526 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18539 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
= 0;
18541 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18543 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18544 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18550 bool temp3
= false ;
18551 PyObject
* obj0
= 0 ;
18552 PyObject
* obj1
= 0 ;
18553 PyObject
* obj2
= 0 ;
18554 char * kwnames
[] = {
18555 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
18558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18560 if (!SWIG_IsOK(res1
)) {
18561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18563 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18565 if (!SWIG_IsOK(res2
)) {
18566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18571 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18574 arg3
= wxString_in_helper(obj2
);
18575 if (arg3
== NULL
) SWIG_fail
;
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18602 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18603 PyObject
*resultobj
= 0;
18604 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18608 PyObject
*swig_obj
[1] ;
18610 if (!args
) SWIG_fail
;
18611 swig_obj
[0] = args
;
18612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18613 if (!SWIG_IsOK(res1
)) {
18614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18616 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 result
= (bool)(arg1
)->RemoveIcon();
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18632 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
= 0;
18634 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18635 wxMenu
*arg2
= (wxMenu
*) 0 ;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 char * kwnames
[] = {
18644 (char *) "self",(char *) "menu", NULL
18647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18649 if (!SWIG_IsOK(res1
)) {
18650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18652 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
18654 if (!SWIG_IsOK(res2
)) {
18655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
18657 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 result
= (bool)(arg1
)->PopupMenu(arg2
);
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18673 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18676 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
18677 return SWIG_Py_Void();
18680 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18681 return SWIG_Python_InitShadowInstance(args
);
18684 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
= 0;
18687 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
18688 wxTaskBarIconEvent
*result
= 0 ;
18693 PyObject
* obj0
= 0 ;
18694 PyObject
* obj1
= 0 ;
18695 char * kwnames
[] = {
18696 (char *) "evtType",(char *) "tbIcon", NULL
18699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18700 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18701 if (!SWIG_IsOK(ecode1
)) {
18702 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18704 arg1
= static_cast< wxEventType
>(val1
);
18705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
18706 if (!SWIG_IsOK(res2
)) {
18707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
18709 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
18711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18712 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
18723 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18726 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
18727 return SWIG_Py_Void();
18730 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18731 return SWIG_Python_InitShadowInstance(args
);
18734 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
18735 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
18740 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
18741 PyObject
*pyobj
= 0;
18745 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
18747 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
18754 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
18755 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
18760 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
18761 PyObject
*pyobj
= 0;
18765 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
18767 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
18774 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
18775 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
18780 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
18781 PyObject
*pyobj
= 0;
18785 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
18787 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
18794 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
18795 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
18800 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
18801 PyObject
*pyobj
= 0;
18805 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
18807 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
18814 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
18815 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
18820 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
18821 PyObject
*pyobj
= 0;
18825 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
18827 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
18834 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
18835 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
18840 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
18841 PyObject
*pyobj
= 0;
18845 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
18847 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
18854 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18855 PyObject
*resultobj
= 0;
18856 wxColourData
*result
= 0 ;
18858 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 result
= (wxColourData
*)new wxColourData();
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
18872 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18873 PyObject
*resultobj
= 0;
18874 wxColourData
*arg1
= (wxColourData
*) 0 ;
18877 PyObject
*swig_obj
[1] ;
18879 if (!args
) SWIG_fail
;
18880 swig_obj
[0] = args
;
18881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
18882 if (!SWIG_IsOK(res1
)) {
18883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
18885 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18893 resultobj
= SWIG_Py_Void();
18900 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18901 PyObject
*resultobj
= 0;
18902 wxColourData
*arg1
= (wxColourData
*) 0 ;
18906 PyObject
*swig_obj
[1] ;
18908 if (!args
) SWIG_fail
;
18909 swig_obj
[0] = args
;
18910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18911 if (!SWIG_IsOK(res1
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18914 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (bool)(arg1
)->GetChooseFull();
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18930 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18931 PyObject
*resultobj
= 0;
18932 wxColourData
*arg1
= (wxColourData
*) 0 ;
18936 PyObject
*swig_obj
[1] ;
18938 if (!args
) SWIG_fail
;
18939 swig_obj
[0] = args
;
18940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18941 if (!SWIG_IsOK(res1
)) {
18942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18944 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 result
= (arg1
)->GetColour();
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18958 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
= 0;
18960 wxColourData
*arg1
= (wxColourData
*) 0 ;
18967 PyObject
* obj0
= 0 ;
18968 PyObject
* obj1
= 0 ;
18969 char * kwnames
[] = {
18970 (char *) "self",(char *) "i", NULL
18973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18975 if (!SWIG_IsOK(res1
)) {
18976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18978 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18980 if (!SWIG_IsOK(ecode2
)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
18983 arg2
= static_cast< int >(val2
);
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (arg1
)->GetCustomColour(arg2
);
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18997 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18998 PyObject
*resultobj
= 0;
18999 wxColourData
*arg1
= (wxColourData
*) 0 ;
19005 PyObject
* obj0
= 0 ;
19006 PyObject
* obj1
= 0 ;
19007 char * kwnames
[] = {
19008 (char *) "self",(char *) "flag", NULL
19011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19013 if (!SWIG_IsOK(res1
)) {
19014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
19016 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19018 if (!SWIG_IsOK(ecode2
)) {
19019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
19021 arg2
= static_cast< int >(val2
);
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 (arg1
)->SetChooseFull(arg2
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= SWIG_Py_Void();
19035 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
= 0;
19037 wxColourData
*arg1
= (wxColourData
*) 0 ;
19038 wxColour
*arg2
= 0 ;
19042 PyObject
* obj0
= 0 ;
19043 PyObject
* obj1
= 0 ;
19044 char * kwnames
[] = {
19045 (char *) "self",(char *) "colour", NULL
19048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19050 if (!SWIG_IsOK(res1
)) {
19051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19053 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19056 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 (arg1
)->SetColour((wxColour
const &)*arg2
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= SWIG_Py_Void();
19071 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
= 0;
19073 wxColourData
*arg1
= (wxColourData
*) 0 ;
19075 wxColour
*arg3
= 0 ;
19081 PyObject
* obj0
= 0 ;
19082 PyObject
* obj1
= 0 ;
19083 PyObject
* obj2
= 0 ;
19084 char * kwnames
[] = {
19085 (char *) "self",(char *) "i",(char *) "colour", NULL
19088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19090 if (!SWIG_IsOK(res1
)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19093 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19095 if (!SWIG_IsOK(ecode2
)) {
19096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
19098 arg2
= static_cast< int >(val2
);
19101 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 resultobj
= SWIG_Py_Void();
19116 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19119 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
19120 return SWIG_Py_Void();
19123 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19124 return SWIG_Python_InitShadowInstance(args
);
19127 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
= 0;
19129 wxWindow
*arg1
= (wxWindow
*) 0 ;
19130 wxColourData
*arg2
= (wxColourData
*) NULL
;
19131 wxColourDialog
*result
= 0 ;
19136 PyObject
* obj0
= 0 ;
19137 PyObject
* obj1
= 0 ;
19138 char * kwnames
[] = {
19139 (char *) "parent",(char *) "data", NULL
19142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19144 if (!SWIG_IsOK(res1
)) {
19145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19147 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19150 if (!SWIG_IsOK(res2
)) {
19151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
19153 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
19156 if (!wxPyCheckForApp()) SWIG_fail
;
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
19169 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19170 PyObject
*resultobj
= 0;
19171 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
19172 wxColourData
*result
= 0 ;
19175 PyObject
*swig_obj
[1] ;
19177 if (!args
) SWIG_fail
;
19178 swig_obj
[0] = args
;
19179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
19180 if (!SWIG_IsOK(res1
)) {
19181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
19183 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 wxColourData
&_result_ref
= (arg1
)->GetColourData();
19188 result
= (wxColourData
*) &_result_ref
;
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
19200 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19203 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
19204 return SWIG_Py_Void();
19207 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19208 return SWIG_Python_InitShadowInstance(args
);
19211 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
= 0;
19213 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
19214 wxColour
const &arg2_defvalue
= wxNullColour
;
19215 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19216 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19217 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19222 bool temp3
= false ;
19223 PyObject
* obj0
= 0 ;
19224 PyObject
* obj1
= 0 ;
19225 PyObject
* obj2
= 0 ;
19226 char * kwnames
[] = {
19227 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
19230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19233 if (!SWIG_IsOK(res1
)) {
19234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19236 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19241 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19246 arg3
= wxString_in_helper(obj2
);
19247 if (arg3
== NULL
) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19272 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
= 0;
19274 wxWindow
*arg1
= (wxWindow
*) 0 ;
19275 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
19276 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19277 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19278 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19279 long arg4
= (long) wxDD_DEFAULT_STYLE
;
19280 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19281 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19282 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19283 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19284 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
19285 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19286 wxDirDialog
*result
= 0 ;
19289 bool temp2
= false ;
19290 bool temp3
= false ;
19295 bool temp7
= false ;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 PyObject
* obj2
= 0 ;
19299 PyObject
* obj3
= 0 ;
19300 PyObject
* obj4
= 0 ;
19301 PyObject
* obj5
= 0 ;
19302 PyObject
* obj6
= 0 ;
19303 char * kwnames
[] = {
19304 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
19307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19309 if (!SWIG_IsOK(res1
)) {
19310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19312 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19315 arg2
= wxString_in_helper(obj1
);
19316 if (arg2
== NULL
) SWIG_fail
;
19322 arg3
= wxString_in_helper(obj2
);
19323 if (arg3
== NULL
) SWIG_fail
;
19328 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19329 if (!SWIG_IsOK(ecode4
)) {
19330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
19332 arg4
= static_cast< long >(val4
);
19337 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19343 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19348 arg7
= wxString_in_helper(obj6
);
19349 if (arg7
== NULL
) SWIG_fail
;
19354 if (!wxPyCheckForApp()) SWIG_fail
;
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
19357 wxPyEndAllowThreads(__tstate
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
19391 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19392 PyObject
*resultobj
= 0;
19393 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19397 PyObject
*swig_obj
[1] ;
19399 if (!args
) SWIG_fail
;
19400 swig_obj
[0] = args
;
19401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19402 if (!SWIG_IsOK(res1
)) {
19403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19405 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 result
= (arg1
)->GetPath();
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19425 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19426 PyObject
*resultobj
= 0;
19427 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19431 PyObject
*swig_obj
[1] ;
19433 if (!args
) SWIG_fail
;
19434 swig_obj
[0] = args
;
19435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19436 if (!SWIG_IsOK(res1
)) {
19437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19439 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 result
= (arg1
)->GetMessage();
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19459 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
= 0;
19461 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19462 wxString
*arg2
= 0 ;
19465 bool temp2
= false ;
19466 PyObject
* obj0
= 0 ;
19467 PyObject
* obj1
= 0 ;
19468 char * kwnames
[] = {
19469 (char *) "self",(char *) "message", NULL
19472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19474 if (!SWIG_IsOK(res1
)) {
19475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19477 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19479 arg2
= wxString_in_helper(obj1
);
19480 if (arg2
== NULL
) SWIG_fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 (arg1
)->SetMessage((wxString
const &)*arg2
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= SWIG_Py_Void();
19504 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
= 0;
19506 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19507 wxString
*arg2
= 0 ;
19510 bool temp2
= false ;
19511 PyObject
* obj0
= 0 ;
19512 PyObject
* obj1
= 0 ;
19513 char * kwnames
[] = {
19514 (char *) "self",(char *) "path", NULL
19517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19519 if (!SWIG_IsOK(res1
)) {
19520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19522 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19524 arg2
= wxString_in_helper(obj1
);
19525 if (arg2
== NULL
) SWIG_fail
;
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 (arg1
)->SetPath((wxString
const &)*arg2
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 resultobj
= SWIG_Py_Void();
19549 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19552 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
19553 return SWIG_Py_Void();
19556 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19557 return SWIG_Python_InitShadowInstance(args
);
19560 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
= 0;
19562 wxWindow
*arg1
= (wxWindow
*) 0 ;
19563 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
19564 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19565 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19566 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19567 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19568 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19569 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
19570 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
19571 long arg6
= (long) wxFD_DEFAULT_STYLE
;
19572 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
19573 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
19574 wxFileDialog
*result
= 0 ;
19577 bool temp2
= false ;
19578 bool temp3
= false ;
19579 bool temp4
= false ;
19580 bool temp5
= false ;
19584 PyObject
* obj0
= 0 ;
19585 PyObject
* obj1
= 0 ;
19586 PyObject
* obj2
= 0 ;
19587 PyObject
* obj3
= 0 ;
19588 PyObject
* obj4
= 0 ;
19589 PyObject
* obj5
= 0 ;
19590 PyObject
* obj6
= 0 ;
19591 char * kwnames
[] = {
19592 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
19595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19597 if (!SWIG_IsOK(res1
)) {
19598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19600 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19603 arg2
= wxString_in_helper(obj1
);
19604 if (arg2
== NULL
) SWIG_fail
;
19610 arg3
= wxString_in_helper(obj2
);
19611 if (arg3
== NULL
) SWIG_fail
;
19617 arg4
= wxString_in_helper(obj3
);
19618 if (arg4
== NULL
) SWIG_fail
;
19624 arg5
= wxString_in_helper(obj4
);
19625 if (arg5
== NULL
) SWIG_fail
;
19630 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
19631 if (!SWIG_IsOK(ecode6
)) {
19632 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
19634 arg6
= static_cast< long >(val6
);
19639 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
19643 if (!wxPyCheckForApp()) SWIG_fail
;
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
19688 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
= 0;
19690 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19691 wxString
*arg2
= 0 ;
19694 bool temp2
= false ;
19695 PyObject
* obj0
= 0 ;
19696 PyObject
* obj1
= 0 ;
19697 char * kwnames
[] = {
19698 (char *) "self",(char *) "message", NULL
19701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19703 if (!SWIG_IsOK(res1
)) {
19704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19706 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19708 arg2
= wxString_in_helper(obj1
);
19709 if (arg2
== NULL
) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 (arg1
)->SetMessage((wxString
const &)*arg2
);
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= SWIG_Py_Void();
19733 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
= 0;
19735 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19736 wxString
*arg2
= 0 ;
19739 bool temp2
= false ;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 char * kwnames
[] = {
19743 (char *) "self",(char *) "path", NULL
19746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19751 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19753 arg2
= wxString_in_helper(obj1
);
19754 if (arg2
== NULL
) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 (arg1
)->SetPath((wxString
const &)*arg2
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= SWIG_Py_Void();
19778 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
= 0;
19780 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19781 wxString
*arg2
= 0 ;
19784 bool temp2
= false ;
19785 PyObject
* obj0
= 0 ;
19786 PyObject
* obj1
= 0 ;
19787 char * kwnames
[] = {
19788 (char *) "self",(char *) "dir", NULL
19791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19793 if (!SWIG_IsOK(res1
)) {
19794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19796 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19798 arg2
= wxString_in_helper(obj1
);
19799 if (arg2
== NULL
) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 (arg1
)->SetDirectory((wxString
const &)*arg2
);
19805 wxPyEndAllowThreads(__tstate
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19808 resultobj
= SWIG_Py_Void();
19823 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
= 0;
19825 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19826 wxString
*arg2
= 0 ;
19829 bool temp2
= false ;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19832 char * kwnames
[] = {
19833 (char *) "self",(char *) "name", NULL
19836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19838 if (!SWIG_IsOK(res1
)) {
19839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19841 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19843 arg2
= wxString_in_helper(obj1
);
19844 if (arg2
== NULL
) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 (arg1
)->SetFilename((wxString
const &)*arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_Py_Void();
19868 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
= 0;
19870 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19871 wxString
*arg2
= 0 ;
19874 bool temp2
= false ;
19875 PyObject
* obj0
= 0 ;
19876 PyObject
* obj1
= 0 ;
19877 char * kwnames
[] = {
19878 (char *) "self",(char *) "wildCard", NULL
19881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19883 if (!SWIG_IsOK(res1
)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19886 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19888 arg2
= wxString_in_helper(obj1
);
19889 if (arg2
== NULL
) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 (arg1
)->SetWildcard((wxString
const &)*arg2
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 resultobj
= SWIG_Py_Void();
19913 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
= 0;
19915 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19921 PyObject
* obj0
= 0 ;
19922 PyObject
* obj1
= 0 ;
19923 char * kwnames
[] = {
19924 (char *) "self",(char *) "filterIndex", NULL
19927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19929 if (!SWIG_IsOK(res1
)) {
19930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19932 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19934 if (!SWIG_IsOK(ecode2
)) {
19935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
19937 arg2
= static_cast< int >(val2
);
19939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19940 (arg1
)->SetFilterIndex(arg2
);
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19944 resultobj
= SWIG_Py_Void();
19951 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19952 PyObject
*resultobj
= 0;
19953 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19957 PyObject
*swig_obj
[1] ;
19959 if (!args
) SWIG_fail
;
19960 swig_obj
[0] = args
;
19961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19962 if (!SWIG_IsOK(res1
)) {
19963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19965 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19985 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19986 PyObject
*resultobj
= 0;
19987 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19991 PyObject
*swig_obj
[1] ;
19993 if (!args
) SWIG_fail
;
19994 swig_obj
[0] = args
;
19995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19996 if (!SWIG_IsOK(res1
)) {
19997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19999 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 result
= ((wxFileDialog
const *)arg1
)->GetPath();
20003 wxPyEndAllowThreads(__tstate
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20019 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20020 PyObject
*resultobj
= 0;
20021 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20025 PyObject
*swig_obj
[1] ;
20027 if (!args
) SWIG_fail
;
20028 swig_obj
[0] = args
;
20029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20030 if (!SWIG_IsOK(res1
)) {
20031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20033 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20053 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20054 PyObject
*resultobj
= 0;
20055 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20059 PyObject
*swig_obj
[1] ;
20061 if (!args
) SWIG_fail
;
20062 swig_obj
[0] = args
;
20063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20064 if (!SWIG_IsOK(res1
)) {
20065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20067 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20087 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20088 PyObject
*resultobj
= 0;
20089 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20093 PyObject
*swig_obj
[1] ;
20095 if (!args
) SWIG_fail
;
20096 swig_obj
[0] = args
;
20097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20098 if (!SWIG_IsOK(res1
)) {
20099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20101 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20121 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20122 PyObject
*resultobj
= 0;
20123 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20127 PyObject
*swig_obj
[1] ;
20129 if (!args
) SWIG_fail
;
20130 swig_obj
[0] = args
;
20131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20132 if (!SWIG_IsOK(res1
)) {
20133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20135 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20142 resultobj
= SWIG_From_int(static_cast< int >(result
));
20149 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20150 PyObject
*resultobj
= 0;
20151 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20152 PyObject
*result
= 0 ;
20155 PyObject
*swig_obj
[1] ;
20157 if (!args
) SWIG_fail
;
20158 swig_obj
[0] = args
;
20159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20160 if (!SWIG_IsOK(res1
)) {
20161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20163 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= result
;
20177 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20178 PyObject
*resultobj
= 0;
20179 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20180 PyObject
*result
= 0 ;
20183 PyObject
*swig_obj
[1] ;
20185 if (!args
) SWIG_fail
;
20186 swig_obj
[0] = args
;
20187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20188 if (!SWIG_IsOK(res1
)) {
20189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20191 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20194 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= result
;
20205 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20208 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
20209 return SWIG_Py_Void();
20212 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20213 return SWIG_Python_InitShadowInstance(args
);
20216 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
= 0;
20218 wxWindow
*arg1
= (wxWindow
*) 0 ;
20219 wxString
*arg2
= 0 ;
20220 wxString
*arg3
= 0 ;
20221 int arg4
= (int) 0 ;
20222 wxString
*arg5
= (wxString
*) NULL
;
20223 long arg6
= (long) wxCHOICEDLG_STYLE
;
20224 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
20225 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
20226 wxMultiChoiceDialog
*result
= 0 ;
20229 bool temp2
= false ;
20230 bool temp3
= false ;
20234 PyObject
* obj0
= 0 ;
20235 PyObject
* obj1
= 0 ;
20236 PyObject
* obj2
= 0 ;
20237 PyObject
* obj3
= 0 ;
20238 PyObject
* obj4
= 0 ;
20239 PyObject
* obj5
= 0 ;
20240 char * kwnames
[] = {
20241 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20246 if (!SWIG_IsOK(res1
)) {
20247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20249 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20251 arg2
= wxString_in_helper(obj1
);
20252 if (arg2
== NULL
) SWIG_fail
;
20256 arg3
= wxString_in_helper(obj2
);
20257 if (arg3
== NULL
) SWIG_fail
;
20262 arg4
= PyList_Size(obj3
);
20263 arg5
= wxString_LIST_helper(obj3
);
20264 if (arg5
== NULL
) SWIG_fail
;
20268 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
20269 if (!SWIG_IsOK(ecode6
)) {
20270 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20272 arg6
= static_cast< long >(val6
);
20277 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
20281 if (!wxPyCheckForApp()) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
20297 if (arg5
) delete [] arg5
;
20310 if (arg5
) delete [] arg5
;
20316 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
= 0;
20318 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
20319 wxArrayInt
*arg2
= 0 ;
20322 bool temp2
= false ;
20323 PyObject
* obj0
= 0 ;
20324 PyObject
* obj1
= 0 ;
20325 char * kwnames
[] = {
20326 (char *) "self",(char *) "selections", NULL
20329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
20331 if (!SWIG_IsOK(res1
)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20334 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
20336 if (! PySequence_Check(obj1
)) {
20337 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
20340 arg2
= new wxArrayInt
;
20342 int i
, len
=PySequence_Length(obj1
);
20343 for (i
=0; i
<len
; i
++) {
20344 PyObject
* item
= PySequence_GetItem(obj1
, i
);
20345 PyObject
* number
= PyNumber_Int(item
);
20347 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
20350 arg2
->Add(PyInt_AS_LONG(number
));
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= SWIG_Py_Void();
20363 if (temp2
) delete arg2
;
20368 if (temp2
) delete arg2
;
20374 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20375 PyObject
*resultobj
= 0;
20376 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
20377 PyObject
*result
= 0 ;
20380 PyObject
*swig_obj
[1] ;
20382 if (!args
) SWIG_fail
;
20383 swig_obj
[0] = args
;
20384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
20385 if (!SWIG_IsOK(res1
)) {
20386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20388 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= result
;
20402 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20405 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
20406 return SWIG_Py_Void();
20409 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20410 return SWIG_Python_InitShadowInstance(args
);
20413 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
= 0;
20415 wxWindow
*arg1
= (wxWindow
*) 0 ;
20416 wxString
*arg2
= 0 ;
20417 wxString
*arg3
= 0 ;
20419 wxString
*arg5
= (wxString
*) 0 ;
20420 long arg6
= (long) wxCHOICEDLG_STYLE
;
20421 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
20422 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
20423 wxSingleChoiceDialog
*result
= 0 ;
20426 bool temp2
= false ;
20427 bool temp3
= false ;
20431 PyObject
* obj0
= 0 ;
20432 PyObject
* obj1
= 0 ;
20433 PyObject
* obj2
= 0 ;
20434 PyObject
* obj3
= 0 ;
20435 PyObject
* obj4
= 0 ;
20436 PyObject
* obj5
= 0 ;
20437 char * kwnames
[] = {
20438 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20443 if (!SWIG_IsOK(res1
)) {
20444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20448 arg2
= wxString_in_helper(obj1
);
20449 if (arg2
== NULL
) SWIG_fail
;
20453 arg3
= wxString_in_helper(obj2
);
20454 if (arg3
== NULL
) SWIG_fail
;
20458 arg4
= PyList_Size(obj3
);
20459 arg5
= wxString_LIST_helper(obj3
);
20460 if (arg5
== NULL
) SWIG_fail
;
20463 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
20464 if (!SWIG_IsOK(ecode6
)) {
20465 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20467 arg6
= static_cast< long >(val6
);
20472 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
20476 if (!wxPyCheckForApp()) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
20492 if (arg5
) delete [] arg5
;
20505 if (arg5
) delete [] arg5
;
20511 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20512 PyObject
*resultobj
= 0;
20513 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20517 PyObject
*swig_obj
[1] ;
20519 if (!args
) SWIG_fail
;
20520 swig_obj
[0] = args
;
20521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20522 if (!SWIG_IsOK(res1
)) {
20523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20525 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 result
= (int)(arg1
)->GetSelection();
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= SWIG_From_int(static_cast< int >(result
));
20539 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20540 PyObject
*resultobj
= 0;
20541 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20545 PyObject
*swig_obj
[1] ;
20547 if (!args
) SWIG_fail
;
20548 swig_obj
[0] = args
;
20549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20550 if (!SWIG_IsOK(res1
)) {
20551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20553 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (arg1
)->GetStringSelection();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20573 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
= 0;
20575 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20581 PyObject
* obj0
= 0 ;
20582 PyObject
* obj1
= 0 ;
20583 char * kwnames
[] = {
20584 (char *) "self",(char *) "sel", NULL
20587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20589 if (!SWIG_IsOK(res1
)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20592 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20594 if (!SWIG_IsOK(ecode2
)) {
20595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
20597 arg2
= static_cast< int >(val2
);
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 (arg1
)->SetSelection(arg2
);
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= SWIG_Py_Void();
20611 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20614 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
20615 return SWIG_Py_Void();
20618 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20619 return SWIG_Python_InitShadowInstance(args
);
20622 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20623 PyObject
*resultobj
= 0;
20624 wxWindow
*arg1
= (wxWindow
*) 0 ;
20625 wxString
*arg2
= 0 ;
20626 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
20627 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20628 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20629 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20630 long arg5
= (long) wxTextEntryDialogStyle
;
20631 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
20632 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
20633 wxTextEntryDialog
*result
= 0 ;
20636 bool temp2
= false ;
20637 bool temp3
= false ;
20638 bool temp4
= false ;
20642 PyObject
* obj0
= 0 ;
20643 PyObject
* obj1
= 0 ;
20644 PyObject
* obj2
= 0 ;
20645 PyObject
* obj3
= 0 ;
20646 PyObject
* obj4
= 0 ;
20647 PyObject
* obj5
= 0 ;
20648 char * kwnames
[] = {
20649 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
20652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20654 if (!SWIG_IsOK(res1
)) {
20655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20657 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20659 arg2
= wxString_in_helper(obj1
);
20660 if (arg2
== NULL
) SWIG_fail
;
20665 arg3
= wxString_in_helper(obj2
);
20666 if (arg3
== NULL
) SWIG_fail
;
20672 arg4
= wxString_in_helper(obj3
);
20673 if (arg4
== NULL
) SWIG_fail
;
20678 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20679 if (!SWIG_IsOK(ecode5
)) {
20680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
20682 arg5
= static_cast< long >(val5
);
20687 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
20691 if (!wxPyCheckForApp()) SWIG_fail
;
20692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20693 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
20728 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20729 PyObject
*resultobj
= 0;
20730 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
20734 PyObject
*swig_obj
[1] ;
20736 if (!args
) SWIG_fail
;
20737 swig_obj
[0] = args
;
20738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
20739 if (!SWIG_IsOK(res1
)) {
20740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20742 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (arg1
)->GetValue();
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20762 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20763 PyObject
*resultobj
= 0;
20764 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
20765 wxString
*arg2
= 0 ;
20768 bool temp2
= false ;
20769 PyObject
* obj0
= 0 ;
20770 PyObject
* obj1
= 0 ;
20771 char * kwnames
[] = {
20772 (char *) "self",(char *) "value", NULL
20775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
20777 if (!SWIG_IsOK(res1
)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20780 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
20782 arg2
= wxString_in_helper(obj1
);
20783 if (arg2
== NULL
) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 (arg1
)->SetValue((wxString
const &)*arg2
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= SWIG_Py_Void();
20807 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20809 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20810 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
20811 return SWIG_Py_Void();
20814 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20815 return SWIG_Python_InitShadowInstance(args
);
20818 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
20819 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
20824 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
20825 PyObject
*pyobj
= 0;
20829 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
20831 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
20838 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
= 0;
20840 wxWindow
*arg1
= (wxWindow
*) 0 ;
20841 wxString
*arg2
= 0 ;
20842 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
20843 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20844 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20845 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20846 long arg5
= (long) wxTextEntryDialogStyle
;
20847 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
20848 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
20849 wxPasswordEntryDialog
*result
= 0 ;
20852 bool temp2
= false ;
20853 bool temp3
= false ;
20854 bool temp4
= false ;
20858 PyObject
* obj0
= 0 ;
20859 PyObject
* obj1
= 0 ;
20860 PyObject
* obj2
= 0 ;
20861 PyObject
* obj3
= 0 ;
20862 PyObject
* obj4
= 0 ;
20863 PyObject
* obj5
= 0 ;
20864 char * kwnames
[] = {
20865 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
20868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20870 if (!SWIG_IsOK(res1
)) {
20871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20873 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20875 arg2
= wxString_in_helper(obj1
);
20876 if (arg2
== NULL
) SWIG_fail
;
20881 arg3
= wxString_in_helper(obj2
);
20882 if (arg3
== NULL
) SWIG_fail
;
20888 arg4
= wxString_in_helper(obj3
);
20889 if (arg4
== NULL
) SWIG_fail
;
20894 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20895 if (!SWIG_IsOK(ecode5
)) {
20896 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
20898 arg5
= static_cast< long >(val5
);
20903 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
20943 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20946 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
20947 return SWIG_Py_Void();
20950 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20951 return SWIG_Python_InitShadowInstance(args
);
20954 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
= 0;
20956 wxWindow
*arg1
= (wxWindow
*) 0 ;
20957 wxString
*arg2
= 0 ;
20958 wxString
*arg3
= 0 ;
20959 wxString
*arg4
= 0 ;
20963 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20964 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20965 wxNumberEntryDialog
*result
= 0 ;
20968 bool temp2
= false ;
20969 bool temp3
= false ;
20970 bool temp4
= false ;
20978 PyObject
* obj0
= 0 ;
20979 PyObject
* obj1
= 0 ;
20980 PyObject
* obj2
= 0 ;
20981 PyObject
* obj3
= 0 ;
20982 PyObject
* obj4
= 0 ;
20983 PyObject
* obj5
= 0 ;
20984 PyObject
* obj6
= 0 ;
20985 PyObject
* obj7
= 0 ;
20986 char * kwnames
[] = {
20987 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
20990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20992 if (!SWIG_IsOK(res1
)) {
20993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20995 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20997 arg2
= wxString_in_helper(obj1
);
20998 if (arg2
== NULL
) SWIG_fail
;
21002 arg3
= wxString_in_helper(obj2
);
21003 if (arg3
== NULL
) SWIG_fail
;
21007 arg4
= wxString_in_helper(obj3
);
21008 if (arg4
== NULL
) SWIG_fail
;
21011 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21012 if (!SWIG_IsOK(ecode5
)) {
21013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
21015 arg5
= static_cast< long >(val5
);
21016 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21017 if (!SWIG_IsOK(ecode6
)) {
21018 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
21020 arg6
= static_cast< long >(val6
);
21021 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21022 if (!SWIG_IsOK(ecode7
)) {
21023 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
21025 arg7
= static_cast< long >(val7
);
21029 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
21033 if (!wxPyCheckForApp()) SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
21070 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21071 PyObject
*resultobj
= 0;
21072 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
21076 PyObject
*swig_obj
[1] ;
21078 if (!args
) SWIG_fail
;
21079 swig_obj
[0] = args
;
21080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
21081 if (!SWIG_IsOK(res1
)) {
21082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
21084 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 result
= (long)(arg1
)->GetValue();
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= SWIG_From_long(static_cast< long >(result
));
21098 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21101 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
21102 return SWIG_Py_Void();
21105 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21106 return SWIG_Python_InitShadowInstance(args
);
21109 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21110 PyObject
*resultobj
= 0;
21111 wxFontData
*result
= 0 ;
21113 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (wxFontData
*)new wxFontData();
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
21127 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21128 PyObject
*resultobj
= 0;
21129 wxFontData
*arg1
= (wxFontData
*) 0 ;
21132 PyObject
*swig_obj
[1] ;
21134 if (!args
) SWIG_fail
;
21135 swig_obj
[0] = args
;
21136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
21137 if (!SWIG_IsOK(res1
)) {
21138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
21140 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 resultobj
= SWIG_Py_Void();
21155 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
= 0;
21157 wxFontData
*arg1
= (wxFontData
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 PyObject
* obj1
= 0 ;
21165 char * kwnames
[] = {
21166 (char *) "self",(char *) "enable", NULL
21169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21171 if (!SWIG_IsOK(res1
)) {
21172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21174 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21175 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21176 if (!SWIG_IsOK(ecode2
)) {
21177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
21179 arg2
= static_cast< bool >(val2
);
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 (arg1
)->EnableEffects(arg2
);
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21186 resultobj
= SWIG_Py_Void();
21193 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21194 PyObject
*resultobj
= 0;
21195 wxFontData
*arg1
= (wxFontData
*) 0 ;
21199 PyObject
*swig_obj
[1] ;
21201 if (!args
) SWIG_fail
;
21202 swig_obj
[0] = args
;
21203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21204 if (!SWIG_IsOK(res1
)) {
21205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21207 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 result
= (bool)(arg1
)->GetAllowSymbols();
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21223 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21224 PyObject
*resultobj
= 0;
21225 wxFontData
*arg1
= (wxFontData
*) 0 ;
21229 PyObject
*swig_obj
[1] ;
21231 if (!args
) SWIG_fail
;
21232 swig_obj
[0] = args
;
21233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21234 if (!SWIG_IsOK(res1
)) {
21235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21237 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (arg1
)->GetColour();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21251 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21252 PyObject
*resultobj
= 0;
21253 wxFontData
*arg1
= (wxFontData
*) 0 ;
21257 PyObject
*swig_obj
[1] ;
21259 if (!args
) SWIG_fail
;
21260 swig_obj
[0] = args
;
21261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21262 if (!SWIG_IsOK(res1
)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21265 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 result
= (arg1
)->GetChosenFont();
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21279 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21280 PyObject
*resultobj
= 0;
21281 wxFontData
*arg1
= (wxFontData
*) 0 ;
21285 PyObject
*swig_obj
[1] ;
21287 if (!args
) SWIG_fail
;
21288 swig_obj
[0] = args
;
21289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21290 if (!SWIG_IsOK(res1
)) {
21291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21293 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (bool)(arg1
)->GetEnableEffects();
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21309 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21310 PyObject
*resultobj
= 0;
21311 wxFontData
*arg1
= (wxFontData
*) 0 ;
21315 PyObject
*swig_obj
[1] ;
21317 if (!args
) SWIG_fail
;
21318 swig_obj
[0] = args
;
21319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21320 if (!SWIG_IsOK(res1
)) {
21321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21323 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (arg1
)->GetInitialFont();
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21337 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21338 PyObject
*resultobj
= 0;
21339 wxFontData
*arg1
= (wxFontData
*) 0 ;
21343 PyObject
*swig_obj
[1] ;
21345 if (!args
) SWIG_fail
;
21346 swig_obj
[0] = args
;
21347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21348 if (!SWIG_IsOK(res1
)) {
21349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21351 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (bool)(arg1
)->GetShowHelp();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21367 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
= 0;
21369 wxFontData
*arg1
= (wxFontData
*) 0 ;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 char * kwnames
[] = {
21378 (char *) "self",(char *) "allowSymbols", NULL
21381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21383 if (!SWIG_IsOK(res1
)) {
21384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21386 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21387 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21388 if (!SWIG_IsOK(ecode2
)) {
21389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
21391 arg2
= static_cast< bool >(val2
);
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 (arg1
)->SetAllowSymbols(arg2
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= SWIG_Py_Void();
21405 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
= 0;
21407 wxFontData
*arg1
= (wxFontData
*) 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 char * kwnames
[] = {
21416 (char *) "self",(char *) "font", NULL
21419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21421 if (!SWIG_IsOK(res1
)) {
21422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21424 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21426 if (!SWIG_IsOK(res2
)) {
21427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21432 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21439 resultobj
= SWIG_Py_Void();
21446 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
= 0;
21448 wxFontData
*arg1
= (wxFontData
*) 0 ;
21449 wxColour
*arg2
= 0 ;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 char * kwnames
[] = {
21456 (char *) "self",(char *) "colour", NULL
21459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21461 if (!SWIG_IsOK(res1
)) {
21462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21464 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21467 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 (arg1
)->SetColour((wxColour
const &)*arg2
);
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21475 resultobj
= SWIG_Py_Void();
21482 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
= 0;
21484 wxFontData
*arg1
= (wxFontData
*) 0 ;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 char * kwnames
[] = {
21493 (char *) "self",(char *) "font", NULL
21496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21498 if (!SWIG_IsOK(res1
)) {
21499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21501 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21503 if (!SWIG_IsOK(res2
)) {
21504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21509 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= SWIG_Py_Void();
21523 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
= 0;
21525 wxFontData
*arg1
= (wxFontData
*) 0 ;
21534 PyObject
* obj0
= 0 ;
21535 PyObject
* obj1
= 0 ;
21536 PyObject
* obj2
= 0 ;
21537 char * kwnames
[] = {
21538 (char *) "self",(char *) "min",(char *) "max", NULL
21541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21543 if (!SWIG_IsOK(res1
)) {
21544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
21546 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21548 if (!SWIG_IsOK(ecode2
)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
21551 arg2
= static_cast< int >(val2
);
21552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21553 if (!SWIG_IsOK(ecode3
)) {
21554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
21556 arg3
= static_cast< int >(val3
);
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 (arg1
)->SetRange(arg2
,arg3
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= SWIG_Py_Void();
21570 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
= 0;
21572 wxFontData
*arg1
= (wxFontData
*) 0 ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 char * kwnames
[] = {
21581 (char *) "self",(char *) "showHelp", NULL
21584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21586 if (!SWIG_IsOK(res1
)) {
21587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21589 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21590 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21591 if (!SWIG_IsOK(ecode2
)) {
21592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
21594 arg2
= static_cast< bool >(val2
);
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 (arg1
)->SetShowHelp(arg2
);
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21601 resultobj
= SWIG_Py_Void();
21608 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21611 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
21612 return SWIG_Py_Void();
21615 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21616 return SWIG_Python_InitShadowInstance(args
);
21619 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
= 0;
21621 wxWindow
*arg1
= (wxWindow
*) 0 ;
21622 wxFontData
*arg2
= 0 ;
21623 wxFontDialog
*result
= 0 ;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char * kwnames
[] = {
21631 (char *) "parent",(char *) "data", NULL
21634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21636 if (!SWIG_IsOK(res1
)) {
21637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21639 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
21641 if (!SWIG_IsOK(res2
)) {
21642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21647 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
21649 if (!wxPyCheckForApp()) SWIG_fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
21662 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21663 PyObject
*resultobj
= 0;
21664 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
21665 wxFontData
*result
= 0 ;
21668 PyObject
*swig_obj
[1] ;
21670 if (!args
) SWIG_fail
;
21671 swig_obj
[0] = args
;
21672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
21673 if (!SWIG_IsOK(res1
)) {
21674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
21676 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 wxFontData
&_result_ref
= (arg1
)->GetFontData();
21681 result
= (wxFontData
*) &_result_ref
;
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
21693 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21696 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
21697 return SWIG_Py_Void();
21700 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21701 return SWIG_Python_InitShadowInstance(args
);
21704 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
= 0;
21706 wxWindow
*arg1
= (wxWindow
*) NULL
;
21707 wxFont
const &arg2_defvalue
= wxNullFont
;
21708 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
21709 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21710 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21716 bool temp3
= false ;
21717 PyObject
* obj0
= 0 ;
21718 PyObject
* obj1
= 0 ;
21719 PyObject
* obj2
= 0 ;
21720 char * kwnames
[] = {
21721 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
21724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21727 if (!SWIG_IsOK(res1
)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
21730 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21734 if (!SWIG_IsOK(res2
)) {
21735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21740 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21744 arg3
= wxString_in_helper(obj2
);
21745 if (arg3
== NULL
) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21770 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
= 0;
21772 wxWindow
*arg1
= (wxWindow
*) 0 ;
21773 wxString
*arg2
= 0 ;
21774 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
21775 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21776 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
21777 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21778 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21779 wxMessageDialog
*result
= 0 ;
21782 bool temp2
= false ;
21783 bool temp3
= false ;
21787 PyObject
* obj0
= 0 ;
21788 PyObject
* obj1
= 0 ;
21789 PyObject
* obj2
= 0 ;
21790 PyObject
* obj3
= 0 ;
21791 PyObject
* obj4
= 0 ;
21792 char * kwnames
[] = {
21793 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
21796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21798 if (!SWIG_IsOK(res1
)) {
21799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21801 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21803 arg2
= wxString_in_helper(obj1
);
21804 if (arg2
== NULL
) SWIG_fail
;
21809 arg3
= wxString_in_helper(obj2
);
21810 if (arg3
== NULL
) SWIG_fail
;
21815 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
21816 if (!SWIG_IsOK(ecode4
)) {
21817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
21819 arg4
= static_cast< long >(val4
);
21824 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21828 if (!wxPyCheckForApp()) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
21857 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21860 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
21861 return SWIG_Py_Void();
21864 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21865 return SWIG_Python_InitShadowInstance(args
);
21868 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
= 0;
21870 wxString
*arg1
= 0 ;
21871 wxString
*arg2
= 0 ;
21872 int arg3
= (int) 100 ;
21873 wxWindow
*arg4
= (wxWindow
*) NULL
;
21874 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
21875 wxProgressDialog
*result
= 0 ;
21876 bool temp1
= false ;
21877 bool temp2
= false ;
21884 PyObject
* obj0
= 0 ;
21885 PyObject
* obj1
= 0 ;
21886 PyObject
* obj2
= 0 ;
21887 PyObject
* obj3
= 0 ;
21888 PyObject
* obj4
= 0 ;
21889 char * kwnames
[] = {
21890 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
21893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21895 arg1
= wxString_in_helper(obj0
);
21896 if (arg1
== NULL
) SWIG_fail
;
21900 arg2
= wxString_in_helper(obj1
);
21901 if (arg2
== NULL
) SWIG_fail
;
21905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21906 if (!SWIG_IsOK(ecode3
)) {
21907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
21909 arg3
= static_cast< int >(val3
);
21912 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21913 if (!SWIG_IsOK(res4
)) {
21914 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
21916 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
21919 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21920 if (!SWIG_IsOK(ecode5
)) {
21921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
21923 arg5
= static_cast< int >(val5
);
21926 if (!wxPyCheckForApp()) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
21955 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
= 0;
21957 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
21959 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21960 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21961 bool *arg4
= (bool *) 0 ;
21967 bool temp3
= false ;
21969 int res4
= SWIG_TMPOBJ
;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 PyObject
* obj2
= 0 ;
21973 char * kwnames
[] = {
21974 (char *) "self",(char *) "value",(char *) "newmsg", NULL
21978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
21980 if (!SWIG_IsOK(res1
)) {
21981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
21983 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
21984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21985 if (!SWIG_IsOK(ecode2
)) {
21986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
21988 arg2
= static_cast< int >(val2
);
21991 arg3
= wxString_in_helper(obj2
);
21992 if (arg3
== NULL
) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22005 if (SWIG_IsTmpObj(res4
)) {
22006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
22008 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
22025 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
= 0;
22027 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
22028 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22029 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22030 bool *arg3
= (bool *) 0 ;
22034 bool temp2
= false ;
22036 int res3
= SWIG_TMPOBJ
;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 char * kwnames
[] = {
22040 (char *) "self",(char *) "newmsg", NULL
22044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
22046 if (!SWIG_IsOK(res1
)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22049 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
22052 arg2
= wxString_in_helper(obj1
);
22053 if (arg2
== NULL
) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22066 if (SWIG_IsTmpObj(res3
)) {
22067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
22069 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
22086 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22087 PyObject
*resultobj
= 0;
22088 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
22091 PyObject
*swig_obj
[1] ;
22093 if (!args
) SWIG_fail
;
22094 swig_obj
[0] = args
;
22095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
22096 if (!SWIG_IsOK(res1
)) {
22097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22099 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 wxPyEndAllowThreads(__tstate
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22106 resultobj
= SWIG_Py_Void();
22113 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22116 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
22117 return SWIG_Py_Void();
22120 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22121 return SWIG_Python_InitShadowInstance(args
);
22124 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
= 0;
22126 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22127 int arg2
= (int) 0 ;
22128 wxFindDialogEvent
*result
= 0 ;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 char * kwnames
[] = {
22136 (char *) "commandType",(char *) "id", NULL
22139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22141 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22142 if (!SWIG_IsOK(ecode1
)) {
22143 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22145 arg1
= static_cast< wxEventType
>(val1
);
22148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22149 if (!SWIG_IsOK(ecode2
)) {
22150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
22152 arg2
= static_cast< int >(val2
);
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
22167 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22168 PyObject
*resultobj
= 0;
22169 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22173 PyObject
*swig_obj
[1] ;
22175 if (!args
) SWIG_fail
;
22176 swig_obj
[0] = args
;
22177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22178 if (!SWIG_IsOK(res1
)) {
22179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22181 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= (int)(arg1
)->GetFlags();
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= SWIG_From_int(static_cast< int >(result
));
22195 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22196 PyObject
*resultobj
= 0;
22197 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22198 wxString
*result
= 0 ;
22201 PyObject
*swig_obj
[1] ;
22203 if (!args
) SWIG_fail
;
22204 swig_obj
[0] = args
;
22205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22206 if (!SWIG_IsOK(res1
)) {
22207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22209 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 wxString
const &_result_ref
= (arg1
)->GetFindString();
22214 result
= (wxString
*) &_result_ref
;
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22223 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22232 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22233 PyObject
*resultobj
= 0;
22234 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22235 wxString
*result
= 0 ;
22238 PyObject
*swig_obj
[1] ;
22240 if (!args
) SWIG_fail
;
22241 swig_obj
[0] = args
;
22242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22243 if (!SWIG_IsOK(res1
)) {
22244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22246 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
22251 result
= (wxString
*) &_result_ref
;
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22260 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22269 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22270 PyObject
*resultobj
= 0;
22271 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22272 wxFindReplaceDialog
*result
= 0 ;
22275 PyObject
*swig_obj
[1] ;
22277 if (!args
) SWIG_fail
;
22278 swig_obj
[0] = args
;
22279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22280 if (!SWIG_IsOK(res1
)) {
22281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22283 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22297 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
= 0;
22299 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22305 PyObject
* obj0
= 0 ;
22306 PyObject
* obj1
= 0 ;
22307 char * kwnames
[] = {
22308 (char *) "self",(char *) "flags", NULL
22311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22313 if (!SWIG_IsOK(res1
)) {
22314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22316 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22318 if (!SWIG_IsOK(ecode2
)) {
22319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
22321 arg2
= static_cast< int >(val2
);
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 (arg1
)->SetFlags(arg2
);
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22328 resultobj
= SWIG_Py_Void();
22335 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
= 0;
22337 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22338 wxString
*arg2
= 0 ;
22341 bool temp2
= false ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 char * kwnames
[] = {
22345 (char *) "self",(char *) "str", NULL
22348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22353 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22355 arg2
= wxString_in_helper(obj1
);
22356 if (arg2
== NULL
) SWIG_fail
;
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 (arg1
)->SetFindString((wxString
const &)*arg2
);
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= SWIG_Py_Void();
22380 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
= 0;
22382 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22383 wxString
*arg2
= 0 ;
22386 bool temp2
= false ;
22387 PyObject
* obj0
= 0 ;
22388 PyObject
* obj1
= 0 ;
22389 char * kwnames
[] = {
22390 (char *) "self",(char *) "str", NULL
22393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22395 if (!SWIG_IsOK(res1
)) {
22396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22398 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22400 arg2
= wxString_in_helper(obj1
);
22401 if (arg2
== NULL
) SWIG_fail
;
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= SWIG_Py_Void();
22425 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22428 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
22429 return SWIG_Py_Void();
22432 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22433 return SWIG_Python_InitShadowInstance(args
);
22436 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
= 0;
22438 int arg1
= (int) 0 ;
22439 wxFindReplaceData
*result
= 0 ;
22442 PyObject
* obj0
= 0 ;
22443 char * kwnames
[] = {
22444 (char *) "flags", NULL
22447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
22449 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22450 if (!SWIG_IsOK(ecode1
)) {
22451 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
22453 arg1
= static_cast< int >(val1
);
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
22468 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22469 PyObject
*resultobj
= 0;
22470 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22473 PyObject
*swig_obj
[1] ;
22475 if (!args
) SWIG_fail
;
22476 swig_obj
[0] = args
;
22477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
22478 if (!SWIG_IsOK(res1
)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22481 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22489 resultobj
= SWIG_Py_Void();
22496 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22497 PyObject
*resultobj
= 0;
22498 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22499 wxString
*result
= 0 ;
22502 PyObject
*swig_obj
[1] ;
22504 if (!args
) SWIG_fail
;
22505 swig_obj
[0] = args
;
22506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22507 if (!SWIG_IsOK(res1
)) {
22508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22510 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 wxString
const &_result_ref
= (arg1
)->GetFindString();
22515 result
= (wxString
*) &_result_ref
;
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22522 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22524 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22533 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22534 PyObject
*resultobj
= 0;
22535 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22536 wxString
*result
= 0 ;
22539 PyObject
*swig_obj
[1] ;
22541 if (!args
) SWIG_fail
;
22542 swig_obj
[0] = args
;
22543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22544 if (!SWIG_IsOK(res1
)) {
22545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22547 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
22552 result
= (wxString
*) &_result_ref
;
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22559 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22561 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22570 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22571 PyObject
*resultobj
= 0;
22572 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22576 PyObject
*swig_obj
[1] ;
22578 if (!args
) SWIG_fail
;
22579 swig_obj
[0] = args
;
22580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22581 if (!SWIG_IsOK(res1
)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22584 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= (int)(arg1
)->GetFlags();
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= SWIG_From_int(static_cast< int >(result
));
22598 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
= 0;
22600 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 PyObject
* obj1
= 0 ;
22608 char * kwnames
[] = {
22609 (char *) "self",(char *) "flags", NULL
22612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22614 if (!SWIG_IsOK(res1
)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22617 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22619 if (!SWIG_IsOK(ecode2
)) {
22620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
22622 arg2
= static_cast< int >(val2
);
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 (arg1
)->SetFlags(arg2
);
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 resultobj
= SWIG_Py_Void();
22636 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
= 0;
22638 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22639 wxString
*arg2
= 0 ;
22642 bool temp2
= false ;
22643 PyObject
* obj0
= 0 ;
22644 PyObject
* obj1
= 0 ;
22645 char * kwnames
[] = {
22646 (char *) "self",(char *) "str", NULL
22649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22651 if (!SWIG_IsOK(res1
)) {
22652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22654 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22656 arg2
= wxString_in_helper(obj1
);
22657 if (arg2
== NULL
) SWIG_fail
;
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 (arg1
)->SetFindString((wxString
const &)*arg2
);
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= SWIG_Py_Void();
22681 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
= 0;
22683 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22684 wxString
*arg2
= 0 ;
22687 bool temp2
= false ;
22688 PyObject
* obj0
= 0 ;
22689 PyObject
* obj1
= 0 ;
22690 char * kwnames
[] = {
22691 (char *) "self",(char *) "str", NULL
22694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22696 if (!SWIG_IsOK(res1
)) {
22697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22699 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22701 arg2
= wxString_in_helper(obj1
);
22702 if (arg2
== NULL
) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
22708 wxPyEndAllowThreads(__tstate
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= SWIG_Py_Void();
22726 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22729 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
22730 return SWIG_Py_Void();
22733 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22734 return SWIG_Python_InitShadowInstance(args
);
22737 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
= 0;
22739 wxWindow
*arg1
= (wxWindow
*) 0 ;
22740 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
22741 wxString
*arg3
= 0 ;
22742 int arg4
= (int) 0 ;
22743 wxFindReplaceDialog
*result
= 0 ;
22748 bool temp3
= false ;
22751 PyObject
* obj0
= 0 ;
22752 PyObject
* obj1
= 0 ;
22753 PyObject
* obj2
= 0 ;
22754 PyObject
* obj3
= 0 ;
22755 char * kwnames
[] = {
22756 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22761 if (!SWIG_IsOK(res1
)) {
22762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
22764 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22766 if (!SWIG_IsOK(res2
)) {
22767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22769 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
22771 arg3
= wxString_in_helper(obj2
);
22772 if (arg3
== NULL
) SWIG_fail
;
22776 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22777 if (!SWIG_IsOK(ecode4
)) {
22778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
22780 arg4
= static_cast< int >(val4
);
22783 if (!wxPyCheckForApp()) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
22804 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22805 PyObject
*resultobj
= 0;
22806 wxFindReplaceDialog
*result
= 0 ;
22808 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
22810 if (!wxPyCheckForApp()) SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
22823 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
= 0;
22825 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22826 wxWindow
*arg2
= (wxWindow
*) 0 ;
22827 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
22828 wxString
*arg4
= 0 ;
22829 int arg5
= (int) 0 ;
22837 bool temp4
= false ;
22840 PyObject
* obj0
= 0 ;
22841 PyObject
* obj1
= 0 ;
22842 PyObject
* obj2
= 0 ;
22843 PyObject
* obj3
= 0 ;
22844 PyObject
* obj4
= 0 ;
22845 char * kwnames
[] = {
22846 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22851 if (!SWIG_IsOK(res1
)) {
22852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22854 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22856 if (!SWIG_IsOK(res2
)) {
22857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22859 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22860 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22861 if (!SWIG_IsOK(res3
)) {
22862 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
22864 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
22866 arg4
= wxString_in_helper(obj3
);
22867 if (arg4
== NULL
) SWIG_fail
;
22871 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22872 if (!SWIG_IsOK(ecode5
)) {
22873 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
22875 arg5
= static_cast< int >(val5
);
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22900 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22901 PyObject
*resultobj
= 0;
22902 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22903 wxFindReplaceData
*result
= 0 ;
22906 PyObject
*swig_obj
[1] ;
22908 if (!args
) SWIG_fail
;
22909 swig_obj
[0] = args
;
22910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22911 if (!SWIG_IsOK(res1
)) {
22912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22914 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22917 result
= (wxFindReplaceData
*)(arg1
)->GetData();
22918 wxPyEndAllowThreads(__tstate
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22928 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22929 PyObject
*resultobj
= 0;
22930 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22931 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
22936 PyObject
* obj0
= 0 ;
22937 PyObject
* obj1
= 0 ;
22938 char * kwnames
[] = {
22939 (char *) "self",(char *) "data", NULL
22942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22947 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22949 if (!SWIG_IsOK(res2
)) {
22950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22952 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 (arg1
)->SetData(arg2
);
22956 wxPyEndAllowThreads(__tstate
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= SWIG_Py_Void();
22966 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22969 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
22970 return SWIG_Py_Void();
22973 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22974 return SWIG_Python_InitShadowInstance(args
);
22977 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
= 0;
22979 wxWindow
*arg1
= (wxWindow
*) 0 ;
22980 int arg2
= (int) (int)-1 ;
22981 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22987 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
22988 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22989 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22990 wxMDIParentFrame
*result
= 0 ;
22995 bool temp3
= false ;
23000 bool temp7
= false ;
23001 PyObject
* obj0
= 0 ;
23002 PyObject
* obj1
= 0 ;
23003 PyObject
* obj2
= 0 ;
23004 PyObject
* obj3
= 0 ;
23005 PyObject
* obj4
= 0 ;
23006 PyObject
* obj5
= 0 ;
23007 PyObject
* obj6
= 0 ;
23008 char * kwnames
[] = {
23009 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23014 if (!SWIG_IsOK(res1
)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
23017 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23020 if (!SWIG_IsOK(ecode2
)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
23023 arg2
= static_cast< int >(val2
);
23027 arg3
= wxString_in_helper(obj2
);
23028 if (arg3
== NULL
) SWIG_fail
;
23035 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23041 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23045 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
23046 if (!SWIG_IsOK(ecode6
)) {
23047 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
23049 arg6
= static_cast< long >(val6
);
23053 arg7
= wxString_in_helper(obj6
);
23054 if (arg7
== NULL
) SWIG_fail
;
23059 if (!wxPyCheckForApp()) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
23088 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23089 PyObject
*resultobj
= 0;
23090 wxMDIParentFrame
*result
= 0 ;
23092 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
23094 if (!wxPyCheckForApp()) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
23107 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
= 0;
23109 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23110 wxWindow
*arg2
= (wxWindow
*) 0 ;
23111 int arg3
= (int) (int)-1 ;
23112 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23113 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23114 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23115 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23116 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23117 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23118 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
23119 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
23120 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23128 bool temp4
= false ;
23133 bool temp8
= false ;
23134 PyObject
* obj0
= 0 ;
23135 PyObject
* obj1
= 0 ;
23136 PyObject
* obj2
= 0 ;
23137 PyObject
* obj3
= 0 ;
23138 PyObject
* obj4
= 0 ;
23139 PyObject
* obj5
= 0 ;
23140 PyObject
* obj6
= 0 ;
23141 PyObject
* obj7
= 0 ;
23142 char * kwnames
[] = {
23143 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23151 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23153 if (!SWIG_IsOK(res2
)) {
23154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
23156 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23159 if (!SWIG_IsOK(ecode3
)) {
23160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
23162 arg3
= static_cast< int >(val3
);
23166 arg4
= wxString_in_helper(obj3
);
23167 if (arg4
== NULL
) SWIG_fail
;
23174 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23180 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23184 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
23185 if (!SWIG_IsOK(ecode7
)) {
23186 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
23188 arg7
= static_cast< long >(val7
);
23192 arg8
= wxString_in_helper(obj7
);
23193 if (arg8
== NULL
) SWIG_fail
;
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23228 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23229 PyObject
*resultobj
= 0;
23230 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23233 PyObject
*swig_obj
[1] ;
23235 if (!args
) SWIG_fail
;
23236 swig_obj
[0] = args
;
23237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23238 if (!SWIG_IsOK(res1
)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23241 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 (arg1
)->ActivateNext();
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= SWIG_Py_Void();
23255 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23256 PyObject
*resultobj
= 0;
23257 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23260 PyObject
*swig_obj
[1] ;
23262 if (!args
) SWIG_fail
;
23263 swig_obj
[0] = args
;
23264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23265 if (!SWIG_IsOK(res1
)) {
23266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23268 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 (arg1
)->ActivatePrevious();
23272 wxPyEndAllowThreads(__tstate
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23275 resultobj
= SWIG_Py_Void();
23282 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23283 PyObject
*resultobj
= 0;
23284 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23287 PyObject
*swig_obj
[1] ;
23289 if (!args
) SWIG_fail
;
23290 swig_obj
[0] = args
;
23291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23292 if (!SWIG_IsOK(res1
)) {
23293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23295 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 (arg1
)->ArrangeIcons();
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= SWIG_Py_Void();
23309 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23310 PyObject
*resultobj
= 0;
23311 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23314 PyObject
*swig_obj
[1] ;
23316 if (!args
) SWIG_fail
;
23317 swig_obj
[0] = args
;
23318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23319 if (!SWIG_IsOK(res1
)) {
23320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23322 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 resultobj
= SWIG_Py_Void();
23336 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23337 PyObject
*resultobj
= 0;
23338 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23339 wxMDIChildFrame
*result
= 0 ;
23342 PyObject
*swig_obj
[1] ;
23344 if (!args
) SWIG_fail
;
23345 swig_obj
[0] = args
;
23346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23347 if (!SWIG_IsOK(res1
)) {
23348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23350 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23366 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23367 PyObject
*resultobj
= 0;
23368 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23369 wxMDIClientWindow
*result
= 0 ;
23372 PyObject
*swig_obj
[1] ;
23374 if (!args
) SWIG_fail
;
23375 swig_obj
[0] = args
;
23376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23377 if (!SWIG_IsOK(res1
)) {
23378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23380 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23388 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23396 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
= 0;
23398 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23399 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
23404 PyObject
* obj0
= 0 ;
23405 PyObject
* obj1
= 0 ;
23406 char * kwnames
[] = {
23407 (char *) "self",(char *) "orient", NULL
23410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23412 if (!SWIG_IsOK(res1
)) {
23413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23415 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23418 if (!SWIG_IsOK(ecode2
)) {
23419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
23421 arg2
= static_cast< wxOrientation
>(val2
);
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 (arg1
)->Tile(arg2
);
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23429 resultobj
= SWIG_Py_Void();
23436 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23439 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
23440 return SWIG_Py_Void();
23443 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23444 return SWIG_Python_InitShadowInstance(args
);
23447 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
= 0;
23449 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23450 int arg2
= (int) (int)-1 ;
23451 wxString
const &arg3_defvalue
= wxPyEmptyString
;
23452 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23453 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23454 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23455 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23456 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23457 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23458 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23459 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23460 wxMDIChildFrame
*result
= 0 ;
23465 bool temp3
= false ;
23470 bool temp7
= false ;
23471 PyObject
* obj0
= 0 ;
23472 PyObject
* obj1
= 0 ;
23473 PyObject
* obj2
= 0 ;
23474 PyObject
* obj3
= 0 ;
23475 PyObject
* obj4
= 0 ;
23476 PyObject
* obj5
= 0 ;
23477 PyObject
* obj6
= 0 ;
23478 char * kwnames
[] = {
23479 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23484 if (!SWIG_IsOK(res1
)) {
23485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23487 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23490 if (!SWIG_IsOK(ecode2
)) {
23491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
23493 arg2
= static_cast< int >(val2
);
23497 arg3
= wxString_in_helper(obj2
);
23498 if (arg3
== NULL
) SWIG_fail
;
23505 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23511 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23515 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
23516 if (!SWIG_IsOK(ecode6
)) {
23517 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
23519 arg6
= static_cast< long >(val6
);
23523 arg7
= wxString_in_helper(obj6
);
23524 if (arg7
== NULL
) SWIG_fail
;
23529 if (!wxPyCheckForApp()) SWIG_fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
23558 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23559 PyObject
*resultobj
= 0;
23560 wxMDIChildFrame
*result
= 0 ;
23562 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
23564 if (!wxPyCheckForApp()) SWIG_fail
;
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
23577 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23578 PyObject
*resultobj
= 0;
23579 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
23580 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
23581 int arg3
= (int) (int)-1 ;
23582 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23583 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23584 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23585 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23586 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23587 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23588 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
23589 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
23590 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23598 bool temp4
= false ;
23603 bool temp8
= false ;
23604 PyObject
* obj0
= 0 ;
23605 PyObject
* obj1
= 0 ;
23606 PyObject
* obj2
= 0 ;
23607 PyObject
* obj3
= 0 ;
23608 PyObject
* obj4
= 0 ;
23609 PyObject
* obj5
= 0 ;
23610 PyObject
* obj6
= 0 ;
23611 PyObject
* obj7
= 0 ;
23612 char * kwnames
[] = {
23613 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
23618 if (!SWIG_IsOK(res1
)) {
23619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23621 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
23622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23623 if (!SWIG_IsOK(res2
)) {
23624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23626 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
23628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23629 if (!SWIG_IsOK(ecode3
)) {
23630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
23632 arg3
= static_cast< int >(val3
);
23636 arg4
= wxString_in_helper(obj3
);
23637 if (arg4
== NULL
) SWIG_fail
;
23644 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23650 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23654 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
23655 if (!SWIG_IsOK(ecode7
)) {
23656 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
23658 arg7
= static_cast< long >(val7
);
23662 arg8
= wxString_in_helper(obj7
);
23663 if (arg8
== NULL
) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23698 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23699 PyObject
*resultobj
= 0;
23700 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
23703 PyObject
*swig_obj
[1] ;
23705 if (!args
) SWIG_fail
;
23706 swig_obj
[0] = args
;
23707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
23708 if (!SWIG_IsOK(res1
)) {
23709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23711 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 (arg1
)->Activate();
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= SWIG_Py_Void();
23725 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23728 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
23729 return SWIG_Py_Void();
23732 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23733 return SWIG_Python_InitShadowInstance(args
);
23736 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
= 0;
23738 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23739 long arg2
= (long) 0 ;
23740 wxMDIClientWindow
*result
= 0 ;
23745 PyObject
* obj0
= 0 ;
23746 PyObject
* obj1
= 0 ;
23747 char * kwnames
[] = {
23748 (char *) "parent",(char *) "style", NULL
23751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23753 if (!SWIG_IsOK(res1
)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23756 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23758 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
23759 if (!SWIG_IsOK(ecode2
)) {
23760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
23762 arg2
= static_cast< long >(val2
);
23765 if (!wxPyCheckForApp()) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
23778 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23779 PyObject
*resultobj
= 0;
23780 wxMDIClientWindow
*result
= 0 ;
23782 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
23784 if (!wxPyCheckForApp()) SWIG_fail
;
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
23797 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
= 0;
23799 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
23800 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
23801 long arg3
= (long) 0 ;
23809 PyObject
* obj0
= 0 ;
23810 PyObject
* obj1
= 0 ;
23811 PyObject
* obj2
= 0 ;
23812 char * kwnames
[] = {
23813 (char *) "self",(char *) "parent",(char *) "style", NULL
23816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
23818 if (!SWIG_IsOK(res1
)) {
23819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
23821 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
23822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23823 if (!SWIG_IsOK(res2
)) {
23824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23826 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
23828 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
23829 if (!SWIG_IsOK(ecode3
)) {
23830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
23832 arg3
= static_cast< long >(val3
);
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 result
= (bool)(arg1
)->Create(arg2
,arg3
);
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23849 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23851 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23852 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
23853 return SWIG_Py_Void();
23856 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23857 return SWIG_Python_InitShadowInstance(args
);
23860 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
= 0;
23862 wxWindow
*arg1
= (wxWindow
*) 0 ;
23863 int arg2
= (int) (int)-1 ;
23864 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23865 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23866 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23867 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23868 long arg5
= (long) 0 ;
23869 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23870 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23871 wxPyWindow
*result
= 0 ;
23880 bool temp6
= false ;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23883 PyObject
* obj2
= 0 ;
23884 PyObject
* obj3
= 0 ;
23885 PyObject
* obj4
= 0 ;
23886 PyObject
* obj5
= 0 ;
23887 char * kwnames
[] = {
23888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23893 if (!SWIG_IsOK(res1
)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23896 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23899 if (!SWIG_IsOK(ecode2
)) {
23900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
23902 arg2
= static_cast< int >(val2
);
23907 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23913 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23917 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23918 if (!SWIG_IsOK(ecode5
)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
23921 arg5
= static_cast< long >(val5
);
23925 arg6
= wxString_in_helper(obj5
);
23926 if (arg6
== NULL
) SWIG_fail
;
23931 if (!wxPyCheckForApp()) SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
23952 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23953 PyObject
*resultobj
= 0;
23954 wxPyWindow
*result
= 0 ;
23956 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
23958 if (!wxPyCheckForApp()) SWIG_fail
;
23959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23960 result
= (wxPyWindow
*)new wxPyWindow();
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
23971 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
= 0;
23973 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
23974 PyObject
*arg2
= (PyObject
*) 0 ;
23975 PyObject
*arg3
= (PyObject
*) 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 PyObject
* obj2
= 0 ;
23981 char * kwnames
[] = {
23982 (char *) "self",(char *) "self",(char *) "_class", NULL
23985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
23987 if (!SWIG_IsOK(res1
)) {
23988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23990 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
23999 resultobj
= SWIG_Py_Void();
24006 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
= 0;
24008 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24009 wxDC
*arg2
= (wxDC
*) 0 ;
24015 PyObject
* obj0
= 0 ;
24016 PyObject
* obj1
= 0 ;
24017 char * kwnames
[] = {
24018 (char *) "self",(char *) "dc", NULL
24021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24023 if (!SWIG_IsOK(res1
)) {
24024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24026 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
24028 if (!SWIG_IsOK(res2
)) {
24029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24031 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24047 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24048 PyObject
*resultobj
= 0;
24049 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 PyObject
* obj2
= 0 ;
24067 PyObject
* obj3
= 0 ;
24068 PyObject
* obj4
= 0 ;
24069 char * kwnames
[] = {
24070 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24075 if (!SWIG_IsOK(res1
)) {
24076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24078 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24080 if (!SWIG_IsOK(ecode2
)) {
24081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24083 arg2
= static_cast< int >(val2
);
24084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24085 if (!SWIG_IsOK(ecode3
)) {
24086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24088 arg3
= static_cast< int >(val3
);
24089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24090 if (!SWIG_IsOK(ecode4
)) {
24091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24093 arg4
= static_cast< int >(val4
);
24094 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24095 if (!SWIG_IsOK(ecode5
)) {
24096 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24098 arg5
= static_cast< int >(val5
);
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 resultobj
= SWIG_Py_Void();
24112 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
= 0;
24114 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24119 int arg6
= (int) wxSIZE_AUTO
;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 PyObject
* obj2
= 0 ;
24135 PyObject
* obj3
= 0 ;
24136 PyObject
* obj4
= 0 ;
24137 PyObject
* obj5
= 0 ;
24138 char * kwnames
[] = {
24139 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24144 if (!SWIG_IsOK(res1
)) {
24145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24147 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24149 if (!SWIG_IsOK(ecode2
)) {
24150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24152 arg2
= static_cast< int >(val2
);
24153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24154 if (!SWIG_IsOK(ecode3
)) {
24155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24157 arg3
= static_cast< int >(val3
);
24158 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24159 if (!SWIG_IsOK(ecode4
)) {
24160 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24162 arg4
= static_cast< int >(val4
);
24163 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24164 if (!SWIG_IsOK(ecode5
)) {
24165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24167 arg5
= static_cast< int >(val5
);
24169 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24170 if (!SWIG_IsOK(ecode6
)) {
24171 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24173 arg6
= static_cast< int >(val6
);
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= SWIG_Py_Void();
24188 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
= 0;
24190 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24199 PyObject
* obj0
= 0 ;
24200 PyObject
* obj1
= 0 ;
24201 PyObject
* obj2
= 0 ;
24202 char * kwnames
[] = {
24203 (char *) "self",(char *) "width",(char *) "height", NULL
24206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24208 if (!SWIG_IsOK(res1
)) {
24209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24211 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24213 if (!SWIG_IsOK(ecode2
)) {
24214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24216 arg2
= static_cast< int >(val2
);
24217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24218 if (!SWIG_IsOK(ecode3
)) {
24219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24221 arg3
= static_cast< int >(val3
);
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 (arg1
)->DoSetClientSize(arg2
,arg3
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= SWIG_Py_Void();
24235 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
= 0;
24237 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24246 PyObject
* obj0
= 0 ;
24247 PyObject
* obj1
= 0 ;
24248 PyObject
* obj2
= 0 ;
24249 char * kwnames
[] = {
24250 (char *) "self",(char *) "x",(char *) "y", NULL
24253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24255 if (!SWIG_IsOK(res1
)) {
24256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24258 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24260 if (!SWIG_IsOK(ecode2
)) {
24261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24263 arg2
= static_cast< int >(val2
);
24264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24265 if (!SWIG_IsOK(ecode3
)) {
24266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24268 arg3
= static_cast< int >(val3
);
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= SWIG_Py_Void();
24282 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24283 PyObject
*resultobj
= 0;
24284 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24285 int *arg2
= (int *) 0 ;
24286 int *arg3
= (int *) 0 ;
24290 int res2
= SWIG_TMPOBJ
;
24292 int res3
= SWIG_TMPOBJ
;
24293 PyObject
*swig_obj
[1] ;
24297 if (!args
) SWIG_fail
;
24298 swig_obj
[0] = args
;
24299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24300 if (!SWIG_IsOK(res1
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24303 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= SWIG_Py_Void();
24311 if (SWIG_IsTmpObj(res2
)) {
24312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24314 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24317 if (SWIG_IsTmpObj(res3
)) {
24318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24320 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24329 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24330 PyObject
*resultobj
= 0;
24331 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24332 int *arg2
= (int *) 0 ;
24333 int *arg3
= (int *) 0 ;
24337 int res2
= SWIG_TMPOBJ
;
24339 int res3
= SWIG_TMPOBJ
;
24340 PyObject
*swig_obj
[1] ;
24344 if (!args
) SWIG_fail
;
24345 swig_obj
[0] = args
;
24346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24347 if (!SWIG_IsOK(res1
)) {
24348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24350 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= SWIG_Py_Void();
24358 if (SWIG_IsTmpObj(res2
)) {
24359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24361 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24364 if (SWIG_IsTmpObj(res3
)) {
24365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24367 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24376 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24377 PyObject
*resultobj
= 0;
24378 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24379 int *arg2
= (int *) 0 ;
24380 int *arg3
= (int *) 0 ;
24384 int res2
= SWIG_TMPOBJ
;
24386 int res3
= SWIG_TMPOBJ
;
24387 PyObject
*swig_obj
[1] ;
24391 if (!args
) SWIG_fail
;
24392 swig_obj
[0] = args
;
24393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24394 if (!SWIG_IsOK(res1
)) {
24395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24397 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 resultobj
= SWIG_Py_Void();
24405 if (SWIG_IsTmpObj(res2
)) {
24406 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24408 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24409 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24411 if (SWIG_IsTmpObj(res3
)) {
24412 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24414 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24415 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24423 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24424 PyObject
*resultobj
= 0;
24425 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24429 PyObject
*swig_obj
[1] ;
24431 if (!args
) SWIG_fail
;
24432 swig_obj
[0] = args
;
24433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24434 if (!SWIG_IsOK(res1
)) {
24435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24437 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
24441 wxPyEndAllowThreads(__tstate
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24444 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24451 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24452 PyObject
*resultobj
= 0;
24453 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24457 PyObject
*swig_obj
[1] ;
24459 if (!args
) SWIG_fail
;
24460 swig_obj
[0] = args
;
24461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24462 if (!SWIG_IsOK(res1
)) {
24463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24465 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24472 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24479 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24480 PyObject
*resultobj
= 0;
24481 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24482 SwigValueWrapper
<wxVisualAttributes
> result
;
24485 PyObject
*swig_obj
[1] ;
24487 if (!args
) SWIG_fail
;
24488 swig_obj
[0] = args
;
24489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24490 if (!SWIG_IsOK(res1
)) {
24491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24493 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= (arg1
)->GetDefaultAttributes();
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
24507 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24508 PyObject
*resultobj
= 0;
24509 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24512 PyObject
*swig_obj
[1] ;
24514 if (!args
) SWIG_fail
;
24515 swig_obj
[0] = args
;
24516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24517 if (!SWIG_IsOK(res1
)) {
24518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24520 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 (arg1
)->OnInternalIdle();
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24527 resultobj
= SWIG_Py_Void();
24534 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24537 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
24538 return SWIG_Py_Void();
24541 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24542 return SWIG_Python_InitShadowInstance(args
);
24545 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24546 PyObject
*resultobj
= 0;
24547 wxWindow
*arg1
= (wxWindow
*) 0 ;
24548 int arg2
= (int) (int)-1 ;
24549 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24550 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24551 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24552 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24553 long arg5
= (long) 0 ;
24554 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24555 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24556 wxPyPanel
*result
= 0 ;
24565 bool temp6
= false ;
24566 PyObject
* obj0
= 0 ;
24567 PyObject
* obj1
= 0 ;
24568 PyObject
* obj2
= 0 ;
24569 PyObject
* obj3
= 0 ;
24570 PyObject
* obj4
= 0 ;
24571 PyObject
* obj5
= 0 ;
24572 char * kwnames
[] = {
24573 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24578 if (!SWIG_IsOK(res1
)) {
24579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
24581 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24584 if (!SWIG_IsOK(ecode2
)) {
24585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
24587 arg2
= static_cast< int >(val2
);
24592 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24598 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24602 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
24603 if (!SWIG_IsOK(ecode5
)) {
24604 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
24606 arg5
= static_cast< long >(val5
);
24610 arg6
= wxString_in_helper(obj5
);
24611 if (arg6
== NULL
) SWIG_fail
;
24616 if (!wxPyCheckForApp()) SWIG_fail
;
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
24637 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24638 PyObject
*resultobj
= 0;
24639 wxPyPanel
*result
= 0 ;
24641 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
24643 if (!wxPyCheckForApp()) SWIG_fail
;
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 result
= (wxPyPanel
*)new wxPyPanel();
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
24656 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
= 0;
24658 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24659 PyObject
*arg2
= (PyObject
*) 0 ;
24660 PyObject
*arg3
= (PyObject
*) 0 ;
24663 PyObject
* obj0
= 0 ;
24664 PyObject
* obj1
= 0 ;
24665 PyObject
* obj2
= 0 ;
24666 char * kwnames
[] = {
24667 (char *) "self",(char *) "self",(char *) "_class", NULL
24670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24672 if (!SWIG_IsOK(res1
)) {
24673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24675 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24684 resultobj
= SWIG_Py_Void();
24691 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24692 PyObject
*resultobj
= 0;
24693 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24694 wxDC
*arg2
= (wxDC
*) 0 ;
24700 PyObject
* obj0
= 0 ;
24701 PyObject
* obj1
= 0 ;
24702 char * kwnames
[] = {
24703 (char *) "self",(char *) "dc", NULL
24706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24708 if (!SWIG_IsOK(res1
)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24711 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
24713 if (!SWIG_IsOK(res2
)) {
24714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24716 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24732 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
= 0;
24734 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24749 PyObject
* obj0
= 0 ;
24750 PyObject
* obj1
= 0 ;
24751 PyObject
* obj2
= 0 ;
24752 PyObject
* obj3
= 0 ;
24753 PyObject
* obj4
= 0 ;
24754 char * kwnames
[] = {
24755 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24760 if (!SWIG_IsOK(res1
)) {
24761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24763 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24765 if (!SWIG_IsOK(ecode2
)) {
24766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24768 arg2
= static_cast< int >(val2
);
24769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24770 if (!SWIG_IsOK(ecode3
)) {
24771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24773 arg3
= static_cast< int >(val3
);
24774 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24775 if (!SWIG_IsOK(ecode4
)) {
24776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24778 arg4
= static_cast< int >(val4
);
24779 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24780 if (!SWIG_IsOK(ecode5
)) {
24781 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24783 arg5
= static_cast< int >(val5
);
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= SWIG_Py_Void();
24797 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24798 PyObject
*resultobj
= 0;
24799 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24804 int arg6
= (int) wxSIZE_AUTO
;
24817 PyObject
* obj0
= 0 ;
24818 PyObject
* obj1
= 0 ;
24819 PyObject
* obj2
= 0 ;
24820 PyObject
* obj3
= 0 ;
24821 PyObject
* obj4
= 0 ;
24822 PyObject
* obj5
= 0 ;
24823 char * kwnames
[] = {
24824 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24829 if (!SWIG_IsOK(res1
)) {
24830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24832 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24834 if (!SWIG_IsOK(ecode2
)) {
24835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24837 arg2
= static_cast< int >(val2
);
24838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24839 if (!SWIG_IsOK(ecode3
)) {
24840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24842 arg3
= static_cast< int >(val3
);
24843 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24844 if (!SWIG_IsOK(ecode4
)) {
24845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24847 arg4
= static_cast< int >(val4
);
24848 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24849 if (!SWIG_IsOK(ecode5
)) {
24850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24852 arg5
= static_cast< int >(val5
);
24854 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24855 if (!SWIG_IsOK(ecode6
)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24858 arg6
= static_cast< int >(val6
);
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24866 resultobj
= SWIG_Py_Void();
24873 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
= 0;
24875 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24884 PyObject
* obj0
= 0 ;
24885 PyObject
* obj1
= 0 ;
24886 PyObject
* obj2
= 0 ;
24887 char * kwnames
[] = {
24888 (char *) "self",(char *) "width",(char *) "height", NULL
24891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24893 if (!SWIG_IsOK(res1
)) {
24894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24896 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24898 if (!SWIG_IsOK(ecode2
)) {
24899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24901 arg2
= static_cast< int >(val2
);
24902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24903 if (!SWIG_IsOK(ecode3
)) {
24904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24906 arg3
= static_cast< int >(val3
);
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 (arg1
)->DoSetClientSize(arg2
,arg3
);
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= SWIG_Py_Void();
24920 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
= 0;
24922 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 PyObject
* obj2
= 0 ;
24934 char * kwnames
[] = {
24935 (char *) "self",(char *) "x",(char *) "y", NULL
24938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24940 if (!SWIG_IsOK(res1
)) {
24941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24943 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24945 if (!SWIG_IsOK(ecode2
)) {
24946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24948 arg2
= static_cast< int >(val2
);
24949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24950 if (!SWIG_IsOK(ecode3
)) {
24951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24953 arg3
= static_cast< int >(val3
);
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 resultobj
= SWIG_Py_Void();
24967 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24968 PyObject
*resultobj
= 0;
24969 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24970 int *arg2
= (int *) 0 ;
24971 int *arg3
= (int *) 0 ;
24975 int res2
= SWIG_TMPOBJ
;
24977 int res3
= SWIG_TMPOBJ
;
24978 PyObject
*swig_obj
[1] ;
24982 if (!args
) SWIG_fail
;
24983 swig_obj
[0] = args
;
24984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24985 if (!SWIG_IsOK(res1
)) {
24986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24988 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= SWIG_Py_Void();
24996 if (SWIG_IsTmpObj(res2
)) {
24997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24999 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25002 if (SWIG_IsTmpObj(res3
)) {
25003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25005 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25014 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25015 PyObject
*resultobj
= 0;
25016 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25017 int *arg2
= (int *) 0 ;
25018 int *arg3
= (int *) 0 ;
25022 int res2
= SWIG_TMPOBJ
;
25024 int res3
= SWIG_TMPOBJ
;
25025 PyObject
*swig_obj
[1] ;
25029 if (!args
) SWIG_fail
;
25030 swig_obj
[0] = args
;
25031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25032 if (!SWIG_IsOK(res1
)) {
25033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25035 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
25039 wxPyEndAllowThreads(__tstate
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25042 resultobj
= SWIG_Py_Void();
25043 if (SWIG_IsTmpObj(res2
)) {
25044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25046 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25049 if (SWIG_IsTmpObj(res3
)) {
25050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25052 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25061 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25062 PyObject
*resultobj
= 0;
25063 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25064 int *arg2
= (int *) 0 ;
25065 int *arg3
= (int *) 0 ;
25069 int res2
= SWIG_TMPOBJ
;
25071 int res3
= SWIG_TMPOBJ
;
25072 PyObject
*swig_obj
[1] ;
25076 if (!args
) SWIG_fail
;
25077 swig_obj
[0] = args
;
25078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25079 if (!SWIG_IsOK(res1
)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25082 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_Py_Void();
25090 if (SWIG_IsTmpObj(res2
)) {
25091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25093 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25096 if (SWIG_IsTmpObj(res3
)) {
25097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25099 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25100 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25108 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25109 PyObject
*resultobj
= 0;
25110 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25114 PyObject
*swig_obj
[1] ;
25116 if (!args
) SWIG_fail
;
25117 swig_obj
[0] = args
;
25118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25119 if (!SWIG_IsOK(res1
)) {
25120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25122 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25129 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25136 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25137 PyObject
*resultobj
= 0;
25138 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25142 PyObject
*swig_obj
[1] ;
25144 if (!args
) SWIG_fail
;
25145 swig_obj
[0] = args
;
25146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25147 if (!SWIG_IsOK(res1
)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25150 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25164 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25165 PyObject
*resultobj
= 0;
25166 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25167 SwigValueWrapper
<wxVisualAttributes
> result
;
25170 PyObject
*swig_obj
[1] ;
25172 if (!args
) SWIG_fail
;
25173 swig_obj
[0] = args
;
25174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25175 if (!SWIG_IsOK(res1
)) {
25176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25178 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (arg1
)->GetDefaultAttributes();
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25192 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25193 PyObject
*resultobj
= 0;
25194 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25197 PyObject
*swig_obj
[1] ;
25199 if (!args
) SWIG_fail
;
25200 swig_obj
[0] = args
;
25201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25202 if (!SWIG_IsOK(res1
)) {
25203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25205 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25208 (arg1
)->OnInternalIdle();
25209 wxPyEndAllowThreads(__tstate
);
25210 if (PyErr_Occurred()) SWIG_fail
;
25212 resultobj
= SWIG_Py_Void();
25219 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25222 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
25223 return SWIG_Py_Void();
25226 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25227 return SWIG_Python_InitShadowInstance(args
);
25230 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
= 0;
25232 wxWindow
*arg1
= (wxWindow
*) 0 ;
25233 int arg2
= (int) (int)-1 ;
25234 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25235 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25236 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25237 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25238 long arg5
= (long) 0 ;
25239 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25240 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25241 wxPyScrolledWindow
*result
= 0 ;
25250 bool temp6
= false ;
25251 PyObject
* obj0
= 0 ;
25252 PyObject
* obj1
= 0 ;
25253 PyObject
* obj2
= 0 ;
25254 PyObject
* obj3
= 0 ;
25255 PyObject
* obj4
= 0 ;
25256 PyObject
* obj5
= 0 ;
25257 char * kwnames
[] = {
25258 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25263 if (!SWIG_IsOK(res1
)) {
25264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
25266 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25269 if (!SWIG_IsOK(ecode2
)) {
25270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
25272 arg2
= static_cast< int >(val2
);
25277 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25283 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25287 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25288 if (!SWIG_IsOK(ecode5
)) {
25289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
25291 arg5
= static_cast< long >(val5
);
25295 arg6
= wxString_in_helper(obj5
);
25296 if (arg6
== NULL
) SWIG_fail
;
25301 if (!wxPyCheckForApp()) SWIG_fail
;
25302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25303 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
25322 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25323 PyObject
*resultobj
= 0;
25324 wxPyScrolledWindow
*result
= 0 ;
25326 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
25328 if (!wxPyCheckForApp()) SWIG_fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
25341 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
= 0;
25343 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25344 PyObject
*arg2
= (PyObject
*) 0 ;
25345 PyObject
*arg3
= (PyObject
*) 0 ;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 PyObject
* obj2
= 0 ;
25351 char * kwnames
[] = {
25352 (char *) "self",(char *) "self",(char *) "_class", NULL
25355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25357 if (!SWIG_IsOK(res1
)) {
25358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25360 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 resultobj
= SWIG_Py_Void();
25376 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
= 0;
25378 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25379 wxDC
*arg2
= (wxDC
*) 0 ;
25385 PyObject
* obj0
= 0 ;
25386 PyObject
* obj1
= 0 ;
25387 char * kwnames
[] = {
25388 (char *) "self",(char *) "dc", NULL
25391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25393 if (!SWIG_IsOK(res1
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25396 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25397 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
25398 if (!SWIG_IsOK(res2
)) {
25399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
25401 arg2
= reinterpret_cast< wxDC
* >(argp2
);
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25417 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= 0;
25419 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 PyObject
* obj2
= 0 ;
25437 PyObject
* obj3
= 0 ;
25438 PyObject
* obj4
= 0 ;
25439 char * kwnames
[] = {
25440 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25445 if (!SWIG_IsOK(res1
)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25448 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25450 if (!SWIG_IsOK(ecode2
)) {
25451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
25453 arg2
= static_cast< int >(val2
);
25454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25455 if (!SWIG_IsOK(ecode3
)) {
25456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
25458 arg3
= static_cast< int >(val3
);
25459 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25460 if (!SWIG_IsOK(ecode4
)) {
25461 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
25463 arg4
= static_cast< int >(val4
);
25464 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25465 if (!SWIG_IsOK(ecode5
)) {
25466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
25468 arg5
= static_cast< int >(val5
);
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25475 resultobj
= SWIG_Py_Void();
25482 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
= 0;
25484 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25489 int arg6
= (int) wxSIZE_AUTO
;
25502 PyObject
* obj0
= 0 ;
25503 PyObject
* obj1
= 0 ;
25504 PyObject
* obj2
= 0 ;
25505 PyObject
* obj3
= 0 ;
25506 PyObject
* obj4
= 0 ;
25507 PyObject
* obj5
= 0 ;
25508 char * kwnames
[] = {
25509 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25514 if (!SWIG_IsOK(res1
)) {
25515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25517 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25519 if (!SWIG_IsOK(ecode2
)) {
25520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
25522 arg2
= static_cast< int >(val2
);
25523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25524 if (!SWIG_IsOK(ecode3
)) {
25525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
25527 arg3
= static_cast< int >(val3
);
25528 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25529 if (!SWIG_IsOK(ecode4
)) {
25530 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
25532 arg4
= static_cast< int >(val4
);
25533 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25534 if (!SWIG_IsOK(ecode5
)) {
25535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
25537 arg5
= static_cast< int >(val5
);
25539 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25540 if (!SWIG_IsOK(ecode6
)) {
25541 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
25543 arg6
= static_cast< int >(val6
);
25546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25547 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 resultobj
= SWIG_Py_Void();
25558 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
= 0;
25560 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25569 PyObject
* obj0
= 0 ;
25570 PyObject
* obj1
= 0 ;
25571 PyObject
* obj2
= 0 ;
25572 char * kwnames
[] = {
25573 (char *) "self",(char *) "width",(char *) "height", NULL
25576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25578 if (!SWIG_IsOK(res1
)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25581 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25583 if (!SWIG_IsOK(ecode2
)) {
25584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25586 arg2
= static_cast< int >(val2
);
25587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25588 if (!SWIG_IsOK(ecode3
)) {
25589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25591 arg3
= static_cast< int >(val3
);
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 (arg1
)->DoSetClientSize(arg2
,arg3
);
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= SWIG_Py_Void();
25605 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25606 PyObject
*resultobj
= 0;
25607 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25616 PyObject
* obj0
= 0 ;
25617 PyObject
* obj1
= 0 ;
25618 PyObject
* obj2
= 0 ;
25619 char * kwnames
[] = {
25620 (char *) "self",(char *) "x",(char *) "y", NULL
25623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25625 if (!SWIG_IsOK(res1
)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25628 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25630 if (!SWIG_IsOK(ecode2
)) {
25631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25633 arg2
= static_cast< int >(val2
);
25634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25635 if (!SWIG_IsOK(ecode3
)) {
25636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25638 arg3
= static_cast< int >(val3
);
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25645 resultobj
= SWIG_Py_Void();
25652 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25653 PyObject
*resultobj
= 0;
25654 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25655 int *arg2
= (int *) 0 ;
25656 int *arg3
= (int *) 0 ;
25660 int res2
= SWIG_TMPOBJ
;
25662 int res3
= SWIG_TMPOBJ
;
25663 PyObject
*swig_obj
[1] ;
25667 if (!args
) SWIG_fail
;
25668 swig_obj
[0] = args
;
25669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25670 if (!SWIG_IsOK(res1
)) {
25671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25673 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= SWIG_Py_Void();
25681 if (SWIG_IsTmpObj(res2
)) {
25682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25684 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25687 if (SWIG_IsTmpObj(res3
)) {
25688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25690 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25699 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25700 PyObject
*resultobj
= 0;
25701 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25702 int *arg2
= (int *) 0 ;
25703 int *arg3
= (int *) 0 ;
25707 int res2
= SWIG_TMPOBJ
;
25709 int res3
= SWIG_TMPOBJ
;
25710 PyObject
*swig_obj
[1] ;
25714 if (!args
) SWIG_fail
;
25715 swig_obj
[0] = args
;
25716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25717 if (!SWIG_IsOK(res1
)) {
25718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25720 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25727 resultobj
= SWIG_Py_Void();
25728 if (SWIG_IsTmpObj(res2
)) {
25729 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25731 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25732 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25734 if (SWIG_IsTmpObj(res3
)) {
25735 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25737 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25738 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25746 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25747 PyObject
*resultobj
= 0;
25748 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25749 int *arg2
= (int *) 0 ;
25750 int *arg3
= (int *) 0 ;
25754 int res2
= SWIG_TMPOBJ
;
25756 int res3
= SWIG_TMPOBJ
;
25757 PyObject
*swig_obj
[1] ;
25761 if (!args
) SWIG_fail
;
25762 swig_obj
[0] = args
;
25763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25764 if (!SWIG_IsOK(res1
)) {
25765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25767 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25770 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= SWIG_Py_Void();
25775 if (SWIG_IsTmpObj(res2
)) {
25776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25778 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25781 if (SWIG_IsTmpObj(res3
)) {
25782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25784 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25793 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25794 PyObject
*resultobj
= 0;
25795 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25799 PyObject
*swig_obj
[1] ;
25801 if (!args
) SWIG_fail
;
25802 swig_obj
[0] = args
;
25803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25804 if (!SWIG_IsOK(res1
)) {
25805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25807 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25810 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25821 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25822 PyObject
*resultobj
= 0;
25823 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25827 PyObject
*swig_obj
[1] ;
25829 if (!args
) SWIG_fail
;
25830 swig_obj
[0] = args
;
25831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25832 if (!SWIG_IsOK(res1
)) {
25833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25835 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
25839 wxPyEndAllowThreads(__tstate
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25849 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25850 PyObject
*resultobj
= 0;
25851 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25852 SwigValueWrapper
<wxVisualAttributes
> result
;
25855 PyObject
*swig_obj
[1] ;
25857 if (!args
) SWIG_fail
;
25858 swig_obj
[0] = args
;
25859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25860 if (!SWIG_IsOK(res1
)) {
25861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25863 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 result
= (arg1
)->GetDefaultAttributes();
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25877 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25878 PyObject
*resultobj
= 0;
25879 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25882 PyObject
*swig_obj
[1] ;
25884 if (!args
) SWIG_fail
;
25885 swig_obj
[0] = args
;
25886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25887 if (!SWIG_IsOK(res1
)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25890 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 (arg1
)->OnInternalIdle();
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= SWIG_Py_Void();
25904 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25907 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
25908 return SWIG_Py_Void();
25911 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25912 return SWIG_Python_InitShadowInstance(args
);
25915 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
25916 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
25921 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
25922 PyObject
*pyobj
= 0;
25926 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
25928 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
25935 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
25936 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
25941 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
25942 PyObject
*pyobj
= 0;
25946 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
25948 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
25955 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25956 PyObject
*resultobj
= 0;
25957 wxPrintData
*result
= 0 ;
25959 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 result
= (wxPrintData
*)new wxPrintData();
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
25973 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25974 PyObject
*resultobj
= 0;
25975 wxPrintData
*arg1
= 0 ;
25976 wxPrintData
*result
= 0 ;
25980 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25982 if (!SWIG_IsOK(res1
)) {
25983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25988 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
26002 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
26006 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
26009 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
26012 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
26016 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
26021 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26022 PyObject
*resultobj
= 0;
26023 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26026 PyObject
*swig_obj
[1] ;
26028 if (!args
) SWIG_fail
;
26029 swig_obj
[0] = args
;
26030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
26031 if (!SWIG_IsOK(res1
)) {
26032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
26034 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26042 resultobj
= SWIG_Py_Void();
26049 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26050 PyObject
*resultobj
= 0;
26051 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26055 PyObject
*swig_obj
[1] ;
26057 if (!args
) SWIG_fail
;
26058 swig_obj
[0] = args
;
26059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26060 if (!SWIG_IsOK(res1
)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26063 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (int)(arg1
)->GetNoCopies();
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= SWIG_From_int(static_cast< int >(result
));
26077 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26078 PyObject
*resultobj
= 0;
26079 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26083 PyObject
*swig_obj
[1] ;
26085 if (!args
) SWIG_fail
;
26086 swig_obj
[0] = args
;
26087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26088 if (!SWIG_IsOK(res1
)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26091 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= (bool)(arg1
)->GetCollate();
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26107 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26108 PyObject
*resultobj
= 0;
26109 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26113 PyObject
*swig_obj
[1] ;
26115 if (!args
) SWIG_fail
;
26116 swig_obj
[0] = args
;
26117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26118 if (!SWIG_IsOK(res1
)) {
26119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26121 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 result
= (int)(arg1
)->GetOrientation();
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26128 resultobj
= SWIG_From_int(static_cast< int >(result
));
26135 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26136 PyObject
*resultobj
= 0;
26137 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26141 PyObject
*swig_obj
[1] ;
26143 if (!args
) SWIG_fail
;
26144 swig_obj
[0] = args
;
26145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26146 if (!SWIG_IsOK(res1
)) {
26147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26149 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26165 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26166 PyObject
*resultobj
= 0;
26167 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26171 PyObject
*swig_obj
[1] ;
26173 if (!args
) SWIG_fail
;
26174 swig_obj
[0] = args
;
26175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26176 if (!SWIG_IsOK(res1
)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
26179 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 result
= (bool)(arg1
)->IsOk();
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26195 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26196 PyObject
*resultobj
= 0;
26197 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26198 wxString
*result
= 0 ;
26201 PyObject
*swig_obj
[1] ;
26203 if (!args
) SWIG_fail
;
26204 swig_obj
[0] = args
;
26205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26206 if (!SWIG_IsOK(res1
)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26209 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
26214 result
= (wxString
*) &_result_ref
;
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26223 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26232 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26233 PyObject
*resultobj
= 0;
26234 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26238 PyObject
*swig_obj
[1] ;
26240 if (!args
) SWIG_fail
;
26241 swig_obj
[0] = args
;
26242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26243 if (!SWIG_IsOK(res1
)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26246 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 result
= (bool)(arg1
)->GetColour();
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26262 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26263 PyObject
*resultobj
= 0;
26264 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26265 wxDuplexMode result
;
26268 PyObject
*swig_obj
[1] ;
26270 if (!args
) SWIG_fail
;
26271 swig_obj
[0] = args
;
26272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26276 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_From_int(static_cast< int >(result
));
26290 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26291 PyObject
*resultobj
= 0;
26292 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26293 wxPaperSize result
;
26296 PyObject
*swig_obj
[1] ;
26298 if (!args
) SWIG_fail
;
26299 swig_obj
[0] = args
;
26300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26301 if (!SWIG_IsOK(res1
)) {
26302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26304 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 result
= (wxPaperSize
)(arg1
)->GetPaperId();
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 resultobj
= SWIG_From_int(static_cast< int >(result
));
26318 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26319 PyObject
*resultobj
= 0;
26320 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26321 wxSize
*result
= 0 ;
26324 PyObject
*swig_obj
[1] ;
26326 if (!args
) SWIG_fail
;
26327 swig_obj
[0] = args
;
26328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26329 if (!SWIG_IsOK(res1
)) {
26330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26332 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
26337 result
= (wxSize
*) &_result_ref
;
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
26349 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26350 PyObject
*resultobj
= 0;
26351 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26355 PyObject
*swig_obj
[1] ;
26357 if (!args
) SWIG_fail
;
26358 swig_obj
[0] = args
;
26359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26360 if (!SWIG_IsOK(res1
)) {
26361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26363 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 result
= (int)(arg1
)->GetQuality();
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= SWIG_From_int(static_cast< int >(result
));
26377 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26378 PyObject
*resultobj
= 0;
26379 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26383 PyObject
*swig_obj
[1] ;
26385 if (!args
) SWIG_fail
;
26386 swig_obj
[0] = args
;
26387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26388 if (!SWIG_IsOK(res1
)) {
26389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26391 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 result
= (wxPrintBin
)(arg1
)->GetBin();
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 resultobj
= SWIG_From_int(static_cast< int >(result
));
26405 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26406 PyObject
*resultobj
= 0;
26407 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26408 wxPrintMode result
;
26411 PyObject
*swig_obj
[1] ;
26413 if (!args
) SWIG_fail
;
26414 swig_obj
[0] = args
;
26415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26416 if (!SWIG_IsOK(res1
)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26419 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= SWIG_From_int(static_cast< int >(result
));
26433 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26434 PyObject
*resultobj
= 0;
26435 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26439 PyObject
*swig_obj
[1] ;
26441 if (!args
) SWIG_fail
;
26442 swig_obj
[0] = args
;
26443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26444 if (!SWIG_IsOK(res1
)) {
26445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26447 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26450 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26454 resultobj
= SWIG_From_int(static_cast< int >(result
));
26461 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
= 0;
26463 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26469 PyObject
* obj0
= 0 ;
26470 PyObject
* obj1
= 0 ;
26471 char * kwnames
[] = {
26472 (char *) "self",(char *) "v", NULL
26475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26477 if (!SWIG_IsOK(res1
)) {
26478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26480 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26482 if (!SWIG_IsOK(ecode2
)) {
26483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26485 arg2
= static_cast< int >(val2
);
26487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26488 (arg1
)->SetNoCopies(arg2
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 resultobj
= SWIG_Py_Void();
26499 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26500 PyObject
*resultobj
= 0;
26501 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26507 PyObject
* obj0
= 0 ;
26508 PyObject
* obj1
= 0 ;
26509 char * kwnames
[] = {
26510 (char *) "self",(char *) "flag", NULL
26513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26515 if (!SWIG_IsOK(res1
)) {
26516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26518 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26519 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26520 if (!SWIG_IsOK(ecode2
)) {
26521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26523 arg2
= static_cast< bool >(val2
);
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 (arg1
)->SetCollate(arg2
);
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= SWIG_Py_Void();
26537 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
= 0;
26539 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26545 PyObject
* obj0
= 0 ;
26546 PyObject
* obj1
= 0 ;
26547 char * kwnames
[] = {
26548 (char *) "self",(char *) "orient", NULL
26551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26553 if (!SWIG_IsOK(res1
)) {
26554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26556 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26558 if (!SWIG_IsOK(ecode2
)) {
26559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
26561 arg2
= static_cast< int >(val2
);
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 (arg1
)->SetOrientation(arg2
);
26565 wxPyEndAllowThreads(__tstate
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26568 resultobj
= SWIG_Py_Void();
26575 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
= 0;
26577 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 char * kwnames
[] = {
26586 (char *) "self",(char *) "reversed", NULL
26589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26591 if (!SWIG_IsOK(res1
)) {
26592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
26594 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26595 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26596 if (!SWIG_IsOK(ecode2
)) {
26597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
26599 arg2
= static_cast< bool >(val2
);
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 (arg1
)->SetOrientationReversed(arg2
);
26603 wxPyEndAllowThreads(__tstate
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26606 resultobj
= SWIG_Py_Void();
26613 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26614 PyObject
*resultobj
= 0;
26615 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26616 wxString
*arg2
= 0 ;
26619 bool temp2
= false ;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 char * kwnames
[] = {
26623 (char *) "self",(char *) "name", NULL
26626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26628 if (!SWIG_IsOK(res1
)) {
26629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26631 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26633 arg2
= wxString_in_helper(obj1
);
26634 if (arg2
== NULL
) SWIG_fail
;
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= SWIG_Py_Void();
26658 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26659 PyObject
*resultobj
= 0;
26660 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26666 PyObject
* obj0
= 0 ;
26667 PyObject
* obj1
= 0 ;
26668 char * kwnames
[] = {
26669 (char *) "self",(char *) "colour", NULL
26672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26674 if (!SWIG_IsOK(res1
)) {
26675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26677 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26678 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26679 if (!SWIG_IsOK(ecode2
)) {
26680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
26682 arg2
= static_cast< bool >(val2
);
26684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26685 (arg1
)->SetColour(arg2
);
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26689 resultobj
= SWIG_Py_Void();
26696 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26697 PyObject
*resultobj
= 0;
26698 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26699 wxDuplexMode arg2
;
26704 PyObject
* obj0
= 0 ;
26705 PyObject
* obj1
= 0 ;
26706 char * kwnames
[] = {
26707 (char *) "self",(char *) "duplex", NULL
26710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26712 if (!SWIG_IsOK(res1
)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26715 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26717 if (!SWIG_IsOK(ecode2
)) {
26718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
26720 arg2
= static_cast< wxDuplexMode
>(val2
);
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 (arg1
)->SetDuplex(arg2
);
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26727 resultobj
= SWIG_Py_Void();
26734 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26735 PyObject
*resultobj
= 0;
26736 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26742 PyObject
* obj0
= 0 ;
26743 PyObject
* obj1
= 0 ;
26744 char * kwnames
[] = {
26745 (char *) "self",(char *) "sizeId", NULL
26748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26750 if (!SWIG_IsOK(res1
)) {
26751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26753 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26755 if (!SWIG_IsOK(ecode2
)) {
26756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26758 arg2
= static_cast< wxPaperSize
>(val2
);
26760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26761 (arg1
)->SetPaperId(arg2
);
26762 wxPyEndAllowThreads(__tstate
);
26763 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= SWIG_Py_Void();
26772 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26773 PyObject
*resultobj
= 0;
26774 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26779 PyObject
* obj0
= 0 ;
26780 PyObject
* obj1
= 0 ;
26781 char * kwnames
[] = {
26782 (char *) "self",(char *) "sz", NULL
26785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26787 if (!SWIG_IsOK(res1
)) {
26788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26790 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26793 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26801 resultobj
= SWIG_Py_Void();
26808 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
= 0;
26810 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26816 PyObject
* obj0
= 0 ;
26817 PyObject
* obj1
= 0 ;
26818 char * kwnames
[] = {
26819 (char *) "self",(char *) "quality", NULL
26822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26824 if (!SWIG_IsOK(res1
)) {
26825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26827 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26829 if (!SWIG_IsOK(ecode2
)) {
26830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
26832 arg2
= static_cast< int >(val2
);
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 (arg1
)->SetQuality(arg2
);
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 resultobj
= SWIG_Py_Void();
26846 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
= 0;
26848 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26854 PyObject
* obj0
= 0 ;
26855 PyObject
* obj1
= 0 ;
26856 char * kwnames
[] = {
26857 (char *) "self",(char *) "bin", NULL
26860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26862 if (!SWIG_IsOK(res1
)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26865 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26867 if (!SWIG_IsOK(ecode2
)) {
26868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
26870 arg2
= static_cast< wxPrintBin
>(val2
);
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 (arg1
)->SetBin(arg2
);
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= SWIG_Py_Void();
26884 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26885 PyObject
*resultobj
= 0;
26886 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26892 PyObject
* obj0
= 0 ;
26893 PyObject
* obj1
= 0 ;
26894 char * kwnames
[] = {
26895 (char *) "self",(char *) "printMode", NULL
26898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26900 if (!SWIG_IsOK(res1
)) {
26901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
26903 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26905 if (!SWIG_IsOK(ecode2
)) {
26906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
26908 arg2
= static_cast< wxPrintMode
>(val2
);
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 (arg1
)->SetPrintMode(arg2
);
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26915 resultobj
= SWIG_Py_Void();
26922 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26923 PyObject
*resultobj
= 0;
26924 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26930 PyObject
* obj0
= 0 ;
26931 PyObject
* obj1
= 0 ;
26932 char * kwnames
[] = {
26933 (char *) "self",(char *) "media", NULL
26936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26938 if (!SWIG_IsOK(res1
)) {
26939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
26941 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26943 if (!SWIG_IsOK(ecode2
)) {
26944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
26946 arg2
= static_cast< int >(val2
);
26948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26949 (arg1
)->SetMedia(arg2
);
26950 wxPyEndAllowThreads(__tstate
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26953 resultobj
= SWIG_Py_Void();
26960 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26961 PyObject
*resultobj
= 0;
26962 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26966 PyObject
*swig_obj
[1] ;
26968 if (!args
) SWIG_fail
;
26969 swig_obj
[0] = args
;
26970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26971 if (!SWIG_IsOK(res1
)) {
26972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26974 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26977 result
= ((wxPrintData
const *)arg1
)->GetFilename();
26978 wxPyEndAllowThreads(__tstate
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26994 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
= 0;
26996 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26997 wxString
*arg2
= 0 ;
27000 bool temp2
= false ;
27001 PyObject
* obj0
= 0 ;
27002 PyObject
* obj1
= 0 ;
27003 char * kwnames
[] = {
27004 (char *) "self",(char *) "filename", NULL
27007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27009 if (!SWIG_IsOK(res1
)) {
27010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
27012 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27014 arg2
= wxString_in_helper(obj1
);
27015 if (arg2
== NULL
) SWIG_fail
;
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 (arg1
)->SetFilename((wxString
const &)*arg2
);
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27024 resultobj
= SWIG_Py_Void();
27039 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27040 PyObject
*resultobj
= 0;
27041 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27042 PyObject
*result
= 0 ;
27045 PyObject
*swig_obj
[1] ;
27047 if (!args
) SWIG_fail
;
27048 swig_obj
[0] = args
;
27049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27050 if (!SWIG_IsOK(res1
)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27053 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= result
;
27067 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
= 0;
27069 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27070 PyObject
*arg2
= (PyObject
*) 0 ;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 char * kwnames
[] = {
27076 (char *) "self",(char *) "data", NULL
27079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27081 if (!SWIG_IsOK(res1
)) {
27082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27084 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 wxPrintData_SetPrivData(arg1
,arg2
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 resultobj
= SWIG_Py_Void();
27099 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27102 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
27103 return SWIG_Py_Void();
27106 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27107 return SWIG_Python_InitShadowInstance(args
);
27110 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
27111 PyObject
*resultobj
= 0;
27112 wxPageSetupDialogData
*result
= 0 ;
27114 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
27118 wxPyEndAllowThreads(__tstate
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27128 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27129 PyObject
*resultobj
= 0;
27130 wxPageSetupDialogData
*arg1
= 0 ;
27131 wxPageSetupDialogData
*result
= 0 ;
27135 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
27137 if (!SWIG_IsOK(res1
)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27143 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
27147 wxPyEndAllowThreads(__tstate
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27157 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27158 PyObject
*resultobj
= 0;
27159 wxPrintData
*arg1
= 0 ;
27160 wxPageSetupDialogData
*result
= 0 ;
27164 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27166 if (!SWIG_IsOK(res1
)) {
27167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27172 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27175 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27186 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
27190 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
27193 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
27198 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
27199 _v
= SWIG_CheckState(res
);
27201 if (!_v
) goto check_2
;
27202 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
27207 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
27211 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
27216 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27217 PyObject
*resultobj
= 0;
27218 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27221 PyObject
*swig_obj
[1] ;
27223 if (!args
) SWIG_fail
;
27224 swig_obj
[0] = args
;
27225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
27226 if (!SWIG_IsOK(res1
)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27229 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= SWIG_Py_Void();
27244 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27245 PyObject
*resultobj
= 0;
27246 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27252 PyObject
* obj0
= 0 ;
27253 PyObject
* obj1
= 0 ;
27254 char * kwnames
[] = {
27255 (char *) "self",(char *) "flag", NULL
27258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27260 if (!SWIG_IsOK(res1
)) {
27261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27263 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27264 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27265 if (!SWIG_IsOK(ecode2
)) {
27266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27268 arg2
= static_cast< bool >(val2
);
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 (arg1
)->EnableHelp(arg2
);
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= SWIG_Py_Void();
27282 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27283 PyObject
*resultobj
= 0;
27284 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27290 PyObject
* obj0
= 0 ;
27291 PyObject
* obj1
= 0 ;
27292 char * kwnames
[] = {
27293 (char *) "self",(char *) "flag", NULL
27296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27298 if (!SWIG_IsOK(res1
)) {
27299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27301 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27302 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27303 if (!SWIG_IsOK(ecode2
)) {
27304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
27306 arg2
= static_cast< bool >(val2
);
27308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27309 (arg1
)->EnableMargins(arg2
);
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27313 resultobj
= SWIG_Py_Void();
27320 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27321 PyObject
*resultobj
= 0;
27322 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27328 PyObject
* obj0
= 0 ;
27329 PyObject
* obj1
= 0 ;
27330 char * kwnames
[] = {
27331 (char *) "self",(char *) "flag", NULL
27334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27336 if (!SWIG_IsOK(res1
)) {
27337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27339 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27340 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27341 if (!SWIG_IsOK(ecode2
)) {
27342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
27344 arg2
= static_cast< bool >(val2
);
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 (arg1
)->EnableOrientation(arg2
);
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27351 resultobj
= SWIG_Py_Void();
27358 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27359 PyObject
*resultobj
= 0;
27360 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27366 PyObject
* obj0
= 0 ;
27367 PyObject
* obj1
= 0 ;
27368 char * kwnames
[] = {
27369 (char *) "self",(char *) "flag", NULL
27372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27374 if (!SWIG_IsOK(res1
)) {
27375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27377 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27378 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27379 if (!SWIG_IsOK(ecode2
)) {
27380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
27382 arg2
= static_cast< bool >(val2
);
27384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27385 (arg1
)->EnablePaper(arg2
);
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27389 resultobj
= SWIG_Py_Void();
27396 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27397 PyObject
*resultobj
= 0;
27398 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27404 PyObject
* obj0
= 0 ;
27405 PyObject
* obj1
= 0 ;
27406 char * kwnames
[] = {
27407 (char *) "self",(char *) "flag", NULL
27410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27412 if (!SWIG_IsOK(res1
)) {
27413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27415 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27416 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27417 if (!SWIG_IsOK(ecode2
)) {
27418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
27420 arg2
= static_cast< bool >(val2
);
27422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 (arg1
)->EnablePrinter(arg2
);
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= SWIG_Py_Void();
27434 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27435 PyObject
*resultobj
= 0;
27436 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27440 PyObject
*swig_obj
[1] ;
27442 if (!args
) SWIG_fail
;
27443 swig_obj
[0] = args
;
27444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27445 if (!SWIG_IsOK(res1
)) {
27446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27448 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 result
= (bool)(arg1
)->GetDefaultMinMargins();
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27464 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27465 PyObject
*resultobj
= 0;
27466 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27470 PyObject
*swig_obj
[1] ;
27472 if (!args
) SWIG_fail
;
27473 swig_obj
[0] = args
;
27474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27475 if (!SWIG_IsOK(res1
)) {
27476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27478 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27481 result
= (bool)(arg1
)->GetEnableMargins();
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27494 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27495 PyObject
*resultobj
= 0;
27496 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27500 PyObject
*swig_obj
[1] ;
27502 if (!args
) SWIG_fail
;
27503 swig_obj
[0] = args
;
27504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27505 if (!SWIG_IsOK(res1
)) {
27506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27508 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27511 result
= (bool)(arg1
)->GetEnableOrientation();
27512 wxPyEndAllowThreads(__tstate
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27524 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27525 PyObject
*resultobj
= 0;
27526 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27530 PyObject
*swig_obj
[1] ;
27532 if (!args
) SWIG_fail
;
27533 swig_obj
[0] = args
;
27534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27535 if (!SWIG_IsOK(res1
)) {
27536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27538 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27541 result
= (bool)(arg1
)->GetEnablePaper();
27542 wxPyEndAllowThreads(__tstate
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27554 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27555 PyObject
*resultobj
= 0;
27556 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27560 PyObject
*swig_obj
[1] ;
27562 if (!args
) SWIG_fail
;
27563 swig_obj
[0] = args
;
27564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27565 if (!SWIG_IsOK(res1
)) {
27566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27568 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 result
= (bool)(arg1
)->GetEnablePrinter();
27572 wxPyEndAllowThreads(__tstate
);
27573 if (PyErr_Occurred()) SWIG_fail
;
27576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27584 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27585 PyObject
*resultobj
= 0;
27586 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27590 PyObject
*swig_obj
[1] ;
27592 if (!args
) SWIG_fail
;
27593 swig_obj
[0] = args
;
27594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27595 if (!SWIG_IsOK(res1
)) {
27596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27598 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 result
= (bool)(arg1
)->GetEnableHelp();
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27614 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27615 PyObject
*resultobj
= 0;
27616 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27620 PyObject
*swig_obj
[1] ;
27622 if (!args
) SWIG_fail
;
27623 swig_obj
[0] = args
;
27624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27625 if (!SWIG_IsOK(res1
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27628 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 result
= (bool)(arg1
)->GetDefaultInfo();
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27644 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27645 PyObject
*resultobj
= 0;
27646 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27650 PyObject
*swig_obj
[1] ;
27652 if (!args
) SWIG_fail
;
27653 swig_obj
[0] = args
;
27654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27655 if (!SWIG_IsOK(res1
)) {
27656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27658 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= (arg1
)->GetMarginTopLeft();
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27672 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27673 PyObject
*resultobj
= 0;
27674 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27678 PyObject
*swig_obj
[1] ;
27680 if (!args
) SWIG_fail
;
27681 swig_obj
[0] = args
;
27682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27683 if (!SWIG_IsOK(res1
)) {
27684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27686 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 result
= (arg1
)->GetMarginBottomRight();
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27693 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27700 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27701 PyObject
*resultobj
= 0;
27702 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27706 PyObject
*swig_obj
[1] ;
27708 if (!args
) SWIG_fail
;
27709 swig_obj
[0] = args
;
27710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27711 if (!SWIG_IsOK(res1
)) {
27712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27714 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 result
= (arg1
)->GetMinMarginTopLeft();
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27728 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27729 PyObject
*resultobj
= 0;
27730 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27734 PyObject
*swig_obj
[1] ;
27736 if (!args
) SWIG_fail
;
27737 swig_obj
[0] = args
;
27738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27739 if (!SWIG_IsOK(res1
)) {
27740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27742 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27745 result
= (arg1
)->GetMinMarginBottomRight();
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27756 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27757 PyObject
*resultobj
= 0;
27758 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27759 wxPaperSize result
;
27762 PyObject
*swig_obj
[1] ;
27764 if (!args
) SWIG_fail
;
27765 swig_obj
[0] = args
;
27766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27767 if (!SWIG_IsOK(res1
)) {
27768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27770 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27773 result
= (wxPaperSize
)(arg1
)->GetPaperId();
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= SWIG_From_int(static_cast< int >(result
));
27784 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27785 PyObject
*resultobj
= 0;
27786 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27790 PyObject
*swig_obj
[1] ;
27792 if (!args
) SWIG_fail
;
27793 swig_obj
[0] = args
;
27794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27795 if (!SWIG_IsOK(res1
)) {
27796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27798 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 result
= (arg1
)->GetPaperSize();
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
27812 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27813 PyObject
*resultobj
= 0;
27814 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27815 wxPrintData
*result
= 0 ;
27818 PyObject
*swig_obj
[1] ;
27820 if (!args
) SWIG_fail
;
27821 swig_obj
[0] = args
;
27822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27823 if (!SWIG_IsOK(res1
)) {
27824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27826 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27831 result
= (wxPrintData
*) &_result_ref
;
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27843 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27844 PyObject
*resultobj
= 0;
27845 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27849 PyObject
*swig_obj
[1] ;
27851 if (!args
) SWIG_fail
;
27852 swig_obj
[0] = args
;
27853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27854 if (!SWIG_IsOK(res1
)) {
27855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27857 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 result
= (bool)(arg1
)->IsOk();
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27873 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27874 PyObject
*resultobj
= 0;
27875 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27881 PyObject
* obj0
= 0 ;
27882 PyObject
* obj1
= 0 ;
27883 char * kwnames
[] = {
27884 (char *) "self",(char *) "flag", NULL
27887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27889 if (!SWIG_IsOK(res1
)) {
27890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27892 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27893 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27894 if (!SWIG_IsOK(ecode2
)) {
27895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
27897 arg2
= static_cast< bool >(val2
);
27899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 (arg1
)->SetDefaultInfo(arg2
);
27901 wxPyEndAllowThreads(__tstate
);
27902 if (PyErr_Occurred()) SWIG_fail
;
27904 resultobj
= SWIG_Py_Void();
27911 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
= 0;
27913 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27919 PyObject
* obj0
= 0 ;
27920 PyObject
* obj1
= 0 ;
27921 char * kwnames
[] = {
27922 (char *) "self",(char *) "flag", NULL
27925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27930 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27931 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27932 if (!SWIG_IsOK(ecode2
)) {
27933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
27935 arg2
= static_cast< bool >(val2
);
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 (arg1
)->SetDefaultMinMargins(arg2
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= SWIG_Py_Void();
27949 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
= 0;
27951 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27952 wxPoint
*arg2
= 0 ;
27956 PyObject
* obj0
= 0 ;
27957 PyObject
* obj1
= 0 ;
27958 char * kwnames
[] = {
27959 (char *) "self",(char *) "pt", NULL
27962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27964 if (!SWIG_IsOK(res1
)) {
27965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27967 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27970 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
27975 wxPyEndAllowThreads(__tstate
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27978 resultobj
= SWIG_Py_Void();
27985 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27986 PyObject
*resultobj
= 0;
27987 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27988 wxPoint
*arg2
= 0 ;
27992 PyObject
* obj0
= 0 ;
27993 PyObject
* obj1
= 0 ;
27994 char * kwnames
[] = {
27995 (char *) "self",(char *) "pt", NULL
27998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28003 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= SWIG_Py_Void();
28021 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
= 0;
28023 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28024 wxPoint
*arg2
= 0 ;
28028 PyObject
* obj0
= 0 ;
28029 PyObject
* obj1
= 0 ;
28030 char * kwnames
[] = {
28031 (char *) "self",(char *) "pt", NULL
28034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28036 if (!SWIG_IsOK(res1
)) {
28037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28039 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28046 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
28047 wxPyEndAllowThreads(__tstate
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28050 resultobj
= SWIG_Py_Void();
28057 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28058 PyObject
*resultobj
= 0;
28059 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28060 wxPoint
*arg2
= 0 ;
28064 PyObject
* obj0
= 0 ;
28065 PyObject
* obj1
= 0 ;
28066 char * kwnames
[] = {
28067 (char *) "self",(char *) "pt", NULL
28070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28072 if (!SWIG_IsOK(res1
)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28075 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28082 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
28083 wxPyEndAllowThreads(__tstate
);
28084 if (PyErr_Occurred()) SWIG_fail
;
28086 resultobj
= SWIG_Py_Void();
28093 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28094 PyObject
*resultobj
= 0;
28095 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28101 PyObject
* obj0
= 0 ;
28102 PyObject
* obj1
= 0 ;
28103 char * kwnames
[] = {
28104 (char *) "self",(char *) "id", NULL
28107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28112 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28114 if (!SWIG_IsOK(ecode2
)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
28117 arg2
= static_cast< wxPaperSize
>(val2
);
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 (arg1
)->SetPaperId(arg2
);
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= SWIG_Py_Void();
28131 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28132 PyObject
*resultobj
= 0;
28133 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28138 PyObject
* obj0
= 0 ;
28139 PyObject
* obj1
= 0 ;
28140 char * kwnames
[] = {
28141 (char *) "self",(char *) "size", NULL
28144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28146 if (!SWIG_IsOK(res1
)) {
28147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28149 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28152 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28156 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
28157 wxPyEndAllowThreads(__tstate
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28160 resultobj
= SWIG_Py_Void();
28167 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28168 PyObject
*resultobj
= 0;
28169 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28170 wxPrintData
*arg2
= 0 ;
28175 PyObject
* obj0
= 0 ;
28176 PyObject
* obj1
= 0 ;
28177 char * kwnames
[] = {
28178 (char *) "self",(char *) "printData", NULL
28181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28183 if (!SWIG_IsOK(res1
)) {
28184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28186 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28187 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
28188 if (!SWIG_IsOK(res2
)) {
28189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28194 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
28198 wxPyEndAllowThreads(__tstate
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= SWIG_Py_Void();
28208 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28209 PyObject
*resultobj
= 0;
28210 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28213 PyObject
*swig_obj
[1] ;
28215 if (!args
) SWIG_fail
;
28216 swig_obj
[0] = args
;
28217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28218 if (!SWIG_IsOK(res1
)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28221 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 (arg1
)->CalculateIdFromPaperSize();
28225 wxPyEndAllowThreads(__tstate
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28228 resultobj
= SWIG_Py_Void();
28235 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28236 PyObject
*resultobj
= 0;
28237 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28240 PyObject
*swig_obj
[1] ;
28242 if (!args
) SWIG_fail
;
28243 swig_obj
[0] = args
;
28244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28245 if (!SWIG_IsOK(res1
)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28248 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 (arg1
)->CalculatePaperSizeFromId();
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= SWIG_Py_Void();
28262 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28265 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
28266 return SWIG_Py_Void();
28269 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28270 return SWIG_Python_InitShadowInstance(args
);
28273 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28274 PyObject
*resultobj
= 0;
28275 wxWindow
*arg1
= (wxWindow
*) 0 ;
28276 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
28277 wxPageSetupDialog
*result
= 0 ;
28282 PyObject
* obj0
= 0 ;
28283 PyObject
* obj1
= 0 ;
28284 char * kwnames
[] = {
28285 (char *) "parent",(char *) "data", NULL
28288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28290 if (!SWIG_IsOK(res1
)) {
28291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
28293 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28296 if (!SWIG_IsOK(res2
)) {
28297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
28299 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28302 if (!wxPyCheckForApp()) SWIG_fail
;
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
28315 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28316 PyObject
*resultobj
= 0;
28317 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28320 PyObject
*swig_obj
[1] ;
28322 if (!args
) SWIG_fail
;
28323 swig_obj
[0] = args
;
28324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
28325 if (!SWIG_IsOK(res1
)) {
28326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28328 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 resultobj
= SWIG_Py_Void();
28343 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28344 PyObject
*resultobj
= 0;
28345 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28346 wxPageSetupDialogData
*result
= 0 ;
28349 PyObject
*swig_obj
[1] ;
28351 if (!args
) SWIG_fail
;
28352 swig_obj
[0] = args
;
28353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28354 if (!SWIG_IsOK(res1
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28357 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
28362 result
= (wxPageSetupDialogData
*) &_result_ref
;
28364 wxPyEndAllowThreads(__tstate
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28374 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28375 PyObject
*resultobj
= 0;
28376 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28377 wxPageSetupDialogData
*result
= 0 ;
28380 PyObject
*swig_obj
[1] ;
28382 if (!args
) SWIG_fail
;
28383 swig_obj
[0] = args
;
28384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28385 if (!SWIG_IsOK(res1
)) {
28386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28388 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
28393 result
= (wxPageSetupDialogData
*) &_result_ref
;
28395 wxPyEndAllowThreads(__tstate
);
28396 if (PyErr_Occurred()) SWIG_fail
;
28398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28405 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28406 PyObject
*resultobj
= 0;
28407 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28411 PyObject
*swig_obj
[1] ;
28413 if (!args
) SWIG_fail
;
28414 swig_obj
[0] = args
;
28415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28416 if (!SWIG_IsOK(res1
)) {
28417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28419 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28422 result
= (int)(arg1
)->ShowModal();
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28426 resultobj
= SWIG_From_int(static_cast< int >(result
));
28433 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28436 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
28437 return SWIG_Py_Void();
28440 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28441 return SWIG_Python_InitShadowInstance(args
);
28444 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
28445 PyObject
*resultobj
= 0;
28446 wxPrintDialogData
*result
= 0 ;
28448 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= (wxPrintDialogData
*)new wxPrintDialogData();
28452 wxPyEndAllowThreads(__tstate
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28462 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28463 PyObject
*resultobj
= 0;
28464 wxPrintData
*arg1
= 0 ;
28465 wxPrintDialogData
*result
= 0 ;
28469 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
28471 if (!SWIG_IsOK(res1
)) {
28472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28477 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
28481 wxPyEndAllowThreads(__tstate
);
28482 if (PyErr_Occurred()) SWIG_fail
;
28484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28491 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28492 PyObject
*resultobj
= 0;
28493 wxPrintDialogData
*arg1
= 0 ;
28494 wxPrintDialogData
*result
= 0 ;
28498 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
28500 if (!SWIG_IsOK(res1
)) {
28501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28506 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
28510 wxPyEndAllowThreads(__tstate
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28520 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
28524 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
28527 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
28532 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
28533 _v
= SWIG_CheckState(res
);
28535 if (!_v
) goto check_2
;
28536 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
28541 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
28545 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
28550 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28551 PyObject
*resultobj
= 0;
28552 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28555 PyObject
*swig_obj
[1] ;
28557 if (!args
) SWIG_fail
;
28558 swig_obj
[0] = args
;
28559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
28560 if (!SWIG_IsOK(res1
)) {
28561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28563 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 wxPyEndAllowThreads(__tstate
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28571 resultobj
= SWIG_Py_Void();
28578 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28579 PyObject
*resultobj
= 0;
28580 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28584 PyObject
*swig_obj
[1] ;
28586 if (!args
) SWIG_fail
;
28587 swig_obj
[0] = args
;
28588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28589 if (!SWIG_IsOK(res1
)) {
28590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28592 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28595 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= SWIG_From_int(static_cast< int >(result
));
28606 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28607 PyObject
*resultobj
= 0;
28608 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28612 PyObject
*swig_obj
[1] ;
28614 if (!args
) SWIG_fail
;
28615 swig_obj
[0] = args
;
28616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28617 if (!SWIG_IsOK(res1
)) {
28618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28620 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28623 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= SWIG_From_int(static_cast< int >(result
));
28634 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28635 PyObject
*resultobj
= 0;
28636 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28640 PyObject
*swig_obj
[1] ;
28642 if (!args
) SWIG_fail
;
28643 swig_obj
[0] = args
;
28644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28645 if (!SWIG_IsOK(res1
)) {
28646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28648 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= SWIG_From_int(static_cast< int >(result
));
28662 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28663 PyObject
*resultobj
= 0;
28664 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28668 PyObject
*swig_obj
[1] ;
28670 if (!args
) SWIG_fail
;
28671 swig_obj
[0] = args
;
28672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28673 if (!SWIG_IsOK(res1
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28676 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= SWIG_From_int(static_cast< int >(result
));
28690 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28691 PyObject
*resultobj
= 0;
28692 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28696 PyObject
*swig_obj
[1] ;
28698 if (!args
) SWIG_fail
;
28699 swig_obj
[0] = args
;
28700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28701 if (!SWIG_IsOK(res1
)) {
28702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28704 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
28708 wxPyEndAllowThreads(__tstate
);
28709 if (PyErr_Occurred()) SWIG_fail
;
28711 resultobj
= SWIG_From_int(static_cast< int >(result
));
28718 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28719 PyObject
*resultobj
= 0;
28720 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28724 PyObject
*swig_obj
[1] ;
28726 if (!args
) SWIG_fail
;
28727 swig_obj
[0] = args
;
28728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28729 if (!SWIG_IsOK(res1
)) {
28730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28732 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
28736 wxPyEndAllowThreads(__tstate
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28748 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28749 PyObject
*resultobj
= 0;
28750 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28754 PyObject
*swig_obj
[1] ;
28756 if (!args
) SWIG_fail
;
28757 swig_obj
[0] = args
;
28758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28759 if (!SWIG_IsOK(res1
)) {
28760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28762 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28765 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28778 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28779 PyObject
*resultobj
= 0;
28780 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28784 PyObject
*swig_obj
[1] ;
28786 if (!args
) SWIG_fail
;
28787 swig_obj
[0] = args
;
28788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28789 if (!SWIG_IsOK(res1
)) {
28790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28792 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28808 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28809 PyObject
*resultobj
= 0;
28810 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28814 PyObject
*swig_obj
[1] ;
28816 if (!args
) SWIG_fail
;
28817 swig_obj
[0] = args
;
28818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28819 if (!SWIG_IsOK(res1
)) {
28820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28822 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
28826 wxPyEndAllowThreads(__tstate
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28838 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28839 PyObject
*resultobj
= 0;
28840 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28846 PyObject
* obj0
= 0 ;
28847 PyObject
* obj1
= 0 ;
28848 char * kwnames
[] = {
28849 (char *) "self",(char *) "v", NULL
28852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28854 if (!SWIG_IsOK(res1
)) {
28855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28857 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28859 if (!SWIG_IsOK(ecode2
)) {
28860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
28862 arg2
= static_cast< int >(val2
);
28864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28865 (arg1
)->SetFromPage(arg2
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 resultobj
= SWIG_Py_Void();
28876 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28877 PyObject
*resultobj
= 0;
28878 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28884 PyObject
* obj0
= 0 ;
28885 PyObject
* obj1
= 0 ;
28886 char * kwnames
[] = {
28887 (char *) "self",(char *) "v", NULL
28890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28892 if (!SWIG_IsOK(res1
)) {
28893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28895 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28897 if (!SWIG_IsOK(ecode2
)) {
28898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
28900 arg2
= static_cast< int >(val2
);
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 (arg1
)->SetToPage(arg2
);
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= SWIG_Py_Void();
28914 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
= 0;
28916 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 char * kwnames
[] = {
28925 (char *) "self",(char *) "v", NULL
28928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28930 if (!SWIG_IsOK(res1
)) {
28931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28933 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28935 if (!SWIG_IsOK(ecode2
)) {
28936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
28938 arg2
= static_cast< int >(val2
);
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 (arg1
)->SetMinPage(arg2
);
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28945 resultobj
= SWIG_Py_Void();
28952 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28953 PyObject
*resultobj
= 0;
28954 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28960 PyObject
* obj0
= 0 ;
28961 PyObject
* obj1
= 0 ;
28962 char * kwnames
[] = {
28963 (char *) "self",(char *) "v", NULL
28966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28968 if (!SWIG_IsOK(res1
)) {
28969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28971 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28973 if (!SWIG_IsOK(ecode2
)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
28976 arg2
= static_cast< int >(val2
);
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 (arg1
)->SetMaxPage(arg2
);
28980 wxPyEndAllowThreads(__tstate
);
28981 if (PyErr_Occurred()) SWIG_fail
;
28983 resultobj
= SWIG_Py_Void();
28990 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28991 PyObject
*resultobj
= 0;
28992 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28998 PyObject
* obj0
= 0 ;
28999 PyObject
* obj1
= 0 ;
29000 char * kwnames
[] = {
29001 (char *) "self",(char *) "v", NULL
29004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29006 if (!SWIG_IsOK(res1
)) {
29007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29009 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29011 if (!SWIG_IsOK(ecode2
)) {
29012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
29014 arg2
= static_cast< int >(val2
);
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29017 (arg1
)->SetNoCopies(arg2
);
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 resultobj
= SWIG_Py_Void();
29028 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29029 PyObject
*resultobj
= 0;
29030 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29036 PyObject
* obj0
= 0 ;
29037 PyObject
* obj1
= 0 ;
29038 char * kwnames
[] = {
29039 (char *) "self",(char *) "flag", NULL
29042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29044 if (!SWIG_IsOK(res1
)) {
29045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29047 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29048 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29049 if (!SWIG_IsOK(ecode2
)) {
29050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
29052 arg2
= static_cast< bool >(val2
);
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 (arg1
)->SetAllPages(arg2
);
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29059 resultobj
= SWIG_Py_Void();
29066 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29067 PyObject
*resultobj
= 0;
29068 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29074 PyObject
* obj0
= 0 ;
29075 PyObject
* obj1
= 0 ;
29076 char * kwnames
[] = {
29077 (char *) "self",(char *) "flag", NULL
29080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29082 if (!SWIG_IsOK(res1
)) {
29083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29085 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29086 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29087 if (!SWIG_IsOK(ecode2
)) {
29088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
29090 arg2
= static_cast< bool >(val2
);
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 (arg1
)->SetSelection(arg2
);
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29097 resultobj
= SWIG_Py_Void();
29104 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
= 0;
29106 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29112 PyObject
* obj0
= 0 ;
29113 PyObject
* obj1
= 0 ;
29114 char * kwnames
[] = {
29115 (char *) "self",(char *) "flag", NULL
29118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29120 if (!SWIG_IsOK(res1
)) {
29121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29123 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29124 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29125 if (!SWIG_IsOK(ecode2
)) {
29126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
29128 arg2
= static_cast< bool >(val2
);
29130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29131 (arg1
)->SetCollate(arg2
);
29132 wxPyEndAllowThreads(__tstate
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29135 resultobj
= SWIG_Py_Void();
29142 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
= 0;
29144 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29150 PyObject
* obj0
= 0 ;
29151 PyObject
* obj1
= 0 ;
29152 char * kwnames
[] = {
29153 (char *) "self",(char *) "flag", NULL
29156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29158 if (!SWIG_IsOK(res1
)) {
29159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29161 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29162 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29163 if (!SWIG_IsOK(ecode2
)) {
29164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
29166 arg2
= static_cast< bool >(val2
);
29168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29169 (arg1
)->SetPrintToFile(arg2
);
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= SWIG_Py_Void();
29180 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29181 PyObject
*resultobj
= 0;
29182 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29188 PyObject
* obj0
= 0 ;
29189 PyObject
* obj1
= 0 ;
29190 char * kwnames
[] = {
29191 (char *) "self",(char *) "flag", NULL
29194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29196 if (!SWIG_IsOK(res1
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29199 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29200 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29201 if (!SWIG_IsOK(ecode2
)) {
29202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
29204 arg2
= static_cast< bool >(val2
);
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29207 (arg1
)->EnablePrintToFile(arg2
);
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= SWIG_Py_Void();
29218 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
= 0;
29220 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29226 PyObject
* obj0
= 0 ;
29227 PyObject
* obj1
= 0 ;
29228 char * kwnames
[] = {
29229 (char *) "self",(char *) "flag", NULL
29232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29234 if (!SWIG_IsOK(res1
)) {
29235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29237 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29238 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29239 if (!SWIG_IsOK(ecode2
)) {
29240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
29242 arg2
= static_cast< bool >(val2
);
29244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29245 (arg1
)->EnableSelection(arg2
);
29246 wxPyEndAllowThreads(__tstate
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= SWIG_Py_Void();
29256 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29257 PyObject
*resultobj
= 0;
29258 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29264 PyObject
* obj0
= 0 ;
29265 PyObject
* obj1
= 0 ;
29266 char * kwnames
[] = {
29267 (char *) "self",(char *) "flag", NULL
29270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29272 if (!SWIG_IsOK(res1
)) {
29273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29275 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29276 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29277 if (!SWIG_IsOK(ecode2
)) {
29278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
29280 arg2
= static_cast< bool >(val2
);
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 (arg1
)->EnablePageNumbers(arg2
);
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 resultobj
= SWIG_Py_Void();
29294 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
= 0;
29296 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29302 PyObject
* obj0
= 0 ;
29303 PyObject
* obj1
= 0 ;
29304 char * kwnames
[] = {
29305 (char *) "self",(char *) "flag", NULL
29308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29310 if (!SWIG_IsOK(res1
)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29313 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29314 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29315 if (!SWIG_IsOK(ecode2
)) {
29316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
29318 arg2
= static_cast< bool >(val2
);
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29321 (arg1
)->EnableHelp(arg2
);
29322 wxPyEndAllowThreads(__tstate
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29325 resultobj
= SWIG_Py_Void();
29332 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29333 PyObject
*resultobj
= 0;
29334 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29338 PyObject
*swig_obj
[1] ;
29340 if (!args
) SWIG_fail
;
29341 swig_obj
[0] = args
;
29342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29343 if (!SWIG_IsOK(res1
)) {
29344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29346 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29349 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29362 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29363 PyObject
*resultobj
= 0;
29364 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 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_wxPrintDialogData
, 0 | 0 );
29373 if (!SWIG_IsOK(res1
)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29376 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29392 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29393 PyObject
*resultobj
= 0;
29394 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29398 PyObject
*swig_obj
[1] ;
29400 if (!args
) SWIG_fail
;
29401 swig_obj
[0] = args
;
29402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29403 if (!SWIG_IsOK(res1
)) {
29404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29406 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29409 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
29410 wxPyEndAllowThreads(__tstate
);
29411 if (PyErr_Occurred()) SWIG_fail
;
29414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29422 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29423 PyObject
*resultobj
= 0;
29424 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29428 PyObject
*swig_obj
[1] ;
29430 if (!args
) SWIG_fail
;
29431 swig_obj
[0] = args
;
29432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29433 if (!SWIG_IsOK(res1
)) {
29434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29436 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29439 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
29440 wxPyEndAllowThreads(__tstate
);
29441 if (PyErr_Occurred()) SWIG_fail
;
29444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29452 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29453 PyObject
*resultobj
= 0;
29454 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29458 PyObject
*swig_obj
[1] ;
29460 if (!args
) SWIG_fail
;
29461 swig_obj
[0] = args
;
29462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29463 if (!SWIG_IsOK(res1
)) {
29464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29466 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29469 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29482 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29483 PyObject
*resultobj
= 0;
29484 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29485 wxPrintData
*result
= 0 ;
29488 PyObject
*swig_obj
[1] ;
29490 if (!args
) SWIG_fail
;
29491 swig_obj
[0] = args
;
29492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29493 if (!SWIG_IsOK(res1
)) {
29494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29496 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
29501 result
= (wxPrintData
*) &_result_ref
;
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
29513 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29514 PyObject
*resultobj
= 0;
29515 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29516 wxPrintData
*arg2
= 0 ;
29521 PyObject
* obj0
= 0 ;
29522 PyObject
* obj1
= 0 ;
29523 char * kwnames
[] = {
29524 (char *) "self",(char *) "printData", NULL
29527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29529 if (!SWIG_IsOK(res1
)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29532 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
29534 if (!SWIG_IsOK(res2
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29540 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
29542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29543 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= SWIG_Py_Void();
29554 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29556 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29557 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
29558 return SWIG_Py_Void();
29561 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29562 return SWIG_Python_InitShadowInstance(args
);
29565 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29566 PyObject
*resultobj
= 0;
29567 wxWindow
*arg1
= (wxWindow
*) 0 ;
29568 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
29569 wxPrintDialog
*result
= 0 ;
29574 PyObject
* obj0
= 0 ;
29575 PyObject
* obj1
= 0 ;
29576 char * kwnames
[] = {
29577 (char *) "parent",(char *) "data", NULL
29580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29582 if (!SWIG_IsOK(res1
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
29585 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29588 if (!SWIG_IsOK(res2
)) {
29589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
29591 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
29594 if (!wxPyCheckForApp()) SWIG_fail
;
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
29607 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29608 PyObject
*resultobj
= 0;
29609 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29612 PyObject
*swig_obj
[1] ;
29614 if (!args
) SWIG_fail
;
29615 swig_obj
[0] = args
;
29616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
29617 if (!SWIG_IsOK(res1
)) {
29618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29620 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= SWIG_Py_Void();
29635 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29636 PyObject
*resultobj
= 0;
29637 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29641 PyObject
*swig_obj
[1] ;
29643 if (!args
) SWIG_fail
;
29644 swig_obj
[0] = args
;
29645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29646 if (!SWIG_IsOK(res1
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29649 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (int)(arg1
)->ShowModal();
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= SWIG_From_int(static_cast< int >(result
));
29663 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29664 PyObject
*resultobj
= 0;
29665 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29666 wxPrintDialogData
*result
= 0 ;
29669 PyObject
*swig_obj
[1] ;
29671 if (!args
) SWIG_fail
;
29672 swig_obj
[0] = args
;
29673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29674 if (!SWIG_IsOK(res1
)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29677 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29681 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29682 result
= (wxPrintDialogData
*) &_result_ref
;
29684 wxPyEndAllowThreads(__tstate
);
29685 if (PyErr_Occurred()) SWIG_fail
;
29687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29694 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29695 PyObject
*resultobj
= 0;
29696 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29697 wxPrintData
*result
= 0 ;
29700 PyObject
*swig_obj
[1] ;
29702 if (!args
) SWIG_fail
;
29703 swig_obj
[0] = args
;
29704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29705 if (!SWIG_IsOK(res1
)) {
29706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29708 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
29713 result
= (wxPrintData
*) &_result_ref
;
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
29725 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29726 PyObject
*resultobj
= 0;
29727 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29731 PyObject
*swig_obj
[1] ;
29733 if (!args
) SWIG_fail
;
29734 swig_obj
[0] = args
;
29735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29736 if (!SWIG_IsOK(res1
)) {
29737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29739 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29742 result
= (wxDC
*)(arg1
)->GetPrintDC();
29743 wxPyEndAllowThreads(__tstate
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29747 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
29755 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29758 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
29759 return SWIG_Py_Void();
29762 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29763 return SWIG_Python_InitShadowInstance(args
);
29766 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29767 PyObject
*resultobj
= 0;
29768 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
29769 wxPrinter
*result
= 0 ;
29772 PyObject
* obj0
= 0 ;
29773 char * kwnames
[] = {
29774 (char *) "data", NULL
29777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
29779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29780 if (!SWIG_IsOK(res1
)) {
29781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29783 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29786 if (!wxPyCheckForApp()) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 result
= (wxPrinter
*)new wxPrinter(arg1
);
29789 wxPyEndAllowThreads(__tstate
);
29790 if (PyErr_Occurred()) SWIG_fail
;
29792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
29799 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29800 PyObject
*resultobj
= 0;
29801 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29804 PyObject
*swig_obj
[1] ;
29806 if (!args
) SWIG_fail
;
29807 swig_obj
[0] = args
;
29808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
29809 if (!SWIG_IsOK(res1
)) {
29810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
29812 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 wxPyEndAllowThreads(__tstate
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= SWIG_Py_Void();
29827 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29828 PyObject
*resultobj
= 0;
29829 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29830 wxWindow
*arg2
= (wxWindow
*) 0 ;
29831 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
29832 wxWindow
*result
= 0 ;
29839 PyObject
* obj0
= 0 ;
29840 PyObject
* obj1
= 0 ;
29841 PyObject
* obj2
= 0 ;
29842 char * kwnames
[] = {
29843 (char *) "self",(char *) "parent",(char *) "printout", NULL
29846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29848 if (!SWIG_IsOK(res1
)) {
29849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
29851 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29852 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29853 if (!SWIG_IsOK(res2
)) {
29854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
29856 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29857 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29858 if (!SWIG_IsOK(res3
)) {
29859 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29861 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
29865 wxPyEndAllowThreads(__tstate
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29869 resultobj
= wxPyMake_wxObject(result
, 0);
29877 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29878 PyObject
*resultobj
= 0;
29879 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29880 wxWindow
*arg2
= (wxWindow
*) 0 ;
29881 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
29882 wxString
*arg4
= 0 ;
29889 bool temp4
= false ;
29890 PyObject
* obj0
= 0 ;
29891 PyObject
* obj1
= 0 ;
29892 PyObject
* obj2
= 0 ;
29893 PyObject
* obj3
= 0 ;
29894 char * kwnames
[] = {
29895 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
29898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29900 if (!SWIG_IsOK(res1
)) {
29901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
29903 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29905 if (!SWIG_IsOK(res2
)) {
29906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
29908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29909 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29910 if (!SWIG_IsOK(res3
)) {
29911 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29913 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
29915 arg4
= wxString_in_helper(obj3
);
29916 if (arg4
== NULL
) SWIG_fail
;
29920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29921 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
29922 wxPyEndAllowThreads(__tstate
);
29923 if (PyErr_Occurred()) SWIG_fail
;
29925 resultobj
= SWIG_Py_Void();
29940 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29941 PyObject
*resultobj
= 0;
29942 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29943 wxWindow
*arg2
= (wxWindow
*) 0 ;
29949 PyObject
* obj0
= 0 ;
29950 PyObject
* obj1
= 0 ;
29951 char * kwnames
[] = {
29952 (char *) "self",(char *) "parent", NULL
29955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29957 if (!SWIG_IsOK(res1
)) {
29958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
29960 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29962 if (!SWIG_IsOK(res2
)) {
29963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
29965 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 result
= (bool)(arg1
)->Setup(arg2
);
29969 wxPyEndAllowThreads(__tstate
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29981 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29982 PyObject
*resultobj
= 0;
29983 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29984 wxWindow
*arg2
= (wxWindow
*) 0 ;
29985 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
29986 bool arg4
= (bool) true ;
29996 PyObject
* obj0
= 0 ;
29997 PyObject
* obj1
= 0 ;
29998 PyObject
* obj2
= 0 ;
29999 PyObject
* obj3
= 0 ;
30000 char * kwnames
[] = {
30001 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
30004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30006 if (!SWIG_IsOK(res1
)) {
30007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
30009 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30010 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30011 if (!SWIG_IsOK(res2
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
30014 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30015 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30016 if (!SWIG_IsOK(res3
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
30019 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
30021 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30022 if (!SWIG_IsOK(ecode4
)) {
30023 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
30025 arg4
= static_cast< bool >(val4
);
30028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30029 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30042 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30043 PyObject
*resultobj
= 0;
30044 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30045 wxWindow
*arg2
= (wxWindow
*) 0 ;
30051 PyObject
* obj0
= 0 ;
30052 PyObject
* obj1
= 0 ;
30053 char * kwnames
[] = {
30054 (char *) "self",(char *) "parent", NULL
30057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30059 if (!SWIG_IsOK(res1
)) {
30060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
30062 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30063 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30064 if (!SWIG_IsOK(res2
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
30067 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30075 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30083 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30084 PyObject
*resultobj
= 0;
30085 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30086 wxPrintDialogData
*result
= 0 ;
30089 PyObject
*swig_obj
[1] ;
30091 if (!args
) SWIG_fail
;
30092 swig_obj
[0] = args
;
30093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30094 if (!SWIG_IsOK(res1
)) {
30095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
30097 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
30102 result
= (wxPrintDialogData
*) &_result_ref
;
30104 wxPyEndAllowThreads(__tstate
);
30105 if (PyErr_Occurred()) SWIG_fail
;
30107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30114 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30115 PyObject
*resultobj
= 0;
30116 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30120 PyObject
*swig_obj
[1] ;
30122 if (!args
) SWIG_fail
;
30123 swig_obj
[0] = args
;
30124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30125 if (!SWIG_IsOK(res1
)) {
30126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
30128 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30131 result
= (bool)(arg1
)->GetAbort();
30132 wxPyEndAllowThreads(__tstate
);
30133 if (PyErr_Occurred()) SWIG_fail
;
30136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30144 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30145 PyObject
*resultobj
= 0;
30146 wxPrinterError result
;
30148 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
30150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30151 result
= (wxPrinterError
)wxPrinter::GetLastError();
30152 wxPyEndAllowThreads(__tstate
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30155 resultobj
= SWIG_From_int(static_cast< int >(result
));
30162 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30165 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
30166 return SWIG_Py_Void();
30169 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30170 return SWIG_Python_InitShadowInstance(args
);
30173 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
= 0;
30175 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
30176 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
30177 wxPyPrintout
*result
= 0 ;
30178 bool temp1
= false ;
30179 PyObject
* obj0
= 0 ;
30180 char * kwnames
[] = {
30181 (char *) "title", NULL
30184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
30187 arg1
= wxString_in_helper(obj0
);
30188 if (arg1
== NULL
) SWIG_fail
;
30193 if (!wxPyCheckForApp()) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
30214 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30215 PyObject
*resultobj
= 0;
30216 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30219 PyObject
*swig_obj
[1] ;
30221 if (!args
) SWIG_fail
;
30222 swig_obj
[0] = args
;
30223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30224 if (!SWIG_IsOK(res1
)) {
30225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30227 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30235 resultobj
= SWIG_Py_Void();
30242 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30243 PyObject
*resultobj
= 0;
30244 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30245 PyObject
*arg2
= (PyObject
*) 0 ;
30246 PyObject
*arg3
= (PyObject
*) 0 ;
30249 PyObject
* obj0
= 0 ;
30250 PyObject
* obj1
= 0 ;
30251 PyObject
* obj2
= 0 ;
30252 char * kwnames
[] = {
30253 (char *) "self",(char *) "self",(char *) "_class", NULL
30256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30258 if (!SWIG_IsOK(res1
)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30261 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30266 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= SWIG_Py_Void();
30277 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30278 PyObject
*resultobj
= 0;
30279 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30283 PyObject
*swig_obj
[1] ;
30285 if (!args
) SWIG_fail
;
30286 swig_obj
[0] = args
;
30287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30288 if (!SWIG_IsOK(res1
)) {
30289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30291 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30311 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30312 PyObject
*resultobj
= 0;
30313 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30317 PyObject
*swig_obj
[1] ;
30319 if (!args
) SWIG_fail
;
30320 swig_obj
[0] = args
;
30321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30322 if (!SWIG_IsOK(res1
)) {
30323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30325 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 result
= (wxDC
*)(arg1
)->GetDC();
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30341 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30342 PyObject
*resultobj
= 0;
30343 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30344 wxDC
*arg2
= (wxDC
*) 0 ;
30349 PyObject
* obj0
= 0 ;
30350 PyObject
* obj1
= 0 ;
30351 char * kwnames
[] = {
30352 (char *) "self",(char *) "dc", NULL
30355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30357 if (!SWIG_IsOK(res1
)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30360 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
30362 if (!SWIG_IsOK(res2
)) {
30363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
30365 arg2
= reinterpret_cast< wxDC
* >(argp2
);
30367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30368 (arg1
)->SetDC(arg2
);
30369 wxPyEndAllowThreads(__tstate
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 resultobj
= SWIG_Py_Void();
30379 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
= 0;
30381 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 char * kwnames
[] = {
30389 (char *) "self",(char *) "imageSize", NULL
30392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30394 if (!SWIG_IsOK(res1
)) {
30395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30397 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30404 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
30405 wxPyEndAllowThreads(__tstate
);
30406 if (PyErr_Occurred()) SWIG_fail
;
30408 resultobj
= SWIG_Py_Void();
30415 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30416 PyObject
*resultobj
= 0;
30417 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30422 PyObject
* obj0
= 0 ;
30423 PyObject
* obj1
= 0 ;
30424 char * kwnames
[] = {
30425 (char *) "self",(char *) "imageSize", NULL
30428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30430 if (!SWIG_IsOK(res1
)) {
30431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30433 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30440 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
30441 wxPyEndAllowThreads(__tstate
);
30442 if (PyErr_Occurred()) SWIG_fail
;
30444 resultobj
= SWIG_Py_Void();
30451 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
= 0;
30453 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30455 wxPageSetupDialogData
*arg3
= 0 ;
30461 PyObject
* obj0
= 0 ;
30462 PyObject
* obj1
= 0 ;
30463 PyObject
* obj2
= 0 ;
30464 char * kwnames
[] = {
30465 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
30468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30470 if (!SWIG_IsOK(res1
)) {
30471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30473 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30476 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30478 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30479 if (!SWIG_IsOK(res3
)) {
30480 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30485 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
30487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30488 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
30489 wxPyEndAllowThreads(__tstate
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30492 resultobj
= SWIG_Py_Void();
30499 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30500 PyObject
*resultobj
= 0;
30501 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30504 PyObject
*swig_obj
[1] ;
30506 if (!args
) SWIG_fail
;
30507 swig_obj
[0] = args
;
30508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30509 if (!SWIG_IsOK(res1
)) {
30510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30512 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 (arg1
)->MapScreenSizeToPaper();
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= SWIG_Py_Void();
30526 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30527 PyObject
*resultobj
= 0;
30528 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30531 PyObject
*swig_obj
[1] ;
30533 if (!args
) SWIG_fail
;
30534 swig_obj
[0] = args
;
30535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30536 if (!SWIG_IsOK(res1
)) {
30537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30539 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 (arg1
)->MapScreenSizeToPage();
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30546 resultobj
= SWIG_Py_Void();
30553 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
= 0;
30555 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30556 wxPageSetupDialogData
*arg2
= 0 ;
30561 PyObject
* obj0
= 0 ;
30562 PyObject
* obj1
= 0 ;
30563 char * kwnames
[] = {
30564 (char *) "self",(char *) "pageSetupData", NULL
30567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30569 if (!SWIG_IsOK(res1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30572 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30574 if (!SWIG_IsOK(res2
)) {
30575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30580 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= SWIG_Py_Void();
30594 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30595 PyObject
*resultobj
= 0;
30596 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30599 PyObject
*swig_obj
[1] ;
30601 if (!args
) SWIG_fail
;
30602 swig_obj
[0] = args
;
30603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30604 if (!SWIG_IsOK(res1
)) {
30605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30607 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30610 (arg1
)->MapScreenSizeToDevice();
30611 wxPyEndAllowThreads(__tstate
);
30612 if (PyErr_Occurred()) SWIG_fail
;
30614 resultobj
= SWIG_Py_Void();
30621 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30622 PyObject
*resultobj
= 0;
30623 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30627 PyObject
*swig_obj
[1] ;
30629 if (!args
) SWIG_fail
;
30630 swig_obj
[0] = args
;
30631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30632 if (!SWIG_IsOK(res1
)) {
30633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30635 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30638 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
30639 wxPyEndAllowThreads(__tstate
);
30640 if (PyErr_Occurred()) SWIG_fail
;
30642 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30649 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30650 PyObject
*resultobj
= 0;
30651 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30655 PyObject
*swig_obj
[1] ;
30657 if (!args
) SWIG_fail
;
30658 swig_obj
[0] = args
;
30659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30660 if (!SWIG_IsOK(res1
)) {
30661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30663 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30666 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30670 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30677 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30678 PyObject
*resultobj
= 0;
30679 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30680 wxPageSetupDialogData
*arg2
= 0 ;
30686 PyObject
* obj0
= 0 ;
30687 PyObject
* obj1
= 0 ;
30688 char * kwnames
[] = {
30689 (char *) "self",(char *) "pageSetupData", NULL
30692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30694 if (!SWIG_IsOK(res1
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30697 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30699 if (!SWIG_IsOK(res2
)) {
30700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30705 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30712 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30719 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30720 PyObject
*resultobj
= 0;
30721 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30730 PyObject
* obj0
= 0 ;
30731 PyObject
* obj1
= 0 ;
30732 PyObject
* obj2
= 0 ;
30733 char * kwnames
[] = {
30734 (char *) "self",(char *) "x",(char *) "y", NULL
30737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30739 if (!SWIG_IsOK(res1
)) {
30740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30742 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30744 if (!SWIG_IsOK(ecode2
)) {
30745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30747 arg2
= static_cast< int >(val2
);
30748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30749 if (!SWIG_IsOK(ecode3
)) {
30750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30752 arg3
= static_cast< int >(val3
);
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= SWIG_Py_Void();
30766 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
= 0;
30768 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30777 PyObject
* obj0
= 0 ;
30778 PyObject
* obj1
= 0 ;
30779 PyObject
* obj2
= 0 ;
30780 char * kwnames
[] = {
30781 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
30784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30786 if (!SWIG_IsOK(res1
)) {
30787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30789 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30791 if (!SWIG_IsOK(ecode2
)) {
30792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30794 arg2
= static_cast< int >(val2
);
30795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30796 if (!SWIG_IsOK(ecode3
)) {
30797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30799 arg3
= static_cast< int >(val3
);
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
30803 wxPyEndAllowThreads(__tstate
);
30804 if (PyErr_Occurred()) SWIG_fail
;
30806 resultobj
= SWIG_Py_Void();
30813 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30814 PyObject
*resultobj
= 0;
30815 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30824 PyObject
* obj0
= 0 ;
30825 PyObject
* obj1
= 0 ;
30826 PyObject
* obj2
= 0 ;
30827 char * kwnames
[] = {
30828 (char *) "self",(char *) "w",(char *) "h", NULL
30831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30833 if (!SWIG_IsOK(res1
)) {
30834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30836 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30838 if (!SWIG_IsOK(ecode2
)) {
30839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
30841 arg2
= static_cast< int >(val2
);
30842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30843 if (!SWIG_IsOK(ecode3
)) {
30844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
30846 arg3
= static_cast< int >(val3
);
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 (arg1
)->SetPageSizePixels(arg2
,arg3
);
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= SWIG_Py_Void();
30860 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30861 PyObject
*resultobj
= 0;
30862 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30863 int *arg2
= (int *) 0 ;
30864 int *arg3
= (int *) 0 ;
30868 int res2
= SWIG_TMPOBJ
;
30870 int res3
= SWIG_TMPOBJ
;
30871 PyObject
*swig_obj
[1] ;
30875 if (!args
) SWIG_fail
;
30876 swig_obj
[0] = args
;
30877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30878 if (!SWIG_IsOK(res1
)) {
30879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30881 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30884 (arg1
)->GetPageSizePixels(arg2
,arg3
);
30885 wxPyEndAllowThreads(__tstate
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30888 resultobj
= SWIG_Py_Void();
30889 if (SWIG_IsTmpObj(res2
)) {
30890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30892 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30895 if (SWIG_IsTmpObj(res3
)) {
30896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30898 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30907 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30908 PyObject
*resultobj
= 0;
30909 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30918 PyObject
* obj0
= 0 ;
30919 PyObject
* obj1
= 0 ;
30920 PyObject
* obj2
= 0 ;
30921 char * kwnames
[] = {
30922 (char *) "self",(char *) "w",(char *) "h", NULL
30925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30927 if (!SWIG_IsOK(res1
)) {
30928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30930 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30932 if (!SWIG_IsOK(ecode2
)) {
30933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
30935 arg2
= static_cast< int >(val2
);
30936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30937 if (!SWIG_IsOK(ecode3
)) {
30938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
30940 arg3
= static_cast< int >(val3
);
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 (arg1
)->SetPageSizeMM(arg2
,arg3
);
30944 wxPyEndAllowThreads(__tstate
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30947 resultobj
= SWIG_Py_Void();
30954 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30955 PyObject
*resultobj
= 0;
30956 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30957 int *arg2
= (int *) 0 ;
30958 int *arg3
= (int *) 0 ;
30962 int res2
= SWIG_TMPOBJ
;
30964 int res3
= SWIG_TMPOBJ
;
30965 PyObject
*swig_obj
[1] ;
30969 if (!args
) SWIG_fail
;
30970 swig_obj
[0] = args
;
30971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30972 if (!SWIG_IsOK(res1
)) {
30973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30975 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30978 (arg1
)->GetPageSizeMM(arg2
,arg3
);
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30982 resultobj
= SWIG_Py_Void();
30983 if (SWIG_IsTmpObj(res2
)) {
30984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30986 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30989 if (SWIG_IsTmpObj(res3
)) {
30990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30992 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31001 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31002 PyObject
*resultobj
= 0;
31003 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31012 PyObject
* obj0
= 0 ;
31013 PyObject
* obj1
= 0 ;
31014 PyObject
* obj2
= 0 ;
31015 char * kwnames
[] = {
31016 (char *) "self",(char *) "x",(char *) "y", NULL
31019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31021 if (!SWIG_IsOK(res1
)) {
31022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31024 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31026 if (!SWIG_IsOK(ecode2
)) {
31027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
31029 arg2
= static_cast< int >(val2
);
31030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31031 if (!SWIG_IsOK(ecode3
)) {
31032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
31034 arg3
= static_cast< int >(val3
);
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 (arg1
)->SetPPIScreen(arg2
,arg3
);
31038 wxPyEndAllowThreads(__tstate
);
31039 if (PyErr_Occurred()) SWIG_fail
;
31041 resultobj
= SWIG_Py_Void();
31048 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31049 PyObject
*resultobj
= 0;
31050 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31051 int *arg2
= (int *) 0 ;
31052 int *arg3
= (int *) 0 ;
31056 int res2
= SWIG_TMPOBJ
;
31058 int res3
= SWIG_TMPOBJ
;
31059 PyObject
*swig_obj
[1] ;
31063 if (!args
) SWIG_fail
;
31064 swig_obj
[0] = args
;
31065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31066 if (!SWIG_IsOK(res1
)) {
31067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31069 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31072 (arg1
)->GetPPIScreen(arg2
,arg3
);
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31076 resultobj
= SWIG_Py_Void();
31077 if (SWIG_IsTmpObj(res2
)) {
31078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31080 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31083 if (SWIG_IsTmpObj(res3
)) {
31084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31086 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31095 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31096 PyObject
*resultobj
= 0;
31097 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31106 PyObject
* obj0
= 0 ;
31107 PyObject
* obj1
= 0 ;
31108 PyObject
* obj2
= 0 ;
31109 char * kwnames
[] = {
31110 (char *) "self",(char *) "x",(char *) "y", NULL
31113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31115 if (!SWIG_IsOK(res1
)) {
31116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31118 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31120 if (!SWIG_IsOK(ecode2
)) {
31121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
31123 arg2
= static_cast< int >(val2
);
31124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31125 if (!SWIG_IsOK(ecode3
)) {
31126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
31128 arg3
= static_cast< int >(val3
);
31130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31131 (arg1
)->SetPPIPrinter(arg2
,arg3
);
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31135 resultobj
= SWIG_Py_Void();
31142 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31143 PyObject
*resultobj
= 0;
31144 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31145 int *arg2
= (int *) 0 ;
31146 int *arg3
= (int *) 0 ;
31150 int res2
= SWIG_TMPOBJ
;
31152 int res3
= SWIG_TMPOBJ
;
31153 PyObject
*swig_obj
[1] ;
31157 if (!args
) SWIG_fail
;
31158 swig_obj
[0] = args
;
31159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31160 if (!SWIG_IsOK(res1
)) {
31161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31163 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31166 (arg1
)->GetPPIPrinter(arg2
,arg3
);
31167 wxPyEndAllowThreads(__tstate
);
31168 if (PyErr_Occurred()) SWIG_fail
;
31170 resultobj
= SWIG_Py_Void();
31171 if (SWIG_IsTmpObj(res2
)) {
31172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31174 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31177 if (SWIG_IsTmpObj(res3
)) {
31178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31180 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31189 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31190 PyObject
*resultobj
= 0;
31191 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31196 PyObject
* obj0
= 0 ;
31197 PyObject
* obj1
= 0 ;
31198 char * kwnames
[] = {
31199 (char *) "self",(char *) "paperRectPixels", NULL
31202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31204 if (!SWIG_IsOK(res1
)) {
31205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31207 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31210 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_Py_Void();
31225 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31226 PyObject
*resultobj
= 0;
31227 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31231 PyObject
*swig_obj
[1] ;
31233 if (!args
) SWIG_fail
;
31234 swig_obj
[0] = args
;
31235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31236 if (!SWIG_IsOK(res1
)) {
31237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
31239 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31242 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
31243 wxPyEndAllowThreads(__tstate
);
31244 if (PyErr_Occurred()) SWIG_fail
;
31246 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31253 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31254 PyObject
*resultobj
= 0;
31255 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31259 PyObject
*swig_obj
[1] ;
31261 if (!args
) SWIG_fail
;
31262 swig_obj
[0] = args
;
31263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31264 if (!SWIG_IsOK(res1
)) {
31265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31267 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31270 result
= (bool)(arg1
)->IsPreview();
31271 wxPyEndAllowThreads(__tstate
);
31272 if (PyErr_Occurred()) SWIG_fail
;
31275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31283 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31284 PyObject
*resultobj
= 0;
31285 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31291 PyObject
* obj0
= 0 ;
31292 PyObject
* obj1
= 0 ;
31293 char * kwnames
[] = {
31294 (char *) "self",(char *) "p", NULL
31297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31299 if (!SWIG_IsOK(res1
)) {
31300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31302 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31303 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31304 if (!SWIG_IsOK(ecode2
)) {
31305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
31307 arg2
= static_cast< bool >(val2
);
31309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31310 (arg1
)->SetIsPreview(arg2
);
31311 wxPyEndAllowThreads(__tstate
);
31312 if (PyErr_Occurred()) SWIG_fail
;
31314 resultobj
= SWIG_Py_Void();
31321 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31322 PyObject
*resultobj
= 0;
31323 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31333 PyObject
* obj0
= 0 ;
31334 PyObject
* obj1
= 0 ;
31335 PyObject
* obj2
= 0 ;
31336 char * kwnames
[] = {
31337 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
31340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31342 if (!SWIG_IsOK(res1
)) {
31343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31345 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31347 if (!SWIG_IsOK(ecode2
)) {
31348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
31350 arg2
= static_cast< int >(val2
);
31351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31352 if (!SWIG_IsOK(ecode3
)) {
31353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
31355 arg3
= static_cast< int >(val3
);
31357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31358 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
31359 wxPyEndAllowThreads(__tstate
);
31360 if (PyErr_Occurred()) SWIG_fail
;
31363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31371 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31372 PyObject
*resultobj
= 0;
31373 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31376 PyObject
*swig_obj
[1] ;
31378 if (!args
) SWIG_fail
;
31379 swig_obj
[0] = args
;
31380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31381 if (!SWIG_IsOK(res1
)) {
31382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31384 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31387 (arg1
)->OnEndDocument();
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31391 resultobj
= SWIG_Py_Void();
31398 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31399 PyObject
*resultobj
= 0;
31400 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31403 PyObject
*swig_obj
[1] ;
31405 if (!args
) SWIG_fail
;
31406 swig_obj
[0] = args
;
31407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31408 if (!SWIG_IsOK(res1
)) {
31409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31411 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 (arg1
)->OnBeginPrinting();
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31418 resultobj
= SWIG_Py_Void();
31425 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31426 PyObject
*resultobj
= 0;
31427 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31430 PyObject
*swig_obj
[1] ;
31432 if (!args
) SWIG_fail
;
31433 swig_obj
[0] = args
;
31434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31435 if (!SWIG_IsOK(res1
)) {
31436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31438 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31441 (arg1
)->OnEndPrinting();
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31445 resultobj
= SWIG_Py_Void();
31452 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31453 PyObject
*resultobj
= 0;
31454 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31457 PyObject
*swig_obj
[1] ;
31459 if (!args
) SWIG_fail
;
31460 swig_obj
[0] = args
;
31461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31462 if (!SWIG_IsOK(res1
)) {
31463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31465 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 (arg1
)->OnPreparePrinting();
31469 wxPyEndAllowThreads(__tstate
);
31470 if (PyErr_Occurred()) SWIG_fail
;
31472 resultobj
= SWIG_Py_Void();
31479 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31480 PyObject
*resultobj
= 0;
31481 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 char * kwnames
[] = {
31491 (char *) "self",(char *) "page", NULL
31494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31496 if (!SWIG_IsOK(res1
)) {
31497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31499 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31501 if (!SWIG_IsOK(ecode2
)) {
31502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
31504 arg2
= static_cast< int >(val2
);
31506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31507 result
= (bool)(arg1
)->HasPage(arg2
);
31508 wxPyEndAllowThreads(__tstate
);
31509 if (PyErr_Occurred()) SWIG_fail
;
31512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31520 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31521 PyObject
*resultobj
= 0;
31522 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31523 int *arg2
= (int *) 0 ;
31524 int *arg3
= (int *) 0 ;
31525 int *arg4
= (int *) 0 ;
31526 int *arg5
= (int *) 0 ;
31530 int res2
= SWIG_TMPOBJ
;
31532 int res3
= SWIG_TMPOBJ
;
31534 int res4
= SWIG_TMPOBJ
;
31536 int res5
= SWIG_TMPOBJ
;
31537 PyObject
*swig_obj
[1] ;
31543 if (!args
) SWIG_fail
;
31544 swig_obj
[0] = args
;
31545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31546 if (!SWIG_IsOK(res1
)) {
31547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31549 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31552 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
31553 wxPyEndAllowThreads(__tstate
);
31554 if (PyErr_Occurred()) SWIG_fail
;
31556 resultobj
= SWIG_Py_Void();
31557 if (SWIG_IsTmpObj(res2
)) {
31558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31560 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31563 if (SWIG_IsTmpObj(res3
)) {
31564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31566 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31569 if (SWIG_IsTmpObj(res4
)) {
31570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31572 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31575 if (SWIG_IsTmpObj(res5
)) {
31576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
31578 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
31587 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31590 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
31591 return SWIG_Py_Void();
31594 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31595 return SWIG_Python_InitShadowInstance(args
);
31598 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31599 PyObject
*resultobj
= 0;
31600 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31601 wxWindow
*arg2
= (wxWindow
*) 0 ;
31602 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31603 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31604 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31605 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31606 long arg5
= (long) 0 ;
31607 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
31608 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31609 wxPreviewCanvas
*result
= 0 ;
31618 bool temp6
= false ;
31619 PyObject
* obj0
= 0 ;
31620 PyObject
* obj1
= 0 ;
31621 PyObject
* obj2
= 0 ;
31622 PyObject
* obj3
= 0 ;
31623 PyObject
* obj4
= 0 ;
31624 PyObject
* obj5
= 0 ;
31625 char * kwnames
[] = {
31626 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
31630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31631 if (!SWIG_IsOK(res1
)) {
31632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31634 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31636 if (!SWIG_IsOK(res2
)) {
31637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
31639 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31643 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31649 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31653 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31654 if (!SWIG_IsOK(ecode5
)) {
31655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
31657 arg5
= static_cast< long >(val5
);
31661 arg6
= wxString_in_helper(obj5
);
31662 if (arg6
== NULL
) SWIG_fail
;
31667 if (!wxPyCheckForApp()) SWIG_fail
;
31668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31669 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31670 wxPyEndAllowThreads(__tstate
);
31671 if (PyErr_Occurred()) SWIG_fail
;
31673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
31688 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31691 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
31692 return SWIG_Py_Void();
31695 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31696 return SWIG_Python_InitShadowInstance(args
);
31699 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
= 0;
31701 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31702 wxFrame
*arg2
= (wxFrame
*) 0 ;
31703 wxString
*arg3
= 0 ;
31704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31708 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31709 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31711 wxPreviewFrame
*result
= 0 ;
31715 bool temp3
= false ;
31720 bool temp7
= false ;
31721 PyObject
* obj0
= 0 ;
31722 PyObject
* obj1
= 0 ;
31723 PyObject
* obj2
= 0 ;
31724 PyObject
* obj3
= 0 ;
31725 PyObject
* obj4
= 0 ;
31726 PyObject
* obj5
= 0 ;
31727 PyObject
* obj6
= 0 ;
31728 char * kwnames
[] = {
31729 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31733 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31734 if (!SWIG_IsOK(res1
)) {
31735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31738 if (!SWIG_IsOK(res2
)) {
31739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31741 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31743 arg3
= wxString_in_helper(obj2
);
31744 if (arg3
== NULL
) SWIG_fail
;
31750 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31756 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31760 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31761 if (!SWIG_IsOK(ecode6
)) {
31762 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
31764 arg6
= static_cast< long >(val6
);
31768 arg7
= wxString_in_helper(obj6
);
31769 if (arg7
== NULL
) SWIG_fail
;
31774 if (!wxPyCheckForApp()) SWIG_fail
;
31775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31776 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31777 wxPyEndAllowThreads(__tstate
);
31778 if (PyErr_Occurred()) SWIG_fail
;
31780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31803 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31804 PyObject
*resultobj
= 0;
31805 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31808 PyObject
*swig_obj
[1] ;
31810 if (!args
) SWIG_fail
;
31811 swig_obj
[0] = args
;
31812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31813 if (!SWIG_IsOK(res1
)) {
31814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31816 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31819 (arg1
)->Initialize();
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 resultobj
= SWIG_Py_Void();
31830 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31831 PyObject
*resultobj
= 0;
31832 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31835 PyObject
*swig_obj
[1] ;
31837 if (!args
) SWIG_fail
;
31838 swig_obj
[0] = args
;
31839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31840 if (!SWIG_IsOK(res1
)) {
31841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31843 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31846 (arg1
)->CreateControlBar();
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31850 resultobj
= SWIG_Py_Void();
31857 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31858 PyObject
*resultobj
= 0;
31859 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31862 PyObject
*swig_obj
[1] ;
31864 if (!args
) SWIG_fail
;
31865 swig_obj
[0] = args
;
31866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31867 if (!SWIG_IsOK(res1
)) {
31868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31870 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31873 (arg1
)->CreateCanvas();
31874 wxPyEndAllowThreads(__tstate
);
31875 if (PyErr_Occurred()) SWIG_fail
;
31877 resultobj
= SWIG_Py_Void();
31884 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31885 PyObject
*resultobj
= 0;
31886 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31887 wxPreviewControlBar
*result
= 0 ;
31890 PyObject
*swig_obj
[1] ;
31892 if (!args
) SWIG_fail
;
31893 swig_obj
[0] = args
;
31894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31895 if (!SWIG_IsOK(res1
)) {
31896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
31898 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31901 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31912 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31915 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
31916 return SWIG_Py_Void();
31919 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31920 return SWIG_Python_InitShadowInstance(args
);
31923 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31924 PyObject
*resultobj
= 0;
31925 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31927 wxWindow
*arg3
= (wxWindow
*) 0 ;
31928 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31929 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31930 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31931 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31932 long arg6
= (long) wxTAB_TRAVERSAL
;
31933 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31934 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31935 wxPreviewControlBar
*result
= 0 ;
31946 bool temp7
= false ;
31947 PyObject
* obj0
= 0 ;
31948 PyObject
* obj1
= 0 ;
31949 PyObject
* obj2
= 0 ;
31950 PyObject
* obj3
= 0 ;
31951 PyObject
* obj4
= 0 ;
31952 PyObject
* obj5
= 0 ;
31953 PyObject
* obj6
= 0 ;
31954 char * kwnames
[] = {
31955 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31960 if (!SWIG_IsOK(res1
)) {
31961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31963 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31964 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31965 if (!SWIG_IsOK(ecode2
)) {
31966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31968 arg2
= static_cast< long >(val2
);
31969 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31970 if (!SWIG_IsOK(res3
)) {
31971 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31973 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31977 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31983 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31987 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31988 if (!SWIG_IsOK(ecode6
)) {
31989 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31991 arg6
= static_cast< long >(val6
);
31995 arg7
= wxString_in_helper(obj6
);
31996 if (arg7
== NULL
) SWIG_fail
;
32001 if (!wxPyCheckForApp()) SWIG_fail
;
32002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32003 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
32004 wxPyEndAllowThreads(__tstate
);
32005 if (PyErr_Occurred()) SWIG_fail
;
32007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
32022 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32023 PyObject
*resultobj
= 0;
32024 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32028 PyObject
*swig_obj
[1] ;
32030 if (!args
) SWIG_fail
;
32031 swig_obj
[0] = args
;
32032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32033 if (!SWIG_IsOK(res1
)) {
32034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32036 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32039 result
= (int)(arg1
)->GetZoomControl();
32040 wxPyEndAllowThreads(__tstate
);
32041 if (PyErr_Occurred()) SWIG_fail
;
32043 resultobj
= SWIG_From_int(static_cast< int >(result
));
32050 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32051 PyObject
*resultobj
= 0;
32052 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32058 PyObject
* obj0
= 0 ;
32059 PyObject
* obj1
= 0 ;
32060 char * kwnames
[] = {
32061 (char *) "self",(char *) "zoom", NULL
32064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32066 if (!SWIG_IsOK(res1
)) {
32067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32069 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32071 if (!SWIG_IsOK(ecode2
)) {
32072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
32074 arg2
= static_cast< int >(val2
);
32076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32077 (arg1
)->SetZoomControl(arg2
);
32078 wxPyEndAllowThreads(__tstate
);
32079 if (PyErr_Occurred()) SWIG_fail
;
32081 resultobj
= SWIG_Py_Void();
32088 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32089 PyObject
*resultobj
= 0;
32090 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32091 wxPrintPreview
*result
= 0 ;
32094 PyObject
*swig_obj
[1] ;
32096 if (!args
) SWIG_fail
;
32097 swig_obj
[0] = args
;
32098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32099 if (!SWIG_IsOK(res1
)) {
32100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32102 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
32106 wxPyEndAllowThreads(__tstate
);
32107 if (PyErr_Occurred()) SWIG_fail
;
32109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32116 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32117 PyObject
*resultobj
= 0;
32118 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32121 PyObject
*swig_obj
[1] ;
32123 if (!args
) SWIG_fail
;
32124 swig_obj
[0] = args
;
32125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32126 if (!SWIG_IsOK(res1
)) {
32127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32129 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32133 wxPyEndAllowThreads(__tstate
);
32134 if (PyErr_Occurred()) SWIG_fail
;
32136 resultobj
= SWIG_Py_Void();
32143 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32144 PyObject
*resultobj
= 0;
32145 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32148 PyObject
*swig_obj
[1] ;
32150 if (!args
) SWIG_fail
;
32151 swig_obj
[0] = args
;
32152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32153 if (!SWIG_IsOK(res1
)) {
32154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32156 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32159 (arg1
)->OnPrevious();
32160 wxPyEndAllowThreads(__tstate
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32163 resultobj
= SWIG_Py_Void();
32170 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32171 PyObject
*resultobj
= 0;
32172 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32175 PyObject
*swig_obj
[1] ;
32177 if (!args
) SWIG_fail
;
32178 swig_obj
[0] = args
;
32179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32180 if (!SWIG_IsOK(res1
)) {
32181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32183 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32187 wxPyEndAllowThreads(__tstate
);
32188 if (PyErr_Occurred()) SWIG_fail
;
32190 resultobj
= SWIG_Py_Void();
32197 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32198 PyObject
*resultobj
= 0;
32199 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32202 PyObject
*swig_obj
[1] ;
32204 if (!args
) SWIG_fail
;
32205 swig_obj
[0] = args
;
32206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32207 if (!SWIG_IsOK(res1
)) {
32208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32210 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32214 wxPyEndAllowThreads(__tstate
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32217 resultobj
= SWIG_Py_Void();
32224 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32225 PyObject
*resultobj
= 0;
32226 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32229 PyObject
*swig_obj
[1] ;
32231 if (!args
) SWIG_fail
;
32232 swig_obj
[0] = args
;
32233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32234 if (!SWIG_IsOK(res1
)) {
32235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32237 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32241 wxPyEndAllowThreads(__tstate
);
32242 if (PyErr_Occurred()) SWIG_fail
;
32244 resultobj
= SWIG_Py_Void();
32251 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32254 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
32255 return SWIG_Py_Void();
32258 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32259 return SWIG_Python_InitShadowInstance(args
);
32262 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32263 PyObject
*resultobj
= 0;
32264 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
32265 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32266 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
32267 wxPrintPreview
*result
= 0 ;
32273 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32274 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32275 if (!SWIG_IsOK(res1
)) {
32276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32278 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32279 if (!SWIG_IsOK(res2
)) {
32280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32283 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
32284 if (!SWIG_IsOK(res3
)) {
32285 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
32287 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
32290 if (!wxPyCheckForApp()) SWIG_fail
;
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
32293 wxPyEndAllowThreads(__tstate
);
32294 if (PyErr_Occurred()) SWIG_fail
;
32296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
32303 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32304 PyObject
*resultobj
= 0;
32305 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
32306 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32307 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
32308 wxPrintPreview
*result
= 0 ;
32314 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
32315 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32316 if (!SWIG_IsOK(res1
)) {
32317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32319 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32320 if (!SWIG_IsOK(res2
)) {
32321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32323 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
32324 if (!SWIG_IsOK(res3
)) {
32325 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
32327 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
32329 if (!wxPyCheckForApp()) SWIG_fail
;
32330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32331 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
32332 wxPyEndAllowThreads(__tstate
);
32333 if (PyErr_Occurred()) SWIG_fail
;
32335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
32342 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
32346 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
32348 if ((argc
>= 2) && (argc
<= 3)) {
32353 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
32354 _v
= SWIG_CheckState(res
);
32356 if (!_v
) goto check_1
;
32358 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
32363 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
32367 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
32372 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32373 PyObject
*resultobj
= 0;
32374 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32377 PyObject
*swig_obj
[1] ;
32379 if (!args
) SWIG_fail
;
32380 swig_obj
[0] = args
;
32381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
32382 if (!SWIG_IsOK(res1
)) {
32383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32385 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32390 wxPyEndAllowThreads(__tstate
);
32391 if (PyErr_Occurred()) SWIG_fail
;
32393 resultobj
= SWIG_Py_Void();
32400 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32401 PyObject
*resultobj
= 0;
32402 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32409 PyObject
* obj0
= 0 ;
32410 PyObject
* obj1
= 0 ;
32411 char * kwnames
[] = {
32412 (char *) "self",(char *) "pageNum", NULL
32415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32417 if (!SWIG_IsOK(res1
)) {
32418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32420 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32422 if (!SWIG_IsOK(ecode2
)) {
32423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
32425 arg2
= static_cast< int >(val2
);
32427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32428 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
32429 wxPyEndAllowThreads(__tstate
);
32430 if (PyErr_Occurred()) SWIG_fail
;
32433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32441 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32442 PyObject
*resultobj
= 0;
32443 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32447 PyObject
*swig_obj
[1] ;
32449 if (!args
) SWIG_fail
;
32450 swig_obj
[0] = args
;
32451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32452 if (!SWIG_IsOK(res1
)) {
32453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32455 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32458 result
= (int)(arg1
)->GetCurrentPage();
32459 wxPyEndAllowThreads(__tstate
);
32460 if (PyErr_Occurred()) SWIG_fail
;
32462 resultobj
= SWIG_From_int(static_cast< int >(result
));
32469 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32470 PyObject
*resultobj
= 0;
32471 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32472 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32476 PyObject
* obj0
= 0 ;
32477 PyObject
* obj1
= 0 ;
32478 char * kwnames
[] = {
32479 (char *) "self",(char *) "printout", NULL
32482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32484 if (!SWIG_IsOK(res1
)) {
32485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32487 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32488 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32489 if (!SWIG_IsOK(res2
)) {
32490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32494 (arg1
)->SetPrintout(arg2
);
32495 wxPyEndAllowThreads(__tstate
);
32496 if (PyErr_Occurred()) SWIG_fail
;
32498 resultobj
= SWIG_Py_Void();
32505 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32506 PyObject
*resultobj
= 0;
32507 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32508 wxPyPrintout
*result
= 0 ;
32511 PyObject
*swig_obj
[1] ;
32513 if (!args
) SWIG_fail
;
32514 swig_obj
[0] = args
;
32515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32516 if (!SWIG_IsOK(res1
)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32519 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32522 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
32523 wxPyEndAllowThreads(__tstate
);
32524 if (PyErr_Occurred()) SWIG_fail
;
32527 resultobj
= wxPyMake_wxObject(result
, 0);
32535 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32536 PyObject
*resultobj
= 0;
32537 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32538 wxPyPrintout
*result
= 0 ;
32541 PyObject
*swig_obj
[1] ;
32543 if (!args
) SWIG_fail
;
32544 swig_obj
[0] = args
;
32545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32546 if (!SWIG_IsOK(res1
)) {
32547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32549 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32552 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
32553 wxPyEndAllowThreads(__tstate
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32557 resultobj
= wxPyMake_wxObject(result
, 0);
32565 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32566 PyObject
*resultobj
= 0;
32567 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32568 wxFrame
*arg2
= (wxFrame
*) 0 ;
32573 PyObject
* obj0
= 0 ;
32574 PyObject
* obj1
= 0 ;
32575 char * kwnames
[] = {
32576 (char *) "self",(char *) "frame", NULL
32579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32581 if (!SWIG_IsOK(res1
)) {
32582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32584 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
32586 if (!SWIG_IsOK(res2
)) {
32587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
32589 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
32591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32592 (arg1
)->SetFrame(arg2
);
32593 wxPyEndAllowThreads(__tstate
);
32594 if (PyErr_Occurred()) SWIG_fail
;
32596 resultobj
= SWIG_Py_Void();
32603 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32604 PyObject
*resultobj
= 0;
32605 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32606 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32611 PyObject
* obj0
= 0 ;
32612 PyObject
* obj1
= 0 ;
32613 char * kwnames
[] = {
32614 (char *) "self",(char *) "canvas", NULL
32617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32619 if (!SWIG_IsOK(res1
)) {
32620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32622 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32624 if (!SWIG_IsOK(res2
)) {
32625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32627 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32630 (arg1
)->SetCanvas(arg2
);
32631 wxPyEndAllowThreads(__tstate
);
32632 if (PyErr_Occurred()) SWIG_fail
;
32634 resultobj
= SWIG_Py_Void();
32641 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32642 PyObject
*resultobj
= 0;
32643 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32644 wxFrame
*result
= 0 ;
32647 PyObject
*swig_obj
[1] ;
32649 if (!args
) SWIG_fail
;
32650 swig_obj
[0] = args
;
32651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32652 if (!SWIG_IsOK(res1
)) {
32653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32655 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 result
= (wxFrame
*)(arg1
)->GetFrame();
32659 wxPyEndAllowThreads(__tstate
);
32660 if (PyErr_Occurred()) SWIG_fail
;
32663 resultobj
= wxPyMake_wxObject(result
, 0);
32671 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32672 PyObject
*resultobj
= 0;
32673 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32674 wxPreviewCanvas
*result
= 0 ;
32677 PyObject
*swig_obj
[1] ;
32679 if (!args
) SWIG_fail
;
32680 swig_obj
[0] = args
;
32681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32682 if (!SWIG_IsOK(res1
)) {
32683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32685 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32688 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
32689 wxPyEndAllowThreads(__tstate
);
32690 if (PyErr_Occurred()) SWIG_fail
;
32692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32699 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32700 PyObject
*resultobj
= 0;
32701 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32702 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32711 PyObject
* obj0
= 0 ;
32712 PyObject
* obj1
= 0 ;
32713 PyObject
* obj2
= 0 ;
32714 char * kwnames
[] = {
32715 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32720 if (!SWIG_IsOK(res1
)) {
32721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32723 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32725 if (!SWIG_IsOK(res2
)) {
32726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32728 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32729 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32730 if (!SWIG_IsOK(res3
)) {
32731 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32736 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32739 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
32740 wxPyEndAllowThreads(__tstate
);
32741 if (PyErr_Occurred()) SWIG_fail
;
32744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32752 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32753 PyObject
*resultobj
= 0;
32754 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32755 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32764 PyObject
* obj0
= 0 ;
32765 PyObject
* obj1
= 0 ;
32766 PyObject
* obj2
= 0 ;
32767 char * kwnames
[] = {
32768 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32773 if (!SWIG_IsOK(res1
)) {
32774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32776 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32778 if (!SWIG_IsOK(res2
)) {
32779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32781 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32782 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32783 if (!SWIG_IsOK(res3
)) {
32784 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32789 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32792 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
32793 wxPyEndAllowThreads(__tstate
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32805 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32806 PyObject
*resultobj
= 0;
32807 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32814 PyObject
* obj0
= 0 ;
32815 PyObject
* obj1
= 0 ;
32816 char * kwnames
[] = {
32817 (char *) "self",(char *) "pageNum", NULL
32820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32822 if (!SWIG_IsOK(res1
)) {
32823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32825 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32827 if (!SWIG_IsOK(ecode2
)) {
32828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
32830 arg2
= static_cast< int >(val2
);
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 result
= (bool)(arg1
)->RenderPage(arg2
);
32834 wxPyEndAllowThreads(__tstate
);
32835 if (PyErr_Occurred()) SWIG_fail
;
32838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32846 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32847 PyObject
*resultobj
= 0;
32848 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32849 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32854 PyObject
* obj0
= 0 ;
32855 PyObject
* obj1
= 0 ;
32856 char * kwnames
[] = {
32857 (char *) "self",(char *) "canvas", NULL
32860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32862 if (!SWIG_IsOK(res1
)) {
32863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32865 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32867 if (!SWIG_IsOK(res2
)) {
32868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32870 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32873 (arg1
)->AdjustScrollbars(arg2
);
32874 wxPyEndAllowThreads(__tstate
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32877 resultobj
= SWIG_Py_Void();
32884 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32885 PyObject
*resultobj
= 0;
32886 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32887 wxPrintDialogData
*result
= 0 ;
32890 PyObject
*swig_obj
[1] ;
32892 if (!args
) SWIG_fail
;
32893 swig_obj
[0] = args
;
32894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32895 if (!SWIG_IsOK(res1
)) {
32896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32898 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
32903 result
= (wxPrintDialogData
*) &_result_ref
;
32905 wxPyEndAllowThreads(__tstate
);
32906 if (PyErr_Occurred()) SWIG_fail
;
32908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
32915 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32916 PyObject
*resultobj
= 0;
32917 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32923 PyObject
* obj0
= 0 ;
32924 PyObject
* obj1
= 0 ;
32925 char * kwnames
[] = {
32926 (char *) "self",(char *) "percent", NULL
32929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32931 if (!SWIG_IsOK(res1
)) {
32932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32934 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32936 if (!SWIG_IsOK(ecode2
)) {
32937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
32939 arg2
= static_cast< int >(val2
);
32941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32942 (arg1
)->SetZoom(arg2
);
32943 wxPyEndAllowThreads(__tstate
);
32944 if (PyErr_Occurred()) SWIG_fail
;
32946 resultobj
= SWIG_Py_Void();
32953 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32954 PyObject
*resultobj
= 0;
32955 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32959 PyObject
*swig_obj
[1] ;
32961 if (!args
) SWIG_fail
;
32962 swig_obj
[0] = args
;
32963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32964 if (!SWIG_IsOK(res1
)) {
32965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32967 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32970 result
= (int)(arg1
)->GetZoom();
32971 wxPyEndAllowThreads(__tstate
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32974 resultobj
= SWIG_From_int(static_cast< int >(result
));
32981 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32982 PyObject
*resultobj
= 0;
32983 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32987 PyObject
*swig_obj
[1] ;
32989 if (!args
) SWIG_fail
;
32990 swig_obj
[0] = args
;
32991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32992 if (!SWIG_IsOK(res1
)) {
32993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32995 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32998 result
= (int)(arg1
)->GetMaxPage();
32999 wxPyEndAllowThreads(__tstate
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33002 resultobj
= SWIG_From_int(static_cast< int >(result
));
33009 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33010 PyObject
*resultobj
= 0;
33011 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33015 PyObject
*swig_obj
[1] ;
33017 if (!args
) SWIG_fail
;
33018 swig_obj
[0] = args
;
33019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33020 if (!SWIG_IsOK(res1
)) {
33021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33023 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33026 result
= (int)(arg1
)->GetMinPage();
33027 wxPyEndAllowThreads(__tstate
);
33028 if (PyErr_Occurred()) SWIG_fail
;
33030 resultobj
= SWIG_From_int(static_cast< int >(result
));
33037 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33038 PyObject
*resultobj
= 0;
33039 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33043 PyObject
*swig_obj
[1] ;
33045 if (!args
) SWIG_fail
;
33046 swig_obj
[0] = args
;
33047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33048 if (!SWIG_IsOK(res1
)) {
33049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33051 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33054 result
= (bool)(arg1
)->IsOk();
33055 wxPyEndAllowThreads(__tstate
);
33056 if (PyErr_Occurred()) SWIG_fail
;
33059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33067 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33068 PyObject
*resultobj
= 0;
33069 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33075 PyObject
* obj0
= 0 ;
33076 PyObject
* obj1
= 0 ;
33077 char * kwnames
[] = {
33078 (char *) "self",(char *) "ok", NULL
33081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33086 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33087 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33088 if (!SWIG_IsOK(ecode2
)) {
33089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
33091 arg2
= static_cast< bool >(val2
);
33093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33094 (arg1
)->SetOk(arg2
);
33095 wxPyEndAllowThreads(__tstate
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33098 resultobj
= SWIG_Py_Void();
33105 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33106 PyObject
*resultobj
= 0;
33107 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33114 PyObject
* obj0
= 0 ;
33115 PyObject
* obj1
= 0 ;
33116 char * kwnames
[] = {
33117 (char *) "self",(char *) "interactive", NULL
33120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33122 if (!SWIG_IsOK(res1
)) {
33123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33125 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33126 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33127 if (!SWIG_IsOK(ecode2
)) {
33128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
33130 arg2
= static_cast< bool >(val2
);
33132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33133 result
= (bool)(arg1
)->Print(arg2
);
33134 wxPyEndAllowThreads(__tstate
);
33135 if (PyErr_Occurred()) SWIG_fail
;
33138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33146 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33147 PyObject
*resultobj
= 0;
33148 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33151 PyObject
*swig_obj
[1] ;
33153 if (!args
) SWIG_fail
;
33154 swig_obj
[0] = args
;
33155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33156 if (!SWIG_IsOK(res1
)) {
33157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33159 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33162 (arg1
)->DetermineScaling();
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33166 resultobj
= SWIG_Py_Void();
33173 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33176 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
33177 return SWIG_Py_Void();
33180 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33181 return SWIG_Python_InitShadowInstance(args
);
33184 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33185 PyObject
*resultobj
= 0;
33186 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
33187 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
33188 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
33189 wxPyPrintPreview
*result
= 0 ;
33195 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33196 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33197 if (!SWIG_IsOK(res1
)) {
33198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33200 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33201 if (!SWIG_IsOK(res2
)) {
33202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33205 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
33206 if (!SWIG_IsOK(res3
)) {
33207 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
33209 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
33212 if (!wxPyCheckForApp()) SWIG_fail
;
33213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33214 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
33215 wxPyEndAllowThreads(__tstate
);
33216 if (PyErr_Occurred()) SWIG_fail
;
33218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
33225 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33226 PyObject
*resultobj
= 0;
33227 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
33228 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
33229 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
33230 wxPyPrintPreview
*result
= 0 ;
33236 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
33237 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33238 if (!SWIG_IsOK(res1
)) {
33239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33241 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33242 if (!SWIG_IsOK(res2
)) {
33243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33245 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
33246 if (!SWIG_IsOK(res3
)) {
33247 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
33249 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
33251 if (!wxPyCheckForApp()) SWIG_fail
;
33252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33253 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
33254 wxPyEndAllowThreads(__tstate
);
33255 if (PyErr_Occurred()) SWIG_fail
;
33257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
33264 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
33268 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
33270 if ((argc
>= 2) && (argc
<= 3)) {
33275 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
33276 _v
= SWIG_CheckState(res
);
33278 if (!_v
) goto check_1
;
33280 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
33285 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
33289 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
33294 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33295 PyObject
*resultobj
= 0;
33296 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
33297 PyObject
*arg2
= (PyObject
*) 0 ;
33298 PyObject
*arg3
= (PyObject
*) 0 ;
33301 PyObject
* obj0
= 0 ;
33302 PyObject
* obj1
= 0 ;
33303 PyObject
* obj2
= 0 ;
33304 char * kwnames
[] = {
33305 (char *) "self",(char *) "self",(char *) "_class", NULL
33308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
33310 if (!SWIG_IsOK(res1
)) {
33311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
33313 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
33317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33318 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33319 wxPyEndAllowThreads(__tstate
);
33320 if (PyErr_Occurred()) SWIG_fail
;
33322 resultobj
= SWIG_Py_Void();
33329 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33332 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
33333 return SWIG_Py_Void();
33336 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33337 return SWIG_Python_InitShadowInstance(args
);
33340 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33341 PyObject
*resultobj
= 0;
33342 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33343 wxFrame
*arg2
= (wxFrame
*) 0 ;
33344 wxString
*arg3
= 0 ;
33345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33349 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
33350 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
33351 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33352 wxPyPreviewFrame
*result
= 0 ;
33356 bool temp3
= false ;
33361 bool temp7
= false ;
33362 PyObject
* obj0
= 0 ;
33363 PyObject
* obj1
= 0 ;
33364 PyObject
* obj2
= 0 ;
33365 PyObject
* obj3
= 0 ;
33366 PyObject
* obj4
= 0 ;
33367 PyObject
* obj5
= 0 ;
33368 PyObject
* obj6
= 0 ;
33369 char * kwnames
[] = {
33370 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33374 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33375 if (!SWIG_IsOK(res1
)) {
33376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
33379 if (!SWIG_IsOK(res2
)) {
33380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
33382 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
33384 arg3
= wxString_in_helper(obj2
);
33385 if (arg3
== NULL
) SWIG_fail
;
33391 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33397 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33401 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33402 if (!SWIG_IsOK(ecode6
)) {
33403 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
33405 arg6
= static_cast< long >(val6
);
33409 arg7
= wxString_in_helper(obj6
);
33410 if (arg7
== NULL
) SWIG_fail
;
33415 if (!wxPyCheckForApp()) SWIG_fail
;
33416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33417 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
33444 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33445 PyObject
*resultobj
= 0;
33446 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33447 PyObject
*arg2
= (PyObject
*) 0 ;
33448 PyObject
*arg3
= (PyObject
*) 0 ;
33451 PyObject
* obj0
= 0 ;
33452 PyObject
* obj1
= 0 ;
33453 PyObject
* obj2
= 0 ;
33454 char * kwnames
[] = {
33455 (char *) "self",(char *) "self",(char *) "_class", NULL
33458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33460 if (!SWIG_IsOK(res1
)) {
33461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33463 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33468 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33469 wxPyEndAllowThreads(__tstate
);
33470 if (PyErr_Occurred()) SWIG_fail
;
33472 resultobj
= SWIG_Py_Void();
33479 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33480 PyObject
*resultobj
= 0;
33481 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33482 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
33487 PyObject
* obj0
= 0 ;
33488 PyObject
* obj1
= 0 ;
33489 char * kwnames
[] = {
33490 (char *) "self",(char *) "canvas", NULL
33493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33495 if (!SWIG_IsOK(res1
)) {
33496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33498 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
33500 if (!SWIG_IsOK(res2
)) {
33501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33503 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
33505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33506 (arg1
)->SetPreviewCanvas(arg2
);
33507 wxPyEndAllowThreads(__tstate
);
33508 if (PyErr_Occurred()) SWIG_fail
;
33510 resultobj
= SWIG_Py_Void();
33517 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33518 PyObject
*resultobj
= 0;
33519 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33520 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
33525 PyObject
* obj0
= 0 ;
33526 PyObject
* obj1
= 0 ;
33527 char * kwnames
[] = {
33528 (char *) "self",(char *) "bar", NULL
33531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33533 if (!SWIG_IsOK(res1
)) {
33534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33536 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33537 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
33538 if (!SWIG_IsOK(res2
)) {
33539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
33541 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
33543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33544 (arg1
)->SetControlBar(arg2
);
33545 wxPyEndAllowThreads(__tstate
);
33546 if (PyErr_Occurred()) SWIG_fail
;
33548 resultobj
= SWIG_Py_Void();
33555 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33556 PyObject
*resultobj
= 0;
33557 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33560 PyObject
*swig_obj
[1] ;
33562 if (!args
) SWIG_fail
;
33563 swig_obj
[0] = args
;
33564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33565 if (!SWIG_IsOK(res1
)) {
33566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33568 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33571 (arg1
)->Initialize();
33572 wxPyEndAllowThreads(__tstate
);
33573 if (PyErr_Occurred()) SWIG_fail
;
33575 resultobj
= SWIG_Py_Void();
33582 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33583 PyObject
*resultobj
= 0;
33584 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33587 PyObject
*swig_obj
[1] ;
33589 if (!args
) SWIG_fail
;
33590 swig_obj
[0] = args
;
33591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33592 if (!SWIG_IsOK(res1
)) {
33593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33595 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33598 (arg1
)->CreateCanvas();
33599 wxPyEndAllowThreads(__tstate
);
33600 if (PyErr_Occurred()) SWIG_fail
;
33602 resultobj
= SWIG_Py_Void();
33609 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33610 PyObject
*resultobj
= 0;
33611 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33614 PyObject
*swig_obj
[1] ;
33616 if (!args
) SWIG_fail
;
33617 swig_obj
[0] = args
;
33618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33619 if (!SWIG_IsOK(res1
)) {
33620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33622 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33625 (arg1
)->CreateControlBar();
33626 wxPyEndAllowThreads(__tstate
);
33627 if (PyErr_Occurred()) SWIG_fail
;
33629 resultobj
= SWIG_Py_Void();
33636 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33639 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
33640 return SWIG_Py_Void();
33643 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33644 return SWIG_Python_InitShadowInstance(args
);
33647 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33648 PyObject
*resultobj
= 0;
33649 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33651 wxWindow
*arg3
= (wxWindow
*) 0 ;
33652 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33653 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33654 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33655 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33656 long arg6
= (long) 0 ;
33657 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
33658 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33659 wxPyPreviewControlBar
*result
= 0 ;
33669 bool temp7
= false ;
33670 PyObject
* obj0
= 0 ;
33671 PyObject
* obj1
= 0 ;
33672 PyObject
* obj2
= 0 ;
33673 PyObject
* obj3
= 0 ;
33674 PyObject
* obj4
= 0 ;
33675 PyObject
* obj5
= 0 ;
33676 PyObject
* obj6
= 0 ;
33677 char * kwnames
[] = {
33678 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33682 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33683 if (!SWIG_IsOK(res1
)) {
33684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33686 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33687 if (!SWIG_IsOK(ecode2
)) {
33688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
33690 arg2
= static_cast< long >(val2
);
33691 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33692 if (!SWIG_IsOK(res3
)) {
33693 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
33695 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
33699 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33705 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33709 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33710 if (!SWIG_IsOK(ecode6
)) {
33711 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
33713 arg6
= static_cast< long >(val6
);
33717 arg7
= wxString_in_helper(obj6
);
33718 if (arg7
== NULL
) SWIG_fail
;
33723 if (!wxPyCheckForApp()) SWIG_fail
;
33724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33725 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
33726 wxPyEndAllowThreads(__tstate
);
33727 if (PyErr_Occurred()) SWIG_fail
;
33729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
33744 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33745 PyObject
*resultobj
= 0;
33746 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33747 PyObject
*arg2
= (PyObject
*) 0 ;
33748 PyObject
*arg3
= (PyObject
*) 0 ;
33751 PyObject
* obj0
= 0 ;
33752 PyObject
* obj1
= 0 ;
33753 PyObject
* obj2
= 0 ;
33754 char * kwnames
[] = {
33755 (char *) "self",(char *) "self",(char *) "_class", NULL
33758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33760 if (!SWIG_IsOK(res1
)) {
33761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33763 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33768 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33769 wxPyEndAllowThreads(__tstate
);
33770 if (PyErr_Occurred()) SWIG_fail
;
33772 resultobj
= SWIG_Py_Void();
33779 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33780 PyObject
*resultobj
= 0;
33781 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33782 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
33786 PyObject
* obj0
= 0 ;
33787 PyObject
* obj1
= 0 ;
33788 char * kwnames
[] = {
33789 (char *) "self",(char *) "preview", NULL
33792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33794 if (!SWIG_IsOK(res1
)) {
33795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33797 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33798 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33799 if (!SWIG_IsOK(res2
)) {
33800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
33803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33804 (arg1
)->SetPrintPreview(arg2
);
33805 wxPyEndAllowThreads(__tstate
);
33806 if (PyErr_Occurred()) SWIG_fail
;
33808 resultobj
= SWIG_Py_Void();
33815 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33816 PyObject
*resultobj
= 0;
33817 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33820 PyObject
*swig_obj
[1] ;
33822 if (!args
) SWIG_fail
;
33823 swig_obj
[0] = args
;
33824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33825 if (!SWIG_IsOK(res1
)) {
33826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33828 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33831 (arg1
)->CreateButtons();
33832 wxPyEndAllowThreads(__tstate
);
33833 if (PyErr_Occurred()) SWIG_fail
;
33835 resultobj
= SWIG_Py_Void();
33842 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33843 PyObject
*resultobj
= 0;
33844 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33850 PyObject
* obj0
= 0 ;
33851 PyObject
* obj1
= 0 ;
33852 char * kwnames
[] = {
33853 (char *) "self",(char *) "zoom", NULL
33856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33858 if (!SWIG_IsOK(res1
)) {
33859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33861 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33863 if (!SWIG_IsOK(ecode2
)) {
33864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
33866 arg2
= static_cast< int >(val2
);
33868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33869 (arg1
)->SetZoomControl(arg2
);
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33873 resultobj
= SWIG_Py_Void();
33880 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33883 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
33884 return SWIG_Py_Void();
33887 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33888 return SWIG_Python_InitShadowInstance(args
);
33891 static PyMethodDef SwigMethods
[] = {
33892 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33893 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
33894 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33895 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
33896 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33897 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
33898 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
33899 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33900 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
33901 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33902 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33903 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33904 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33905 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33906 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33907 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
33908 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33909 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
33910 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33911 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
33912 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
33913 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
33914 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
33915 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
33916 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33917 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33918 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
33919 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33920 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33921 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
33922 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
33923 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33924 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
33925 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33926 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
33927 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
33928 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
33929 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
33930 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33931 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33932 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33933 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
33934 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33935 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
33936 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33937 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33938 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33939 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
33940 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33941 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
33942 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33943 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
33944 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33945 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33946 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
33947 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
33948 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33949 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
33950 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33951 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
33952 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33953 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
33954 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33955 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33956 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
33957 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33958 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33959 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33960 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33961 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33962 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33963 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
33964 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33965 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
33966 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33967 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33968 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33969 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33970 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
33971 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
33972 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33973 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
33974 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33975 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33976 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
33977 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33978 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
33979 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33980 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
33981 { (char *)"Dialog_GetParentForModalDialog", (PyCFunction
) _wrap_Dialog_GetParentForModalDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33982 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33983 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33984 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33985 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33986 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
33987 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
33988 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33989 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33990 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
33991 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
33992 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33993 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
33994 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33995 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
33996 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
33997 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33998 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33999 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
34000 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
34001 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
34002 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34003 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
34004 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
34005 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
34006 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
34007 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
34008 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34009 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
34010 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34011 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34012 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
34013 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34014 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34015 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34016 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34017 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34018 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34019 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34020 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34021 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
34022 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
34023 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34024 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
34025 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
34026 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34027 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
34028 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34029 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
34030 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
34031 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34032 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
34033 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34034 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34035 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34036 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34037 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34038 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
34039 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
34040 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34041 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34042 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
34043 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
34044 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34045 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
34046 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34047 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
34048 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34049 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
34050 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34051 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
34052 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34053 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
34054 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34055 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
34056 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
34057 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34058 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34059 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
34060 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
34061 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
34062 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
34063 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
34064 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
34065 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34066 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
34067 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34068 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34069 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34070 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34071 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34072 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
34073 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34074 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
34075 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34076 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34077 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
34078 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
34079 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34080 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34081 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
34082 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
34083 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34084 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
34085 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
34086 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
34087 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34088 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34089 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
34090 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34091 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
34092 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34093 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
34094 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
34095 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
34096 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34097 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34098 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
34099 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34100 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
34101 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34102 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
34103 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34104 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
34105 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34106 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
34107 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
34108 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
34109 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34110 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34111 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
34112 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34113 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
34114 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
34115 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
34116 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34117 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
34118 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34119 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
34120 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
34121 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34122 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34123 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34124 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
34125 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
34126 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
34127 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
34128 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34129 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34130 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34131 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
34132 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
34133 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34134 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
34135 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34136 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34137 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
34138 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
34139 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34140 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
34141 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34142 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34143 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
34144 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
34145 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
34146 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34147 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34148 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
34149 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
34150 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
34151 { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction
) _wrap_VarScrollHelperBase_EnablePhysicalScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34152 { (char *)"VarScrollHelperBase_HitTest", (PyCFunction
) _wrap_VarScrollHelperBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34153 { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction
)_wrap_VarScrollHelperBase_RefreshAll
, METH_O
, NULL
},
34154 { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction
)_wrap_VarScrollHelperBase_GetVisibleBegin
, METH_O
, NULL
},
34155 { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction
)_wrap_VarScrollHelperBase_GetVisibleEnd
, METH_O
, NULL
},
34156 { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction
) _wrap_VarScrollHelperBase_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34157 { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction
) _wrap_VarScrollHelperBase_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34158 { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction
) _wrap_VarScrollHelperBase_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34159 { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction
)_wrap_VarScrollHelperBase_UpdateScrollbar
, METH_O
, NULL
},
34160 { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction
)_wrap_VarScrollHelperBase_RemoveScrollbar
, METH_O
, NULL
},
34161 { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction
) _wrap_VarScrollHelperBase_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34162 { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction
)_wrap_VarScrollHelperBase_GetTargetWindow
, METH_O
, NULL
},
34163 { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction
)_wrap_VarScrollHelperBase_GetOrientationTargetSize
, METH_O
, NULL
},
34164 { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction
)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize
, METH_O
, NULL
},
34165 { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction
)_wrap_VarScrollHelperBase_GetOrientation
, METH_O
, NULL
},
34166 { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister
, METH_VARARGS
, NULL
},
34167 { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction
) _wrap_VarVScrollHelper_SetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34168 { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction
) _wrap_VarVScrollHelper_ScrollToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34169 { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction
) _wrap_VarVScrollHelper_ScrollRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34170 { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction
) _wrap_VarVScrollHelper_ScrollRowPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34171 { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction
) _wrap_VarVScrollHelper_RefreshRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34172 { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction
) _wrap_VarVScrollHelper_RefreshRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34173 { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction
)_wrap_VarVScrollHelper_GetRowCount
, METH_O
, NULL
},
34174 { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction
)_wrap_VarVScrollHelper_GetVisibleRowsBegin
, METH_O
, NULL
},
34175 { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction
)_wrap_VarVScrollHelper_GetVisibleRowsEnd
, METH_O
, NULL
},
34176 { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction
) _wrap_VarVScrollHelper_IsRowVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34177 { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34178 { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction
) _wrap_VarHScrollHelper_SetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34179 { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction
) _wrap_VarHScrollHelper_ScrollToColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34180 { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction
) _wrap_VarHScrollHelper_ScrollColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34181 { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction
) _wrap_VarHScrollHelper_ScrollColumnPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34182 { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction
) _wrap_VarHScrollHelper_RefreshColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34183 { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction
) _wrap_VarHScrollHelper_RefreshColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34184 { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction
)_wrap_VarHScrollHelper_GetColumnCount
, METH_O
, NULL
},
34185 { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction
)_wrap_VarHScrollHelper_GetVisibleColumnsBegin
, METH_O
, NULL
},
34186 { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction
)_wrap_VarHScrollHelper_GetVisibleColumnsEnd
, METH_O
, NULL
},
34187 { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction
) _wrap_VarHScrollHelper_IsColumnVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34188 { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34189 { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction
) _wrap_VarHVScrollHelper_SetRowColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34190 { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction
) _wrap_VarHVScrollHelper_EnablePhysicalScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34191 { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction
) _wrap_VarHVScrollHelper_ScrollToRowColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34192 { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction
) _wrap_VarHVScrollHelper_RefreshRowColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34193 { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction
) _wrap_VarHVScrollHelper_RefreshRowsColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34194 { (char *)"VarHVScrollHelper_HitTest", (PyCFunction
) _wrap_VarHVScrollHelper_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34195 { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction
)_wrap_VarHVScrollHelper_ScrollLayout
, METH_O
, NULL
},
34196 { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction
)_wrap_VarHVScrollHelper_GetRowColumnCount
, METH_O
, NULL
},
34197 { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction
)_wrap_VarHVScrollHelper_GetVisibleBegin
, METH_O
, NULL
},
34198 { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction
)_wrap_VarHVScrollHelper_GetVisibleEnd
, METH_O
, NULL
},
34199 { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction
) _wrap_VarHVScrollHelper_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34200 { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34201 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34202 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
34203 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34204 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34205 { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction
) _wrap_VScrolledWindow_GetRowsHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34206 { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction
)_wrap_VScrolledWindow_EstimateTotalHeight
, METH_O
, NULL
},
34207 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34208 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34209 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34210 { (char *)"new_HScrolledWindow", (PyCFunction
) _wrap_new_HScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34211 { (char *)"new_PreHScrolledWindow", (PyCFunction
)_wrap_new_PreHScrolledWindow
, METH_NOARGS
, NULL
},
34212 { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_HScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34213 { (char *)"HScrolledWindow_Create", (PyCFunction
) _wrap_HScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34214 { (char *)"HScrolledWindow_HitTest", (PyCFunction
) _wrap_HScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34215 { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction
) _wrap_HScrolledWindow_GetColumnsWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34216 { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction
)_wrap_HScrolledWindow_EstimateTotalWidth
, METH_O
, NULL
},
34217 { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34218 { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34219 { (char *)"new_HVScrolledWindow", (PyCFunction
) _wrap_new_HVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34220 { (char *)"new_PreHVScrolledWindow", (PyCFunction
)_wrap_new_PreHVScrolledWindow
, METH_NOARGS
, NULL
},
34221 { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_HVScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34222 { (char *)"HVScrolledWindow_Create", (PyCFunction
) _wrap_HVScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34223 { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction
) _wrap_HVScrolledWindow_GetRowsHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34224 { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction
)_wrap_HVScrolledWindow_EstimateTotalHeight
, METH_O
, NULL
},
34225 { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction
) _wrap_HVScrolledWindow_GetColumnsWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34226 { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction
)_wrap_HVScrolledWindow_EstimateTotalWidth
, METH_O
, NULL
},
34227 { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34228 { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34229 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34230 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
34231 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34232 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34233 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
34234 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
34235 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
34236 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34237 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34238 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
34239 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
34240 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34241 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
34242 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
34243 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34244 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
34245 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34246 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34247 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34248 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34249 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
34250 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
34251 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34252 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34253 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34254 { (char *)"VListBox_RefreshSelected", (PyCFunction
)_wrap_VListBox_RefreshSelected
, METH_O
, NULL
},
34255 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34256 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34257 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
34258 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
34259 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34260 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
34261 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34262 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34263 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34264 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
34265 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34266 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
34267 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
34268 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34269 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
34270 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34271 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
34272 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
34273 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
34274 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
34275 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34276 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
34277 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
34278 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
34279 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34280 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
34281 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34282 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
34283 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
34284 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34285 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
34286 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
34287 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
34288 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
34289 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
34290 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
34291 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34292 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34293 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34294 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34295 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
34296 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
34297 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34298 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
34299 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
34300 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
34301 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34302 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34303 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
34304 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
34305 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34306 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34307 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
34308 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
34309 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34310 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34311 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34312 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34313 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34314 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34315 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34316 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
34317 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
34318 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
34319 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
34320 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
34321 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
34322 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
34323 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
34324 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
34325 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
34326 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34327 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34328 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
34329 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
34330 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
34331 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34332 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
34333 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
34334 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34335 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
34336 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
34337 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34338 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
34339 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34340 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34341 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34342 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34343 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34344 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34345 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34346 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
34347 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34348 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34349 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
34350 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
34351 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34352 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
34353 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
34354 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
34355 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
34356 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
34357 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
34358 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34359 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34360 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34361 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34362 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34363 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34364 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
34365 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
34366 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34367 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
34368 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
34369 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
34370 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34371 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34372 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
34373 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
34374 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34375 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34376 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34377 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
34378 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
34379 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
34380 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34381 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
34382 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
34383 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
34384 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
34385 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34386 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34387 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34388 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
34389 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
34390 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34391 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
34392 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
34393 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
34394 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
34395 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34396 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34397 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34398 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
34399 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
34400 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34401 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
34402 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34403 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
34404 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34405 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
34406 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
34407 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34408 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
34409 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34410 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
34411 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
34412 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
34413 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
34414 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
34415 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
34416 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34417 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
34418 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
34419 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34420 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
34421 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34422 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
34423 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
34424 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
34425 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34426 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
34427 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34428 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
34429 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
34430 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34431 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
34432 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34433 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34434 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34435 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34436 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34437 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34438 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
34439 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
34440 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
34441 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
34442 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
34443 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
34444 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
34445 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
34446 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
34447 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34448 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
34449 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34450 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34451 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34452 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34453 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34454 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34455 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
34456 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
34457 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
34458 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
34459 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
34460 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
34461 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
34462 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
34463 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
34464 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34465 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
34466 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34467 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34468 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34469 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34470 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
34473 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
34474 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
34475 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
34476 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
34477 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
34478 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
34479 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34480 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34481 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
34482 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
34483 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
34484 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
34485 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
34486 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
34487 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
34488 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
34489 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
34490 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
34491 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
34492 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
34493 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
34494 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
34495 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
34496 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
34497 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34501 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34502 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34503 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34504 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34505 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34506 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34507 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34509 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
34511 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
34513 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
34515 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
34516 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
34517 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
34518 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34519 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34521 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34522 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34523 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
34524 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
34525 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
34526 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
34527 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
34528 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
34529 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
34530 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
34531 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
34532 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
34533 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
34534 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
34535 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
34536 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
34537 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
34538 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34539 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34540 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34541 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34542 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34543 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34546 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34547 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
34548 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
34549 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
34550 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
34551 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34552 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
34553 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
34554 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
34555 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
34556 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
34557 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
34558 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
34559 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
34560 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
34561 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
34562 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
34563 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
34564 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
34565 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
34566 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
34567 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
34568 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
34569 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34571 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34572 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34573 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34574 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34575 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34577 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34578 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34580 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34581 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34582 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
34583 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
34584 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
34585 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
34586 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
34587 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
34588 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34589 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
34590 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
34591 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
34593 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
34594 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
34595 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
34596 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
34597 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
34598 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
34599 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34600 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
34601 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34602 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34605 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
34607 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
34608 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
34609 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
34610 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
34611 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34612 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
34613 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
34615 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
34616 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34617 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34619 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34620 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
34621 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
34622 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34623 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
34624 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
34625 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
34626 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34627 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34628 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34629 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
34631 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34632 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
34633 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34634 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
34635 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34636 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
34637 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
34639 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
34640 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
34643 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
34644 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
34645 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
34646 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34647 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
34648 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
34649 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
34650 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
34652 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
34653 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34654 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
34655 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
34656 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
34657 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
34658 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
34659 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
34660 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34661 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
34662 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34663 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
34664 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
34665 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
34666 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
34667 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
34668 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
34669 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
34670 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
34671 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
34672 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
34673 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34674 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
34675 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34676 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
34677 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
34678 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34679 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
34681 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
34682 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34683 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34684 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34685 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34686 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
34687 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34688 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
34689 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
34690 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
34691 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
34692 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34693 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
34695 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
34696 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
34697 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
34698 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34699 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
34700 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
34701 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34702 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34703 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34704 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34705 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
34706 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
34707 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
34708 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
34709 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
34710 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34713 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
34714 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
34716 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
34717 { NULL
, NULL
, 0, NULL
}
34721 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34723 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
34724 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34726 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
34727 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34729 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
34730 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
34732 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
34733 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
34735 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
34736 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
34738 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
34739 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
34741 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
34742 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
34744 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
34745 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
34747 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
34748 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
34750 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
34751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
34753 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
34754 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
34756 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
34757 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
34759 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
34760 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
34762 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
34763 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
34765 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
34766 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
34768 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
34769 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
34771 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
34772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
34774 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
34775 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
34777 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
34778 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
34780 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
34781 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
34783 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
34784 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
34786 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
34787 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
34789 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
34790 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
34792 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
34793 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
34795 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
34796 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
34798 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
34799 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
34801 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
34802 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
34804 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
34805 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
34807 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
34808 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
34810 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
34811 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
34813 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
34814 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
34816 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
34817 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
34819 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
34820 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
34822 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
34823 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
34825 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
34826 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34828 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
34829 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
34831 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
34832 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
34834 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
34835 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
34837 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
34838 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
34840 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
34841 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34843 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
34844 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34846 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
34847 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34849 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
34850 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
34852 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
34853 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
34855 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
34856 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
34858 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
34859 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
34861 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
34862 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
34864 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
34865 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
34867 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
34868 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
34870 static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x
) {
34871 return (void *)((wxVarVScrollHelper
*) ((wxPyVScrolledWindow
*) x
));
34873 static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x
) {
34874 return (void *)((wxVarVScrollHelper
*) (wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
34876 static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x
) {
34877 return (void *)((wxVarVScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
34879 static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x
) {
34880 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34882 static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x
) {
34883 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34885 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x
) {
34886 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
34888 static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x
) {
34889 return (void *)((wxVarHScrollHelper
*) ((wxPyHScrolledWindow
*) x
));
34891 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x
) {
34892 return (void *)((wxVarHScrollHelper
*) (wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
34894 static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x
) {
34895 return (void *)((wxVarHScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
34897 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x
) {
34898 return (void *)((wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
34900 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34903 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34906 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
34907 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
34909 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
34910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34912 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
34913 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
34915 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
34916 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
34918 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
34919 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
34921 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
34922 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
34924 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
34925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34927 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
34928 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34930 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
34931 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34933 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
34934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34936 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
34937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
34939 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
34940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
34942 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
34943 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34945 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
34946 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34948 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
34949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34951 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
34952 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
34954 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
34955 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
34957 static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
34960 static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x
) {
34961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyHScrolledWindow
*) x
));
34963 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34966 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
34967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
34969 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
34970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34972 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
34973 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
34975 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
34976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34978 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
34979 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
34981 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
34982 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
34984 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
34985 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
34987 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
34988 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
34990 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
34991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34993 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
34994 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
34996 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
34997 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
34999 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
35000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35002 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
35003 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
35005 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
35006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
35008 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
35009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35011 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
35012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35014 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
35015 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
35017 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
35018 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35020 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
35021 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
35023 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
35024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35026 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
35027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35029 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
35030 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35032 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
35033 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35035 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
35036 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
35038 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
35039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35041 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
35042 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
35044 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
35045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
35047 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
35048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35050 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
35051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35053 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
35054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
35056 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
35057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35059 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
35060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35062 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
35063 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35065 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
35066 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35068 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
35069 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35071 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
35072 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
35074 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
35075 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
35077 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
35078 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
35080 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
35081 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35083 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
35084 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
35086 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
35087 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
35089 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
35090 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
35092 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35093 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35095 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
35096 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
35098 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
35099 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
35101 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
35102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
35104 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
35105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35107 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35108 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35110 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35111 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35113 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35114 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35116 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35117 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35119 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35120 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35122 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35123 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35125 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35126 return (void *)((wxObject
*) ((wxSizer
*) x
));
35128 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35129 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35131 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35132 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35134 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
35135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
35137 static void *_p_wxEventTo_p_wxObject(void *x
) {
35138 return (void *)((wxObject
*) ((wxEvent
*) x
));
35140 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
35141 return (void *)((wxObject
*) ((wxFontData
*) x
));
35143 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
35144 return (void *)((wxObject
*) ((wxPrintData
*) x
));
35146 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35147 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35149 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35150 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35152 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35153 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35155 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
35156 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
35158 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
35159 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
35161 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
35162 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
35164 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35165 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35167 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35168 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35170 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35171 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35173 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35174 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35176 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35177 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35179 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35180 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35182 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35183 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35185 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
35186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35188 static void *_p_wxControlTo_p_wxObject(void *x
) {
35189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35191 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35192 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35194 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
35195 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
35197 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35198 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35200 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
35201 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
35203 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35204 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35206 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
35207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35209 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
35210 return (void *)((wxObject
*) ((wxColourData
*) x
));
35212 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35213 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35215 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35216 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35218 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
35219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
35221 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
35222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
35224 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
35225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
35227 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
35228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35230 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
35231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35233 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
35234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
35236 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
35237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35239 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
35240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
35242 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
35243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
35245 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
35246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
35248 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
35249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
35251 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35252 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35254 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
35255 return (void *)((wxObject
*) ((wxPrinter
*) x
));
35257 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35258 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35260 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35263 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35264 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35266 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35267 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35269 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35270 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35272 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35273 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35275 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35276 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35278 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35279 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35281 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35282 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35284 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35285 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35287 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35288 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35290 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35291 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35293 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35294 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35296 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35297 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35299 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35300 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35302 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35303 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35305 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35306 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35308 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35309 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35311 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35312 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35314 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35315 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35317 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35318 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35320 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35321 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35323 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35324 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35326 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
35327 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
35329 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35330 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35332 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35333 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35335 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
35336 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
35338 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
35339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35341 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
35342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35344 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
35345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35347 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35348 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35350 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35351 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35353 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
35354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
35356 static void *_p_wxImageTo_p_wxObject(void *x
) {
35357 return (void *)((wxObject
*) ((wxImage
*) x
));
35359 static void *_p_wxFrameTo_p_wxObject(void *x
) {
35360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
35362 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
35363 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
35365 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35366 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35368 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
35369 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
35371 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
35372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
35374 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
35375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35377 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35378 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35380 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35381 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35383 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35384 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35386 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35387 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35389 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35390 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35392 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35395 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
35396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
35398 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
35399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
35401 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
35402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
35404 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
35405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
35407 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
35408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
35410 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
35411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35413 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
35414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
35416 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
35417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35419 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
35420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35422 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
35423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35425 static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x
) {
35426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35428 static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x
) {
35429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35431 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
35432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
35434 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
35435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35437 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
35438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
35440 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
35441 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
35443 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
35444 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
35446 static void *_p_wxPanelTo_p_wxObject(void *x
) {
35447 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
35449 static void *_p_wxDialogTo_p_wxObject(void *x
) {
35450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
35452 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
35453 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35455 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
35456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35458 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
35459 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35461 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
35462 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
35464 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
35465 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
35467 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35468 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35470 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35471 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35473 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35474 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35476 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35477 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35479 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35480 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35482 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35483 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35485 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35486 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35488 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35489 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35491 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35492 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35494 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
35495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
35497 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
35498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35500 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35501 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35503 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35504 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35506 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35507 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35509 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35512 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
35513 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
35515 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
35516 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
35518 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35521 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35522 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35524 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
35525 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35527 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
35528 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35530 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
35531 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35533 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
35534 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35536 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
35537 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
35539 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
35540 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
35542 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
35543 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
35545 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
35546 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
35548 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
35549 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
35551 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
35552 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
35554 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
35555 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
35557 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
35558 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
35560 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
35561 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
35563 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
35564 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
35566 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35567 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
35569 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35570 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35572 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35573 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
35575 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
35576 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35578 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
35579 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35581 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
35582 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
35584 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
35585 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
35587 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
35588 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
35590 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
35591 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
35593 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
35594 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35596 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
35597 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
35599 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
35600 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
35602 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
35603 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
35605 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35606 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35608 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
35609 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
35611 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
35612 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
35614 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
35615 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35617 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
35618 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
35620 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
35621 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35623 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
35624 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35626 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
35627 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
35629 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
35630 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
35632 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
35633 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
35635 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
35636 return (void *)((wxWindow
*) ((wxPanel
*) x
));
35638 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
35639 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
35641 static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x
) {
35642 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35644 static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x
) {
35645 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35647 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
35648 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35650 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
35651 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35653 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
35654 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35656 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
35657 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
35659 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
35660 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35662 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
35663 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
35665 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
35666 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
35668 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
35669 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
35671 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
35672 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
35674 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
35675 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
35677 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
35678 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
35680 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
35681 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35683 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35684 return (void *)((wxWindow
*) ((wxControl
*) x
));
35686 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
35687 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
35689 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
35690 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35692 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
35693 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35695 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35696 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35698 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
35699 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
35701 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
35702 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35704 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
35705 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35707 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
35708 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35710 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
35711 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35713 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
35714 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
35716 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
35717 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35719 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
35720 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
35722 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
35723 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35725 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
35726 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35728 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
35729 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35731 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
35732 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
35734 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
35735 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35737 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35738 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35740 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35741 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35743 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35744 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35746 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
35747 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35749 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
35750 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35752 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
35753 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
35755 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
35756 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
35758 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
35759 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
35761 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
35762 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
35764 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
35765 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
35767 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
35768 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35770 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
35771 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35773 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
35774 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
35776 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
35777 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35779 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
35780 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
35782 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
35783 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
35785 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
35786 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
35788 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
35789 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
35791 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
35792 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35794 static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x
) {
35795 return (void *)((wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35797 static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x
) {
35798 return (void *)((wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35800 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
35801 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35803 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
35804 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35806 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
35807 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35809 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
35810 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35812 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
35813 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
35815 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
35816 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35818 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
35819 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
35821 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
35822 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35824 static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35825 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*) ((wxPyVScrolledWindow
*) x
));
35827 static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35828 return (void *)((wxVarScrollHelperBase
*) (wxVarHScrollHelper
*) ((wxPyHScrolledWindow
*) x
));
35830 static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35831 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
35833 static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35834 return (void *)((wxVarScrollHelperBase
*) ((wxVarVScrollHelper
*) x
));
35836 static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35837 return (void *)((wxVarScrollHelperBase
*) ((wxVarHScrollHelper
*) x
));
35839 static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35840 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
35842 static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35843 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35845 static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35846 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35848 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35849 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35851 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
35852 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35854 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
35855 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
35857 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
35858 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35860 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
35861 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
35863 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
35864 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35866 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
35867 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35869 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
35870 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
35872 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
35873 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35875 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
35876 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35878 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
35879 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
35881 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
35882 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35884 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
35885 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35887 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
35888 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
35890 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
35891 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35893 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
35894 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
35896 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
35897 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35898 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};
35899 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35900 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35901 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35902 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35903 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
35904 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
35905 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35906 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
35907 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35908 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
35909 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
35910 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
35911 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35912 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35913 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35914 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35915 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35916 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35917 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35918 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35919 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35920 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35921 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
35922 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
35923 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35924 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
35925 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35926 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35927 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35928 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35929 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35930 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35931 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35932 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35933 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35934 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35935 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35936 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35937 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35938 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35939 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35940 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35941 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35942 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35943 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35944 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35945 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35946 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35947 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35948 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35949 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35950 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35951 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
35952 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
35953 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35954 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35955 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35956 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35957 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
35958 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
35959 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
35960 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
35961 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
35962 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35963 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
35964 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
35965 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
35966 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
35967 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35968 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35969 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
35970 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
35971 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
35972 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
35973 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
35974 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
35975 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
35976 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
35977 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
35978 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
35979 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
35980 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
35981 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35982 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35983 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35984 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35985 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35986 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35987 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35988 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35989 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35990 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35991 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35992 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35993 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35994 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35995 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35996 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35997 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35998 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35999 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36000 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36001 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36002 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36003 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36004 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36005 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36006 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36007 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36008 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
36009 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36010 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
36011 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
36012 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
36013 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
36014 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36015 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
36016 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36017 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
36018 static swig_type_info _swigt__p_wxPosition
= {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0};
36019 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
36020 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
36021 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
36022 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36023 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
36024 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
36025 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
36026 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
36027 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
36028 static swig_type_info _swigt__p_wxPyHScrolledWindow
= {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0};
36029 static swig_type_info _swigt__p_wxPyHVScrolledWindow
= {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0};
36030 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
36031 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
36032 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
36033 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
36034 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
36035 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
36036 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
36037 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
36038 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
36039 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
36040 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
36041 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
36042 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
36043 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36044 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36045 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
36046 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
36047 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
36048 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
36049 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
36050 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
36051 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
36052 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36053 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
36054 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
36055 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
36056 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
36057 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
36058 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
36059 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36060 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
36061 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
36062 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
36063 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
36064 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
36065 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
36066 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
36067 static swig_type_info _swigt__p_wxVarHScrollHelper
= {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0};
36068 static swig_type_info _swigt__p_wxVarHVScrollHelper
= {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0};
36069 static swig_type_info _swigt__p_wxVarScrollHelperBase
= {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0};
36070 static swig_type_info _swigt__p_wxVarVScrollHelper
= {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0};
36071 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
36072 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36074 static swig_type_info
*swig_type_initial
[] = {
36077 &_swigt__p_form_ops_t
,
36079 &_swigt__p_unsigned_char
,
36080 &_swigt__p_unsigned_int
,
36081 &_swigt__p_unsigned_long
,
36082 &_swigt__p_wxANIHandler
,
36083 &_swigt__p_wxAcceleratorTable
,
36084 &_swigt__p_wxActivateEvent
,
36085 &_swigt__p_wxArrayInt
,
36086 &_swigt__p_wxArrayString
,
36087 &_swigt__p_wxBMPHandler
,
36088 &_swigt__p_wxBitmap
,
36089 &_swigt__p_wxBoxSizer
,
36090 &_swigt__p_wxCURHandler
,
36091 &_swigt__p_wxCalculateLayoutEvent
,
36092 &_swigt__p_wxChildFocusEvent
,
36093 &_swigt__p_wxClipboardTextEvent
,
36094 &_swigt__p_wxCloseEvent
,
36095 &_swigt__p_wxColour
,
36096 &_swigt__p_wxColourData
,
36097 &_swigt__p_wxColourDialog
,
36098 &_swigt__p_wxCommandEvent
,
36099 &_swigt__p_wxContextMenuEvent
,
36100 &_swigt__p_wxControl
,
36101 &_swigt__p_wxControlWithItems
,
36103 &_swigt__p_wxDateEvent
,
36104 &_swigt__p_wxDialog
,
36105 &_swigt__p_wxDirDialog
,
36106 &_swigt__p_wxDisplayChangedEvent
,
36107 &_swigt__p_wxDropFilesEvent
,
36108 &_swigt__p_wxDuplexMode
,
36109 &_swigt__p_wxEraseEvent
,
36110 &_swigt__p_wxEvent
,
36111 &_swigt__p_wxEventBlocker
,
36112 &_swigt__p_wxEvtHandler
,
36113 &_swigt__p_wxFSFile
,
36114 &_swigt__p_wxFileDialog
,
36115 &_swigt__p_wxFileSystem
,
36116 &_swigt__p_wxFindDialogEvent
,
36117 &_swigt__p_wxFindReplaceData
,
36118 &_swigt__p_wxFindReplaceDialog
,
36119 &_swigt__p_wxFlexGridSizer
,
36120 &_swigt__p_wxFocusEvent
,
36122 &_swigt__p_wxFontData
,
36123 &_swigt__p_wxFontDialog
,
36124 &_swigt__p_wxFrame
,
36125 &_swigt__p_wxGBSizerItem
,
36126 &_swigt__p_wxGIFHandler
,
36127 &_swigt__p_wxGridBagSizer
,
36128 &_swigt__p_wxGridSizer
,
36129 &_swigt__p_wxHtmlLinkInfo
,
36130 &_swigt__p_wxICOHandler
,
36132 &_swigt__p_wxIconBundle
,
36133 &_swigt__p_wxIconizeEvent
,
36134 &_swigt__p_wxIdleEvent
,
36135 &_swigt__p_wxImage
,
36136 &_swigt__p_wxImageHandler
,
36137 &_swigt__p_wxIndividualLayoutConstraint
,
36138 &_swigt__p_wxInitDialogEvent
,
36139 &_swigt__p_wxItemContainer
,
36140 &_swigt__p_wxJPEGHandler
,
36141 &_swigt__p_wxKeyEvent
,
36142 &_swigt__p_wxLayoutAlgorithm
,
36143 &_swigt__p_wxLayoutConstraints
,
36144 &_swigt__p_wxMDIChildFrame
,
36145 &_swigt__p_wxMDIClientWindow
,
36146 &_swigt__p_wxMDIParentFrame
,
36147 &_swigt__p_wxMaximizeEvent
,
36149 &_swigt__p_wxMenuBar
,
36150 &_swigt__p_wxMenuEvent
,
36151 &_swigt__p_wxMenuItem
,
36152 &_swigt__p_wxMessageDialog
,
36153 &_swigt__p_wxMiniFrame
,
36154 &_swigt__p_wxMouseCaptureChangedEvent
,
36155 &_swigt__p_wxMouseCaptureLostEvent
,
36156 &_swigt__p_wxMouseEvent
,
36157 &_swigt__p_wxMoveEvent
,
36158 &_swigt__p_wxMultiChoiceDialog
,
36159 &_swigt__p_wxNavigationKeyEvent
,
36160 &_swigt__p_wxNcPaintEvent
,
36161 &_swigt__p_wxNotifyEvent
,
36162 &_swigt__p_wxNumberEntryDialog
,
36163 &_swigt__p_wxObject
,
36164 &_swigt__p_wxPCXHandler
,
36165 &_swigt__p_wxPNGHandler
,
36166 &_swigt__p_wxPNMHandler
,
36167 &_swigt__p_wxPageSetupDialog
,
36168 &_swigt__p_wxPageSetupDialogData
,
36169 &_swigt__p_wxPaintEvent
,
36170 &_swigt__p_wxPaletteChangedEvent
,
36171 &_swigt__p_wxPanel
,
36172 &_swigt__p_wxPaperSize
,
36173 &_swigt__p_wxPasswordEntryDialog
,
36174 &_swigt__p_wxPoint
,
36175 &_swigt__p_wxPopupWindow
,
36176 &_swigt__p_wxPosition
,
36177 &_swigt__p_wxPreviewCanvas
,
36178 &_swigt__p_wxPreviewControlBar
,
36179 &_swigt__p_wxPreviewFrame
,
36180 &_swigt__p_wxPrintData
,
36181 &_swigt__p_wxPrintDialog
,
36182 &_swigt__p_wxPrintDialogData
,
36183 &_swigt__p_wxPrintPreview
,
36184 &_swigt__p_wxPrinter
,
36185 &_swigt__p_wxProgressDialog
,
36186 &_swigt__p_wxPyApp
,
36187 &_swigt__p_wxPyCommandEvent
,
36188 &_swigt__p_wxPyEvent
,
36189 &_swigt__p_wxPyHScrolledWindow
,
36190 &_swigt__p_wxPyHVScrolledWindow
,
36191 &_swigt__p_wxPyHtmlListBox
,
36192 &_swigt__p_wxPyImageHandler
,
36193 &_swigt__p_wxPyPanel
,
36194 &_swigt__p_wxPyPopupTransientWindow
,
36195 &_swigt__p_wxPyPreviewControlBar
,
36196 &_swigt__p_wxPyPreviewFrame
,
36197 &_swigt__p_wxPyPrintPreview
,
36198 &_swigt__p_wxPyPrintout
,
36199 &_swigt__p_wxPyScrolledWindow
,
36200 &_swigt__p_wxPySizer
,
36201 &_swigt__p_wxPyTaskBarIcon
,
36202 &_swigt__p_wxPyVListBox
,
36203 &_swigt__p_wxPyVScrolledWindow
,
36204 &_swigt__p_wxPyValidator
,
36205 &_swigt__p_wxPyWindow
,
36206 &_swigt__p_wxQueryLayoutInfoEvent
,
36207 &_swigt__p_wxQueryNewPaletteEvent
,
36209 &_swigt__p_wxRegion
,
36210 &_swigt__p_wxSashEvent
,
36211 &_swigt__p_wxSashLayoutWindow
,
36212 &_swigt__p_wxSashWindow
,
36213 &_swigt__p_wxScrollEvent
,
36214 &_swigt__p_wxScrollWinEvent
,
36215 &_swigt__p_wxScrolledWindow
,
36216 &_swigt__p_wxSetCursorEvent
,
36217 &_swigt__p_wxShowEvent
,
36218 &_swigt__p_wxSimpleHtmlListBox
,
36219 &_swigt__p_wxSingleChoiceDialog
,
36221 &_swigt__p_wxSizeEvent
,
36222 &_swigt__p_wxSizer
,
36223 &_swigt__p_wxSizerItem
,
36224 &_swigt__p_wxSplashScreen
,
36225 &_swigt__p_wxSplashScreenWindow
,
36226 &_swigt__p_wxSplitterEvent
,
36227 &_swigt__p_wxSplitterWindow
,
36228 &_swigt__p_wxStaticBoxSizer
,
36229 &_swigt__p_wxStatusBar
,
36230 &_swigt__p_wxStdDialogButtonSizer
,
36231 &_swigt__p_wxString
,
36232 &_swigt__p_wxSysColourChangedEvent
,
36233 &_swigt__p_wxTGAHandler
,
36234 &_swigt__p_wxTIFFHandler
,
36235 &_swigt__p_wxTaskBarIcon
,
36236 &_swigt__p_wxTaskBarIconEvent
,
36237 &_swigt__p_wxTextEntryDialog
,
36238 &_swigt__p_wxTipWindow
,
36239 &_swigt__p_wxToolBar
,
36240 &_swigt__p_wxTopLevelWindow
,
36241 &_swigt__p_wxUpdateUIEvent
,
36242 &_swigt__p_wxValidator
,
36243 &_swigt__p_wxVarHScrollHelper
,
36244 &_swigt__p_wxVarHVScrollHelper
,
36245 &_swigt__p_wxVarScrollHelperBase
,
36246 &_swigt__p_wxVarVScrollHelper
,
36247 &_swigt__p_wxVisualAttributes
,
36248 &_swigt__p_wxWindow
,
36249 &_swigt__p_wxWindowCreateEvent
,
36250 &_swigt__p_wxWindowDestroyEvent
,
36251 &_swigt__p_wxXPMHandler
,
36254 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
36255 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36256 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36257 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36258 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36259 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36260 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36261 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
36262 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
36263 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36264 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
36265 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36266 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
36267 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
36268 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36269 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36270 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36271 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36272 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36273 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36274 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36275 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36276 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36277 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}};
36278 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
36279 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}};
36280 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
36281 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36282 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36283 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36284 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36285 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36286 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36287 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36288 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36289 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36290 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36291 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36292 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36293 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36294 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36295 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36296 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36297 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36298 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36299 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36300 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36301 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36302 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36303 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36304 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36305 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36306 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36307 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36308 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}};
36309 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
36310 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36311 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36312 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36313 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36314 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_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_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHScrolledWindow
, _p_wxPyHScrolledWindowTo_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_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_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}};
36315 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
36316 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36317 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36318 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
36319 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36320 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36321 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
36322 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
36323 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}};
36324 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
36325 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36326 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36327 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}};
36328 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
36329 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
36330 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
36331 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
36332 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36333 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36334 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
36335 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
36336 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36337 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}};
36338 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
36339 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36340 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36341 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36342 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36343 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36344 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36345 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36346 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36347 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36348 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36349 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36350 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36351 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36352 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36353 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36354 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36355 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36356 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36357 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36358 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36359 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36360 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36361 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36362 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36363 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36364 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36365 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
36366 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36367 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36368 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHScrolledWindow
, _p_wxPyHScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_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}};
36369 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
36370 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
36371 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_wxPyHScrolledWindow
, _p_wxPyHScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_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}};
36372 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36373 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
36374 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36375 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}};
36376 static swig_cast_info _swigc__p_wxPosition
[] = { {&_swigt__p_wxPosition
, 0, 0, 0},{0, 0, 0, 0}};
36377 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
36378 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}};
36379 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}};
36380 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36381 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
36382 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
36383 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}};
36384 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
36385 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
36386 static swig_cast_info _swigc__p_wxPyHScrolledWindow
[] = { {&_swigt__p_wxPyHScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36387 static swig_cast_info _swigc__p_wxPyHVScrolledWindow
[] = { {&_swigt__p_wxPyHVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36388 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}};
36389 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
36390 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}};
36391 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
36392 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
36393 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
36394 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
36395 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36396 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
36397 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}};
36398 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}};
36399 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
36400 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
36401 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36402 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36403 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
36404 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
36405 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}};
36406 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36407 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}};
36408 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
36409 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36410 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36411 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
36412 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
36413 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
36414 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
36415 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
36416 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36417 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36418 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
36419 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
36420 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}};
36421 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
36422 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
36423 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}};
36424 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}};
36425 static swig_cast_info _swigc__p_wxVarHScrollHelper
[] = { {&_swigt__p_wxPyHScrolledWindow
, _p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper
, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper
, 0, 0}, {&_swigt__p_wxVarHScrollHelper
, 0, 0, 0}, {&_swigt__p_wxVarHVScrollHelper
, _p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper
, 0, 0},{0, 0, 0, 0}};
36426 static swig_cast_info _swigc__p_wxVarHVScrollHelper
[] = { {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper
, 0, 0}, {&_swigt__p_wxVarHVScrollHelper
, 0, 0, 0},{0, 0, 0, 0}};
36427 static swig_cast_info _swigc__p_wxVarScrollHelperBase
[] = { {&_swigt__p_wxVarScrollHelperBase
, 0, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxPyHScrolledWindow
, _p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxVarVScrollHelper
, _p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxVarHVScrollHelper
, _p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase
, 0, 0}, {&_swigt__p_wxVarHScrollHelper
, _p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase
, 0, 0},{0, 0, 0, 0}};
36428 static swig_cast_info _swigc__p_wxVarVScrollHelper
[] = { {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper
, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper
, 0, 0}, {&_swigt__p_wxVarVScrollHelper
, 0, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxVarVScrollHelper
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper
, 0, 0}, {&_swigt__p_wxVarHVScrollHelper
, _p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper
, 0, 0},{0, 0, 0, 0}};
36429 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
36430 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_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_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_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_wxPyHVScrolledWindow
, _p_wxPyHVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHScrolledWindow
, _p_wxPyHScrolledWindowTo_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}};
36432 static swig_cast_info
*swig_cast_initial
[] = {
36435 _swigc__p_form_ops_t
,
36437 _swigc__p_unsigned_char
,
36438 _swigc__p_unsigned_int
,
36439 _swigc__p_unsigned_long
,
36440 _swigc__p_wxANIHandler
,
36441 _swigc__p_wxAcceleratorTable
,
36442 _swigc__p_wxActivateEvent
,
36443 _swigc__p_wxArrayInt
,
36444 _swigc__p_wxArrayString
,
36445 _swigc__p_wxBMPHandler
,
36446 _swigc__p_wxBitmap
,
36447 _swigc__p_wxBoxSizer
,
36448 _swigc__p_wxCURHandler
,
36449 _swigc__p_wxCalculateLayoutEvent
,
36450 _swigc__p_wxChildFocusEvent
,
36451 _swigc__p_wxClipboardTextEvent
,
36452 _swigc__p_wxCloseEvent
,
36453 _swigc__p_wxColour
,
36454 _swigc__p_wxColourData
,
36455 _swigc__p_wxColourDialog
,
36456 _swigc__p_wxCommandEvent
,
36457 _swigc__p_wxContextMenuEvent
,
36458 _swigc__p_wxControl
,
36459 _swigc__p_wxControlWithItems
,
36461 _swigc__p_wxDateEvent
,
36462 _swigc__p_wxDialog
,
36463 _swigc__p_wxDirDialog
,
36464 _swigc__p_wxDisplayChangedEvent
,
36465 _swigc__p_wxDropFilesEvent
,
36466 _swigc__p_wxDuplexMode
,
36467 _swigc__p_wxEraseEvent
,
36469 _swigc__p_wxEventBlocker
,
36470 _swigc__p_wxEvtHandler
,
36471 _swigc__p_wxFSFile
,
36472 _swigc__p_wxFileDialog
,
36473 _swigc__p_wxFileSystem
,
36474 _swigc__p_wxFindDialogEvent
,
36475 _swigc__p_wxFindReplaceData
,
36476 _swigc__p_wxFindReplaceDialog
,
36477 _swigc__p_wxFlexGridSizer
,
36478 _swigc__p_wxFocusEvent
,
36480 _swigc__p_wxFontData
,
36481 _swigc__p_wxFontDialog
,
36483 _swigc__p_wxGBSizerItem
,
36484 _swigc__p_wxGIFHandler
,
36485 _swigc__p_wxGridBagSizer
,
36486 _swigc__p_wxGridSizer
,
36487 _swigc__p_wxHtmlLinkInfo
,
36488 _swigc__p_wxICOHandler
,
36490 _swigc__p_wxIconBundle
,
36491 _swigc__p_wxIconizeEvent
,
36492 _swigc__p_wxIdleEvent
,
36494 _swigc__p_wxImageHandler
,
36495 _swigc__p_wxIndividualLayoutConstraint
,
36496 _swigc__p_wxInitDialogEvent
,
36497 _swigc__p_wxItemContainer
,
36498 _swigc__p_wxJPEGHandler
,
36499 _swigc__p_wxKeyEvent
,
36500 _swigc__p_wxLayoutAlgorithm
,
36501 _swigc__p_wxLayoutConstraints
,
36502 _swigc__p_wxMDIChildFrame
,
36503 _swigc__p_wxMDIClientWindow
,
36504 _swigc__p_wxMDIParentFrame
,
36505 _swigc__p_wxMaximizeEvent
,
36507 _swigc__p_wxMenuBar
,
36508 _swigc__p_wxMenuEvent
,
36509 _swigc__p_wxMenuItem
,
36510 _swigc__p_wxMessageDialog
,
36511 _swigc__p_wxMiniFrame
,
36512 _swigc__p_wxMouseCaptureChangedEvent
,
36513 _swigc__p_wxMouseCaptureLostEvent
,
36514 _swigc__p_wxMouseEvent
,
36515 _swigc__p_wxMoveEvent
,
36516 _swigc__p_wxMultiChoiceDialog
,
36517 _swigc__p_wxNavigationKeyEvent
,
36518 _swigc__p_wxNcPaintEvent
,
36519 _swigc__p_wxNotifyEvent
,
36520 _swigc__p_wxNumberEntryDialog
,
36521 _swigc__p_wxObject
,
36522 _swigc__p_wxPCXHandler
,
36523 _swigc__p_wxPNGHandler
,
36524 _swigc__p_wxPNMHandler
,
36525 _swigc__p_wxPageSetupDialog
,
36526 _swigc__p_wxPageSetupDialogData
,
36527 _swigc__p_wxPaintEvent
,
36528 _swigc__p_wxPaletteChangedEvent
,
36530 _swigc__p_wxPaperSize
,
36531 _swigc__p_wxPasswordEntryDialog
,
36533 _swigc__p_wxPopupWindow
,
36534 _swigc__p_wxPosition
,
36535 _swigc__p_wxPreviewCanvas
,
36536 _swigc__p_wxPreviewControlBar
,
36537 _swigc__p_wxPreviewFrame
,
36538 _swigc__p_wxPrintData
,
36539 _swigc__p_wxPrintDialog
,
36540 _swigc__p_wxPrintDialogData
,
36541 _swigc__p_wxPrintPreview
,
36542 _swigc__p_wxPrinter
,
36543 _swigc__p_wxProgressDialog
,
36545 _swigc__p_wxPyCommandEvent
,
36546 _swigc__p_wxPyEvent
,
36547 _swigc__p_wxPyHScrolledWindow
,
36548 _swigc__p_wxPyHVScrolledWindow
,
36549 _swigc__p_wxPyHtmlListBox
,
36550 _swigc__p_wxPyImageHandler
,
36551 _swigc__p_wxPyPanel
,
36552 _swigc__p_wxPyPopupTransientWindow
,
36553 _swigc__p_wxPyPreviewControlBar
,
36554 _swigc__p_wxPyPreviewFrame
,
36555 _swigc__p_wxPyPrintPreview
,
36556 _swigc__p_wxPyPrintout
,
36557 _swigc__p_wxPyScrolledWindow
,
36558 _swigc__p_wxPySizer
,
36559 _swigc__p_wxPyTaskBarIcon
,
36560 _swigc__p_wxPyVListBox
,
36561 _swigc__p_wxPyVScrolledWindow
,
36562 _swigc__p_wxPyValidator
,
36563 _swigc__p_wxPyWindow
,
36564 _swigc__p_wxQueryLayoutInfoEvent
,
36565 _swigc__p_wxQueryNewPaletteEvent
,
36567 _swigc__p_wxRegion
,
36568 _swigc__p_wxSashEvent
,
36569 _swigc__p_wxSashLayoutWindow
,
36570 _swigc__p_wxSashWindow
,
36571 _swigc__p_wxScrollEvent
,
36572 _swigc__p_wxScrollWinEvent
,
36573 _swigc__p_wxScrolledWindow
,
36574 _swigc__p_wxSetCursorEvent
,
36575 _swigc__p_wxShowEvent
,
36576 _swigc__p_wxSimpleHtmlListBox
,
36577 _swigc__p_wxSingleChoiceDialog
,
36579 _swigc__p_wxSizeEvent
,
36581 _swigc__p_wxSizerItem
,
36582 _swigc__p_wxSplashScreen
,
36583 _swigc__p_wxSplashScreenWindow
,
36584 _swigc__p_wxSplitterEvent
,
36585 _swigc__p_wxSplitterWindow
,
36586 _swigc__p_wxStaticBoxSizer
,
36587 _swigc__p_wxStatusBar
,
36588 _swigc__p_wxStdDialogButtonSizer
,
36589 _swigc__p_wxString
,
36590 _swigc__p_wxSysColourChangedEvent
,
36591 _swigc__p_wxTGAHandler
,
36592 _swigc__p_wxTIFFHandler
,
36593 _swigc__p_wxTaskBarIcon
,
36594 _swigc__p_wxTaskBarIconEvent
,
36595 _swigc__p_wxTextEntryDialog
,
36596 _swigc__p_wxTipWindow
,
36597 _swigc__p_wxToolBar
,
36598 _swigc__p_wxTopLevelWindow
,
36599 _swigc__p_wxUpdateUIEvent
,
36600 _swigc__p_wxValidator
,
36601 _swigc__p_wxVarHScrollHelper
,
36602 _swigc__p_wxVarHVScrollHelper
,
36603 _swigc__p_wxVarScrollHelperBase
,
36604 _swigc__p_wxVarVScrollHelper
,
36605 _swigc__p_wxVisualAttributes
,
36606 _swigc__p_wxWindow
,
36607 _swigc__p_wxWindowCreateEvent
,
36608 _swigc__p_wxWindowDestroyEvent
,
36609 _swigc__p_wxXPMHandler
,
36613 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36615 static swig_const_info swig_const_table
[] = {
36616 {0, 0, 0, 0.0, 0, 0}};
36621 /* -----------------------------------------------------------------------------
36622 * Type initialization:
36623 * This problem is tough by the requirement that no dynamic
36624 * memory is used. Also, since swig_type_info structures store pointers to
36625 * swig_cast_info structures and swig_cast_info structures store pointers back
36626 * to swig_type_info structures, we need some lookup code at initialization.
36627 * The idea is that swig generates all the structures that are needed.
36628 * The runtime then collects these partially filled structures.
36629 * The SWIG_InitializeModule function takes these initial arrays out of
36630 * swig_module, and does all the lookup, filling in the swig_module.types
36631 * array with the correct data and linking the correct swig_cast_info
36632 * structures together.
36634 * The generated swig_type_info structures are assigned staticly to an initial
36635 * array. We just loop though that array, and handle each type individually.
36636 * First we lookup if this type has been already loaded, and if so, use the
36637 * loaded structure instead of the generated one. Then we have to fill in the
36638 * cast linked list. The cast data is initially stored in something like a
36639 * two-dimensional array. Each row corresponds to a type (there are the same
36640 * number of rows as there are in the swig_type_initial array). Each entry in
36641 * a column is one of the swig_cast_info structures for that type.
36642 * The cast_initial array is actually an array of arrays, because each row has
36643 * a variable number of columns. So to actually build the cast linked list,
36644 * we find the array of casts associated with the type, and loop through it
36645 * adding the casts to the list. The one last trick we need to do is making
36646 * sure the type pointer in the swig_cast_info struct is correct.
36648 * First off, we lookup the cast->type name to see if it is already loaded.
36649 * There are three cases to handle:
36650 * 1) If the cast->type has already been loaded AND the type we are adding
36651 * casting info to has not been loaded (it is in this module), THEN we
36652 * replace the cast->type pointer with the type pointer that has already
36654 * 2) If BOTH types (the one we are adding casting info to, and the
36655 * cast->type) are loaded, THEN the cast info has already been loaded by
36656 * the previous module so we just ignore it.
36657 * 3) Finally, if cast->type has not already been loaded, then we add that
36658 * swig_cast_info to the linked list (because the cast->type) pointer will
36660 * ----------------------------------------------------------------------------- */
36670 #define SWIGRUNTIME_DEBUG
36674 SWIG_InitializeModule(void *clientdata
) {
36676 swig_module_info
*module_head
;
36677 static int init_run
= 0;
36679 clientdata
= clientdata
;
36681 if (init_run
) return;
36684 /* Initialize the swig_module */
36685 swig_module
.type_initial
= swig_type_initial
;
36686 swig_module
.cast_initial
= swig_cast_initial
;
36688 /* Try and load any already created modules */
36689 module_head
= SWIG_GetModule(clientdata
);
36691 swig_module
.next
= module_head
->next
;
36692 module_head
->next
= &swig_module
;
36694 /* This is the first module loaded */
36695 swig_module
.next
= &swig_module
;
36696 SWIG_SetModule(clientdata
, &swig_module
);
36699 /* Now work on filling in swig_module.types */
36700 #ifdef SWIGRUNTIME_DEBUG
36701 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36703 for (i
= 0; i
< swig_module
.size
; ++i
) {
36704 swig_type_info
*type
= 0;
36705 swig_type_info
*ret
;
36706 swig_cast_info
*cast
;
36708 #ifdef SWIGRUNTIME_DEBUG
36709 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36712 /* if there is another module already loaded */
36713 if (swig_module
.next
!= &swig_module
) {
36714 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36717 /* Overwrite clientdata field */
36718 #ifdef SWIGRUNTIME_DEBUG
36719 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36721 if (swig_module
.type_initial
[i
]->clientdata
) {
36722 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36723 #ifdef SWIGRUNTIME_DEBUG
36724 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36728 type
= swig_module
.type_initial
[i
];
36731 /* Insert casting types */
36732 cast
= swig_module
.cast_initial
[i
];
36733 while (cast
->type
) {
36734 /* Don't need to add information already in the list */
36736 #ifdef SWIGRUNTIME_DEBUG
36737 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36739 if (swig_module
.next
!= &swig_module
) {
36740 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36741 #ifdef SWIGRUNTIME_DEBUG
36742 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36746 if (type
== swig_module
.type_initial
[i
]) {
36747 #ifdef SWIGRUNTIME_DEBUG
36748 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36753 /* Check for casting already in the list */
36754 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36755 #ifdef SWIGRUNTIME_DEBUG
36756 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36758 if (!ocast
) ret
= 0;
36763 #ifdef SWIGRUNTIME_DEBUG
36764 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36767 type
->cast
->prev
= cast
;
36768 cast
->next
= type
->cast
;
36774 /* Set entry in modules->types array equal to the type */
36775 swig_module
.types
[i
] = type
;
36777 swig_module
.types
[i
] = 0;
36779 #ifdef SWIGRUNTIME_DEBUG
36780 printf("**** SWIG_InitializeModule: Cast List ******\n");
36781 for (i
= 0; i
< swig_module
.size
; ++i
) {
36783 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36784 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36785 while (cast
->type
) {
36786 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36790 printf("---- Total casts: %d\n",j
);
36792 printf("**** SWIG_InitializeModule: Cast List ******\n");
36796 /* This function will propagate the clientdata field of type to
36797 * any new swig_type_info structures that have been added into the list
36798 * of equivalent types. It is like calling
36799 * SWIG_TypeClientData(type, clientdata) a second time.
36802 SWIG_PropagateClientData(void) {
36804 swig_cast_info
*equiv
;
36805 static int init_run
= 0;
36807 if (init_run
) return;
36810 for (i
= 0; i
< swig_module
.size
; i
++) {
36811 if (swig_module
.types
[i
]->clientdata
) {
36812 equiv
= swig_module
.types
[i
]->cast
;
36814 if (!equiv
->converter
) {
36815 if (equiv
->type
&& !equiv
->type
->clientdata
)
36816 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36818 equiv
= equiv
->next
;
36838 /* Python-specific SWIG API */
36839 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36840 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36841 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36843 /* -----------------------------------------------------------------------------
36844 * global variable support code.
36845 * ----------------------------------------------------------------------------- */
36847 typedef struct swig_globalvar
{
36848 char *name
; /* Name of global variable */
36849 PyObject
*(*get_attr
)(void); /* Return the current value */
36850 int (*set_attr
)(PyObject
*); /* Set the value */
36851 struct swig_globalvar
*next
;
36854 typedef struct swig_varlinkobject
{
36856 swig_globalvar
*vars
;
36857 } swig_varlinkobject
;
36859 SWIGINTERN PyObject
*
36860 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36861 return PyString_FromString("<Swig global variables>");
36864 SWIGINTERN PyObject
*
36865 swig_varlink_str(swig_varlinkobject
*v
) {
36866 PyObject
*str
= PyString_FromString("(");
36867 swig_globalvar
*var
;
36868 for (var
= v
->vars
; var
; var
=var
->next
) {
36869 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36870 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36872 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36877 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36878 PyObject
*str
= swig_varlink_str(v
);
36879 fprintf(fp
,"Swig global variables ");
36880 fprintf(fp
,"%s\n", PyString_AsString(str
));
36886 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36887 swig_globalvar
*var
= v
->vars
;
36889 swig_globalvar
*n
= var
->next
;
36896 SWIGINTERN PyObject
*
36897 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36898 PyObject
*res
= NULL
;
36899 swig_globalvar
*var
= v
->vars
;
36901 if (strcmp(var
->name
,n
) == 0) {
36902 res
= (*var
->get_attr
)();
36907 if (res
== NULL
&& !PyErr_Occurred()) {
36908 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36914 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36916 swig_globalvar
*var
= v
->vars
;
36918 if (strcmp(var
->name
,n
) == 0) {
36919 res
= (*var
->set_attr
)(p
);
36924 if (res
== 1 && !PyErr_Occurred()) {
36925 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36930 SWIGINTERN PyTypeObject
*
36931 swig_varlink_type(void) {
36932 static char varlink__doc__
[] = "Swig var link object";
36933 static PyTypeObject varlink_type
;
36934 static int type_init
= 0;
36936 const PyTypeObject tmp
36938 PyObject_HEAD_INIT(NULL
)
36939 0, /* Number of items in variable part (ob_size) */
36940 (char *)"swigvarlink", /* Type name (tp_name) */
36941 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36942 0, /* Itemsize (tp_itemsize) */
36943 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36944 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36945 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36946 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36947 0, /* tp_compare */
36948 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36949 0, /* tp_as_number */
36950 0, /* tp_as_sequence */
36951 0, /* tp_as_mapping */
36954 (reprfunc
)swig_varlink_str
, /* tp_str */
36955 0, /* tp_getattro */
36956 0, /* tp_setattro */
36957 0, /* tp_as_buffer */
36959 varlink__doc__
, /* tp_doc */
36960 0, /* tp_traverse */
36962 0, /* tp_richcompare */
36963 0, /* tp_weaklistoffset */
36964 #if PY_VERSION_HEX >= 0x02020000
36965 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36967 #if PY_VERSION_HEX >= 0x02030000
36970 #ifdef COUNT_ALLOCS
36971 0,0,0,0 /* tp_alloc -> tp_next */
36974 varlink_type
= tmp
;
36975 varlink_type
.ob_type
= &PyType_Type
;
36978 return &varlink_type
;
36981 /* Create a variable linking object for use later */
36982 SWIGINTERN PyObject
*
36983 SWIG_Python_newvarlink(void) {
36984 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36988 return ((PyObject
*) result
);
36992 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36993 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36994 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36996 size_t size
= strlen(name
)+1;
36997 gv
->name
= (char *)malloc(size
);
36999 strncpy(gv
->name
,name
,size
);
37000 gv
->get_attr
= get_attr
;
37001 gv
->set_attr
= set_attr
;
37002 gv
->next
= v
->vars
;
37008 SWIGINTERN PyObject
*
37010 static PyObject
*_SWIG_globals
= 0;
37011 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
37012 return _SWIG_globals
;
37015 /* -----------------------------------------------------------------------------
37016 * constants/methods manipulation
37017 * ----------------------------------------------------------------------------- */
37019 /* Install Constants */
37021 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37024 for (i
= 0; constants
[i
].type
; ++i
) {
37025 switch(constants
[i
].type
) {
37026 case SWIG_PY_POINTER
:
37027 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37029 case SWIG_PY_BINARY
:
37030 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37037 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
37043 /* -----------------------------------------------------------------------------*/
37044 /* Fix SwigMethods to carry the callback ptrs when needed */
37045 /* -----------------------------------------------------------------------------*/
37048 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37049 swig_const_info
*const_table
,
37050 swig_type_info
**types
,
37051 swig_type_info
**types_initial
) {
37053 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37054 const char *c
= methods
[i
].ml_doc
;
37055 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37057 swig_const_info
*ci
= 0;
37058 const char *name
= c
+ 10;
37059 for (j
= 0; const_table
[j
].type
; ++j
) {
37060 if (strncmp(const_table
[j
].name
, name
,
37061 strlen(const_table
[j
].name
)) == 0) {
37062 ci
= &(const_table
[j
]);
37067 size_t shift
= (ci
->ptype
) - types
;
37068 swig_type_info
*ty
= types_initial
[shift
];
37069 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37070 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37071 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37074 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37076 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37078 strncpy(buff
, "swig_ptr: ", 10);
37080 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37081 methods
[i
].ml_doc
= ndoc
;
37093 /* -----------------------------------------------------------------------------*
37094 * Partial Init method
37095 * -----------------------------------------------------------------------------*/
37100 SWIGEXPORT
void SWIG_init(void) {
37103 /* Fix SwigMethods to carry the callback ptrs when needed */
37104 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37106 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37107 d
= PyModule_GetDict(m
);
37109 SWIG_InitializeModule(0);
37110 SWIG_InstallConstants(d
,swig_const_table
);
37113 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37114 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
37115 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
37116 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
37117 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
37118 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
37119 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
37120 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
37121 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
37122 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
37123 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
37124 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
37125 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
37126 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
37127 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
37128 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
37129 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
37130 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
37131 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
37132 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
37133 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
37134 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
37135 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
37136 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
37137 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
37138 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
37139 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
37140 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
37141 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
37142 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
37143 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
37144 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
37145 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
37146 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
37147 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
37148 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
37149 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
37150 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
37151 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
37152 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
37153 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
37154 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
37155 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
37156 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
37157 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
37158 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
37159 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
37160 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
37161 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
37162 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
37163 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
37164 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
37165 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
37166 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
37167 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
37168 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
37169 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
37170 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
37171 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
37172 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
37173 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
37174 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
37175 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
37176 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
37177 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
37178 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
37179 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
37180 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
37181 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
37182 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
37183 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
37184 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
37185 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
37186 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
37187 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
37188 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
37189 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
37190 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
37191 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
37192 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
37193 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
37194 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
37195 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
37196 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
37197 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
37198 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
37199 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
37200 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
37201 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
37202 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
37203 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
37204 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
37205 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
37206 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
37207 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
37208 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
37209 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
37210 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
37211 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
37212 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
37213 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
37214 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
37215 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
37217 // Map renamed classes back to their common name for OOR
37218 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
37219 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
37220 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
37222 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
37223 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
37224 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
37225 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
37226 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
37227 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
37228 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
37229 PyDict_SetItemString(d
, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK
));
37230 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
37231 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
37232 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
37233 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
37234 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
37235 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
37236 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
37237 SWIG_Python_SetConstant(d
, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST
)));
37238 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
37239 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
37240 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
37241 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
37242 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
37243 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
37244 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
37245 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
37246 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
37247 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
37248 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
37249 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
37250 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
37251 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
37252 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
37253 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
37254 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
37255 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
37256 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
37257 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
37258 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
37259 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
37260 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
37261 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
37262 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
37263 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
37264 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
37265 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
37266 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
37267 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
37268 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
37269 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
37270 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
37271 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
37272 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
37273 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
37274 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
37275 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
37276 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
37277 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
37278 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
37279 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
37280 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
37281 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
37282 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
37283 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
37284 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
37285 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
37286 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
37287 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
37288 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
37289 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
37290 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
37291 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
37292 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
37293 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
37294 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
37295 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
37296 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
37297 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
37298 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
37299 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
37300 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
37301 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
37302 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
37303 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
37304 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
37305 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
37306 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
37307 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
37308 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
37309 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
37310 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
37311 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
37312 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
37313 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
37314 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
37315 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
37316 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
37317 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
37318 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
37319 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
37320 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
37322 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");