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_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
= 0;
5218 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5223 PyObject
* obj0
= 0 ;
5224 PyObject
* obj1
= 0 ;
5225 char * kwnames
[] = {
5226 (char *) "self",(char *) "rect", NULL
5229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5231 if (!SWIG_IsOK(res1
)) {
5232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5234 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5237 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_Py_Void();
5252 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5253 PyObject
*resultobj
= 0;
5254 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5258 PyObject
*swig_obj
[1] ;
5260 if (!args
) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5266 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5280 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
= 0;
5282 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5288 PyObject
* obj0
= 0 ;
5289 PyObject
* obj1
= 0 ;
5290 char * kwnames
[] = {
5291 (char *) "self",(char *) "dc", NULL
5294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5296 if (!SWIG_IsOK(res1
)) {
5297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5299 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5301 if (!SWIG_IsOK(res2
)) {
5302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5307 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 (arg1
)->DoPrepareDC(*arg2
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5314 resultobj
= SWIG_Py_Void();
5321 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
= 0;
5323 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5324 SwigValueWrapper
<wxVisualAttributes
> result
;
5327 PyObject
* obj0
= 0 ;
5328 char * kwnames
[] = {
5329 (char *) "variant", NULL
5332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5334 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5335 if (!SWIG_IsOK(ecode1
)) {
5336 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5338 arg1
= static_cast< wxWindowVariant
>(val1
);
5341 if (!wxPyCheckForApp()) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5354 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5357 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5358 return SWIG_Py_Void();
5361 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5362 return SWIG_Python_InitShadowInstance(args
);
5365 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5366 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5371 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5372 PyObject
*pyobj
= 0;
5376 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5378 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5385 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5386 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5391 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5392 PyObject
*pyobj
= 0;
5396 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5398 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5405 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5406 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5411 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5412 PyObject
*pyobj
= 0;
5416 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5418 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5425 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5426 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5431 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5432 PyObject
*pyobj
= 0;
5436 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5438 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5445 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= 0;
5447 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5448 bool arg2
= (bool) true ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5455 char * kwnames
[] = {
5456 (char *) "self",(char *) "maximize", NULL
5459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5461 if (!SWIG_IsOK(res1
)) {
5462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5464 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5466 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5467 if (!SWIG_IsOK(ecode2
)) {
5468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5470 arg2
= static_cast< bool >(val2
);
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 (arg1
)->Maximize(arg2
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= SWIG_Py_Void();
5485 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5486 PyObject
*resultobj
= 0;
5487 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5490 PyObject
*swig_obj
[1] ;
5492 if (!args
) SWIG_fail
;
5494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5495 if (!SWIG_IsOK(res1
)) {
5496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5498 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= SWIG_Py_Void();
5512 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
= 0;
5514 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5515 bool arg2
= (bool) true ;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5522 char * kwnames
[] = {
5523 (char *) "self",(char *) "iconize", NULL
5526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5531 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5533 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5534 if (!SWIG_IsOK(ecode2
)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5537 arg2
= static_cast< bool >(val2
);
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 (arg1
)->Iconize(arg2
);
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5545 resultobj
= SWIG_Py_Void();
5552 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5553 PyObject
*resultobj
= 0;
5554 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5558 PyObject
*swig_obj
[1] ;
5560 if (!args
) SWIG_fail
;
5562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5563 if (!SWIG_IsOK(res1
)) {
5564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5566 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5582 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5583 PyObject
*resultobj
= 0;
5584 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5588 PyObject
*swig_obj
[1] ;
5590 if (!args
) SWIG_fail
;
5592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5593 if (!SWIG_IsOK(res1
)) {
5594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5596 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5612 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5613 PyObject
*resultobj
= 0;
5614 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5618 PyObject
*swig_obj
[1] ;
5620 if (!args
) SWIG_fail
;
5622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5623 if (!SWIG_IsOK(res1
)) {
5624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5626 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5642 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5643 PyObject
*resultobj
= 0;
5644 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5648 PyObject
*swig_obj
[1] ;
5650 if (!args
) SWIG_fail
;
5652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5653 if (!SWIG_IsOK(res1
)) {
5654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5656 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5670 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
= 0;
5672 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5680 char * kwnames
[] = {
5681 (char *) "self",(char *) "icon", NULL
5684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5686 if (!SWIG_IsOK(res1
)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5689 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5691 if (!SWIG_IsOK(res2
)) {
5692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5697 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_Py_Void();
5711 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
= 0;
5713 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5714 wxIconBundle
*arg2
= 0 ;
5719 PyObject
* obj0
= 0 ;
5720 PyObject
* obj1
= 0 ;
5721 char * kwnames
[] = {
5722 (char *) "self",(char *) "icons", NULL
5725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5727 if (!SWIG_IsOK(res1
)) {
5728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5730 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5732 if (!SWIG_IsOK(res2
)) {
5733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5738 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= SWIG_Py_Void();
5752 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
= 0;
5754 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5756 long arg3
= (long) wxFULLSCREEN_ALL
;
5764 PyObject
* obj0
= 0 ;
5765 PyObject
* obj1
= 0 ;
5766 PyObject
* obj2
= 0 ;
5767 char * kwnames
[] = {
5768 (char *) "self",(char *) "show",(char *) "style", NULL
5771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5773 if (!SWIG_IsOK(res1
)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5776 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5777 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5778 if (!SWIG_IsOK(ecode2
)) {
5779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5781 arg2
= static_cast< bool >(val2
);
5783 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5784 if (!SWIG_IsOK(ecode3
)) {
5785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5787 arg3
= static_cast< long >(val3
);
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5804 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5805 PyObject
*resultobj
= 0;
5806 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5810 PyObject
*swig_obj
[1] ;
5812 if (!args
) SWIG_fail
;
5814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5815 if (!SWIG_IsOK(res1
)) {
5816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5818 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5834 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
= 0;
5836 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5837 wxString
*arg2
= 0 ;
5840 bool temp2
= false ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 char * kwnames
[] = {
5844 (char *) "self",(char *) "title", NULL
5847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5849 if (!SWIG_IsOK(res1
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5852 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5854 arg2
= wxString_in_helper(obj1
);
5855 if (arg2
== NULL
) SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 (arg1
)->SetTitle((wxString
const &)*arg2
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= SWIG_Py_Void();
5879 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5880 PyObject
*resultobj
= 0;
5881 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5885 PyObject
*swig_obj
[1] ;
5887 if (!args
) SWIG_fail
;
5889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5890 if (!SWIG_IsOK(res1
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5893 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5913 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
= 0;
5915 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5924 char * kwnames
[] = {
5925 (char *) "self",(char *) "enable", NULL
5928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5930 if (!SWIG_IsOK(res1
)) {
5931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5933 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5935 if (!SWIG_IsOK(ecode2
)) {
5936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5938 arg2
= static_cast< bool >(val2
);
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5954 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
= 0;
5956 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5957 wxRegion
*arg2
= 0 ;
5963 PyObject
* obj0
= 0 ;
5964 PyObject
* obj1
= 0 ;
5965 char * kwnames
[] = {
5966 (char *) "self",(char *) "region", NULL
5969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5971 if (!SWIG_IsOK(res1
)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5974 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5976 if (!SWIG_IsOK(res2
)) {
5977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5982 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5998 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
= 0;
6000 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6001 int arg2
= (int) wxUSER_ATTENTION_INFO
;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6008 char * kwnames
[] = {
6009 (char *) "self",(char *) "flags", NULL
6012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6014 if (!SWIG_IsOK(res1
)) {
6015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6017 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6020 if (!SWIG_IsOK(ecode2
)) {
6021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
6023 arg2
= static_cast< int >(val2
);
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 (arg1
)->RequestUserAttention(arg2
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_Py_Void();
6038 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6039 PyObject
*resultobj
= 0;
6040 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6044 PyObject
*swig_obj
[1] ;
6046 if (!args
) SWIG_fail
;
6048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6049 if (!SWIG_IsOK(res1
)) {
6050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6052 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (bool)(arg1
)->IsActive();
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6068 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
= 0;
6070 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6077 PyObject
* obj1
= 0 ;
6078 char * kwnames
[] = {
6079 (char *) "self",(char *) "on", NULL
6082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6084 if (!SWIG_IsOK(res1
)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6087 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6088 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6089 if (!SWIG_IsOK(ecode2
)) {
6090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6092 arg2
= static_cast< bool >(val2
);
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= SWIG_Py_Void();
6106 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6107 PyObject
*resultobj
= 0;
6108 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6112 PyObject
*swig_obj
[1] ;
6114 if (!args
) SWIG_fail
;
6116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6117 if (!SWIG_IsOK(res1
)) {
6118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6120 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6136 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
= 0;
6138 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6139 int arg2
= (int) wxBOTH
;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6146 char * kwnames
[] = {
6147 (char *) "self",(char *) "dir", NULL
6150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6152 if (!SWIG_IsOK(res1
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6155 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6158 if (!SWIG_IsOK(ecode2
)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6161 arg2
= static_cast< int >(val2
);
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 (arg1
)->CenterOnScreen(arg2
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6169 resultobj
= SWIG_Py_Void();
6176 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6177 PyObject
*resultobj
= 0;
6178 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6179 wxWindow
*result
= 0 ;
6182 PyObject
*swig_obj
[1] ;
6184 if (!args
) SWIG_fail
;
6186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6187 if (!SWIG_IsOK(res1
)) {
6188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6190 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= wxPyMake_wxObject(result
, 0);
6206 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
= 0;
6208 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6209 wxWindow
*arg2
= (wxWindow
*) 0 ;
6210 wxWindow
*result
= 0 ;
6215 PyObject
* obj0
= 0 ;
6216 PyObject
* obj1
= 0 ;
6217 char * kwnames
[] = {
6218 (char *) "self",(char *) "child", NULL
6221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6223 if (!SWIG_IsOK(res1
)) {
6224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6226 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6227 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6228 if (!SWIG_IsOK(res2
)) {
6229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6231 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6239 resultobj
= wxPyMake_wxObject(result
, 0);
6247 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
= 0;
6249 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6250 wxWindow
*arg2
= (wxWindow
*) 0 ;
6255 PyObject
* obj0
= 0 ;
6256 PyObject
* obj1
= 0 ;
6257 char * kwnames
[] = {
6258 (char *) "self",(char *) "win", NULL
6261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6263 if (!SWIG_IsOK(res1
)) {
6264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6266 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6268 if (!SWIG_IsOK(res2
)) {
6269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 (arg1
)->SetTmpDefaultItem(arg2
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 resultobj
= SWIG_Py_Void();
6285 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6286 PyObject
*resultobj
= 0;
6287 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6288 wxWindow
*result
= 0 ;
6291 PyObject
*swig_obj
[1] ;
6293 if (!args
) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6299 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= wxPyMake_wxObject(result
, 0);
6315 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6318 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6319 return SWIG_Py_Void();
6322 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
= 0;
6324 wxWindow
*arg1
= (wxWindow
*) 0 ;
6325 int arg2
= (int) (int)-1 ;
6326 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6327 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6328 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6329 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6330 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6331 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6332 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6333 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6334 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6335 wxFrame
*result
= 0 ;
6340 bool temp3
= false ;
6345 bool temp7
= false ;
6346 PyObject
* obj0
= 0 ;
6347 PyObject
* obj1
= 0 ;
6348 PyObject
* obj2
= 0 ;
6349 PyObject
* obj3
= 0 ;
6350 PyObject
* obj4
= 0 ;
6351 PyObject
* obj5
= 0 ;
6352 PyObject
* obj6
= 0 ;
6353 char * kwnames
[] = {
6354 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6359 if (!SWIG_IsOK(res1
)) {
6360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6362 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6365 if (!SWIG_IsOK(ecode2
)) {
6366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6368 arg2
= static_cast< int >(val2
);
6372 arg3
= wxString_in_helper(obj2
);
6373 if (arg3
== NULL
) SWIG_fail
;
6380 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6386 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6390 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6391 if (!SWIG_IsOK(ecode6
)) {
6392 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6394 arg6
= static_cast< long >(val6
);
6398 arg7
= wxString_in_helper(obj6
);
6399 if (arg7
== NULL
) SWIG_fail
;
6404 if (!wxPyCheckForApp()) SWIG_fail
;
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6433 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6434 PyObject
*resultobj
= 0;
6435 wxFrame
*result
= 0 ;
6437 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6439 if (!wxPyCheckForApp()) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (wxFrame
*)new wxFrame();
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6452 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
= 0;
6454 wxFrame
*arg1
= (wxFrame
*) 0 ;
6455 wxWindow
*arg2
= (wxWindow
*) 0 ;
6456 int arg3
= (int) (int)-1 ;
6457 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6458 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6459 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6460 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6461 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6462 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6463 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6464 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6465 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6473 bool temp4
= false ;
6478 bool temp8
= false ;
6479 PyObject
* obj0
= 0 ;
6480 PyObject
* obj1
= 0 ;
6481 PyObject
* obj2
= 0 ;
6482 PyObject
* obj3
= 0 ;
6483 PyObject
* obj4
= 0 ;
6484 PyObject
* obj5
= 0 ;
6485 PyObject
* obj6
= 0 ;
6486 PyObject
* obj7
= 0 ;
6487 char * kwnames
[] = {
6488 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6493 if (!SWIG_IsOK(res1
)) {
6494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6496 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6498 if (!SWIG_IsOK(res2
)) {
6499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6501 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6504 if (!SWIG_IsOK(ecode3
)) {
6505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6507 arg3
= static_cast< int >(val3
);
6511 arg4
= wxString_in_helper(obj3
);
6512 if (arg4
== NULL
) SWIG_fail
;
6519 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6525 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6529 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6530 if (!SWIG_IsOK(ecode7
)) {
6531 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6533 arg7
= static_cast< long >(val7
);
6537 arg8
= wxString_in_helper(obj7
);
6538 if (arg8
== NULL
) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6573 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6574 PyObject
*resultobj
= 0;
6575 wxFrame
*arg1
= (wxFrame
*) 0 ;
6578 PyObject
*swig_obj
[1] ;
6580 if (!args
) SWIG_fail
;
6582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6583 if (!SWIG_IsOK(res1
)) {
6584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6586 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 (arg1
)->SendSizeEvent();
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= SWIG_Py_Void();
6600 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
= 0;
6602 wxFrame
*arg1
= (wxFrame
*) 0 ;
6603 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6608 PyObject
* obj0
= 0 ;
6609 PyObject
* obj1
= 0 ;
6610 char * kwnames
[] = {
6611 (char *) "self",(char *) "menubar", NULL
6614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6616 if (!SWIG_IsOK(res1
)) {
6617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6619 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6621 if (!SWIG_IsOK(res2
)) {
6622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6624 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 (arg1
)->SetMenuBar(arg2
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_Py_Void();
6638 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6639 PyObject
*resultobj
= 0;
6640 wxFrame
*arg1
= (wxFrame
*) 0 ;
6641 wxMenuBar
*result
= 0 ;
6644 PyObject
*swig_obj
[1] ;
6646 if (!args
) SWIG_fail
;
6648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6649 if (!SWIG_IsOK(res1
)) {
6650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6652 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= wxPyMake_wxObject(result
, 0);
6668 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
= 0;
6670 wxFrame
*arg1
= (wxFrame
*) 0 ;
6677 PyObject
* obj0
= 0 ;
6678 PyObject
* obj1
= 0 ;
6679 char * kwnames
[] = {
6680 (char *) "self",(char *) "winid", NULL
6683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6685 if (!SWIG_IsOK(res1
)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6688 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6690 if (!SWIG_IsOK(ecode2
)) {
6691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6693 arg2
= static_cast< int >(val2
);
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6709 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
= 0;
6711 wxFrame
*arg1
= (wxFrame
*) 0 ;
6712 int arg2
= (int) 1 ;
6713 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6714 int arg4
= (int) 0 ;
6715 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6716 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6717 wxStatusBar
*result
= 0 ;
6726 bool temp5
= false ;
6727 PyObject
* obj0
= 0 ;
6728 PyObject
* obj1
= 0 ;
6729 PyObject
* obj2
= 0 ;
6730 PyObject
* obj3
= 0 ;
6731 PyObject
* obj4
= 0 ;
6732 char * kwnames
[] = {
6733 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6738 if (!SWIG_IsOK(res1
)) {
6739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6741 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6744 if (!SWIG_IsOK(ecode2
)) {
6745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6747 arg2
= static_cast< int >(val2
);
6750 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6751 if (!SWIG_IsOK(ecode3
)) {
6752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6754 arg3
= static_cast< long >(val3
);
6757 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6758 if (!SWIG_IsOK(ecode4
)) {
6759 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6761 arg4
= static_cast< int >(val4
);
6765 arg5
= wxString_in_helper(obj4
);
6766 if (arg5
== NULL
) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6793 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6794 PyObject
*resultobj
= 0;
6795 wxFrame
*arg1
= (wxFrame
*) 0 ;
6796 wxStatusBar
*result
= 0 ;
6799 PyObject
*swig_obj
[1] ;
6801 if (!args
) SWIG_fail
;
6803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6804 if (!SWIG_IsOK(res1
)) {
6805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6807 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6823 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
= 0;
6825 wxFrame
*arg1
= (wxFrame
*) 0 ;
6826 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6831 PyObject
* obj0
= 0 ;
6832 PyObject
* obj1
= 0 ;
6833 char * kwnames
[] = {
6834 (char *) "self",(char *) "statBar", NULL
6837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6839 if (!SWIG_IsOK(res1
)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6842 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6843 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6844 if (!SWIG_IsOK(res2
)) {
6845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6847 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 (arg1
)->SetStatusBar(arg2
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_Py_Void();
6861 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
*resultobj
= 0;
6863 wxFrame
*arg1
= (wxFrame
*) 0 ;
6864 wxString
*arg2
= 0 ;
6865 int arg3
= (int) 0 ;
6868 bool temp2
= false ;
6871 PyObject
* obj0
= 0 ;
6872 PyObject
* obj1
= 0 ;
6873 PyObject
* obj2
= 0 ;
6874 char * kwnames
[] = {
6875 (char *) "self",(char *) "text",(char *) "number", NULL
6878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6880 if (!SWIG_IsOK(res1
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6883 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6885 arg2
= wxString_in_helper(obj1
);
6886 if (arg2
== NULL
) SWIG_fail
;
6890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6891 if (!SWIG_IsOK(ecode3
)) {
6892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6894 arg3
= static_cast< int >(val3
);
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_Py_Void();
6917 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
= 0;
6919 wxFrame
*arg1
= (wxFrame
*) 0 ;
6921 int *arg3
= (int *) 0 ;
6924 PyObject
* obj0
= 0 ;
6925 PyObject
* obj1
= 0 ;
6926 char * kwnames
[] = {
6927 (char *) "self",(char *) "widths", NULL
6930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6932 if (!SWIG_IsOK(res1
)) {
6933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6935 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6937 arg2
= PyList_Size(obj1
);
6938 arg3
= int_LIST_helper(obj1
);
6939 if (arg3
== NULL
) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= SWIG_Py_Void();
6949 if (arg3
) delete [] arg3
;
6954 if (arg3
) delete [] arg3
;
6960 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
= 0;
6962 wxFrame
*arg1
= (wxFrame
*) 0 ;
6963 wxString
*arg2
= 0 ;
6964 int arg3
= (int) 0 ;
6967 bool temp2
= false ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6972 PyObject
* obj2
= 0 ;
6973 char * kwnames
[] = {
6974 (char *) "self",(char *) "text",(char *) "number", NULL
6977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6979 if (!SWIG_IsOK(res1
)) {
6980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6982 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6984 arg2
= wxString_in_helper(obj1
);
6985 if (arg2
== NULL
) SWIG_fail
;
6989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6990 if (!SWIG_IsOK(ecode3
)) {
6991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6993 arg3
= static_cast< int >(val3
);
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= SWIG_Py_Void();
7016 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
= 0;
7018 wxFrame
*arg1
= (wxFrame
*) 0 ;
7019 int arg2
= (int) 0 ;
7024 PyObject
* obj0
= 0 ;
7025 PyObject
* obj1
= 0 ;
7026 char * kwnames
[] = {
7027 (char *) "self",(char *) "number", NULL
7030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7032 if (!SWIG_IsOK(res1
)) {
7033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7035 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7038 if (!SWIG_IsOK(ecode2
)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7041 arg2
= static_cast< int >(val2
);
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 (arg1
)->PopStatusText(arg2
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_Py_Void();
7056 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
= 0;
7058 wxFrame
*arg1
= (wxFrame
*) 0 ;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7066 char * kwnames
[] = {
7067 (char *) "self",(char *) "n", NULL
7070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7072 if (!SWIG_IsOK(res1
)) {
7073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7075 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7077 if (!SWIG_IsOK(ecode2
)) {
7078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7080 arg2
= static_cast< int >(val2
);
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 (arg1
)->SetStatusBarPane(arg2
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= SWIG_Py_Void();
7094 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7095 PyObject
*resultobj
= 0;
7096 wxFrame
*arg1
= (wxFrame
*) 0 ;
7100 PyObject
*swig_obj
[1] ;
7102 if (!args
) SWIG_fail
;
7104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7105 if (!SWIG_IsOK(res1
)) {
7106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7108 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_From_int(static_cast< int >(result
));
7122 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
= 0;
7124 wxFrame
*arg1
= (wxFrame
*) 0 ;
7125 long arg2
= (long) -1 ;
7126 int arg3
= (int) -1 ;
7127 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7128 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7129 wxToolBar
*result
= 0 ;
7136 bool temp4
= false ;
7137 PyObject
* obj0
= 0 ;
7138 PyObject
* obj1
= 0 ;
7139 PyObject
* obj2
= 0 ;
7140 PyObject
* obj3
= 0 ;
7141 char * kwnames
[] = {
7142 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7147 if (!SWIG_IsOK(res1
)) {
7148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7150 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7152 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7153 if (!SWIG_IsOK(ecode2
)) {
7154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7156 arg2
= static_cast< long >(val2
);
7159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7160 if (!SWIG_IsOK(ecode3
)) {
7161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7163 arg3
= static_cast< int >(val3
);
7167 arg4
= wxString_in_helper(obj3
);
7168 if (arg4
== NULL
) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7195 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7196 PyObject
*resultobj
= 0;
7197 wxFrame
*arg1
= (wxFrame
*) 0 ;
7198 wxToolBar
*result
= 0 ;
7201 PyObject
*swig_obj
[1] ;
7203 if (!args
) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7209 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7225 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
= 0;
7227 wxFrame
*arg1
= (wxFrame
*) 0 ;
7228 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7235 char * kwnames
[] = {
7236 (char *) "self",(char *) "toolbar", NULL
7239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7241 if (!SWIG_IsOK(res1
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7244 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7245 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7246 if (!SWIG_IsOK(res2
)) {
7247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7249 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 (arg1
)->SetToolBar(arg2
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= SWIG_Py_Void();
7263 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
= 0;
7265 wxFrame
*arg1
= (wxFrame
*) 0 ;
7266 wxString
*arg2
= 0 ;
7270 bool temp2
= false ;
7273 PyObject
* obj0
= 0 ;
7274 PyObject
* obj1
= 0 ;
7275 PyObject
* obj2
= 0 ;
7276 char * kwnames
[] = {
7277 (char *) "self",(char *) "text",(char *) "show", NULL
7280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7282 if (!SWIG_IsOK(res1
)) {
7283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7285 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7287 arg2
= wxString_in_helper(obj1
);
7288 if (arg2
== NULL
) SWIG_fail
;
7291 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7292 if (!SWIG_IsOK(ecode3
)) {
7293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7295 arg3
= static_cast< bool >(val3
);
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_Py_Void();
7317 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
= 0;
7319 wxFrame
*arg1
= (wxFrame
*) 0 ;
7320 wxMenu
*arg2
= (wxMenu
*) NULL
;
7325 PyObject
* obj0
= 0 ;
7326 PyObject
* obj1
= 0 ;
7327 char * kwnames
[] = {
7328 (char *) "self",(char *) "menu", NULL
7331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7333 if (!SWIG_IsOK(res1
)) {
7334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7336 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7339 if (!SWIG_IsOK(res2
)) {
7340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7342 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 (arg1
)->DoMenuUpdates(arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_Py_Void();
7357 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
= 0;
7359 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7360 SwigValueWrapper
<wxVisualAttributes
> result
;
7363 PyObject
* obj0
= 0 ;
7364 char * kwnames
[] = {
7365 (char *) "variant", NULL
7368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7370 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7371 if (!SWIG_IsOK(ecode1
)) {
7372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7374 arg1
= static_cast< wxWindowVariant
>(val1
);
7377 if (!wxPyCheckForApp()) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7390 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7393 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7394 return SWIG_Py_Void();
7397 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7398 return SWIG_Python_InitShadowInstance(args
);
7401 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
= 0;
7403 wxWindow
*arg1
= (wxWindow
*) 0 ;
7404 int arg2
= (int) (int)-1 ;
7405 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7406 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7407 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7408 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7409 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7410 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7411 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7412 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7413 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7414 wxDialog
*result
= 0 ;
7419 bool temp3
= false ;
7424 bool temp7
= false ;
7425 PyObject
* obj0
= 0 ;
7426 PyObject
* obj1
= 0 ;
7427 PyObject
* obj2
= 0 ;
7428 PyObject
* obj3
= 0 ;
7429 PyObject
* obj4
= 0 ;
7430 PyObject
* obj5
= 0 ;
7431 PyObject
* obj6
= 0 ;
7432 char * kwnames
[] = {
7433 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7438 if (!SWIG_IsOK(res1
)) {
7439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7441 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7444 if (!SWIG_IsOK(ecode2
)) {
7445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7447 arg2
= static_cast< int >(val2
);
7451 arg3
= wxString_in_helper(obj2
);
7452 if (arg3
== NULL
) SWIG_fail
;
7459 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7465 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7469 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7470 if (!SWIG_IsOK(ecode6
)) {
7471 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7473 arg6
= static_cast< long >(val6
);
7477 arg7
= wxString_in_helper(obj6
);
7478 if (arg7
== NULL
) SWIG_fail
;
7483 if (!wxPyCheckForApp()) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7512 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7513 PyObject
*resultobj
= 0;
7514 wxDialog
*result
= 0 ;
7516 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7518 if (!wxPyCheckForApp()) SWIG_fail
;
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 result
= (wxDialog
*)new wxDialog();
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7531 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
= 0;
7533 wxDialog
*arg1
= (wxDialog
*) 0 ;
7534 wxWindow
*arg2
= (wxWindow
*) 0 ;
7535 int arg3
= (int) (int)-1 ;
7536 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7537 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7538 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7539 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7540 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7541 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7542 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7543 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7544 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7552 bool temp4
= false ;
7557 bool temp8
= false ;
7558 PyObject
* obj0
= 0 ;
7559 PyObject
* obj1
= 0 ;
7560 PyObject
* obj2
= 0 ;
7561 PyObject
* obj3
= 0 ;
7562 PyObject
* obj4
= 0 ;
7563 PyObject
* obj5
= 0 ;
7564 PyObject
* obj6
= 0 ;
7565 PyObject
* obj7
= 0 ;
7566 char * kwnames
[] = {
7567 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7572 if (!SWIG_IsOK(res1
)) {
7573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7575 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7577 if (!SWIG_IsOK(res2
)) {
7578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7580 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7582 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7583 if (!SWIG_IsOK(ecode3
)) {
7584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7586 arg3
= static_cast< int >(val3
);
7590 arg4
= wxString_in_helper(obj3
);
7591 if (arg4
== NULL
) SWIG_fail
;
7598 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7604 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7608 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7609 if (!SWIG_IsOK(ecode7
)) {
7610 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7612 arg7
= static_cast< long >(val7
);
7616 arg8
= wxString_in_helper(obj7
);
7617 if (arg8
== NULL
) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7652 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
*resultobj
= 0;
7654 wxDialog
*arg1
= (wxDialog
*) 0 ;
7660 PyObject
* obj0
= 0 ;
7661 PyObject
* obj1
= 0 ;
7662 char * kwnames
[] = {
7663 (char *) "self",(char *) "returnCode", NULL
7666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7668 if (!SWIG_IsOK(res1
)) {
7669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7671 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7673 if (!SWIG_IsOK(ecode2
)) {
7674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7676 arg2
= static_cast< int >(val2
);
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 (arg1
)->SetReturnCode(arg2
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_Py_Void();
7690 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7691 PyObject
*resultobj
= 0;
7692 wxDialog
*arg1
= (wxDialog
*) 0 ;
7696 PyObject
*swig_obj
[1] ;
7698 if (!args
) SWIG_fail
;
7700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7701 if (!SWIG_IsOK(res1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7704 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_From_int(static_cast< int >(result
));
7718 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
= 0;
7720 wxDialog
*arg1
= (wxDialog
*) 0 ;
7726 PyObject
* obj0
= 0 ;
7727 PyObject
* obj1
= 0 ;
7728 char * kwnames
[] = {
7729 (char *) "self",(char *) "affirmativeId", NULL
7732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7734 if (!SWIG_IsOK(res1
)) {
7735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7737 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7739 if (!SWIG_IsOK(ecode2
)) {
7740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7742 arg2
= static_cast< int >(val2
);
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 (arg1
)->SetAffirmativeId(arg2
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_Py_Void();
7756 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7757 PyObject
*resultobj
= 0;
7758 wxDialog
*arg1
= (wxDialog
*) 0 ;
7762 PyObject
*swig_obj
[1] ;
7764 if (!args
) SWIG_fail
;
7766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7767 if (!SWIG_IsOK(res1
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7770 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_From_int(static_cast< int >(result
));
7784 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
= 0;
7786 wxDialog
*arg1
= (wxDialog
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7793 PyObject
* obj1
= 0 ;
7794 char * kwnames
[] = {
7795 (char *) "self",(char *) "escapeId", NULL
7798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7800 if (!SWIG_IsOK(res1
)) {
7801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7803 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7805 if (!SWIG_IsOK(ecode2
)) {
7806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7808 arg2
= static_cast< int >(val2
);
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 (arg1
)->SetEscapeId(arg2
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 resultobj
= SWIG_Py_Void();
7822 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7823 PyObject
*resultobj
= 0;
7824 wxDialog
*arg1
= (wxDialog
*) 0 ;
7828 PyObject
*swig_obj
[1] ;
7830 if (!args
) SWIG_fail
;
7832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7833 if (!SWIG_IsOK(res1
)) {
7834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7836 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7843 resultobj
= SWIG_From_int(static_cast< int >(result
));
7850 SWIGINTERN PyObject
*_wrap_Dialog_GetParentForModalDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
= 0;
7852 wxDialog
*arg1
= (wxDialog
*) 0 ;
7853 wxWindow
*arg2
= (wxWindow
*) NULL
;
7854 wxWindow
*result
= 0 ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7861 char * kwnames
[] = {
7862 (char *) "self",(char *) "parent", NULL
7865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Dialog_GetParentForModalDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7867 if (!SWIG_IsOK(res1
)) {
7868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "1"" of type '" "wxDialog const *""'");
7870 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7872 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7873 if (!SWIG_IsOK(res2
)) {
7874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
7876 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (wxWindow
*)((wxDialog
const *)arg1
)->GetParentForModalDialog(arg2
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= wxPyMake_wxObject(result
, 0);
7893 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
= 0;
7895 wxDialog
*arg1
= (wxDialog
*) 0 ;
7896 wxString
*arg2
= 0 ;
7897 wxSizer
*result
= 0 ;
7900 bool temp2
= false ;
7901 PyObject
* obj0
= 0 ;
7902 PyObject
* obj1
= 0 ;
7903 char * kwnames
[] = {
7904 (char *) "self",(char *) "message", NULL
7907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7909 if (!SWIG_IsOK(res1
)) {
7910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7912 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7914 arg2
= wxString_in_helper(obj1
);
7915 if (arg2
== NULL
) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7941 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
= 0;
7943 wxDialog
*arg1
= (wxDialog
*) 0 ;
7945 wxSizer
*result
= 0 ;
7950 PyObject
* obj0
= 0 ;
7951 PyObject
* obj1
= 0 ;
7952 char * kwnames
[] = {
7953 (char *) "self",(char *) "flags", NULL
7956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7958 if (!SWIG_IsOK(res1
)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7961 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7962 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7963 if (!SWIG_IsOK(ecode2
)) {
7964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7966 arg2
= static_cast< long >(val2
);
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7982 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
= 0;
7984 wxDialog
*arg1
= (wxDialog
*) 0 ;
7986 wxSizer
*result
= 0 ;
7991 PyObject
* obj0
= 0 ;
7992 PyObject
* obj1
= 0 ;
7993 char * kwnames
[] = {
7994 (char *) "self",(char *) "flags", NULL
7997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7999 if (!SWIG_IsOK(res1
)) {
8000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
8002 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8003 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8004 if (!SWIG_IsOK(ecode2
)) {
8005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
8007 arg2
= static_cast< long >(val2
);
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= wxPyMake_wxObject(result
, (bool)0);
8023 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
= 0;
8025 wxDialog
*arg1
= (wxDialog
*) 0 ;
8027 wxStdDialogButtonSizer
*result
= 0 ;
8032 PyObject
* obj0
= 0 ;
8033 PyObject
* obj1
= 0 ;
8034 char * kwnames
[] = {
8035 (char *) "self",(char *) "flags", NULL
8038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8040 if (!SWIG_IsOK(res1
)) {
8041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
8043 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8044 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8045 if (!SWIG_IsOK(ecode2
)) {
8046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
8048 arg2
= static_cast< long >(val2
);
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
8062 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8063 PyObject
*resultobj
= 0;
8064 wxDialog
*arg1
= (wxDialog
*) 0 ;
8068 PyObject
*swig_obj
[1] ;
8070 if (!args
) SWIG_fail
;
8072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8073 if (!SWIG_IsOK(res1
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8076 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8092 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8093 PyObject
*resultobj
= 0;
8094 wxDialog
*arg1
= (wxDialog
*) 0 ;
8098 PyObject
*swig_obj
[1] ;
8100 if (!args
) SWIG_fail
;
8102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8103 if (!SWIG_IsOK(res1
)) {
8104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8106 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 result
= (int)(arg1
)->ShowModal();
8110 wxPyEndAllowThreads(__tstate
);
8111 if (PyErr_Occurred()) SWIG_fail
;
8113 resultobj
= SWIG_From_int(static_cast< int >(result
));
8120 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
*resultobj
= 0;
8122 wxDialog
*arg1
= (wxDialog
*) 0 ;
8128 PyObject
* obj0
= 0 ;
8129 PyObject
* obj1
= 0 ;
8130 char * kwnames
[] = {
8131 (char *) "self",(char *) "retCode", NULL
8134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8136 if (!SWIG_IsOK(res1
)) {
8137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8139 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8141 if (!SWIG_IsOK(ecode2
)) {
8142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8144 arg2
= static_cast< int >(val2
);
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 (arg1
)->EndModal(arg2
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= SWIG_Py_Void();
8158 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
= 0;
8160 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8161 SwigValueWrapper
<wxVisualAttributes
> result
;
8164 PyObject
* obj0
= 0 ;
8165 char * kwnames
[] = {
8166 (char *) "variant", NULL
8169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8171 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8172 if (!SWIG_IsOK(ecode1
)) {
8173 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8175 arg1
= static_cast< wxWindowVariant
>(val1
);
8178 if (!wxPyCheckForApp()) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8191 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8193 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8194 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8195 return SWIG_Py_Void();
8198 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8199 return SWIG_Python_InitShadowInstance(args
);
8202 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
= 0;
8204 wxWindow
*arg1
= (wxWindow
*) 0 ;
8205 int arg2
= (int) (int)-1 ;
8206 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8207 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8208 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8209 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8210 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8211 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8212 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8213 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8214 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8215 wxMiniFrame
*result
= 0 ;
8220 bool temp3
= false ;
8225 bool temp7
= false ;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8228 PyObject
* obj2
= 0 ;
8229 PyObject
* obj3
= 0 ;
8230 PyObject
* obj4
= 0 ;
8231 PyObject
* obj5
= 0 ;
8232 PyObject
* obj6
= 0 ;
8233 char * kwnames
[] = {
8234 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8239 if (!SWIG_IsOK(res1
)) {
8240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8242 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8245 if (!SWIG_IsOK(ecode2
)) {
8246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8248 arg2
= static_cast< int >(val2
);
8252 arg3
= wxString_in_helper(obj2
);
8253 if (arg3
== NULL
) SWIG_fail
;
8260 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8266 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8270 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8271 if (!SWIG_IsOK(ecode6
)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8274 arg6
= static_cast< long >(val6
);
8278 arg7
= wxString_in_helper(obj6
);
8279 if (arg7
== NULL
) SWIG_fail
;
8284 if (!wxPyCheckForApp()) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8313 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8314 PyObject
*resultobj
= 0;
8315 wxMiniFrame
*result
= 0 ;
8317 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8319 if (!wxPyCheckForApp()) SWIG_fail
;
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 result
= (wxMiniFrame
*)new wxMiniFrame();
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8332 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
= 0;
8334 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8335 wxWindow
*arg2
= (wxWindow
*) 0 ;
8336 int arg3
= (int) (int)-1 ;
8337 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8338 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8339 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8340 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8341 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8342 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8343 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8344 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8345 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8353 bool temp4
= false ;
8358 bool temp8
= false ;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8361 PyObject
* obj2
= 0 ;
8362 PyObject
* obj3
= 0 ;
8363 PyObject
* obj4
= 0 ;
8364 PyObject
* obj5
= 0 ;
8365 PyObject
* obj6
= 0 ;
8366 PyObject
* obj7
= 0 ;
8367 char * kwnames
[] = {
8368 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8373 if (!SWIG_IsOK(res1
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8376 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8378 if (!SWIG_IsOK(res2
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8381 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8384 if (!SWIG_IsOK(ecode3
)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8387 arg3
= static_cast< int >(val3
);
8391 arg4
= wxString_in_helper(obj3
);
8392 if (arg4
== NULL
) SWIG_fail
;
8399 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8405 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8409 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8410 if (!SWIG_IsOK(ecode7
)) {
8411 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8413 arg7
= static_cast< long >(val7
);
8417 arg8
= wxString_in_helper(obj7
);
8418 if (arg8
== NULL
) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8453 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8456 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8457 return SWIG_Py_Void();
8460 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8461 return SWIG_Python_InitShadowInstance(args
);
8464 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
= 0;
8466 wxBitmap
*arg1
= 0 ;
8467 wxWindow
*arg2
= (wxWindow
*) 0 ;
8469 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8470 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8471 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8472 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8473 long arg6
= (long) wxNO_BORDER
;
8474 wxSplashScreenWindow
*result
= 0 ;
8485 PyObject
* obj0
= 0 ;
8486 PyObject
* obj1
= 0 ;
8487 PyObject
* obj2
= 0 ;
8488 PyObject
* obj3
= 0 ;
8489 PyObject
* obj4
= 0 ;
8490 PyObject
* obj5
= 0 ;
8491 char * kwnames
[] = {
8492 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8496 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8497 if (!SWIG_IsOK(res1
)) {
8498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8503 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8504 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8505 if (!SWIG_IsOK(res2
)) {
8506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8508 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8510 if (!SWIG_IsOK(ecode3
)) {
8511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8513 arg3
= static_cast< int >(val3
);
8517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8527 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8528 if (!SWIG_IsOK(ecode6
)) {
8529 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8531 arg6
= static_cast< long >(val6
);
8534 if (!wxPyCheckForApp()) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8547 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
= 0;
8549 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8550 wxBitmap
*arg2
= 0 ;
8555 PyObject
* obj0
= 0 ;
8556 PyObject
* obj1
= 0 ;
8557 char * kwnames
[] = {
8558 (char *) "self",(char *) "bitmap", NULL
8561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8563 if (!SWIG_IsOK(res1
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8566 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8568 if (!SWIG_IsOK(res2
)) {
8569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8574 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= SWIG_Py_Void();
8588 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8589 PyObject
*resultobj
= 0;
8590 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8591 wxBitmap
*result
= 0 ;
8594 PyObject
*swig_obj
[1] ;
8596 if (!args
) SWIG_fail
;
8598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8599 if (!SWIG_IsOK(res1
)) {
8600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8602 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8607 result
= (wxBitmap
*) &_result_ref
;
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8613 wxBitmap
* resultptr
= new wxBitmap(*result
);
8614 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8622 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8625 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8626 return SWIG_Py_Void();
8629 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8630 return SWIG_Python_InitShadowInstance(args
);
8633 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
= 0;
8635 wxBitmap
*arg1
= 0 ;
8638 wxWindow
*arg4
= (wxWindow
*) 0 ;
8639 int arg5
= (int) -1 ;
8640 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8641 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8642 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8643 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8644 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8645 wxSplashScreen
*result
= 0 ;
8660 PyObject
* obj0
= 0 ;
8661 PyObject
* obj1
= 0 ;
8662 PyObject
* obj2
= 0 ;
8663 PyObject
* obj3
= 0 ;
8664 PyObject
* obj4
= 0 ;
8665 PyObject
* obj5
= 0 ;
8666 PyObject
* obj6
= 0 ;
8667 PyObject
* obj7
= 0 ;
8668 char * kwnames
[] = {
8669 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8673 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8674 if (!SWIG_IsOK(res1
)) {
8675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8680 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8681 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8682 if (!SWIG_IsOK(ecode2
)) {
8683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8685 arg2
= static_cast< long >(val2
);
8686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8687 if (!SWIG_IsOK(ecode3
)) {
8688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8690 arg3
= static_cast< int >(val3
);
8691 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8692 if (!SWIG_IsOK(res4
)) {
8693 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8695 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8697 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8698 if (!SWIG_IsOK(ecode5
)) {
8699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8701 arg5
= static_cast< int >(val5
);
8706 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8712 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8716 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8717 if (!SWIG_IsOK(ecode8
)) {
8718 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8720 arg8
= static_cast< long >(val8
);
8723 if (!wxPyCheckForApp()) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8736 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8737 PyObject
*resultobj
= 0;
8738 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8742 PyObject
*swig_obj
[1] ;
8744 if (!args
) SWIG_fail
;
8746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8747 if (!SWIG_IsOK(res1
)) {
8748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8750 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= SWIG_From_long(static_cast< long >(result
));
8764 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8765 PyObject
*resultobj
= 0;
8766 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8767 wxSplashScreenWindow
*result
= 0 ;
8770 PyObject
*swig_obj
[1] ;
8772 if (!args
) SWIG_fail
;
8774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8775 if (!SWIG_IsOK(res1
)) {
8776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8778 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8792 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8793 PyObject
*resultobj
= 0;
8794 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8798 PyObject
*swig_obj
[1] ;
8800 if (!args
) SWIG_fail
;
8802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8803 if (!SWIG_IsOK(res1
)) {
8804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8806 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= SWIG_From_int(static_cast< int >(result
));
8820 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8823 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8824 return SWIG_Py_Void();
8827 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8828 return SWIG_Python_InitShadowInstance(args
);
8831 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
= 0;
8833 wxWindow
*arg1
= (wxWindow
*) 0 ;
8834 int arg2
= (int) -1 ;
8835 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8836 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8837 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8838 wxStatusBar
*result
= 0 ;
8845 bool temp4
= false ;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8848 PyObject
* obj2
= 0 ;
8849 PyObject
* obj3
= 0 ;
8850 char * kwnames
[] = {
8851 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8856 if (!SWIG_IsOK(res1
)) {
8857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8859 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8862 if (!SWIG_IsOK(ecode2
)) {
8863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8865 arg2
= static_cast< int >(val2
);
8868 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8869 if (!SWIG_IsOK(ecode3
)) {
8870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8872 arg3
= static_cast< long >(val3
);
8876 arg4
= wxString_in_helper(obj3
);
8877 if (arg4
== NULL
) SWIG_fail
;
8882 if (!wxPyCheckForApp()) SWIG_fail
;
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8903 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8904 PyObject
*resultobj
= 0;
8905 wxStatusBar
*result
= 0 ;
8907 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8909 if (!wxPyCheckForApp()) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (wxStatusBar
*)new wxStatusBar();
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8922 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
= 0;
8924 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8925 wxWindow
*arg2
= (wxWindow
*) 0 ;
8926 int arg3
= (int) -1 ;
8927 long arg4
= (long) wxST_SIZEGRIP
;
8928 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8929 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8939 bool temp5
= false ;
8940 PyObject
* obj0
= 0 ;
8941 PyObject
* obj1
= 0 ;
8942 PyObject
* obj2
= 0 ;
8943 PyObject
* obj3
= 0 ;
8944 PyObject
* obj4
= 0 ;
8945 char * kwnames
[] = {
8946 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8951 if (!SWIG_IsOK(res1
)) {
8952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8954 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8956 if (!SWIG_IsOK(res2
)) {
8957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8959 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8962 if (!SWIG_IsOK(ecode3
)) {
8963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8965 arg3
= static_cast< int >(val3
);
8968 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8969 if (!SWIG_IsOK(ecode4
)) {
8970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8972 arg4
= static_cast< long >(val4
);
8976 arg5
= wxString_in_helper(obj4
);
8977 if (arg5
== NULL
) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9004 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
= 0;
9006 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9007 int arg2
= (int) 1 ;
9012 PyObject
* obj0
= 0 ;
9013 PyObject
* obj1
= 0 ;
9014 char * kwnames
[] = {
9015 (char *) "self",(char *) "number", NULL
9018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9020 if (!SWIG_IsOK(res1
)) {
9021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9023 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9026 if (!SWIG_IsOK(ecode2
)) {
9027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
9029 arg2
= static_cast< int >(val2
);
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 (arg1
)->SetFieldsCount(arg2
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= SWIG_Py_Void();
9044 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9045 PyObject
*resultobj
= 0;
9046 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9050 PyObject
*swig_obj
[1] ;
9052 if (!args
) SWIG_fail
;
9054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9055 if (!SWIG_IsOK(res1
)) {
9056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9058 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= SWIG_From_int(static_cast< int >(result
));
9072 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
= 0;
9074 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9075 wxString
*arg2
= 0 ;
9076 int arg3
= (int) 0 ;
9079 bool temp2
= false ;
9082 PyObject
* obj0
= 0 ;
9083 PyObject
* obj1
= 0 ;
9084 PyObject
* obj2
= 0 ;
9085 char * kwnames
[] = {
9086 (char *) "self",(char *) "text",(char *) "number", NULL
9089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9091 if (!SWIG_IsOK(res1
)) {
9092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9094 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9096 arg2
= wxString_in_helper(obj1
);
9097 if (arg2
== NULL
) SWIG_fail
;
9101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9102 if (!SWIG_IsOK(ecode3
)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9105 arg3
= static_cast< int >(val3
);
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= SWIG_Py_Void();
9128 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
= 0;
9130 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9131 int arg2
= (int) 0 ;
9137 PyObject
* obj0
= 0 ;
9138 PyObject
* obj1
= 0 ;
9139 char * kwnames
[] = {
9140 (char *) "self",(char *) "number", NULL
9143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9145 if (!SWIG_IsOK(res1
)) {
9146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9148 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9151 if (!SWIG_IsOK(ecode2
)) {
9152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9154 arg2
= static_cast< int >(val2
);
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9175 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
= 0;
9177 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9178 wxString
*arg2
= 0 ;
9179 int arg3
= (int) 0 ;
9182 bool temp2
= false ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9187 PyObject
* obj2
= 0 ;
9188 char * kwnames
[] = {
9189 (char *) "self",(char *) "text",(char *) "number", NULL
9192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9194 if (!SWIG_IsOK(res1
)) {
9195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9197 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9199 arg2
= wxString_in_helper(obj1
);
9200 if (arg2
== NULL
) SWIG_fail
;
9204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9205 if (!SWIG_IsOK(ecode3
)) {
9206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9208 arg3
= static_cast< int >(val3
);
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= SWIG_Py_Void();
9231 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
= 0;
9233 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9234 int arg2
= (int) 0 ;
9239 PyObject
* obj0
= 0 ;
9240 PyObject
* obj1
= 0 ;
9241 char * kwnames
[] = {
9242 (char *) "self",(char *) "number", NULL
9245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9247 if (!SWIG_IsOK(res1
)) {
9248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9250 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9253 if (!SWIG_IsOK(ecode2
)) {
9254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9256 arg2
= static_cast< int >(val2
);
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 (arg1
)->PopStatusText(arg2
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_Py_Void();
9271 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= 0;
9273 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9275 int *arg3
= (int *) 0 ;
9278 PyObject
* obj0
= 0 ;
9279 PyObject
* obj1
= 0 ;
9280 char * kwnames
[] = {
9281 (char *) "self",(char *) "widths", NULL
9284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9286 if (!SWIG_IsOK(res1
)) {
9287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9289 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9291 arg2
= PyList_Size(obj1
);
9292 arg3
= int_LIST_helper(obj1
);
9293 if (arg3
== NULL
) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= SWIG_Py_Void();
9303 if (arg3
) delete [] arg3
;
9308 if (arg3
) delete [] arg3
;
9314 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
= 0;
9316 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9318 int *arg3
= (int *) 0 ;
9321 PyObject
* obj0
= 0 ;
9322 PyObject
* obj1
= 0 ;
9323 char * kwnames
[] = {
9324 (char *) "self",(char *) "styles", NULL
9327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9329 if (!SWIG_IsOK(res1
)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9332 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9334 arg2
= PyList_Size(obj1
);
9335 arg3
= int_LIST_helper(obj1
);
9336 if (arg3
== NULL
) SWIG_fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= SWIG_Py_Void();
9346 if (arg3
) delete [] arg3
;
9351 if (arg3
) delete [] arg3
;
9357 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
= 0;
9359 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9367 PyObject
* obj1
= 0 ;
9368 char * kwnames
[] = {
9369 (char *) "self",(char *) "i", NULL
9372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9374 if (!SWIG_IsOK(res1
)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9377 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9379 if (!SWIG_IsOK(ecode2
)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9382 arg2
= static_cast< int >(val2
);
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9396 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
= 0;
9398 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 char * kwnames
[] = {
9407 (char *) "self",(char *) "height", NULL
9410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9412 if (!SWIG_IsOK(res1
)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9415 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9417 if (!SWIG_IsOK(ecode2
)) {
9418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9420 arg2
= static_cast< int >(val2
);
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 (arg1
)->SetMinHeight(arg2
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= SWIG_Py_Void();
9434 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9435 PyObject
*resultobj
= 0;
9436 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9440 PyObject
*swig_obj
[1] ;
9442 if (!args
) SWIG_fail
;
9444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9445 if (!SWIG_IsOK(res1
)) {
9446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9448 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= SWIG_From_int(static_cast< int >(result
));
9462 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9463 PyObject
*resultobj
= 0;
9464 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9468 PyObject
*swig_obj
[1] ;
9470 if (!args
) SWIG_fail
;
9472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9473 if (!SWIG_IsOK(res1
)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9476 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_From_int(static_cast< int >(result
));
9490 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
= 0;
9492 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9493 SwigValueWrapper
<wxVisualAttributes
> result
;
9496 PyObject
* obj0
= 0 ;
9497 char * kwnames
[] = {
9498 (char *) "variant", NULL
9501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9503 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9504 if (!SWIG_IsOK(ecode1
)) {
9505 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9507 arg1
= static_cast< wxWindowVariant
>(val1
);
9510 if (!wxPyCheckForApp()) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9523 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9525 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9526 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9527 return SWIG_Py_Void();
9530 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9531 return SWIG_Python_InitShadowInstance(args
);
9534 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9535 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9540 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9541 PyObject
*pyobj
= 0;
9545 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9547 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9554 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
= 0;
9556 wxWindow
*arg1
= (wxWindow
*) 0 ;
9557 int arg2
= (int) -1 ;
9558 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9559 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9560 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9561 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9562 long arg5
= (long) wxSP_3D
;
9563 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9564 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9565 wxSplitterWindow
*result
= 0 ;
9574 bool temp6
= false ;
9575 PyObject
* obj0
= 0 ;
9576 PyObject
* obj1
= 0 ;
9577 PyObject
* obj2
= 0 ;
9578 PyObject
* obj3
= 0 ;
9579 PyObject
* obj4
= 0 ;
9580 PyObject
* obj5
= 0 ;
9581 char * kwnames
[] = {
9582 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9587 if (!SWIG_IsOK(res1
)) {
9588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9590 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9593 if (!SWIG_IsOK(ecode2
)) {
9594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9596 arg2
= static_cast< int >(val2
);
9601 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9607 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9611 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9612 if (!SWIG_IsOK(ecode5
)) {
9613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9615 arg5
= static_cast< long >(val5
);
9619 arg6
= wxString_in_helper(obj5
);
9620 if (arg6
== NULL
) SWIG_fail
;
9625 if (!wxPyCheckForApp()) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9646 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9647 PyObject
*resultobj
= 0;
9648 wxSplitterWindow
*result
= 0 ;
9650 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9652 if (!wxPyCheckForApp()) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9665 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
= 0;
9667 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9668 wxWindow
*arg2
= (wxWindow
*) 0 ;
9669 int arg3
= (int) -1 ;
9670 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9671 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9672 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9673 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9674 long arg6
= (long) wxSP_3D
;
9675 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9688 bool temp7
= false ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9691 PyObject
* obj2
= 0 ;
9692 PyObject
* obj3
= 0 ;
9693 PyObject
* obj4
= 0 ;
9694 PyObject
* obj5
= 0 ;
9695 PyObject
* obj6
= 0 ;
9696 char * kwnames
[] = {
9697 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9702 if (!SWIG_IsOK(res1
)) {
9703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9705 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9707 if (!SWIG_IsOK(res2
)) {
9708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9710 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9713 if (!SWIG_IsOK(ecode3
)) {
9714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9716 arg3
= static_cast< int >(val3
);
9721 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9727 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9731 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9732 if (!SWIG_IsOK(ecode6
)) {
9733 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9735 arg6
= static_cast< long >(val6
);
9739 arg7
= wxString_in_helper(obj6
);
9740 if (arg7
== NULL
) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9767 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9768 PyObject
*resultobj
= 0;
9769 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9770 wxWindow
*result
= 0 ;
9773 PyObject
*swig_obj
[1] ;
9775 if (!args
) SWIG_fail
;
9777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9778 if (!SWIG_IsOK(res1
)) {
9779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9781 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= wxPyMake_wxObject(result
, 0);
9797 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9798 PyObject
*resultobj
= 0;
9799 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9800 wxWindow
*result
= 0 ;
9803 PyObject
*swig_obj
[1] ;
9805 if (!args
) SWIG_fail
;
9807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9808 if (!SWIG_IsOK(res1
)) {
9809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9811 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= wxPyMake_wxObject(result
, 0);
9827 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
= 0;
9829 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9835 PyObject
* obj0
= 0 ;
9836 PyObject
* obj1
= 0 ;
9837 char * kwnames
[] = {
9838 (char *) "self",(char *) "mode", NULL
9841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9843 if (!SWIG_IsOK(res1
)) {
9844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9846 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9848 if (!SWIG_IsOK(ecode2
)) {
9849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9851 arg2
= static_cast< int >(val2
);
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 (arg1
)->SetSplitMode(arg2
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= SWIG_Py_Void();
9865 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9866 PyObject
*resultobj
= 0;
9867 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9871 PyObject
*swig_obj
[1] ;
9873 if (!args
) SWIG_fail
;
9875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9876 if (!SWIG_IsOK(res1
)) {
9877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9879 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 resultobj
= SWIG_From_int(static_cast< int >(result
));
9893 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
= 0;
9895 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9896 wxWindow
*arg2
= (wxWindow
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9902 PyObject
* obj1
= 0 ;
9903 char * kwnames
[] = {
9904 (char *) "self",(char *) "window", NULL
9907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9909 if (!SWIG_IsOK(res1
)) {
9910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9912 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9913 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9914 if (!SWIG_IsOK(res2
)) {
9915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9917 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 (arg1
)->Initialize(arg2
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= SWIG_Py_Void();
9931 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
= 0;
9933 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9934 wxWindow
*arg2
= (wxWindow
*) 0 ;
9935 wxWindow
*arg3
= (wxWindow
*) 0 ;
9936 int arg4
= (int) 0 ;
9946 PyObject
* obj0
= 0 ;
9947 PyObject
* obj1
= 0 ;
9948 PyObject
* obj2
= 0 ;
9949 PyObject
* obj3
= 0 ;
9950 char * kwnames
[] = {
9951 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9956 if (!SWIG_IsOK(res1
)) {
9957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9959 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9961 if (!SWIG_IsOK(res2
)) {
9962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9965 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9966 if (!SWIG_IsOK(res3
)) {
9967 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9969 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9972 if (!SWIG_IsOK(ecode4
)) {
9973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9975 arg4
= static_cast< int >(val4
);
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9992 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
= 0;
9994 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9995 wxWindow
*arg2
= (wxWindow
*) 0 ;
9996 wxWindow
*arg3
= (wxWindow
*) 0 ;
9997 int arg4
= (int) 0 ;
10007 PyObject
* obj0
= 0 ;
10008 PyObject
* obj1
= 0 ;
10009 PyObject
* obj2
= 0 ;
10010 PyObject
* obj3
= 0 ;
10011 char * kwnames
[] = {
10012 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
10015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10017 if (!SWIG_IsOK(res1
)) {
10018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10020 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10022 if (!SWIG_IsOK(res2
)) {
10023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
10025 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10026 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10027 if (!SWIG_IsOK(res3
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
10030 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10032 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10033 if (!SWIG_IsOK(ecode4
)) {
10034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
10036 arg4
= static_cast< int >(val4
);
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10053 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
= 0;
10055 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10056 wxWindow
*arg2
= (wxWindow
*) NULL
;
10062 PyObject
* obj0
= 0 ;
10063 PyObject
* obj1
= 0 ;
10064 char * kwnames
[] = {
10065 (char *) "self",(char *) "toRemove", NULL
10068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10070 if (!SWIG_IsOK(res1
)) {
10071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10073 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10076 if (!SWIG_IsOK(res2
)) {
10077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10079 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (bool)(arg1
)->Unsplit(arg2
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10096 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
= 0;
10098 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10099 wxWindow
*arg2
= (wxWindow
*) 0 ;
10100 wxWindow
*arg3
= (wxWindow
*) 0 ;
10108 PyObject
* obj0
= 0 ;
10109 PyObject
* obj1
= 0 ;
10110 PyObject
* obj2
= 0 ;
10111 char * kwnames
[] = {
10112 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10117 if (!SWIG_IsOK(res1
)) {
10118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10120 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10121 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10122 if (!SWIG_IsOK(res2
)) {
10123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10125 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10126 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10127 if (!SWIG_IsOK(res3
)) {
10128 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10130 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10146 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10147 PyObject
*resultobj
= 0;
10148 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10151 PyObject
*swig_obj
[1] ;
10153 if (!args
) SWIG_fail
;
10154 swig_obj
[0] = args
;
10155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10156 if (!SWIG_IsOK(res1
)) {
10157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10159 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 (arg1
)->UpdateSize();
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= SWIG_Py_Void();
10173 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10174 PyObject
*resultobj
= 0;
10175 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10179 PyObject
*swig_obj
[1] ;
10181 if (!args
) SWIG_fail
;
10182 swig_obj
[0] = args
;
10183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10184 if (!SWIG_IsOK(res1
)) {
10185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10187 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10203 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
= 0;
10205 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10211 PyObject
* obj0
= 0 ;
10212 PyObject
* obj1
= 0 ;
10213 char * kwnames
[] = {
10214 (char *) "self",(char *) "width", NULL
10217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10219 if (!SWIG_IsOK(res1
)) {
10220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10222 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10224 if (!SWIG_IsOK(ecode2
)) {
10225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10227 arg2
= static_cast< int >(val2
);
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 (arg1
)->SetSashSize(arg2
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_Py_Void();
10241 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
= 0;
10243 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10249 PyObject
* obj0
= 0 ;
10250 PyObject
* obj1
= 0 ;
10251 char * kwnames
[] = {
10252 (char *) "self",(char *) "width", NULL
10255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10257 if (!SWIG_IsOK(res1
)) {
10258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10260 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10262 if (!SWIG_IsOK(ecode2
)) {
10263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10265 arg2
= static_cast< int >(val2
);
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 (arg1
)->SetBorderSize(arg2
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_Py_Void();
10279 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10280 PyObject
*resultobj
= 0;
10281 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10285 PyObject
*swig_obj
[1] ;
10287 if (!args
) SWIG_fail
;
10288 swig_obj
[0] = args
;
10289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10290 if (!SWIG_IsOK(res1
)) {
10291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10293 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_From_int(static_cast< int >(result
));
10307 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10308 PyObject
*resultobj
= 0;
10309 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10313 PyObject
*swig_obj
[1] ;
10315 if (!args
) SWIG_fail
;
10316 swig_obj
[0] = args
;
10317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10318 if (!SWIG_IsOK(res1
)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10321 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 resultobj
= SWIG_From_int(static_cast< int >(result
));
10335 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
= 0;
10337 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10339 bool arg3
= (bool) true ;
10346 PyObject
* obj0
= 0 ;
10347 PyObject
* obj1
= 0 ;
10348 PyObject
* obj2
= 0 ;
10349 char * kwnames
[] = {
10350 (char *) "self",(char *) "position",(char *) "redraw", NULL
10353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10355 if (!SWIG_IsOK(res1
)) {
10356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10358 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10360 if (!SWIG_IsOK(ecode2
)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10363 arg2
= static_cast< int >(val2
);
10365 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10366 if (!SWIG_IsOK(ecode3
)) {
10367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10369 arg3
= static_cast< bool >(val3
);
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 (arg1
)->SetSashPosition(arg2
,arg3
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 resultobj
= SWIG_Py_Void();
10384 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10385 PyObject
*resultobj
= 0;
10386 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10390 PyObject
*swig_obj
[1] ;
10392 if (!args
) SWIG_fail
;
10393 swig_obj
[0] = args
;
10394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10395 if (!SWIG_IsOK(res1
)) {
10396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10398 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= SWIG_From_int(static_cast< int >(result
));
10412 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
= 0;
10414 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 char * kwnames
[] = {
10423 (char *) "self",(char *) "gravity", NULL
10426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10428 if (!SWIG_IsOK(res1
)) {
10429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10431 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10432 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10433 if (!SWIG_IsOK(ecode2
)) {
10434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10436 arg2
= static_cast< double >(val2
);
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 (arg1
)->SetSashGravity(arg2
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_Py_Void();
10450 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10451 PyObject
*resultobj
= 0;
10452 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10456 PyObject
*swig_obj
[1] ;
10458 if (!args
) SWIG_fail
;
10459 swig_obj
[0] = args
;
10460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10461 if (!SWIG_IsOK(res1
)) {
10462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10464 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 resultobj
= SWIG_From_double(static_cast< double >(result
));
10478 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
= 0;
10480 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10488 char * kwnames
[] = {
10489 (char *) "self",(char *) "min", NULL
10492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10494 if (!SWIG_IsOK(res1
)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10497 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10499 if (!SWIG_IsOK(ecode2
)) {
10500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10502 arg2
= static_cast< int >(val2
);
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 (arg1
)->SetMinimumPaneSize(arg2
);
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_Py_Void();
10516 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10517 PyObject
*resultobj
= 0;
10518 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10522 PyObject
*swig_obj
[1] ;
10524 if (!args
) SWIG_fail
;
10525 swig_obj
[0] = args
;
10526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10530 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= SWIG_From_int(static_cast< int >(result
));
10544 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
= 0;
10546 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10549 int arg4
= (int) 5 ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 PyObject
* obj2
= 0 ;
10562 PyObject
* obj3
= 0 ;
10563 char * kwnames
[] = {
10564 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10569 if (!SWIG_IsOK(res1
)) {
10570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10572 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10574 if (!SWIG_IsOK(ecode2
)) {
10575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10577 arg2
= static_cast< int >(val2
);
10578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10579 if (!SWIG_IsOK(ecode3
)) {
10580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10582 arg3
= static_cast< int >(val3
);
10584 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10585 if (!SWIG_IsOK(ecode4
)) {
10586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10588 arg4
= static_cast< int >(val4
);
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10605 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10606 PyObject
*resultobj
= 0;
10607 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10610 PyObject
*swig_obj
[1] ;
10612 if (!args
) SWIG_fail
;
10613 swig_obj
[0] = args
;
10614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10615 if (!SWIG_IsOK(res1
)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10618 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 (arg1
)->SizeWindows();
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10625 resultobj
= SWIG_Py_Void();
10632 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
= 0;
10634 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 char * kwnames
[] = {
10643 (char *) "self",(char *) "needUpdating", NULL
10646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10648 if (!SWIG_IsOK(res1
)) {
10649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10651 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10652 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10653 if (!SWIG_IsOK(ecode2
)) {
10654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10656 arg2
= static_cast< bool >(val2
);
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->SetNeedUpdating(arg2
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= SWIG_Py_Void();
10670 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10671 PyObject
*resultobj
= 0;
10672 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10676 PyObject
*swig_obj
[1] ;
10678 if (!args
) SWIG_fail
;
10679 swig_obj
[0] = args
;
10680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10681 if (!SWIG_IsOK(res1
)) {
10682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10684 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10700 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
= 0;
10702 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10703 SwigValueWrapper
<wxVisualAttributes
> result
;
10706 PyObject
* obj0
= 0 ;
10707 char * kwnames
[] = {
10708 (char *) "variant", NULL
10711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10713 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10714 if (!SWIG_IsOK(ecode1
)) {
10715 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10717 arg1
= static_cast< wxWindowVariant
>(val1
);
10720 if (!wxPyCheckForApp()) SWIG_fail
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10733 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10736 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10737 return SWIG_Py_Void();
10740 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10741 return SWIG_Python_InitShadowInstance(args
);
10744 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
= 0;
10746 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10747 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10748 wxSplitterEvent
*result
= 0 ;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 char * kwnames
[] = {
10756 (char *) "type",(char *) "splitter", NULL
10759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10762 if (!SWIG_IsOK(ecode1
)) {
10763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10765 arg1
= static_cast< wxEventType
>(val1
);
10768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10769 if (!SWIG_IsOK(res2
)) {
10770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10772 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10787 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
= 0;
10789 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 PyObject
* obj1
= 0 ;
10797 char * kwnames
[] = {
10798 (char *) "self",(char *) "pos", NULL
10801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10803 if (!SWIG_IsOK(res1
)) {
10804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10806 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10808 if (!SWIG_IsOK(ecode2
)) {
10809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10811 arg2
= static_cast< int >(val2
);
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 (arg1
)->SetSashPosition(arg2
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 resultobj
= SWIG_Py_Void();
10825 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10826 PyObject
*resultobj
= 0;
10827 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10831 PyObject
*swig_obj
[1] ;
10833 if (!args
) SWIG_fail
;
10834 swig_obj
[0] = args
;
10835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10836 if (!SWIG_IsOK(res1
)) {
10837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10839 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= SWIG_From_int(static_cast< int >(result
));
10853 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10854 PyObject
*resultobj
= 0;
10855 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10856 wxWindow
*result
= 0 ;
10859 PyObject
*swig_obj
[1] ;
10861 if (!args
) SWIG_fail
;
10862 swig_obj
[0] = args
;
10863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10864 if (!SWIG_IsOK(res1
)) {
10865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10867 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= wxPyMake_wxObject(result
, 0);
10883 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10884 PyObject
*resultobj
= 0;
10885 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10889 PyObject
*swig_obj
[1] ;
10891 if (!args
) SWIG_fail
;
10892 swig_obj
[0] = args
;
10893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10894 if (!SWIG_IsOK(res1
)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10897 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= SWIG_From_int(static_cast< int >(result
));
10911 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10912 PyObject
*resultobj
= 0;
10913 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10917 PyObject
*swig_obj
[1] ;
10919 if (!args
) SWIG_fail
;
10920 swig_obj
[0] = args
;
10921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10925 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= SWIG_From_int(static_cast< int >(result
));
10939 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10941 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10942 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10943 return SWIG_Py_Void();
10946 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10947 return SWIG_Python_InitShadowInstance(args
);
10950 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10951 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10956 SWIGINTERN PyObject
*SashNameStr_get(void) {
10957 PyObject
*pyobj
= 0;
10961 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10963 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10970 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10971 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10976 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10977 PyObject
*pyobj
= 0;
10981 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10983 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10990 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
= 0;
10992 wxWindow
*arg1
= (wxWindow
*) 0 ;
10993 int arg2
= (int) -1 ;
10994 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10995 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10996 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10997 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10998 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10999 wxString
const &arg6_defvalue
= wxPySashNameStr
;
11000 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11001 wxSashWindow
*result
= 0 ;
11010 bool temp6
= false ;
11011 PyObject
* obj0
= 0 ;
11012 PyObject
* obj1
= 0 ;
11013 PyObject
* obj2
= 0 ;
11014 PyObject
* obj3
= 0 ;
11015 PyObject
* obj4
= 0 ;
11016 PyObject
* obj5
= 0 ;
11017 char * kwnames
[] = {
11018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
11022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11023 if (!SWIG_IsOK(res1
)) {
11024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
11026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11029 if (!SWIG_IsOK(ecode2
)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
11032 arg2
= static_cast< int >(val2
);
11037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11043 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11047 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
11048 if (!SWIG_IsOK(ecode5
)) {
11049 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
11051 arg5
= static_cast< long >(val5
);
11055 arg6
= wxString_in_helper(obj5
);
11056 if (arg6
== NULL
) SWIG_fail
;
11061 if (!wxPyCheckForApp()) SWIG_fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
11082 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11083 PyObject
*resultobj
= 0;
11084 wxSashWindow
*result
= 0 ;
11086 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
11088 if (!wxPyCheckForApp()) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (wxSashWindow
*)new wxSashWindow();
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
11101 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
= 0;
11103 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11104 wxWindow
*arg2
= (wxWindow
*) 0 ;
11105 int arg3
= (int) -1 ;
11106 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11107 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11108 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11109 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11110 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
11111 wxString
const &arg7_defvalue
= wxPySashNameStr
;
11112 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11124 bool temp7
= false ;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 PyObject
* obj2
= 0 ;
11128 PyObject
* obj3
= 0 ;
11129 PyObject
* obj4
= 0 ;
11130 PyObject
* obj5
= 0 ;
11131 PyObject
* obj6
= 0 ;
11132 char * kwnames
[] = {
11133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11138 if (!SWIG_IsOK(res1
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11141 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11143 if (!SWIG_IsOK(res2
)) {
11144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11146 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11149 if (!SWIG_IsOK(ecode3
)) {
11150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11152 arg3
= static_cast< int >(val3
);
11157 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11163 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11167 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11168 if (!SWIG_IsOK(ecode6
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11171 arg6
= static_cast< long >(val6
);
11175 arg7
= wxString_in_helper(obj6
);
11176 if (arg7
== NULL
) SWIG_fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11203 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
= 0;
11205 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11206 wxSashEdgePosition arg2
;
11214 PyObject
* obj0
= 0 ;
11215 PyObject
* obj1
= 0 ;
11216 PyObject
* obj2
= 0 ;
11217 char * kwnames
[] = {
11218 (char *) "self",(char *) "edge",(char *) "sash", NULL
11221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11223 if (!SWIG_IsOK(res1
)) {
11224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11226 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11228 if (!SWIG_IsOK(ecode2
)) {
11229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11231 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11232 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11233 if (!SWIG_IsOK(ecode3
)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11236 arg3
= static_cast< bool >(val3
);
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 (arg1
)->SetSashVisible(arg2
,arg3
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= SWIG_Py_Void();
11250 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
= 0;
11252 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11253 wxSashEdgePosition arg2
;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 char * kwnames
[] = {
11262 (char *) "self",(char *) "edge", NULL
11265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11267 if (!SWIG_IsOK(res1
)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11270 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11272 if (!SWIG_IsOK(ecode2
)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11275 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11291 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
= 0;
11293 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11294 wxSashEdgePosition arg2
;
11300 PyObject
* obj0
= 0 ;
11301 PyObject
* obj1
= 0 ;
11302 char * kwnames
[] = {
11303 (char *) "self",(char *) "edge", NULL
11306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11308 if (!SWIG_IsOK(res1
)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11311 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11313 if (!SWIG_IsOK(ecode2
)) {
11314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11316 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_From_int(static_cast< int >(result
));
11330 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
= 0;
11332 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 PyObject
* obj1
= 0 ;
11340 char * kwnames
[] = {
11341 (char *) "self",(char *) "width", NULL
11344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11346 if (!SWIG_IsOK(res1
)) {
11347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11349 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11351 if (!SWIG_IsOK(ecode2
)) {
11352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11354 arg2
= static_cast< int >(val2
);
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 (arg1
)->SetDefaultBorderSize(arg2
);
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 resultobj
= SWIG_Py_Void();
11368 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11369 PyObject
*resultobj
= 0;
11370 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11374 PyObject
*swig_obj
[1] ;
11376 if (!args
) SWIG_fail
;
11377 swig_obj
[0] = args
;
11378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11379 if (!SWIG_IsOK(res1
)) {
11380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11382 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= SWIG_From_int(static_cast< int >(result
));
11396 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
= 0;
11398 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 PyObject
* obj1
= 0 ;
11406 char * kwnames
[] = {
11407 (char *) "self",(char *) "width", NULL
11410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11415 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11417 if (!SWIG_IsOK(ecode2
)) {
11418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11420 arg2
= static_cast< int >(val2
);
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 (arg1
)->SetExtraBorderSize(arg2
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= SWIG_Py_Void();
11434 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11435 PyObject
*resultobj
= 0;
11436 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11440 PyObject
*swig_obj
[1] ;
11442 if (!args
) SWIG_fail
;
11443 swig_obj
[0] = args
;
11444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11445 if (!SWIG_IsOK(res1
)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11448 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_From_int(static_cast< int >(result
));
11462 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
= 0;
11464 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11470 PyObject
* obj0
= 0 ;
11471 PyObject
* obj1
= 0 ;
11472 char * kwnames
[] = {
11473 (char *) "self",(char *) "min", NULL
11476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11478 if (!SWIG_IsOK(res1
)) {
11479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11481 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11483 if (!SWIG_IsOK(ecode2
)) {
11484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11486 arg2
= static_cast< int >(val2
);
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 (arg1
)->SetMinimumSizeX(arg2
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= SWIG_Py_Void();
11500 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
= 0;
11502 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11508 PyObject
* obj0
= 0 ;
11509 PyObject
* obj1
= 0 ;
11510 char * kwnames
[] = {
11511 (char *) "self",(char *) "min", NULL
11514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11516 if (!SWIG_IsOK(res1
)) {
11517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11519 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11521 if (!SWIG_IsOK(ecode2
)) {
11522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11524 arg2
= static_cast< int >(val2
);
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 (arg1
)->SetMinimumSizeY(arg2
);
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= SWIG_Py_Void();
11538 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11539 PyObject
*resultobj
= 0;
11540 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11544 PyObject
*swig_obj
[1] ;
11546 if (!args
) SWIG_fail
;
11547 swig_obj
[0] = args
;
11548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11549 if (!SWIG_IsOK(res1
)) {
11550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11552 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= SWIG_From_int(static_cast< int >(result
));
11566 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11567 PyObject
*resultobj
= 0;
11568 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11572 PyObject
*swig_obj
[1] ;
11574 if (!args
) SWIG_fail
;
11575 swig_obj
[0] = args
;
11576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11580 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_From_int(static_cast< int >(result
));
11594 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
= 0;
11596 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 PyObject
* obj1
= 0 ;
11604 char * kwnames
[] = {
11605 (char *) "self",(char *) "max", NULL
11608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11610 if (!SWIG_IsOK(res1
)) {
11611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11613 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11615 if (!SWIG_IsOK(ecode2
)) {
11616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11618 arg2
= static_cast< int >(val2
);
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 (arg1
)->SetMaximumSizeX(arg2
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11625 resultobj
= SWIG_Py_Void();
11632 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
*resultobj
= 0;
11634 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11640 PyObject
* obj0
= 0 ;
11641 PyObject
* obj1
= 0 ;
11642 char * kwnames
[] = {
11643 (char *) "self",(char *) "max", NULL
11646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11648 if (!SWIG_IsOK(res1
)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11651 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11653 if (!SWIG_IsOK(ecode2
)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11656 arg2
= static_cast< int >(val2
);
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 (arg1
)->SetMaximumSizeY(arg2
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_Py_Void();
11670 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11671 PyObject
*resultobj
= 0;
11672 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11676 PyObject
*swig_obj
[1] ;
11678 if (!args
) SWIG_fail
;
11679 swig_obj
[0] = args
;
11680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11681 if (!SWIG_IsOK(res1
)) {
11682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11684 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= SWIG_From_int(static_cast< int >(result
));
11698 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11699 PyObject
*resultobj
= 0;
11700 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11704 PyObject
*swig_obj
[1] ;
11706 if (!args
) SWIG_fail
;
11707 swig_obj
[0] = args
;
11708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11709 if (!SWIG_IsOK(res1
)) {
11710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11712 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_From_int(static_cast< int >(result
));
11726 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
= 0;
11728 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11731 int arg4
= (int) 2 ;
11732 wxSashEdgePosition result
;
11741 PyObject
* obj0
= 0 ;
11742 PyObject
* obj1
= 0 ;
11743 PyObject
* obj2
= 0 ;
11744 PyObject
* obj3
= 0 ;
11745 char * kwnames
[] = {
11746 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11751 if (!SWIG_IsOK(res1
)) {
11752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11754 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11756 if (!SWIG_IsOK(ecode2
)) {
11757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11759 arg2
= static_cast< int >(val2
);
11760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11761 if (!SWIG_IsOK(ecode3
)) {
11762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11764 arg3
= static_cast< int >(val3
);
11766 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11767 if (!SWIG_IsOK(ecode4
)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11770 arg4
= static_cast< int >(val4
);
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= SWIG_From_int(static_cast< int >(result
));
11785 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11786 PyObject
*resultobj
= 0;
11787 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11790 PyObject
*swig_obj
[1] ;
11792 if (!args
) SWIG_fail
;
11793 swig_obj
[0] = args
;
11794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11795 if (!SWIG_IsOK(res1
)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11798 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 (arg1
)->SizeWindows();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_Py_Void();
11812 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11815 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11816 return SWIG_Py_Void();
11819 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11820 return SWIG_Python_InitShadowInstance(args
);
11823 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
= 0;
11825 int arg1
= (int) 0 ;
11826 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11827 wxSashEvent
*result
= 0 ;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 char * kwnames
[] = {
11835 (char *) "id",(char *) "edge", NULL
11838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11840 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11841 if (!SWIG_IsOK(ecode1
)) {
11842 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11844 arg1
= static_cast< int >(val1
);
11847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11848 if (!SWIG_IsOK(ecode2
)) {
11849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11851 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11866 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
= 0;
11868 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11869 wxSashEdgePosition arg2
;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 char * kwnames
[] = {
11877 (char *) "self",(char *) "edge", NULL
11880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11882 if (!SWIG_IsOK(res1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11885 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11887 if (!SWIG_IsOK(ecode2
)) {
11888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11890 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 (arg1
)->SetEdge(arg2
);
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= SWIG_Py_Void();
11904 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11905 PyObject
*resultobj
= 0;
11906 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11907 wxSashEdgePosition result
;
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_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11918 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_From_int(static_cast< int >(result
));
11932 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
= 0;
11934 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 char * kwnames
[] = {
11942 (char *) "self",(char *) "rect", NULL
11945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11947 if (!SWIG_IsOK(res1
)) {
11948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11950 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11953 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 resultobj
= SWIG_Py_Void();
11968 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11969 PyObject
*resultobj
= 0;
11970 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11974 PyObject
*swig_obj
[1] ;
11976 if (!args
) SWIG_fail
;
11977 swig_obj
[0] = args
;
11978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11979 if (!SWIG_IsOK(res1
)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11982 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11996 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
= 0;
11998 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11999 wxSashDragStatus arg2
;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 char * kwnames
[] = {
12007 (char *) "self",(char *) "status", NULL
12010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12012 if (!SWIG_IsOK(res1
)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12015 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12017 if (!SWIG_IsOK(ecode2
)) {
12018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12020 arg2
= static_cast< wxSashDragStatus
>(val2
);
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 (arg1
)->SetDragStatus(arg2
);
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= SWIG_Py_Void();
12034 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12035 PyObject
*resultobj
= 0;
12036 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12037 wxSashDragStatus result
;
12040 PyObject
*swig_obj
[1] ;
12042 if (!args
) SWIG_fail
;
12043 swig_obj
[0] = args
;
12044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12045 if (!SWIG_IsOK(res1
)) {
12046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12048 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_From_int(static_cast< int >(result
));
12062 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12065 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12066 return SWIG_Py_Void();
12069 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12070 return SWIG_Python_InitShadowInstance(args
);
12073 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12074 PyObject
*resultobj
= 0;
12075 int arg1
= (int) 0 ;
12076 wxQueryLayoutInfoEvent
*result
= 0 ;
12079 PyObject
* obj0
= 0 ;
12080 char * kwnames
[] = {
12081 (char *) "id", NULL
12084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12086 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12087 if (!SWIG_IsOK(ecode1
)) {
12088 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12090 arg1
= static_cast< int >(val1
);
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12105 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
= 0;
12107 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 PyObject
* obj1
= 0 ;
12115 char * kwnames
[] = {
12116 (char *) "self",(char *) "length", NULL
12119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12121 if (!SWIG_IsOK(res1
)) {
12122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12124 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12126 if (!SWIG_IsOK(ecode2
)) {
12127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12129 arg2
= static_cast< int >(val2
);
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 (arg1
)->SetRequestedLength(arg2
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= SWIG_Py_Void();
12143 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12144 PyObject
*resultobj
= 0;
12145 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12149 PyObject
*swig_obj
[1] ;
12151 if (!args
) SWIG_fail
;
12152 swig_obj
[0] = args
;
12153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12154 if (!SWIG_IsOK(res1
)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12157 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_From_int(static_cast< int >(result
));
12171 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
= 0;
12173 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 PyObject
* obj1
= 0 ;
12181 char * kwnames
[] = {
12182 (char *) "self",(char *) "flags", NULL
12185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12187 if (!SWIG_IsOK(res1
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12190 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12192 if (!SWIG_IsOK(ecode2
)) {
12193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12195 arg2
= static_cast< int >(val2
);
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 (arg1
)->SetFlags(arg2
);
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12202 resultobj
= SWIG_Py_Void();
12209 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(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_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12223 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= SWIG_From_int(static_cast< int >(result
));
12237 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
= 0;
12239 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12244 PyObject
* obj0
= 0 ;
12245 PyObject
* obj1
= 0 ;
12246 char * kwnames
[] = {
12247 (char *) "self",(char *) "size", NULL
12250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12252 if (!SWIG_IsOK(res1
)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12255 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12258 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 (arg1
)->SetSize((wxSize
const &)*arg2
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= SWIG_Py_Void();
12273 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12274 PyObject
*resultobj
= 0;
12275 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12279 PyObject
*swig_obj
[1] ;
12281 if (!args
) SWIG_fail
;
12282 swig_obj
[0] = args
;
12283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12287 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12301 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
= 0;
12303 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12304 wxLayoutOrientation arg2
;
12309 PyObject
* obj0
= 0 ;
12310 PyObject
* obj1
= 0 ;
12311 char * kwnames
[] = {
12312 (char *) "self",(char *) "orient", NULL
12315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12320 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12322 if (!SWIG_IsOK(ecode2
)) {
12323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12325 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12328 (arg1
)->SetOrientation(arg2
);
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 resultobj
= SWIG_Py_Void();
12339 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12340 PyObject
*resultobj
= 0;
12341 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12342 wxLayoutOrientation result
;
12345 PyObject
*swig_obj
[1] ;
12347 if (!args
) SWIG_fail
;
12348 swig_obj
[0] = args
;
12349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12350 if (!SWIG_IsOK(res1
)) {
12351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12353 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_From_int(static_cast< int >(result
));
12367 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
= 0;
12369 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12370 wxLayoutAlignment arg2
;
12375 PyObject
* obj0
= 0 ;
12376 PyObject
* obj1
= 0 ;
12377 char * kwnames
[] = {
12378 (char *) "self",(char *) "align", NULL
12381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12383 if (!SWIG_IsOK(res1
)) {
12384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12386 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12388 if (!SWIG_IsOK(ecode2
)) {
12389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12391 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 (arg1
)->SetAlignment(arg2
);
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= SWIG_Py_Void();
12405 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12406 PyObject
*resultobj
= 0;
12407 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12408 wxLayoutAlignment result
;
12411 PyObject
*swig_obj
[1] ;
12413 if (!args
) SWIG_fail
;
12414 swig_obj
[0] = args
;
12415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12416 if (!SWIG_IsOK(res1
)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12419 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_From_int(static_cast< int >(result
));
12433 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12436 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12437 return SWIG_Py_Void();
12440 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12441 return SWIG_Python_InitShadowInstance(args
);
12444 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
= 0;
12446 int arg1
= (int) 0 ;
12447 wxCalculateLayoutEvent
*result
= 0 ;
12450 PyObject
* obj0
= 0 ;
12451 char * kwnames
[] = {
12452 (char *) "id", NULL
12455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12457 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12458 if (!SWIG_IsOK(ecode1
)) {
12459 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12461 arg1
= static_cast< int >(val1
);
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12476 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
= 0;
12478 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 PyObject
* obj1
= 0 ;
12486 char * kwnames
[] = {
12487 (char *) "self",(char *) "flags", NULL
12490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12492 if (!SWIG_IsOK(res1
)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12495 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12497 if (!SWIG_IsOK(ecode2
)) {
12498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12500 arg2
= static_cast< int >(val2
);
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 (arg1
)->SetFlags(arg2
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= SWIG_Py_Void();
12514 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(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_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12528 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= SWIG_From_int(static_cast< int >(result
));
12542 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
= 0;
12544 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12549 PyObject
* obj0
= 0 ;
12550 PyObject
* obj1
= 0 ;
12551 char * kwnames
[] = {
12552 (char *) "self",(char *) "rect", NULL
12555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12557 if (!SWIG_IsOK(res1
)) {
12558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12560 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12563 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 (arg1
)->SetRect((wxRect
const &)*arg2
);
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12571 resultobj
= SWIG_Py_Void();
12578 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12579 PyObject
*resultobj
= 0;
12580 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12584 PyObject
*swig_obj
[1] ;
12586 if (!args
) SWIG_fail
;
12587 swig_obj
[0] = args
;
12588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12589 if (!SWIG_IsOK(res1
)) {
12590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12592 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12606 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12609 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12610 return SWIG_Py_Void();
12613 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12614 return SWIG_Python_InitShadowInstance(args
);
12617 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
= 0;
12619 wxWindow
*arg1
= (wxWindow
*) 0 ;
12620 int arg2
= (int) -1 ;
12621 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12622 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12623 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12624 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12625 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12626 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12627 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12628 wxSashLayoutWindow
*result
= 0 ;
12637 bool temp6
= false ;
12638 PyObject
* obj0
= 0 ;
12639 PyObject
* obj1
= 0 ;
12640 PyObject
* obj2
= 0 ;
12641 PyObject
* obj3
= 0 ;
12642 PyObject
* obj4
= 0 ;
12643 PyObject
* obj5
= 0 ;
12644 char * kwnames
[] = {
12645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12650 if (!SWIG_IsOK(res1
)) {
12651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12656 if (!SWIG_IsOK(ecode2
)) {
12657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12659 arg2
= static_cast< int >(val2
);
12664 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12670 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12674 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12675 if (!SWIG_IsOK(ecode5
)) {
12676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12678 arg5
= static_cast< long >(val5
);
12682 arg6
= wxString_in_helper(obj5
);
12683 if (arg6
== NULL
) SWIG_fail
;
12688 if (!wxPyCheckForApp()) SWIG_fail
;
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12709 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12710 PyObject
*resultobj
= 0;
12711 wxSashLayoutWindow
*result
= 0 ;
12713 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12715 if (!wxPyCheckForApp()) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12728 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
= 0;
12730 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12731 wxWindow
*arg2
= (wxWindow
*) 0 ;
12732 int arg3
= (int) -1 ;
12733 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12734 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12735 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12736 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12737 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12738 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12739 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12751 bool temp7
= false ;
12752 PyObject
* obj0
= 0 ;
12753 PyObject
* obj1
= 0 ;
12754 PyObject
* obj2
= 0 ;
12755 PyObject
* obj3
= 0 ;
12756 PyObject
* obj4
= 0 ;
12757 PyObject
* obj5
= 0 ;
12758 PyObject
* obj6
= 0 ;
12759 char * kwnames
[] = {
12760 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12768 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12770 if (!SWIG_IsOK(res2
)) {
12771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12773 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12776 if (!SWIG_IsOK(ecode3
)) {
12777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12779 arg3
= static_cast< int >(val3
);
12784 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12790 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12794 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12795 if (!SWIG_IsOK(ecode6
)) {
12796 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12798 arg6
= static_cast< long >(val6
);
12802 arg7
= wxString_in_helper(obj6
);
12803 if (arg7
== NULL
) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12830 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12831 PyObject
*resultobj
= 0;
12832 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12833 wxLayoutAlignment result
;
12836 PyObject
*swig_obj
[1] ;
12838 if (!args
) SWIG_fail
;
12839 swig_obj
[0] = args
;
12840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12841 if (!SWIG_IsOK(res1
)) {
12842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12844 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= SWIG_From_int(static_cast< int >(result
));
12858 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12859 PyObject
*resultobj
= 0;
12860 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12861 wxLayoutOrientation result
;
12864 PyObject
*swig_obj
[1] ;
12866 if (!args
) SWIG_fail
;
12867 swig_obj
[0] = args
;
12868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12869 if (!SWIG_IsOK(res1
)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12872 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= SWIG_From_int(static_cast< int >(result
));
12886 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
= 0;
12888 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12889 wxLayoutAlignment arg2
;
12894 PyObject
* obj0
= 0 ;
12895 PyObject
* obj1
= 0 ;
12896 char * kwnames
[] = {
12897 (char *) "self",(char *) "alignment", NULL
12900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12902 if (!SWIG_IsOK(res1
)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12905 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12907 if (!SWIG_IsOK(ecode2
)) {
12908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12910 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 (arg1
)->SetAlignment(arg2
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= SWIG_Py_Void();
12924 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
= 0;
12926 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12931 PyObject
* obj0
= 0 ;
12932 PyObject
* obj1
= 0 ;
12933 char * kwnames
[] = {
12934 (char *) "self",(char *) "size", NULL
12937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12939 if (!SWIG_IsOK(res1
)) {
12940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12942 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12945 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= SWIG_Py_Void();
12960 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
= 0;
12962 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12963 wxLayoutOrientation arg2
;
12968 PyObject
* obj0
= 0 ;
12969 PyObject
* obj1
= 0 ;
12970 char * kwnames
[] = {
12971 (char *) "self",(char *) "orientation", NULL
12974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12976 if (!SWIG_IsOK(res1
)) {
12977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12979 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12981 if (!SWIG_IsOK(ecode2
)) {
12982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12984 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 (arg1
)->SetOrientation(arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= SWIG_Py_Void();
12998 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13000 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13001 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
13002 return SWIG_Py_Void();
13005 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13006 return SWIG_Python_InitShadowInstance(args
);
13009 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13010 PyObject
*resultobj
= 0;
13011 wxLayoutAlgorithm
*result
= 0 ;
13013 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
13027 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13028 PyObject
*resultobj
= 0;
13029 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13032 PyObject
*swig_obj
[1] ;
13034 if (!args
) SWIG_fail
;
13035 swig_obj
[0] = args
;
13036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
13037 if (!SWIG_IsOK(res1
)) {
13038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13040 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 wxPyEndAllowThreads(__tstate
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13048 resultobj
= SWIG_Py_Void();
13055 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
= 0;
13057 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13058 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13059 wxRect
*arg3
= (wxRect
*) NULL
;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 PyObject
* obj2
= 0 ;
13070 char * kwnames
[] = {
13071 (char *) "self",(char *) "frame",(char *) "rect", NULL
13074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13076 if (!SWIG_IsOK(res1
)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13079 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13081 if (!SWIG_IsOK(res2
)) {
13082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13084 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13086 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13087 if (!SWIG_IsOK(res3
)) {
13088 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13090 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13107 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
= 0;
13109 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13110 wxFrame
*arg2
= (wxFrame
*) 0 ;
13111 wxWindow
*arg3
= (wxWindow
*) NULL
;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 PyObject
* obj2
= 0 ;
13122 char * kwnames
[] = {
13123 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13128 if (!SWIG_IsOK(res1
)) {
13129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13131 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13133 if (!SWIG_IsOK(res2
)) {
13134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13136 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13138 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13139 if (!SWIG_IsOK(res3
)) {
13140 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13142 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13159 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
= 0;
13161 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13162 wxWindow
*arg2
= (wxWindow
*) 0 ;
13163 wxWindow
*arg3
= (wxWindow
*) NULL
;
13171 PyObject
* obj0
= 0 ;
13172 PyObject
* obj1
= 0 ;
13173 PyObject
* obj2
= 0 ;
13174 char * kwnames
[] = {
13175 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13180 if (!SWIG_IsOK(res1
)) {
13181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13183 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13185 if (!SWIG_IsOK(res2
)) {
13186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13188 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13190 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13191 if (!SWIG_IsOK(res3
)) {
13192 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13194 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13211 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13214 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13215 return SWIG_Py_Void();
13218 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13219 return SWIG_Python_InitShadowInstance(args
);
13222 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
= 0;
13224 wxWindow
*arg1
= (wxWindow
*) 0 ;
13225 int arg2
= (int) wxBORDER_NONE
;
13226 wxPopupWindow
*result
= 0 ;
13231 PyObject
* obj0
= 0 ;
13232 PyObject
* obj1
= 0 ;
13233 char * kwnames
[] = {
13234 (char *) "parent",(char *) "flags", NULL
13237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13239 if (!SWIG_IsOK(res1
)) {
13240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13242 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13245 if (!SWIG_IsOK(ecode2
)) {
13246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13248 arg2
= static_cast< int >(val2
);
13251 if (!wxPyCheckForApp()) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13264 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13265 PyObject
*resultobj
= 0;
13266 wxPopupWindow
*result
= 0 ;
13268 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13270 if (!wxPyCheckForApp()) SWIG_fail
;
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 result
= (wxPopupWindow
*)new wxPopupWindow();
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13283 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
= 0;
13285 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13286 wxWindow
*arg2
= (wxWindow
*) 0 ;
13287 int arg3
= (int) wxBORDER_NONE
;
13295 PyObject
* obj0
= 0 ;
13296 PyObject
* obj1
= 0 ;
13297 PyObject
* obj2
= 0 ;
13298 char * kwnames
[] = {
13299 (char *) "self",(char *) "parent",(char *) "flags", NULL
13302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13304 if (!SWIG_IsOK(res1
)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13307 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13308 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13309 if (!SWIG_IsOK(res2
)) {
13310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13312 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13315 if (!SWIG_IsOK(ecode3
)) {
13316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13318 arg3
= static_cast< int >(val3
);
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13335 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
= 0;
13337 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13338 wxPoint
*arg2
= 0 ;
13344 PyObject
* obj0
= 0 ;
13345 PyObject
* obj1
= 0 ;
13346 PyObject
* obj2
= 0 ;
13347 char * kwnames
[] = {
13348 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13353 if (!SWIG_IsOK(res1
)) {
13354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13356 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13363 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_Py_Void();
13378 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13381 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13382 return SWIG_Py_Void();
13385 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13386 return SWIG_Python_InitShadowInstance(args
);
13389 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
= 0;
13391 wxWindow
*arg1
= (wxWindow
*) 0 ;
13392 int arg2
= (int) wxBORDER_NONE
;
13393 wxPyPopupTransientWindow
*result
= 0 ;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 char * kwnames
[] = {
13401 (char *) "parent",(char *) "style", NULL
13404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13406 if (!SWIG_IsOK(res1
)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13409 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13412 if (!SWIG_IsOK(ecode2
)) {
13413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13415 arg2
= static_cast< int >(val2
);
13418 if (!wxPyCheckForApp()) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13431 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13432 PyObject
*resultobj
= 0;
13433 wxPyPopupTransientWindow
*result
= 0 ;
13435 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13437 if (!wxPyCheckForApp()) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13450 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
= 0;
13452 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13453 PyObject
*arg2
= (PyObject
*) 0 ;
13454 PyObject
*arg3
= (PyObject
*) 0 ;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 PyObject
* obj2
= 0 ;
13460 char * kwnames
[] = {
13461 (char *) "self",(char *) "self",(char *) "_class", NULL
13464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13466 if (!SWIG_IsOK(res1
)) {
13467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13469 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_Py_Void();
13485 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
= 0;
13487 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13488 wxWindow
*arg2
= (wxWindow
*) NULL
;
13493 PyObject
* obj0
= 0 ;
13494 PyObject
* obj1
= 0 ;
13495 char * kwnames
[] = {
13496 (char *) "self",(char *) "focus", NULL
13499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13501 if (!SWIG_IsOK(res1
)) {
13502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13504 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13507 if (!SWIG_IsOK(res2
)) {
13508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13510 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 (arg1
)->Popup(arg2
);
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= SWIG_Py_Void();
13525 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13526 PyObject
*resultobj
= 0;
13527 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13530 PyObject
*swig_obj
[1] ;
13532 if (!args
) SWIG_fail
;
13533 swig_obj
[0] = args
;
13534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13535 if (!SWIG_IsOK(res1
)) {
13536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13538 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= SWIG_Py_Void();
13552 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13554 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13555 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13556 return SWIG_Py_Void();
13559 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13560 return SWIG_Python_InitShadowInstance(args
);
13563 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
= 0;
13565 wxWindow
*arg1
= (wxWindow
*) 0 ;
13566 wxString
*arg2
= 0 ;
13567 int arg3
= (int) 100 ;
13568 wxRect
*arg4
= (wxRect
*) NULL
;
13569 wxTipWindow
*result
= 0 ;
13572 bool temp2
= false ;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 PyObject
* obj2
= 0 ;
13580 PyObject
* obj3
= 0 ;
13581 char * kwnames
[] = {
13582 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13587 if (!SWIG_IsOK(res1
)) {
13588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13590 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13592 arg2
= wxString_in_helper(obj1
);
13593 if (arg2
== NULL
) SWIG_fail
;
13597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13598 if (!SWIG_IsOK(ecode3
)) {
13599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13601 arg3
= static_cast< int >(val3
);
13604 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13605 if (!SWIG_IsOK(res4
)) {
13606 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13608 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13611 if (!wxPyCheckForApp()) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13632 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
= 0;
13634 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13639 PyObject
* obj0
= 0 ;
13640 PyObject
* obj1
= 0 ;
13641 char * kwnames
[] = {
13642 (char *) "self",(char *) "rectBound", NULL
13645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13647 if (!SWIG_IsOK(res1
)) {
13648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13650 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13653 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= SWIG_Py_Void();
13668 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13669 PyObject
*resultobj
= 0;
13670 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13673 PyObject
*swig_obj
[1] ;
13675 if (!args
) SWIG_fail
;
13676 swig_obj
[0] = args
;
13677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13678 if (!SWIG_IsOK(res1
)) {
13679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13681 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= SWIG_Py_Void();
13695 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13698 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13699 return SWIG_Py_Void();
13702 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13703 return SWIG_Python_InitShadowInstance(args
);
13706 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
= 0;
13708 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13709 bool arg2
= (bool) true ;
13714 PyObject
* obj0
= 0 ;
13715 PyObject
* obj1
= 0 ;
13716 char * kwnames
[] = {
13717 (char *) "self",(char *) "scrolling", NULL
13720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13722 if (!SWIG_IsOK(res1
)) {
13723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13725 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13727 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13728 if (!SWIG_IsOK(ecode2
)) {
13729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
13731 arg2
= static_cast< bool >(val2
);
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 (arg1
)->EnablePhysicalScrolling(arg2
);
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 resultobj
= SWIG_Py_Void();
13746 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
= 0;
13748 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 char * kwnames
[] = {
13758 (char *) "self",(char *) "coord", NULL
13761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13763 if (!SWIG_IsOK(res1
)) {
13764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13766 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13768 if (!SWIG_IsOK(ecode2
)) {
13769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'");
13771 arg2
= static_cast< int >(val2
);
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->HitTest(arg2
);
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13778 resultobj
= SWIG_From_int(static_cast< int >(result
));
13785 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13786 PyObject
*resultobj
= 0;
13787 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13790 PyObject
*swig_obj
[1] ;
13792 if (!args
) SWIG_fail
;
13793 swig_obj
[0] = args
;
13794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13795 if (!SWIG_IsOK(res1
)) {
13796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13798 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 (arg1
)->RefreshAll();
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_Py_Void();
13812 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13813 PyObject
*resultobj
= 0;
13814 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13818 PyObject
*swig_obj
[1] ;
13820 if (!args
) SWIG_fail
;
13821 swig_obj
[0] = args
;
13822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13823 if (!SWIG_IsOK(res1
)) {
13824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13826 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (size_t)((wxVarScrollHelperBase
const *)arg1
)->GetVisibleBegin();
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13840 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13841 PyObject
*resultobj
= 0;
13842 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13846 PyObject
*swig_obj
[1] ;
13848 if (!args
) SWIG_fail
;
13849 swig_obj
[0] = args
;
13850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13851 if (!SWIG_IsOK(res1
)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13854 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 result
= (size_t)((wxVarScrollHelperBase
const *)arg1
)->GetVisibleEnd();
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13868 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
= 0;
13870 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13877 PyObject
* obj0
= 0 ;
13878 PyObject
* obj1
= 0 ;
13879 char * kwnames
[] = {
13880 (char *) "self",(char *) "unit", NULL
13883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13885 if (!SWIG_IsOK(res1
)) {
13886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13888 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13889 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13890 if (!SWIG_IsOK(ecode2
)) {
13891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13893 arg2
= static_cast< size_t >(val2
);
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (bool)((wxVarScrollHelperBase
const *)arg1
)->IsVisible(arg2
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13909 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
= 0;
13911 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 PyObject
* obj1
= 0 ;
13920 char * kwnames
[] = {
13921 (char *) "self",(char *) "coord", NULL
13924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13926 if (!SWIG_IsOK(res1
)) {
13927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13929 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13931 if (!SWIG_IsOK(ecode2
)) {
13932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
13934 arg2
= static_cast< int >(val2
);
13936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->CalcScrolledPosition(arg2
);
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= SWIG_From_int(static_cast< int >(result
));
13948 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
= 0;
13950 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13957 PyObject
* obj0
= 0 ;
13958 PyObject
* obj1
= 0 ;
13959 char * kwnames
[] = {
13960 (char *) "self",(char *) "coord", NULL
13963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13965 if (!SWIG_IsOK(res1
)) {
13966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13968 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13970 if (!SWIG_IsOK(ecode2
)) {
13971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
13973 arg2
= static_cast< int >(val2
);
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->CalcUnscrolledPosition(arg2
);
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= SWIG_From_int(static_cast< int >(result
));
13987 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13988 PyObject
*resultobj
= 0;
13989 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13992 PyObject
*swig_obj
[1] ;
13994 if (!args
) SWIG_fail
;
13995 swig_obj
[0] = args
;
13996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13997 if (!SWIG_IsOK(res1
)) {
13998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
14000 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 (arg1
)->UpdateScrollbar();
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= SWIG_Py_Void();
14014 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14015 PyObject
*resultobj
= 0;
14016 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14019 PyObject
*swig_obj
[1] ;
14021 if (!args
) SWIG_fail
;
14022 swig_obj
[0] = args
;
14023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14024 if (!SWIG_IsOK(res1
)) {
14025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
14027 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14030 (arg1
)->RemoveScrollbar();
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= SWIG_Py_Void();
14041 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
= 0;
14043 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14044 wxWindow
*arg2
= (wxWindow
*) 0 ;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 char * kwnames
[] = {
14052 (char *) "self",(char *) "target", NULL
14055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14057 if (!SWIG_IsOK(res1
)) {
14058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
14060 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14062 if (!SWIG_IsOK(res2
)) {
14063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
14065 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 (arg1
)->SetTargetWindow(arg2
);
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= SWIG_Py_Void();
14079 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14080 PyObject
*resultobj
= 0;
14081 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14082 wxWindow
*result
= 0 ;
14085 PyObject
*swig_obj
[1] ;
14087 if (!args
) SWIG_fail
;
14088 swig_obj
[0] = args
;
14089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14090 if (!SWIG_IsOK(res1
)) {
14091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14093 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (wxWindow
*)((wxVarScrollHelperBase
const *)arg1
)->GetTargetWindow();
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= wxPyMake_wxObject(result
, 0);
14109 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14110 PyObject
*resultobj
= 0;
14111 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14115 PyObject
*swig_obj
[1] ;
14117 if (!args
) SWIG_fail
;
14118 swig_obj
[0] = args
;
14119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14120 if (!SWIG_IsOK(res1
)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14123 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->GetOrientationTargetSize();
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= SWIG_From_int(static_cast< int >(result
));
14137 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14138 PyObject
*resultobj
= 0;
14139 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14143 PyObject
*swig_obj
[1] ;
14145 if (!args
) SWIG_fail
;
14146 swig_obj
[0] = args
;
14147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14148 if (!SWIG_IsOK(res1
)) {
14149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14151 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->GetNonOrientationTargetSize();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= SWIG_From_int(static_cast< int >(result
));
14165 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14166 PyObject
*resultobj
= 0;
14167 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14168 wxOrientation result
;
14171 PyObject
*swig_obj
[1] ;
14173 if (!args
) SWIG_fail
;
14174 swig_obj
[0] = args
;
14175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14176 if (!SWIG_IsOK(res1
)) {
14177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14179 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (wxOrientation
)((wxVarScrollHelperBase
const *)arg1
)->GetOrientation();
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= SWIG_From_int(static_cast< int >(result
));
14193 SWIGINTERN PyObject
*VarScrollHelperBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14196 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase
, SWIG_NewClientData(obj
));
14197 return SWIG_Py_Void();
14200 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_SetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
= 0;
14202 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14208 PyObject
* obj0
= 0 ;
14209 PyObject
* obj1
= 0 ;
14210 char * kwnames
[] = {
14211 (char *) "self",(char *) "rowCount", NULL
14214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14216 if (!SWIG_IsOK(res1
)) {
14217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14219 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14220 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14221 if (!SWIG_IsOK(ecode2
)) {
14222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'");
14224 arg2
= static_cast< size_t >(val2
);
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 (arg1
)->SetRowCount(arg2
);
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= SWIG_Py_Void();
14238 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollToRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
= 0;
14240 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 char * kwnames
[] = {
14250 (char *) "self",(char *) "row", NULL
14253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14255 if (!SWIG_IsOK(res1
)) {
14256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14258 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14259 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14260 if (!SWIG_IsOK(ecode2
)) {
14261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'");
14263 arg2
= static_cast< size_t >(val2
);
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (bool)(arg1
)->ScrollToRow(arg2
);
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14279 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
= 0;
14281 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 PyObject
* obj1
= 0 ;
14290 char * kwnames
[] = {
14291 (char *) "self",(char *) "rows", NULL
14294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14296 if (!SWIG_IsOK(res1
)) {
14297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14299 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14301 if (!SWIG_IsOK(ecode2
)) {
14302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'");
14304 arg2
= static_cast< int >(val2
);
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (bool)(arg1
)->ScrollRows(arg2
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14320 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollRowPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
= 0;
14322 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 PyObject
* obj1
= 0 ;
14331 char * kwnames
[] = {
14332 (char *) "self",(char *) "pages", NULL
14335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14337 if (!SWIG_IsOK(res1
)) {
14338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14340 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14342 if (!SWIG_IsOK(ecode2
)) {
14343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'");
14345 arg2
= static_cast< int >(val2
);
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (bool)(arg1
)->ScrollRowPages(arg2
);
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14361 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_RefreshRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
= 0;
14363 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 char * kwnames
[] = {
14372 (char *) "self",(char *) "row", NULL
14375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14377 if (!SWIG_IsOK(res1
)) {
14378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14380 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14381 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14382 if (!SWIG_IsOK(ecode2
)) {
14383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'");
14385 arg2
= static_cast< size_t >(val2
);
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 (arg1
)->RefreshRow(arg2
);
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14392 resultobj
= SWIG_Py_Void();
14399 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_RefreshRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
= 0;
14401 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14410 PyObject
* obj0
= 0 ;
14411 PyObject
* obj1
= 0 ;
14412 PyObject
* obj2
= 0 ;
14413 char * kwnames
[] = {
14414 (char *) "self",(char *) "from",(char *) "to", NULL
14417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14419 if (!SWIG_IsOK(res1
)) {
14420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14422 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14423 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14424 if (!SWIG_IsOK(ecode2
)) {
14425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'");
14427 arg2
= static_cast< size_t >(val2
);
14428 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14429 if (!SWIG_IsOK(ecode3
)) {
14430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'");
14432 arg3
= static_cast< size_t >(val3
);
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 (arg1
)->RefreshRows(arg2
,arg3
);
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_Py_Void();
14446 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14447 PyObject
*resultobj
= 0;
14448 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14452 PyObject
*swig_obj
[1] ;
14454 if (!args
) SWIG_fail
;
14455 swig_obj
[0] = args
;
14456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14457 if (!SWIG_IsOK(res1
)) {
14458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14460 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetRowCount();
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14474 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14475 PyObject
*resultobj
= 0;
14476 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14480 PyObject
*swig_obj
[1] ;
14482 if (!args
) SWIG_fail
;
14483 swig_obj
[0] = args
;
14484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14485 if (!SWIG_IsOK(res1
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14488 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetVisibleRowsBegin();
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14502 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14503 PyObject
*resultobj
= 0;
14504 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14508 PyObject
*swig_obj
[1] ;
14510 if (!args
) SWIG_fail
;
14511 swig_obj
[0] = args
;
14512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14513 if (!SWIG_IsOK(res1
)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14516 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetVisibleRowsEnd();
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14530 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_IsRowVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
= 0;
14532 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 char * kwnames
[] = {
14542 (char *) "self",(char *) "row", NULL
14545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14547 if (!SWIG_IsOK(res1
)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14550 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14551 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14552 if (!SWIG_IsOK(ecode2
)) {
14553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'");
14555 arg2
= static_cast< size_t >(val2
);
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (bool)((wxVarVScrollHelper
const *)arg1
)->IsRowVisible(arg2
);
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14571 SWIGINTERN PyObject
*VarVScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14574 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper
, SWIG_NewClientData(obj
));
14575 return SWIG_Py_Void();
14578 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_SetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
= 0;
14580 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 char * kwnames
[] = {
14589 (char *) "self",(char *) "columnCount", NULL
14592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14594 if (!SWIG_IsOK(res1
)) {
14595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14597 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14598 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14599 if (!SWIG_IsOK(ecode2
)) {
14600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14602 arg2
= static_cast< size_t >(val2
);
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 (arg1
)->SetColumnCount(arg2
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 resultobj
= SWIG_Py_Void();
14616 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollToColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
= 0;
14618 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14625 PyObject
* obj0
= 0 ;
14626 PyObject
* obj1
= 0 ;
14627 char * kwnames
[] = {
14628 (char *) "self",(char *) "column", NULL
14631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14633 if (!SWIG_IsOK(res1
)) {
14634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14636 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14637 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14638 if (!SWIG_IsOK(ecode2
)) {
14639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'");
14641 arg2
= static_cast< size_t >(val2
);
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (bool)(arg1
)->ScrollToColumn(arg2
);
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14657 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
= 0;
14659 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 PyObject
* obj1
= 0 ;
14668 char * kwnames
[] = {
14669 (char *) "self",(char *) "columns", NULL
14672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14674 if (!SWIG_IsOK(res1
)) {
14675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14677 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14679 if (!SWIG_IsOK(ecode2
)) {
14680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'");
14682 arg2
= static_cast< int >(val2
);
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (bool)(arg1
)->ScrollColumns(arg2
);
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14698 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollColumnPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
= 0;
14700 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14707 PyObject
* obj0
= 0 ;
14708 PyObject
* obj1
= 0 ;
14709 char * kwnames
[] = {
14710 (char *) "self",(char *) "pages", NULL
14713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14715 if (!SWIG_IsOK(res1
)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14718 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14720 if (!SWIG_IsOK(ecode2
)) {
14721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'");
14723 arg2
= static_cast< int >(val2
);
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (bool)(arg1
)->ScrollColumnPages(arg2
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14739 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_RefreshColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
= 0;
14741 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14747 PyObject
* obj0
= 0 ;
14748 PyObject
* obj1
= 0 ;
14749 char * kwnames
[] = {
14750 (char *) "self",(char *) "column", NULL
14753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14755 if (!SWIG_IsOK(res1
)) {
14756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14758 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14759 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14760 if (!SWIG_IsOK(ecode2
)) {
14761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'");
14763 arg2
= static_cast< size_t >(val2
);
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 (arg1
)->RefreshColumn(arg2
);
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= SWIG_Py_Void();
14777 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_RefreshColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
= 0;
14779 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14788 PyObject
* obj0
= 0 ;
14789 PyObject
* obj1
= 0 ;
14790 PyObject
* obj2
= 0 ;
14791 char * kwnames
[] = {
14792 (char *) "self",(char *) "from",(char *) "to", NULL
14795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14797 if (!SWIG_IsOK(res1
)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14800 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14801 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14802 if (!SWIG_IsOK(ecode2
)) {
14803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'");
14805 arg2
= static_cast< size_t >(val2
);
14806 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14807 if (!SWIG_IsOK(ecode3
)) {
14808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'");
14810 arg3
= static_cast< size_t >(val3
);
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 (arg1
)->RefreshColumns(arg2
,arg3
);
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 resultobj
= SWIG_Py_Void();
14824 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14825 PyObject
*resultobj
= 0;
14826 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14830 PyObject
*swig_obj
[1] ;
14832 if (!args
) SWIG_fail
;
14833 swig_obj
[0] = args
;
14834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14835 if (!SWIG_IsOK(res1
)) {
14836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14838 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetColumnCount();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14852 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14853 PyObject
*resultobj
= 0;
14854 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14858 PyObject
*swig_obj
[1] ;
14860 if (!args
) SWIG_fail
;
14861 swig_obj
[0] = args
;
14862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14863 if (!SWIG_IsOK(res1
)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14866 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetVisibleColumnsBegin();
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14880 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14881 PyObject
*resultobj
= 0;
14882 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14886 PyObject
*swig_obj
[1] ;
14888 if (!args
) SWIG_fail
;
14889 swig_obj
[0] = args
;
14890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14891 if (!SWIG_IsOK(res1
)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14894 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetVisibleColumnsEnd();
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14908 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_IsColumnVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
= 0;
14910 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14917 PyObject
* obj0
= 0 ;
14918 PyObject
* obj1
= 0 ;
14919 char * kwnames
[] = {
14920 (char *) "self",(char *) "column", NULL
14923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14925 if (!SWIG_IsOK(res1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14928 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14929 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14930 if (!SWIG_IsOK(ecode2
)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'");
14933 arg2
= static_cast< size_t >(val2
);
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= (bool)((wxVarHScrollHelper
const *)arg1
)->IsColumnVisible(arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14949 SWIGINTERN PyObject
*VarHScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14952 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper
, SWIG_NewClientData(obj
));
14953 return SWIG_Py_Void();
14956 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
= 0;
14958 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14967 PyObject
* obj0
= 0 ;
14968 PyObject
* obj1
= 0 ;
14969 PyObject
* obj2
= 0 ;
14970 char * kwnames
[] = {
14971 (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL
14974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14976 if (!SWIG_IsOK(res1
)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14979 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14980 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14981 if (!SWIG_IsOK(ecode2
)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14984 arg2
= static_cast< size_t >(val2
);
14985 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14986 if (!SWIG_IsOK(ecode3
)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'");
14989 arg3
= static_cast< size_t >(val3
);
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 (arg1
)->SetRowColumnCount(arg2
,arg3
);
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= SWIG_Py_Void();
15003 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
= 0;
15005 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15006 bool arg2
= (bool) true ;
15007 bool arg3
= (bool) true ;
15014 PyObject
* obj0
= 0 ;
15015 PyObject
* obj1
= 0 ;
15016 PyObject
* obj2
= 0 ;
15017 char * kwnames
[] = {
15018 (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL
15021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15026 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15028 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15029 if (!SWIG_IsOK(ecode2
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
15032 arg2
= static_cast< bool >(val2
);
15035 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15036 if (!SWIG_IsOK(ecode3
)) {
15037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'");
15039 arg3
= static_cast< bool >(val3
);
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 (arg1
)->EnablePhysicalScrolling(arg2
,arg3
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_Py_Void();
15054 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
= 0;
15056 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15057 wxPosition
*arg2
= 0 ;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 char * kwnames
[] = {
15066 (char *) "self",(char *) "pos", NULL
15069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15071 if (!SWIG_IsOK(res1
)) {
15072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15074 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15076 if (!SWIG_IsOK(res2
)) {
15077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15082 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (bool)(arg1
)->ScrollToRowColumn((wxPosition
const &)*arg2
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15098 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
= 0;
15100 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15101 wxPosition
*arg2
= 0 ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 char * kwnames
[] = {
15109 (char *) "self",(char *) "pos", NULL
15112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15114 if (!SWIG_IsOK(res1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15117 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15119 if (!SWIG_IsOK(res2
)) {
15120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15125 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 (arg1
)->RefreshRowColumn((wxPosition
const &)*arg2
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_Py_Void();
15139 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
= 0;
15141 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15142 wxPosition
*arg2
= 0 ;
15143 wxPosition
*arg3
= 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 PyObject
* obj2
= 0 ;
15153 char * kwnames
[] = {
15154 (char *) "self",(char *) "from",(char *) "to", NULL
15157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15159 if (!SWIG_IsOK(res1
)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15162 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15164 if (!SWIG_IsOK(res2
)) {
15165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15170 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15171 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPosition
, 0 | 0);
15172 if (!SWIG_IsOK(res3
)) {
15173 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15178 arg3
= reinterpret_cast< wxPosition
* >(argp3
);
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 (arg1
)->RefreshRowsColumns((wxPosition
const &)*arg2
,(wxPosition
const &)*arg3
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= SWIG_Py_Void();
15192 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
= 0;
15194 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15195 wxPoint
*arg2
= 0 ;
15200 PyObject
* obj0
= 0 ;
15201 PyObject
* obj1
= 0 ;
15202 char * kwnames
[] = {
15203 (char *) "self",(char *) "pos", NULL
15206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15208 if (!SWIG_IsOK(res1
)) {
15209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15211 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15214 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= ((wxVarHVScrollHelper
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15229 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_ScrollLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15230 PyObject
*resultobj
= 0;
15231 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15235 PyObject
*swig_obj
[1] ;
15237 if (!args
) SWIG_fail
;
15238 swig_obj
[0] = args
;
15239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15240 if (!SWIG_IsOK(res1
)) {
15241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15243 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 result
= (bool)(arg1
)->ScrollLayout();
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15259 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15260 PyObject
*resultobj
= 0;
15261 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15265 PyObject
*swig_obj
[1] ;
15267 if (!args
) SWIG_fail
;
15268 swig_obj
[0] = args
;
15269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15270 if (!SWIG_IsOK(res1
)) {
15271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15273 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetRowColumnCount();
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15287 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15288 PyObject
*resultobj
= 0;
15289 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15293 PyObject
*swig_obj
[1] ;
15295 if (!args
) SWIG_fail
;
15296 swig_obj
[0] = args
;
15297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15301 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetVisibleBegin();
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15308 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15315 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15316 PyObject
*resultobj
= 0;
15317 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15321 PyObject
*swig_obj
[1] ;
15323 if (!args
) SWIG_fail
;
15324 swig_obj
[0] = args
;
15325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15326 if (!SWIG_IsOK(res1
)) {
15327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15329 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetVisibleEnd();
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15336 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15343 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
= 0;
15345 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15346 wxPosition
*arg2
= 0 ;
15352 PyObject
* obj0
= 0 ;
15353 PyObject
* obj1
= 0 ;
15354 char * kwnames
[] = {
15355 (char *) "self",(char *) "pos", NULL
15358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15360 if (!SWIG_IsOK(res1
)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15363 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15365 if (!SWIG_IsOK(res2
)) {
15366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15371 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (bool)((wxVarHVScrollHelper
const *)arg1
)->IsVisible((wxPosition
const &)*arg2
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15387 SWIGINTERN PyObject
*VarHVScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15390 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper
, SWIG_NewClientData(obj
));
15391 return SWIG_Py_Void();
15394 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
= 0;
15396 wxWindow
*arg1
= (wxWindow
*) 0 ;
15397 int arg2
= (int) wxID_ANY
;
15398 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15399 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15400 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15401 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15402 long arg5
= (long) 0 ;
15403 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15404 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15405 wxPyVScrolledWindow
*result
= 0 ;
15414 bool temp6
= false ;
15415 PyObject
* obj0
= 0 ;
15416 PyObject
* obj1
= 0 ;
15417 PyObject
* obj2
= 0 ;
15418 PyObject
* obj3
= 0 ;
15419 PyObject
* obj4
= 0 ;
15420 PyObject
* obj5
= 0 ;
15421 char * kwnames
[] = {
15422 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15427 if (!SWIG_IsOK(res1
)) {
15428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15430 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15433 if (!SWIG_IsOK(ecode2
)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15436 arg2
= static_cast< int >(val2
);
15441 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15447 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15451 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15452 if (!SWIG_IsOK(ecode5
)) {
15453 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15455 arg5
= static_cast< long >(val5
);
15459 arg6
= wxString_in_helper(obj5
);
15460 if (arg6
== NULL
) SWIG_fail
;
15465 if (!wxPyCheckForApp()) SWIG_fail
;
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
15486 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15487 PyObject
*resultobj
= 0;
15488 wxPyVScrolledWindow
*result
= 0 ;
15490 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
15492 if (!wxPyCheckForApp()) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
15505 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
= 0;
15507 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15508 PyObject
*arg2
= (PyObject
*) 0 ;
15509 PyObject
*arg3
= (PyObject
*) 0 ;
15512 PyObject
* obj0
= 0 ;
15513 PyObject
* obj1
= 0 ;
15514 PyObject
* obj2
= 0 ;
15515 char * kwnames
[] = {
15516 (char *) "self",(char *) "self",(char *) "_class", NULL
15519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15521 if (!SWIG_IsOK(res1
)) {
15522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15524 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= SWIG_Py_Void();
15540 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
= 0;
15542 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15543 wxWindow
*arg2
= (wxWindow
*) 0 ;
15544 int arg3
= (int) wxID_ANY
;
15545 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15546 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15547 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15548 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15549 long arg6
= (long) 0 ;
15550 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
15551 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15563 bool temp7
= false ;
15564 PyObject
* obj0
= 0 ;
15565 PyObject
* obj1
= 0 ;
15566 PyObject
* obj2
= 0 ;
15567 PyObject
* obj3
= 0 ;
15568 PyObject
* obj4
= 0 ;
15569 PyObject
* obj5
= 0 ;
15570 PyObject
* obj6
= 0 ;
15571 char * kwnames
[] = {
15572 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15577 if (!SWIG_IsOK(res1
)) {
15578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15580 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15582 if (!SWIG_IsOK(res2
)) {
15583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15585 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15588 if (!SWIG_IsOK(ecode3
)) {
15589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15591 arg3
= static_cast< int >(val3
);
15596 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15602 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15606 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15607 if (!SWIG_IsOK(ecode6
)) {
15608 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15610 arg6
= static_cast< long >(val6
);
15614 arg7
= wxString_in_helper(obj6
);
15615 if (arg7
== NULL
) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15642 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetRowsHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
= 0;
15644 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15654 PyObject
* obj0
= 0 ;
15655 PyObject
* obj1
= 0 ;
15656 PyObject
* obj2
= 0 ;
15657 char * kwnames
[] = {
15658 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
15661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15663 if (!SWIG_IsOK(res1
)) {
15664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15666 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15667 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15668 if (!SWIG_IsOK(ecode2
)) {
15669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
15671 arg2
= static_cast< size_t >(val2
);
15672 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15673 if (!SWIG_IsOK(ecode3
)) {
15674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
15676 arg3
= static_cast< size_t >(val3
);
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetRowsHeight(arg2
,arg3
);
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 resultobj
= SWIG_From_int(static_cast< int >(result
));
15690 SWIGINTERN PyObject
*_wrap_VScrolledWindow_EstimateTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15691 PyObject
*resultobj
= 0;
15692 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15696 PyObject
*swig_obj
[1] ;
15698 if (!args
) SWIG_fail
;
15699 swig_obj
[0] = args
;
15700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15701 if (!SWIG_IsOK(res1
)) {
15702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15704 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->EstimateTotalHeight();
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_From_int(static_cast< int >(result
));
15718 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
= 0;
15720 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15721 wxPoint
*arg2
= 0 ;
15726 PyObject
* obj0
= 0 ;
15727 PyObject
* obj1
= 0 ;
15728 char * kwnames
[] = {
15729 (char *) "self",(char *) "pt", NULL
15732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15734 if (!SWIG_IsOK(res1
)) {
15735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15737 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15740 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= SWIG_From_int(static_cast< int >(result
));
15755 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15758 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
15759 return SWIG_Py_Void();
15762 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15763 return SWIG_Python_InitShadowInstance(args
);
15766 SWIGINTERN PyObject
*_wrap_new_HScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
= 0;
15768 wxWindow
*arg1
= (wxWindow
*) 0 ;
15769 int arg2
= (int) wxID_ANY
;
15770 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15771 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15772 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15773 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15774 long arg5
= (long) 0 ;
15775 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15776 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15777 wxPyHScrolledWindow
*result
= 0 ;
15786 bool temp6
= false ;
15787 PyObject
* obj0
= 0 ;
15788 PyObject
* obj1
= 0 ;
15789 PyObject
* obj2
= 0 ;
15790 PyObject
* obj3
= 0 ;
15791 PyObject
* obj4
= 0 ;
15792 PyObject
* obj5
= 0 ;
15793 char * kwnames
[] = {
15794 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15799 if (!SWIG_IsOK(res1
)) {
15800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15805 if (!SWIG_IsOK(ecode2
)) {
15806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15808 arg2
= static_cast< int >(val2
);
15813 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15819 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15823 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15824 if (!SWIG_IsOK(ecode5
)) {
15825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15827 arg5
= static_cast< long >(val5
);
15831 arg6
= wxString_in_helper(obj5
);
15832 if (arg6
== NULL
) SWIG_fail
;
15837 if (!wxPyCheckForApp()) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 result
= (wxPyHScrolledWindow
*)new wxPyHScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_POINTER_NEW
| 0 );
15858 SWIGINTERN PyObject
*_wrap_new_PreHScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15859 PyObject
*resultobj
= 0;
15860 wxPyHScrolledWindow
*result
= 0 ;
15862 if (!SWIG_Python_UnpackTuple(args
,"new_PreHScrolledWindow",0,0,0)) SWIG_fail
;
15864 if (!wxPyCheckForApp()) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (wxPyHScrolledWindow
*)new wxPyHScrolledWindow();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_POINTER_OWN
| 0 );
15877 SWIGINTERN PyObject
*_wrap_HScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= 0;
15879 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15880 PyObject
*arg2
= (PyObject
*) 0 ;
15881 PyObject
*arg3
= (PyObject
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 PyObject
* obj2
= 0 ;
15887 char * kwnames
[] = {
15888 (char *) "self",(char *) "self",(char *) "_class", NULL
15891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15893 if (!SWIG_IsOK(res1
)) {
15894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15896 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= SWIG_Py_Void();
15912 SWIGINTERN PyObject
*_wrap_HScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
= 0;
15914 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15915 wxWindow
*arg2
= (wxWindow
*) 0 ;
15916 int arg3
= (int) wxID_ANY
;
15917 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15918 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15919 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15920 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15921 long arg6
= (long) 0 ;
15922 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
15923 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15935 bool temp7
= false ;
15936 PyObject
* obj0
= 0 ;
15937 PyObject
* obj1
= 0 ;
15938 PyObject
* obj2
= 0 ;
15939 PyObject
* obj3
= 0 ;
15940 PyObject
* obj4
= 0 ;
15941 PyObject
* obj5
= 0 ;
15942 PyObject
* obj6
= 0 ;
15943 char * kwnames
[] = {
15944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15949 if (!SWIG_IsOK(res1
)) {
15950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15952 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15953 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15954 if (!SWIG_IsOK(res2
)) {
15955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15957 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15960 if (!SWIG_IsOK(ecode3
)) {
15961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15963 arg3
= static_cast< int >(val3
);
15968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15974 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15978 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15979 if (!SWIG_IsOK(ecode6
)) {
15980 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15982 arg6
= static_cast< long >(val6
);
15986 arg7
= wxString_in_helper(obj6
);
15987 if (arg7
== NULL
) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16014 SWIGINTERN PyObject
*_wrap_HScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
= 0;
16016 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
16017 wxPoint
*arg2
= 0 ;
16022 PyObject
* obj0
= 0 ;
16023 PyObject
* obj1
= 0 ;
16024 char * kwnames
[] = {
16025 (char *) "self",(char *) "pt", NULL
16028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
16030 if (!SWIG_IsOK(res1
)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16033 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
16036 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16044 resultobj
= SWIG_From_int(static_cast< int >(result
));
16051 SWIGINTERN PyObject
*_wrap_HScrolledWindow_GetColumnsWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
= 0;
16053 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
16063 PyObject
* obj0
= 0 ;
16064 PyObject
* obj1
= 0 ;
16065 PyObject
* obj2
= 0 ;
16066 char * kwnames
[] = {
16067 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
16072 if (!SWIG_IsOK(res1
)) {
16073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16075 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
16076 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16077 if (!SWIG_IsOK(ecode2
)) {
16078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16080 arg2
= static_cast< size_t >(val2
);
16081 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16082 if (!SWIG_IsOK(ecode3
)) {
16083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16085 arg3
= static_cast< size_t >(val3
);
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->GetColumnsWidth(arg2
,arg3
);
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= SWIG_From_int(static_cast< int >(result
));
16099 SWIGINTERN PyObject
*_wrap_HScrolledWindow_EstimateTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16100 PyObject
*resultobj
= 0;
16101 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
16105 PyObject
*swig_obj
[1] ;
16107 if (!args
) SWIG_fail
;
16108 swig_obj
[0] = args
;
16109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
16110 if (!SWIG_IsOK(res1
)) {
16111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16113 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
16115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16116 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->EstimateTotalWidth();
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= SWIG_From_int(static_cast< int >(result
));
16127 SWIGINTERN PyObject
*HScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16130 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_NewClientData(obj
));
16131 return SWIG_Py_Void();
16134 SWIGINTERN PyObject
*HScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16135 return SWIG_Python_InitShadowInstance(args
);
16138 SWIGINTERN PyObject
*_wrap_new_HVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
= 0;
16140 wxWindow
*arg1
= (wxWindow
*) 0 ;
16141 int arg2
= (int) wxID_ANY
;
16142 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16143 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16144 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16145 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16146 long arg5
= (long) 0 ;
16147 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16148 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16149 wxPyHVScrolledWindow
*result
= 0 ;
16158 bool temp6
= false ;
16159 PyObject
* obj0
= 0 ;
16160 PyObject
* obj1
= 0 ;
16161 PyObject
* obj2
= 0 ;
16162 PyObject
* obj3
= 0 ;
16163 PyObject
* obj4
= 0 ;
16164 PyObject
* obj5
= 0 ;
16165 char * kwnames
[] = {
16166 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16171 if (!SWIG_IsOK(res1
)) {
16172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
16174 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16177 if (!SWIG_IsOK(ecode2
)) {
16178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'");
16180 arg2
= static_cast< int >(val2
);
16185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16191 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16195 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
16196 if (!SWIG_IsOK(ecode5
)) {
16197 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'");
16199 arg5
= static_cast< long >(val5
);
16203 arg6
= wxString_in_helper(obj5
);
16204 if (arg6
== NULL
) SWIG_fail
;
16209 if (!wxPyCheckForApp()) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (wxPyHVScrolledWindow
*)new wxPyHVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
16230 SWIGINTERN PyObject
*_wrap_new_PreHVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16231 PyObject
*resultobj
= 0;
16232 wxPyHVScrolledWindow
*result
= 0 ;
16234 if (!SWIG_Python_UnpackTuple(args
,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail
;
16236 if (!wxPyCheckForApp()) SWIG_fail
;
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 result
= (wxPyHVScrolledWindow
*)new wxPyHVScrolledWindow();
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
16249 SWIGINTERN PyObject
*_wrap_HVScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
= 0;
16251 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16252 PyObject
*arg2
= (PyObject
*) 0 ;
16253 PyObject
*arg3
= (PyObject
*) 0 ;
16256 PyObject
* obj0
= 0 ;
16257 PyObject
* obj1
= 0 ;
16258 PyObject
* obj2
= 0 ;
16259 char * kwnames
[] = {
16260 (char *) "self",(char *) "self",(char *) "_class", NULL
16263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16265 if (!SWIG_IsOK(res1
)) {
16266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16268 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= SWIG_Py_Void();
16284 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
= 0;
16286 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16287 wxWindow
*arg2
= (wxWindow
*) 0 ;
16288 int arg3
= (int) wxID_ANY
;
16289 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16290 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16291 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16292 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16293 long arg6
= (long) 0 ;
16294 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
16295 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16307 bool temp7
= false ;
16308 PyObject
* obj0
= 0 ;
16309 PyObject
* obj1
= 0 ;
16310 PyObject
* obj2
= 0 ;
16311 PyObject
* obj3
= 0 ;
16312 PyObject
* obj4
= 0 ;
16313 PyObject
* obj5
= 0 ;
16314 PyObject
* obj6
= 0 ;
16315 char * kwnames
[] = {
16316 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16321 if (!SWIG_IsOK(res1
)) {
16322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16324 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16325 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16326 if (!SWIG_IsOK(res2
)) {
16327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16329 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16332 if (!SWIG_IsOK(ecode3
)) {
16333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
16335 arg3
= static_cast< int >(val3
);
16340 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16346 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16350 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16351 if (!SWIG_IsOK(ecode6
)) {
16352 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
16354 arg6
= static_cast< long >(val6
);
16358 arg7
= wxString_in_helper(obj6
);
16359 if (arg7
== NULL
) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16386 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_GetRowsHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
= 0;
16388 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 PyObject
* obj1
= 0 ;
16400 PyObject
* obj2
= 0 ;
16401 char * kwnames
[] = {
16402 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
16405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16407 if (!SWIG_IsOK(res1
)) {
16408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16410 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16411 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16412 if (!SWIG_IsOK(ecode2
)) {
16413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
16415 arg2
= static_cast< size_t >(val2
);
16416 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16417 if (!SWIG_IsOK(ecode3
)) {
16418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
16420 arg3
= static_cast< size_t >(val3
);
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->GetRowsHeight(arg2
,arg3
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= SWIG_From_int(static_cast< int >(result
));
16434 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16435 PyObject
*resultobj
= 0;
16436 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16440 PyObject
*swig_obj
[1] ;
16442 if (!args
) SWIG_fail
;
16443 swig_obj
[0] = args
;
16444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16445 if (!SWIG_IsOK(res1
)) {
16446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16448 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->EstimateTotalHeight();
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= SWIG_From_int(static_cast< int >(result
));
16462 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_GetColumnsWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
= 0;
16464 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16474 PyObject
* obj0
= 0 ;
16475 PyObject
* obj1
= 0 ;
16476 PyObject
* obj2
= 0 ;
16477 char * kwnames
[] = {
16478 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16483 if (!SWIG_IsOK(res1
)) {
16484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16486 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16487 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16488 if (!SWIG_IsOK(ecode2
)) {
16489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16491 arg2
= static_cast< size_t >(val2
);
16492 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16493 if (!SWIG_IsOK(ecode3
)) {
16494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16496 arg3
= static_cast< size_t >(val3
);
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->GetColumnsWidth(arg2
,arg3
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= SWIG_From_int(static_cast< int >(result
));
16510 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16511 PyObject
*resultobj
= 0;
16512 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16516 PyObject
*swig_obj
[1] ;
16518 if (!args
) SWIG_fail
;
16519 swig_obj
[0] = args
;
16520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16521 if (!SWIG_IsOK(res1
)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16524 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->EstimateTotalWidth();
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= SWIG_From_int(static_cast< int >(result
));
16538 SWIGINTERN PyObject
*HVScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16541 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_NewClientData(obj
));
16542 return SWIG_Py_Void();
16545 SWIGINTERN PyObject
*HVScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16546 return SWIG_Python_InitShadowInstance(args
);
16549 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
16550 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
16555 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
16556 PyObject
*pyobj
= 0;
16560 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
16562 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
16569 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
= 0;
16571 wxWindow
*arg1
= (wxWindow
*) 0 ;
16572 int arg2
= (int) wxID_ANY
;
16573 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16574 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16575 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16576 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16577 long arg5
= (long) 0 ;
16578 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
16579 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16580 wxPyVListBox
*result
= 0 ;
16589 bool temp6
= false ;
16590 PyObject
* obj0
= 0 ;
16591 PyObject
* obj1
= 0 ;
16592 PyObject
* obj2
= 0 ;
16593 PyObject
* obj3
= 0 ;
16594 PyObject
* obj4
= 0 ;
16595 PyObject
* obj5
= 0 ;
16596 char * kwnames
[] = {
16597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16602 if (!SWIG_IsOK(res1
)) {
16603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16605 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16608 if (!SWIG_IsOK(ecode2
)) {
16609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
16611 arg2
= static_cast< int >(val2
);
16616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16622 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16626 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
16627 if (!SWIG_IsOK(ecode5
)) {
16628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
16630 arg5
= static_cast< long >(val5
);
16634 arg6
= wxString_in_helper(obj5
);
16635 if (arg6
== NULL
) SWIG_fail
;
16640 if (!wxPyCheckForApp()) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
16661 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16662 PyObject
*resultobj
= 0;
16663 wxPyVListBox
*result
= 0 ;
16665 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
16667 if (!wxPyCheckForApp()) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= (wxPyVListBox
*)new wxPyVListBox();
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
16680 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
= 0;
16682 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16683 PyObject
*arg2
= (PyObject
*) 0 ;
16684 PyObject
*arg3
= (PyObject
*) 0 ;
16687 PyObject
* obj0
= 0 ;
16688 PyObject
* obj1
= 0 ;
16689 PyObject
* obj2
= 0 ;
16690 char * kwnames
[] = {
16691 (char *) "self",(char *) "self",(char *) "_class", NULL
16694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16696 if (!SWIG_IsOK(res1
)) {
16697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16699 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= SWIG_Py_Void();
16715 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
= 0;
16717 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16718 wxWindow
*arg2
= (wxWindow
*) 0 ;
16719 int arg3
= (int) wxID_ANY
;
16720 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16721 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16722 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16723 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16724 long arg6
= (long) 0 ;
16725 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
16726 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16738 bool temp7
= false ;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 PyObject
* obj2
= 0 ;
16742 PyObject
* obj3
= 0 ;
16743 PyObject
* obj4
= 0 ;
16744 PyObject
* obj5
= 0 ;
16745 PyObject
* obj6
= 0 ;
16746 char * kwnames
[] = {
16747 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16752 if (!SWIG_IsOK(res1
)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16755 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16756 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16757 if (!SWIG_IsOK(res2
)) {
16758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16760 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16763 if (!SWIG_IsOK(ecode3
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
16766 arg3
= static_cast< int >(val3
);
16771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16781 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16782 if (!SWIG_IsOK(ecode6
)) {
16783 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
16785 arg6
= static_cast< long >(val6
);
16789 arg7
= wxString_in_helper(obj6
);
16790 if (arg7
== NULL
) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16817 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16818 PyObject
*resultobj
= 0;
16819 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16823 PyObject
*swig_obj
[1] ;
16825 if (!args
) SWIG_fail
;
16826 swig_obj
[0] = args
;
16827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16828 if (!SWIG_IsOK(res1
)) {
16829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16831 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
16835 wxPyEndAllowThreads(__tstate
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16838 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16845 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16846 PyObject
*resultobj
= 0;
16847 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16851 PyObject
*swig_obj
[1] ;
16853 if (!args
) SWIG_fail
;
16854 swig_obj
[0] = args
;
16855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16856 if (!SWIG_IsOK(res1
)) {
16857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16859 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16875 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16876 PyObject
*resultobj
= 0;
16877 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16881 PyObject
*swig_obj
[1] ;
16883 if (!args
) SWIG_fail
;
16884 swig_obj
[0] = args
;
16885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16886 if (!SWIG_IsOK(res1
)) {
16887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16889 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= SWIG_From_int(static_cast< int >(result
));
16903 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
= 0;
16905 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 char * kwnames
[] = {
16915 (char *) "self",(char *) "item", NULL
16918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16920 if (!SWIG_IsOK(res1
)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16923 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16924 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16925 if (!SWIG_IsOK(ecode2
)) {
16926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
16928 arg2
= static_cast< size_t >(val2
);
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16944 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
= 0;
16946 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 char * kwnames
[] = {
16956 (char *) "self",(char *) "item", NULL
16959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16961 if (!SWIG_IsOK(res1
)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16964 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16965 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16966 if (!SWIG_IsOK(ecode2
)) {
16967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
16969 arg2
= static_cast< size_t >(val2
);
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16985 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16986 PyObject
*resultobj
= 0;
16987 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16991 PyObject
*swig_obj
[1] ;
16993 if (!args
) SWIG_fail
;
16994 swig_obj
[0] = args
;
16995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16996 if (!SWIG_IsOK(res1
)) {
16997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16999 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
17013 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17014 PyObject
*resultobj
= 0;
17015 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17016 PyObject
*result
= 0 ;
17019 PyObject
*swig_obj
[1] ;
17021 if (!args
) SWIG_fail
;
17022 swig_obj
[0] = args
;
17023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17024 if (!SWIG_IsOK(res1
)) {
17025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17027 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= result
;
17041 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
= 0;
17043 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17044 unsigned long arg2
;
17045 PyObject
*result
= 0 ;
17048 unsigned long val2
;
17050 PyObject
* obj0
= 0 ;
17051 PyObject
* obj1
= 0 ;
17052 char * kwnames
[] = {
17053 (char *) "self",(char *) "cookie", NULL
17056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17058 if (!SWIG_IsOK(res1
)) {
17059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17061 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17062 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
17063 if (!SWIG_IsOK(ecode2
)) {
17064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
17066 arg2
= static_cast< unsigned long >(val2
);
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= result
;
17080 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17081 PyObject
*resultobj
= 0;
17082 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17086 PyObject
*swig_obj
[1] ;
17088 if (!args
) SWIG_fail
;
17089 swig_obj
[0] = args
;
17090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17091 if (!SWIG_IsOK(res1
)) {
17092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17094 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
17108 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17109 PyObject
*resultobj
= 0;
17110 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17111 wxColour
*result
= 0 ;
17114 PyObject
*swig_obj
[1] ;
17116 if (!args
) SWIG_fail
;
17117 swig_obj
[0] = args
;
17118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17119 if (!SWIG_IsOK(res1
)) {
17120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17122 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
17127 result
= (wxColour
*) &_result_ref
;
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
17139 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
= 0;
17141 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17147 PyObject
* obj0
= 0 ;
17148 PyObject
* obj1
= 0 ;
17149 char * kwnames
[] = {
17150 (char *) "self",(char *) "count", NULL
17153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17155 if (!SWIG_IsOK(res1
)) {
17156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17158 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17159 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17160 if (!SWIG_IsOK(ecode2
)) {
17161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17163 arg2
= static_cast< size_t >(val2
);
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 (arg1
)->SetItemCount(arg2
);
17167 wxPyEndAllowThreads(__tstate
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= SWIG_Py_Void();
17177 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17178 PyObject
*resultobj
= 0;
17179 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17182 PyObject
*swig_obj
[1] ;
17184 if (!args
) SWIG_fail
;
17185 swig_obj
[0] = args
;
17186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17187 if (!SWIG_IsOK(res1
)) {
17188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17190 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= SWIG_Py_Void();
17204 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
= 0;
17206 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17212 PyObject
* obj0
= 0 ;
17213 PyObject
* obj1
= 0 ;
17214 char * kwnames
[] = {
17215 (char *) "self",(char *) "selection", NULL
17218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17220 if (!SWIG_IsOK(res1
)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17223 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17225 if (!SWIG_IsOK(ecode2
)) {
17226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
17228 arg2
= static_cast< int >(val2
);
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 (arg1
)->SetSelection(arg2
);
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= SWIG_Py_Void();
17242 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
= 0;
17244 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17246 bool arg3
= (bool) true ;
17254 PyObject
* obj0
= 0 ;
17255 PyObject
* obj1
= 0 ;
17256 PyObject
* obj2
= 0 ;
17257 char * kwnames
[] = {
17258 (char *) "self",(char *) "item",(char *) "select", NULL
17261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17263 if (!SWIG_IsOK(res1
)) {
17264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17266 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17267 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17268 if (!SWIG_IsOK(ecode2
)) {
17269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
17271 arg2
= static_cast< size_t >(val2
);
17273 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17274 if (!SWIG_IsOK(ecode3
)) {
17275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
17277 arg3
= static_cast< bool >(val3
);
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (bool)(arg1
)->Select(arg2
,arg3
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17294 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
= 0;
17296 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17306 PyObject
* obj0
= 0 ;
17307 PyObject
* obj1
= 0 ;
17308 PyObject
* obj2
= 0 ;
17309 char * kwnames
[] = {
17310 (char *) "self",(char *) "from",(char *) "to", NULL
17313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17315 if (!SWIG_IsOK(res1
)) {
17316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17318 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17319 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17320 if (!SWIG_IsOK(ecode2
)) {
17321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
17323 arg2
= static_cast< size_t >(val2
);
17324 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
17325 if (!SWIG_IsOK(ecode3
)) {
17326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
17328 arg3
= static_cast< size_t >(val3
);
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17344 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
= 0;
17346 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char * kwnames
[] = {
17355 (char *) "self",(char *) "item", NULL
17358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17360 if (!SWIG_IsOK(res1
)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17363 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17364 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17365 if (!SWIG_IsOK(ecode2
)) {
17366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
17368 arg2
= static_cast< size_t >(val2
);
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 (arg1
)->Toggle(arg2
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_Py_Void();
17382 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17383 PyObject
*resultobj
= 0;
17384 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17388 PyObject
*swig_obj
[1] ;
17390 if (!args
) SWIG_fail
;
17391 swig_obj
[0] = args
;
17392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17393 if (!SWIG_IsOK(res1
)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17396 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= (bool)(arg1
)->SelectAll();
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17412 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17413 PyObject
*resultobj
= 0;
17414 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17418 PyObject
*swig_obj
[1] ;
17420 if (!args
) SWIG_fail
;
17421 swig_obj
[0] = args
;
17422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17423 if (!SWIG_IsOK(res1
)) {
17424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17426 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 result
= (bool)(arg1
)->DeselectAll();
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17442 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
= 0;
17444 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17445 wxPoint
*arg2
= 0 ;
17449 PyObject
* obj0
= 0 ;
17450 PyObject
* obj1
= 0 ;
17451 char * kwnames
[] = {
17452 (char *) "self",(char *) "pt", NULL
17455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17457 if (!SWIG_IsOK(res1
)) {
17458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17460 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17463 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= SWIG_Py_Void();
17478 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
= 0;
17480 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 PyObject
* obj2
= 0 ;
17492 char * kwnames
[] = {
17493 (char *) "self",(char *) "x",(char *) "y", NULL
17496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17498 if (!SWIG_IsOK(res1
)) {
17499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17501 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17503 if (!SWIG_IsOK(ecode2
)) {
17504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
17506 arg2
= static_cast< int >(val2
);
17507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17508 if (!SWIG_IsOK(ecode3
)) {
17509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
17511 arg3
= static_cast< int >(val3
);
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 (arg1
)->SetMargins(arg2
,arg3
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17518 resultobj
= SWIG_Py_Void();
17525 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17526 PyObject
*resultobj
= 0;
17527 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17528 wxColour
*arg2
= 0 ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 char * kwnames
[] = {
17535 (char *) "self",(char *) "col", NULL
17538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17540 if (!SWIG_IsOK(res1
)) {
17541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17543 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= SWIG_Py_Void();
17561 SWIGINTERN PyObject
*_wrap_VListBox_RefreshSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17562 PyObject
*resultobj
= 0;
17563 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17566 PyObject
*swig_obj
[1] ;
17568 if (!args
) SWIG_fail
;
17569 swig_obj
[0] = args
;
17570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17571 if (!SWIG_IsOK(res1
)) {
17572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17574 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 (arg1
)->RefreshSelected();
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= SWIG_Py_Void();
17588 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
= 0;
17590 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 PyObject
* obj1
= 0 ;
17603 PyObject
* obj2
= 0 ;
17604 PyObject
* obj3
= 0 ;
17605 char * kwnames
[] = {
17606 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17611 if (!SWIG_IsOK(res1
)) {
17612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17614 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
17616 if (!SWIG_IsOK(res2
)) {
17617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17622 arg2
= reinterpret_cast< wxDC
* >(argp2
);
17625 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17627 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17628 if (!SWIG_IsOK(ecode4
)) {
17629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
17631 arg4
= static_cast< size_t >(val4
);
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= SWIG_Py_Void();
17645 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
= 0;
17647 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17658 PyObject
* obj0
= 0 ;
17659 PyObject
* obj1
= 0 ;
17660 PyObject
* obj2
= 0 ;
17661 PyObject
* obj3
= 0 ;
17662 char * kwnames
[] = {
17663 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17668 if (!SWIG_IsOK(res1
)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17671 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17672 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
17673 if (!SWIG_IsOK(res2
)) {
17674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17679 arg2
= reinterpret_cast< wxDC
* >(argp2
);
17682 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17684 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17685 if (!SWIG_IsOK(ecode4
)) {
17686 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
17688 arg4
= static_cast< size_t >(val4
);
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= SWIG_Py_Void();
17702 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17705 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
17706 return SWIG_Py_Void();
17709 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17710 return SWIG_Python_InitShadowInstance(args
);
17713 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
= 0;
17715 wxWindow
*arg1
= (wxWindow
*) 0 ;
17716 int arg2
= (int) wxID_ANY
;
17717 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17718 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17719 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17720 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17721 long arg5
= (long) 0 ;
17722 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
17723 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17724 wxPyHtmlListBox
*result
= 0 ;
17733 bool temp6
= false ;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 PyObject
* obj2
= 0 ;
17737 PyObject
* obj3
= 0 ;
17738 PyObject
* obj4
= 0 ;
17739 PyObject
* obj5
= 0 ;
17740 char * kwnames
[] = {
17741 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17746 if (!SWIG_IsOK(res1
)) {
17747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17749 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17752 if (!SWIG_IsOK(ecode2
)) {
17753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
17755 arg2
= static_cast< int >(val2
);
17760 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17766 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17770 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17771 if (!SWIG_IsOK(ecode5
)) {
17772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
17774 arg5
= static_cast< long >(val5
);
17778 arg6
= wxString_in_helper(obj5
);
17779 if (arg6
== NULL
) SWIG_fail
;
17784 if (!wxPyCheckForApp()) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
17805 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17806 PyObject
*resultobj
= 0;
17807 wxPyHtmlListBox
*result
= 0 ;
17809 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
17811 if (!wxPyCheckForApp()) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
17824 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
= 0;
17826 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17827 PyObject
*arg2
= (PyObject
*) 0 ;
17828 PyObject
*arg3
= (PyObject
*) 0 ;
17831 PyObject
* obj0
= 0 ;
17832 PyObject
* obj1
= 0 ;
17833 PyObject
* obj2
= 0 ;
17834 char * kwnames
[] = {
17835 (char *) "self",(char *) "self",(char *) "_class", NULL
17838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17840 if (!SWIG_IsOK(res1
)) {
17841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17843 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17852 resultobj
= SWIG_Py_Void();
17859 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
= 0;
17861 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17862 wxWindow
*arg2
= (wxWindow
*) 0 ;
17863 int arg3
= (int) wxID_ANY
;
17864 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17865 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17866 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17867 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17868 long arg6
= (long) 0 ;
17869 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
17870 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17882 bool temp7
= false ;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 PyObject
* obj2
= 0 ;
17886 PyObject
* obj3
= 0 ;
17887 PyObject
* obj4
= 0 ;
17888 PyObject
* obj5
= 0 ;
17889 PyObject
* obj6
= 0 ;
17890 char * kwnames
[] = {
17891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17896 if (!SWIG_IsOK(res1
)) {
17897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17899 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17901 if (!SWIG_IsOK(res2
)) {
17902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17904 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17907 if (!SWIG_IsOK(ecode3
)) {
17908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
17910 arg3
= static_cast< int >(val3
);
17915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17925 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17926 if (!SWIG_IsOK(ecode6
)) {
17927 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
17929 arg6
= static_cast< long >(val6
);
17933 arg7
= wxString_in_helper(obj6
);
17934 if (arg7
== NULL
) SWIG_fail
;
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17961 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
= 0;
17963 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 PyObject
* obj1
= 0 ;
17971 char * kwnames
[] = {
17972 (char *) "self",(char *) "count", NULL
17975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17977 if (!SWIG_IsOK(res1
)) {
17978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17980 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17981 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17982 if (!SWIG_IsOK(ecode2
)) {
17983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17985 arg2
= static_cast< size_t >(val2
);
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 (arg1
)->SetItemCount(arg2
);
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= SWIG_Py_Void();
17999 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18000 PyObject
*resultobj
= 0;
18001 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
18002 wxFileSystem
*result
= 0 ;
18005 PyObject
*swig_obj
[1] ;
18007 if (!args
) SWIG_fail
;
18008 swig_obj
[0] = args
;
18009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
18010 if (!SWIG_IsOK(res1
)) {
18011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
18013 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
18018 result
= (wxFileSystem
*) &_result_ref
;
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
18030 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
= 0;
18032 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
18034 wxHtmlLinkInfo
*arg3
= 0 ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 PyObject
* obj2
= 0 ;
18044 char * kwnames
[] = {
18045 (char *) "self",(char *) "n",(char *) "link", NULL
18048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
18050 if (!SWIG_IsOK(res1
)) {
18051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
18053 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
18054 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18055 if (!SWIG_IsOK(ecode2
)) {
18056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
18058 arg2
= static_cast< size_t >(val2
);
18059 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
18060 if (!SWIG_IsOK(res3
)) {
18061 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
18064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
18066 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 resultobj
= SWIG_Py_Void();
18080 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18083 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
18084 return SWIG_Py_Void();
18087 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18088 return SWIG_Python_InitShadowInstance(args
);
18091 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
18092 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
18097 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
18098 PyObject
*pyobj
= 0;
18102 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
18104 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
18111 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
= 0;
18113 wxWindow
*arg1
= (wxWindow
*) 0 ;
18114 int arg2
= (int) -1 ;
18115 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18116 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18117 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18118 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18119 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
18120 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
18121 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
18122 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18123 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18124 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
18125 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18126 wxSimpleHtmlListBox
*result
= 0 ;
18133 bool temp5
= false ;
18138 bool temp8
= false ;
18139 PyObject
* obj0
= 0 ;
18140 PyObject
* obj1
= 0 ;
18141 PyObject
* obj2
= 0 ;
18142 PyObject
* obj3
= 0 ;
18143 PyObject
* obj4
= 0 ;
18144 PyObject
* obj5
= 0 ;
18145 PyObject
* obj6
= 0 ;
18146 PyObject
* obj7
= 0 ;
18147 char * kwnames
[] = {
18148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18153 if (!SWIG_IsOK(res1
)) {
18154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
18156 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18159 if (!SWIG_IsOK(ecode2
)) {
18160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
18162 arg2
= static_cast< int >(val2
);
18167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18173 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18178 if (! PySequence_Check(obj4
)) {
18179 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
18182 arg5
= new wxArrayString
;
18184 int i
, len
=PySequence_Length(obj4
);
18185 for (i
=0; i
<len
; i
++) {
18186 PyObject
* item
= PySequence_GetItem(obj4
, i
);
18187 wxString
* s
= wxString_in_helper(item
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18196 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18197 if (!SWIG_IsOK(ecode6
)) {
18198 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
18200 arg6
= static_cast< long >(val6
);
18203 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18204 if (!SWIG_IsOK(res7
)) {
18205 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18210 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18214 arg8
= wxString_in_helper(obj7
);
18215 if (arg8
== NULL
) SWIG_fail
;
18220 if (!wxPyCheckForApp()) SWIG_fail
;
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
18228 if (temp5
) delete arg5
;
18237 if (temp5
) delete arg5
;
18247 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18248 PyObject
*resultobj
= 0;
18249 wxSimpleHtmlListBox
*result
= 0 ;
18251 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
18253 if (!wxPyCheckForApp()) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
18266 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
= 0;
18268 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
18269 wxWindow
*arg2
= (wxWindow
*) 0 ;
18270 int arg3
= (int) -1 ;
18271 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18272 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18273 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18274 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18275 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
18276 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
18277 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
18278 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18279 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18280 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
18281 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18291 bool temp6
= false ;
18296 bool temp9
= false ;
18297 PyObject
* obj0
= 0 ;
18298 PyObject
* obj1
= 0 ;
18299 PyObject
* obj2
= 0 ;
18300 PyObject
* obj3
= 0 ;
18301 PyObject
* obj4
= 0 ;
18302 PyObject
* obj5
= 0 ;
18303 PyObject
* obj6
= 0 ;
18304 PyObject
* obj7
= 0 ;
18305 PyObject
* obj8
= 0 ;
18306 char * kwnames
[] = {
18307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
18312 if (!SWIG_IsOK(res1
)) {
18313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
18315 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
18316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18317 if (!SWIG_IsOK(res2
)) {
18318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18320 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18323 if (!SWIG_IsOK(ecode3
)) {
18324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
18326 arg3
= static_cast< int >(val3
);
18331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18342 if (! PySequence_Check(obj5
)) {
18343 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
18346 arg6
= new wxArrayString
;
18348 int i
, len
=PySequence_Length(obj5
);
18349 for (i
=0; i
<len
; i
++) {
18350 PyObject
* item
= PySequence_GetItem(obj5
, i
);
18351 wxString
* s
= wxString_in_helper(item
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18360 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18361 if (!SWIG_IsOK(ecode7
)) {
18362 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
18364 arg7
= static_cast< long >(val7
);
18367 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18368 if (!SWIG_IsOK(res8
)) {
18369 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18374 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18378 arg9
= wxString_in_helper(obj8
);
18379 if (arg9
== NULL
) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18393 if (temp6
) delete arg6
;
18402 if (temp6
) delete arg6
;
18412 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18415 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
18416 return SWIG_Py_Void();
18419 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18420 return SWIG_Python_InitShadowInstance(args
);
18423 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18424 PyObject
*resultobj
= 0;
18425 wxPyTaskBarIcon
*result
= 0 ;
18427 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
18429 if (!wxPyCheckForApp()) SWIG_fail
;
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
18442 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18443 PyObject
*resultobj
= 0;
18444 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18447 PyObject
*swig_obj
[1] ;
18449 if (!args
) SWIG_fail
;
18450 swig_obj
[0] = args
;
18451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
18452 if (!SWIG_IsOK(res1
)) {
18453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18455 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 resultobj
= SWIG_Py_Void();
18470 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
= 0;
18472 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18473 PyObject
*arg2
= (PyObject
*) 0 ;
18474 PyObject
*arg3
= (PyObject
*) 0 ;
18475 int arg4
= (int) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 PyObject
* obj1
= 0 ;
18482 PyObject
* obj2
= 0 ;
18483 PyObject
* obj3
= 0 ;
18484 char * kwnames
[] = {
18485 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
18488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18490 if (!SWIG_IsOK(res1
)) {
18491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18493 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18497 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18498 if (!SWIG_IsOK(ecode4
)) {
18499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
18501 arg4
= static_cast< int >(val4
);
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= SWIG_Py_Void();
18516 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18517 PyObject
*resultobj
= 0;
18518 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18521 PyObject
*swig_obj
[1] ;
18523 if (!args
) SWIG_fail
;
18524 swig_obj
[0] = args
;
18525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18526 if (!SWIG_IsOK(res1
)) {
18527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18529 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 wxPyTaskBarIcon_Destroy(arg1
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= SWIG_Py_Void();
18543 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18544 PyObject
*resultobj
= 0;
18545 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18549 PyObject
*swig_obj
[1] ;
18551 if (!args
) SWIG_fail
;
18552 swig_obj
[0] = args
;
18553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18554 if (!SWIG_IsOK(res1
)) {
18555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18557 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18573 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18574 PyObject
*resultobj
= 0;
18575 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18579 PyObject
*swig_obj
[1] ;
18581 if (!args
) SWIG_fail
;
18582 swig_obj
[0] = args
;
18583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18584 if (!SWIG_IsOK(res1
)) {
18585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18587 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18603 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
= 0;
18605 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18607 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18608 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18614 bool temp3
= false ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 PyObject
* obj2
= 0 ;
18618 char * kwnames
[] = {
18619 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
18622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18624 if (!SWIG_IsOK(res1
)) {
18625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18627 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18629 if (!SWIG_IsOK(res2
)) {
18630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18635 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18638 arg3
= wxString_in_helper(obj2
);
18639 if (arg3
== NULL
) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18666 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18667 PyObject
*resultobj
= 0;
18668 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18672 PyObject
*swig_obj
[1] ;
18674 if (!args
) SWIG_fail
;
18675 swig_obj
[0] = args
;
18676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18677 if (!SWIG_IsOK(res1
)) {
18678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18680 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= (bool)(arg1
)->RemoveIcon();
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18696 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
= 0;
18698 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18699 wxMenu
*arg2
= (wxMenu
*) 0 ;
18705 PyObject
* obj0
= 0 ;
18706 PyObject
* obj1
= 0 ;
18707 char * kwnames
[] = {
18708 (char *) "self",(char *) "menu", NULL
18711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18713 if (!SWIG_IsOK(res1
)) {
18714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18716 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
18718 if (!SWIG_IsOK(res2
)) {
18719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
18721 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 result
= (bool)(arg1
)->PopupMenu(arg2
);
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18737 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18740 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
18741 return SWIG_Py_Void();
18744 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18745 return SWIG_Python_InitShadowInstance(args
);
18748 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
= 0;
18751 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
18752 wxTaskBarIconEvent
*result
= 0 ;
18757 PyObject
* obj0
= 0 ;
18758 PyObject
* obj1
= 0 ;
18759 char * kwnames
[] = {
18760 (char *) "evtType",(char *) "tbIcon", NULL
18763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18764 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18765 if (!SWIG_IsOK(ecode1
)) {
18766 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18768 arg1
= static_cast< wxEventType
>(val1
);
18769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
18770 if (!SWIG_IsOK(res2
)) {
18771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
18773 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
18777 wxPyEndAllowThreads(__tstate
);
18778 if (PyErr_Occurred()) SWIG_fail
;
18780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
18787 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18790 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
18791 return SWIG_Py_Void();
18794 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18795 return SWIG_Python_InitShadowInstance(args
);
18798 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
18799 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
18804 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
18805 PyObject
*pyobj
= 0;
18809 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
18811 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
18818 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
18819 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
18824 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
18825 PyObject
*pyobj
= 0;
18829 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
18831 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
18838 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
18839 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
18844 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
18845 PyObject
*pyobj
= 0;
18849 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
18851 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
18858 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
18859 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
18864 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
18865 PyObject
*pyobj
= 0;
18869 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
18871 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
18878 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
18879 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
18884 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
18885 PyObject
*pyobj
= 0;
18889 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
18891 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
18898 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
18899 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
18904 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
18905 PyObject
*pyobj
= 0;
18909 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
18911 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
18918 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18919 PyObject
*resultobj
= 0;
18920 wxColourData
*result
= 0 ;
18922 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (wxColourData
*)new wxColourData();
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
18936 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18937 PyObject
*resultobj
= 0;
18938 wxColourData
*arg1
= (wxColourData
*) 0 ;
18941 PyObject
*swig_obj
[1] ;
18943 if (!args
) SWIG_fail
;
18944 swig_obj
[0] = args
;
18945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
18946 if (!SWIG_IsOK(res1
)) {
18947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
18949 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 resultobj
= SWIG_Py_Void();
18964 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18965 PyObject
*resultobj
= 0;
18966 wxColourData
*arg1
= (wxColourData
*) 0 ;
18970 PyObject
*swig_obj
[1] ;
18972 if (!args
) SWIG_fail
;
18973 swig_obj
[0] = args
;
18974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18975 if (!SWIG_IsOK(res1
)) {
18976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18978 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 result
= (bool)(arg1
)->GetChooseFull();
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18994 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18995 PyObject
*resultobj
= 0;
18996 wxColourData
*arg1
= (wxColourData
*) 0 ;
19000 PyObject
*swig_obj
[1] ;
19002 if (!args
) SWIG_fail
;
19003 swig_obj
[0] = args
;
19004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19005 if (!SWIG_IsOK(res1
)) {
19006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19008 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 result
= (arg1
)->GetColour();
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19022 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
= 0;
19024 wxColourData
*arg1
= (wxColourData
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 char * kwnames
[] = {
19034 (char *) "self",(char *) "i", NULL
19037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19039 if (!SWIG_IsOK(res1
)) {
19040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19042 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19044 if (!SWIG_IsOK(ecode2
)) {
19045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
19047 arg2
= static_cast< int >(val2
);
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 result
= (arg1
)->GetCustomColour(arg2
);
19051 wxPyEndAllowThreads(__tstate
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19054 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19061 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
= 0;
19063 wxColourData
*arg1
= (wxColourData
*) 0 ;
19069 PyObject
* obj0
= 0 ;
19070 PyObject
* obj1
= 0 ;
19071 char * kwnames
[] = {
19072 (char *) "self",(char *) "flag", NULL
19075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19077 if (!SWIG_IsOK(res1
)) {
19078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
19080 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19082 if (!SWIG_IsOK(ecode2
)) {
19083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
19085 arg2
= static_cast< int >(val2
);
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 (arg1
)->SetChooseFull(arg2
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= SWIG_Py_Void();
19099 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
= 0;
19101 wxColourData
*arg1
= (wxColourData
*) 0 ;
19102 wxColour
*arg2
= 0 ;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 char * kwnames
[] = {
19109 (char *) "self",(char *) "colour", NULL
19112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19114 if (!SWIG_IsOK(res1
)) {
19115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19117 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19120 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->SetColour((wxColour
const &)*arg2
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_Py_Void();
19135 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
= 0;
19137 wxColourData
*arg1
= (wxColourData
*) 0 ;
19139 wxColour
*arg3
= 0 ;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 PyObject
* obj2
= 0 ;
19148 char * kwnames
[] = {
19149 (char *) "self",(char *) "i",(char *) "colour", NULL
19152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19154 if (!SWIG_IsOK(res1
)) {
19155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19157 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19159 if (!SWIG_IsOK(ecode2
)) {
19160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
19162 arg2
= static_cast< int >(val2
);
19165 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 resultobj
= SWIG_Py_Void();
19180 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19183 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
19184 return SWIG_Py_Void();
19187 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19188 return SWIG_Python_InitShadowInstance(args
);
19191 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
= 0;
19193 wxWindow
*arg1
= (wxWindow
*) 0 ;
19194 wxColourData
*arg2
= (wxColourData
*) NULL
;
19195 wxColourDialog
*result
= 0 ;
19200 PyObject
* obj0
= 0 ;
19201 PyObject
* obj1
= 0 ;
19202 char * kwnames
[] = {
19203 (char *) "parent",(char *) "data", NULL
19206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19208 if (!SWIG_IsOK(res1
)) {
19209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19211 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19214 if (!SWIG_IsOK(res2
)) {
19215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
19217 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
19220 if (!wxPyCheckForApp()) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
19233 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19234 PyObject
*resultobj
= 0;
19235 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
19236 wxColourData
*result
= 0 ;
19239 PyObject
*swig_obj
[1] ;
19241 if (!args
) SWIG_fail
;
19242 swig_obj
[0] = args
;
19243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
19244 if (!SWIG_IsOK(res1
)) {
19245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
19247 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 wxColourData
&_result_ref
= (arg1
)->GetColourData();
19252 result
= (wxColourData
*) &_result_ref
;
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
19264 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19267 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
19268 return SWIG_Py_Void();
19271 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19272 return SWIG_Python_InitShadowInstance(args
);
19275 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
= 0;
19277 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
19278 wxColour
const &arg2_defvalue
= wxNullColour
;
19279 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19280 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19281 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19286 bool temp3
= false ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 PyObject
* obj2
= 0 ;
19290 char * kwnames
[] = {
19291 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
19294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19297 if (!SWIG_IsOK(res1
)) {
19298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19300 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19305 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19310 arg3
= wxString_in_helper(obj2
);
19311 if (arg3
== NULL
) SWIG_fail
;
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19336 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
= 0;
19338 wxWindow
*arg1
= (wxWindow
*) 0 ;
19339 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
19340 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19341 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19342 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19343 long arg4
= (long) wxDD_DEFAULT_STYLE
;
19344 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19345 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19346 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19347 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19348 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
19349 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19350 wxDirDialog
*result
= 0 ;
19353 bool temp2
= false ;
19354 bool temp3
= false ;
19359 bool temp7
= false ;
19360 PyObject
* obj0
= 0 ;
19361 PyObject
* obj1
= 0 ;
19362 PyObject
* obj2
= 0 ;
19363 PyObject
* obj3
= 0 ;
19364 PyObject
* obj4
= 0 ;
19365 PyObject
* obj5
= 0 ;
19366 PyObject
* obj6
= 0 ;
19367 char * kwnames
[] = {
19368 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
19371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19373 if (!SWIG_IsOK(res1
)) {
19374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19379 arg2
= wxString_in_helper(obj1
);
19380 if (arg2
== NULL
) SWIG_fail
;
19386 arg3
= wxString_in_helper(obj2
);
19387 if (arg3
== NULL
) SWIG_fail
;
19392 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19393 if (!SWIG_IsOK(ecode4
)) {
19394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
19396 arg4
= static_cast< long >(val4
);
19401 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19407 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19412 arg7
= wxString_in_helper(obj6
);
19413 if (arg7
== NULL
) SWIG_fail
;
19418 if (!wxPyCheckForApp()) SWIG_fail
;
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
19455 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19456 PyObject
*resultobj
= 0;
19457 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19461 PyObject
*swig_obj
[1] ;
19463 if (!args
) SWIG_fail
;
19464 swig_obj
[0] = args
;
19465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19466 if (!SWIG_IsOK(res1
)) {
19467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19469 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 result
= (arg1
)->GetPath();
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19489 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19490 PyObject
*resultobj
= 0;
19491 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19495 PyObject
*swig_obj
[1] ;
19497 if (!args
) SWIG_fail
;
19498 swig_obj
[0] = args
;
19499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19500 if (!SWIG_IsOK(res1
)) {
19501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19503 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= (arg1
)->GetMessage();
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19523 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
= 0;
19525 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19526 wxString
*arg2
= 0 ;
19529 bool temp2
= false ;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 char * kwnames
[] = {
19533 (char *) "self",(char *) "message", NULL
19536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19538 if (!SWIG_IsOK(res1
)) {
19539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19541 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19543 arg2
= wxString_in_helper(obj1
);
19544 if (arg2
== NULL
) SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 (arg1
)->SetMessage((wxString
const &)*arg2
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= SWIG_Py_Void();
19568 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
= 0;
19570 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19571 wxString
*arg2
= 0 ;
19574 bool temp2
= false ;
19575 PyObject
* obj0
= 0 ;
19576 PyObject
* obj1
= 0 ;
19577 char * kwnames
[] = {
19578 (char *) "self",(char *) "path", NULL
19581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19583 if (!SWIG_IsOK(res1
)) {
19584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19586 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19588 arg2
= wxString_in_helper(obj1
);
19589 if (arg2
== NULL
) SWIG_fail
;
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 (arg1
)->SetPath((wxString
const &)*arg2
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= SWIG_Py_Void();
19613 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19616 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
19617 return SWIG_Py_Void();
19620 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19621 return SWIG_Python_InitShadowInstance(args
);
19624 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
= 0;
19626 wxWindow
*arg1
= (wxWindow
*) 0 ;
19627 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
19628 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19629 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19630 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19631 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19632 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19633 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
19634 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
19635 long arg6
= (long) wxFD_DEFAULT_STYLE
;
19636 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
19637 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
19638 wxFileDialog
*result
= 0 ;
19641 bool temp2
= false ;
19642 bool temp3
= false ;
19643 bool temp4
= false ;
19644 bool temp5
= false ;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 PyObject
* obj2
= 0 ;
19651 PyObject
* obj3
= 0 ;
19652 PyObject
* obj4
= 0 ;
19653 PyObject
* obj5
= 0 ;
19654 PyObject
* obj6
= 0 ;
19655 char * kwnames
[] = {
19656 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
19659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19661 if (!SWIG_IsOK(res1
)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19664 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19667 arg2
= wxString_in_helper(obj1
);
19668 if (arg2
== NULL
) SWIG_fail
;
19674 arg3
= wxString_in_helper(obj2
);
19675 if (arg3
== NULL
) SWIG_fail
;
19681 arg4
= wxString_in_helper(obj3
);
19682 if (arg4
== NULL
) SWIG_fail
;
19688 arg5
= wxString_in_helper(obj4
);
19689 if (arg5
== NULL
) SWIG_fail
;
19694 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
19695 if (!SWIG_IsOK(ecode6
)) {
19696 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
19698 arg6
= static_cast< long >(val6
);
19703 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
19707 if (!wxPyCheckForApp()) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
19752 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
= 0;
19754 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19755 wxString
*arg2
= 0 ;
19758 bool temp2
= false ;
19759 PyObject
* obj0
= 0 ;
19760 PyObject
* obj1
= 0 ;
19761 char * kwnames
[] = {
19762 (char *) "self",(char *) "message", NULL
19765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19767 if (!SWIG_IsOK(res1
)) {
19768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19770 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19772 arg2
= wxString_in_helper(obj1
);
19773 if (arg2
== NULL
) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 (arg1
)->SetMessage((wxString
const &)*arg2
);
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= SWIG_Py_Void();
19797 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
= 0;
19799 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19800 wxString
*arg2
= 0 ;
19803 bool temp2
= false ;
19804 PyObject
* obj0
= 0 ;
19805 PyObject
* obj1
= 0 ;
19806 char * kwnames
[] = {
19807 (char *) "self",(char *) "path", NULL
19810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19812 if (!SWIG_IsOK(res1
)) {
19813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19815 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19817 arg2
= wxString_in_helper(obj1
);
19818 if (arg2
== NULL
) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 (arg1
)->SetPath((wxString
const &)*arg2
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= SWIG_Py_Void();
19842 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
= 0;
19844 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19845 wxString
*arg2
= 0 ;
19848 bool temp2
= false ;
19849 PyObject
* obj0
= 0 ;
19850 PyObject
* obj1
= 0 ;
19851 char * kwnames
[] = {
19852 (char *) "self",(char *) "dir", NULL
19855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19857 if (!SWIG_IsOK(res1
)) {
19858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19860 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19862 arg2
= wxString_in_helper(obj1
);
19863 if (arg2
== NULL
) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 (arg1
)->SetDirectory((wxString
const &)*arg2
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= SWIG_Py_Void();
19887 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
= 0;
19889 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19890 wxString
*arg2
= 0 ;
19893 bool temp2
= false ;
19894 PyObject
* obj0
= 0 ;
19895 PyObject
* obj1
= 0 ;
19896 char * kwnames
[] = {
19897 (char *) "self",(char *) "name", NULL
19900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19902 if (!SWIG_IsOK(res1
)) {
19903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19905 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19907 arg2
= wxString_in_helper(obj1
);
19908 if (arg2
== NULL
) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 (arg1
)->SetFilename((wxString
const &)*arg2
);
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= SWIG_Py_Void();
19932 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
= 0;
19934 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19935 wxString
*arg2
= 0 ;
19938 bool temp2
= false ;
19939 PyObject
* obj0
= 0 ;
19940 PyObject
* obj1
= 0 ;
19941 char * kwnames
[] = {
19942 (char *) "self",(char *) "wildCard", NULL
19945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19947 if (!SWIG_IsOK(res1
)) {
19948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19950 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19952 arg2
= wxString_in_helper(obj1
);
19953 if (arg2
== NULL
) SWIG_fail
;
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 (arg1
)->SetWildcard((wxString
const &)*arg2
);
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= SWIG_Py_Void();
19977 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19978 PyObject
*resultobj
= 0;
19979 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 char * kwnames
[] = {
19988 (char *) "self",(char *) "filterIndex", NULL
19991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19993 if (!SWIG_IsOK(res1
)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19996 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19998 if (!SWIG_IsOK(ecode2
)) {
19999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
20001 arg2
= static_cast< int >(val2
);
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 (arg1
)->SetFilterIndex(arg2
);
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= SWIG_Py_Void();
20015 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20016 PyObject
*resultobj
= 0;
20017 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20021 PyObject
*swig_obj
[1] ;
20023 if (!args
) SWIG_fail
;
20024 swig_obj
[0] = args
;
20025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20026 if (!SWIG_IsOK(res1
)) {
20027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20029 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20049 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20050 PyObject
*resultobj
= 0;
20051 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20055 PyObject
*swig_obj
[1] ;
20057 if (!args
) SWIG_fail
;
20058 swig_obj
[0] = args
;
20059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20060 if (!SWIG_IsOK(res1
)) {
20061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20063 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= ((wxFileDialog
const *)arg1
)->GetPath();
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20083 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20084 PyObject
*resultobj
= 0;
20085 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20089 PyObject
*swig_obj
[1] ;
20091 if (!args
) SWIG_fail
;
20092 swig_obj
[0] = args
;
20093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20094 if (!SWIG_IsOK(res1
)) {
20095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20097 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20117 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20118 PyObject
*resultobj
= 0;
20119 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20123 PyObject
*swig_obj
[1] ;
20125 if (!args
) SWIG_fail
;
20126 swig_obj
[0] = args
;
20127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20128 if (!SWIG_IsOK(res1
)) {
20129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20131 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20151 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20152 PyObject
*resultobj
= 0;
20153 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20157 PyObject
*swig_obj
[1] ;
20159 if (!args
) SWIG_fail
;
20160 swig_obj
[0] = args
;
20161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20162 if (!SWIG_IsOK(res1
)) {
20163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20165 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20185 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20186 PyObject
*resultobj
= 0;
20187 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20191 PyObject
*swig_obj
[1] ;
20193 if (!args
) SWIG_fail
;
20194 swig_obj
[0] = args
;
20195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20196 if (!SWIG_IsOK(res1
)) {
20197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20199 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20202 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20206 resultobj
= SWIG_From_int(static_cast< int >(result
));
20213 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20214 PyObject
*resultobj
= 0;
20215 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20216 PyObject
*result
= 0 ;
20219 PyObject
*swig_obj
[1] ;
20221 if (!args
) SWIG_fail
;
20222 swig_obj
[0] = args
;
20223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20224 if (!SWIG_IsOK(res1
)) {
20225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20227 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= result
;
20241 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20242 PyObject
*resultobj
= 0;
20243 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20244 PyObject
*result
= 0 ;
20247 PyObject
*swig_obj
[1] ;
20249 if (!args
) SWIG_fail
;
20250 swig_obj
[0] = args
;
20251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20252 if (!SWIG_IsOK(res1
)) {
20253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20255 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 resultobj
= result
;
20269 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20272 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
20273 return SWIG_Py_Void();
20276 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20277 return SWIG_Python_InitShadowInstance(args
);
20280 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
= 0;
20282 wxWindow
*arg1
= (wxWindow
*) 0 ;
20283 wxString
*arg2
= 0 ;
20284 wxString
*arg3
= 0 ;
20285 int arg4
= (int) 0 ;
20286 wxString
*arg5
= (wxString
*) NULL
;
20287 long arg6
= (long) wxCHOICEDLG_STYLE
;
20288 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
20289 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
20290 wxMultiChoiceDialog
*result
= 0 ;
20293 bool temp2
= false ;
20294 bool temp3
= false ;
20298 PyObject
* obj0
= 0 ;
20299 PyObject
* obj1
= 0 ;
20300 PyObject
* obj2
= 0 ;
20301 PyObject
* obj3
= 0 ;
20302 PyObject
* obj4
= 0 ;
20303 PyObject
* obj5
= 0 ;
20304 char * kwnames
[] = {
20305 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20310 if (!SWIG_IsOK(res1
)) {
20311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20313 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20315 arg2
= wxString_in_helper(obj1
);
20316 if (arg2
== NULL
) SWIG_fail
;
20320 arg3
= wxString_in_helper(obj2
);
20321 if (arg3
== NULL
) SWIG_fail
;
20326 arg4
= PyList_Size(obj3
);
20327 arg5
= wxString_LIST_helper(obj3
);
20328 if (arg5
== NULL
) SWIG_fail
;
20332 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
20333 if (!SWIG_IsOK(ecode6
)) {
20334 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20336 arg6
= static_cast< long >(val6
);
20341 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
20345 if (!wxPyCheckForApp()) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
20361 if (arg5
) delete [] arg5
;
20374 if (arg5
) delete [] arg5
;
20380 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
= 0;
20382 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
20383 wxArrayInt
*arg2
= 0 ;
20386 bool temp2
= false ;
20387 PyObject
* obj0
= 0 ;
20388 PyObject
* obj1
= 0 ;
20389 char * kwnames
[] = {
20390 (char *) "self",(char *) "selections", NULL
20393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
20395 if (!SWIG_IsOK(res1
)) {
20396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20398 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
20400 if (! PySequence_Check(obj1
)) {
20401 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
20404 arg2
= new wxArrayInt
;
20406 int i
, len
=PySequence_Length(obj1
);
20407 for (i
=0; i
<len
; i
++) {
20408 PyObject
* item
= PySequence_GetItem(obj1
, i
);
20409 PyObject
* number
= PyNumber_Int(item
);
20411 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
20414 arg2
->Add(PyInt_AS_LONG(number
));
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_Py_Void();
20427 if (temp2
) delete arg2
;
20432 if (temp2
) delete arg2
;
20438 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20439 PyObject
*resultobj
= 0;
20440 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
20441 PyObject
*result
= 0 ;
20444 PyObject
*swig_obj
[1] ;
20446 if (!args
) SWIG_fail
;
20447 swig_obj
[0] = args
;
20448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
20449 if (!SWIG_IsOK(res1
)) {
20450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20452 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= result
;
20466 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20469 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
20470 return SWIG_Py_Void();
20473 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20474 return SWIG_Python_InitShadowInstance(args
);
20477 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
= 0;
20479 wxWindow
*arg1
= (wxWindow
*) 0 ;
20480 wxString
*arg2
= 0 ;
20481 wxString
*arg3
= 0 ;
20483 wxString
*arg5
= (wxString
*) 0 ;
20484 long arg6
= (long) wxCHOICEDLG_STYLE
;
20485 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
20486 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
20487 wxSingleChoiceDialog
*result
= 0 ;
20490 bool temp2
= false ;
20491 bool temp3
= false ;
20495 PyObject
* obj0
= 0 ;
20496 PyObject
* obj1
= 0 ;
20497 PyObject
* obj2
= 0 ;
20498 PyObject
* obj3
= 0 ;
20499 PyObject
* obj4
= 0 ;
20500 PyObject
* obj5
= 0 ;
20501 char * kwnames
[] = {
20502 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20507 if (!SWIG_IsOK(res1
)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20510 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20512 arg2
= wxString_in_helper(obj1
);
20513 if (arg2
== NULL
) SWIG_fail
;
20517 arg3
= wxString_in_helper(obj2
);
20518 if (arg3
== NULL
) SWIG_fail
;
20522 arg4
= PyList_Size(obj3
);
20523 arg5
= wxString_LIST_helper(obj3
);
20524 if (arg5
== NULL
) SWIG_fail
;
20527 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
20528 if (!SWIG_IsOK(ecode6
)) {
20529 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20531 arg6
= static_cast< long >(val6
);
20536 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
20540 if (!wxPyCheckForApp()) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
20556 if (arg5
) delete [] arg5
;
20569 if (arg5
) delete [] arg5
;
20575 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20576 PyObject
*resultobj
= 0;
20577 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20581 PyObject
*swig_obj
[1] ;
20583 if (!args
) SWIG_fail
;
20584 swig_obj
[0] = args
;
20585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20586 if (!SWIG_IsOK(res1
)) {
20587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20589 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 result
= (int)(arg1
)->GetSelection();
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= SWIG_From_int(static_cast< int >(result
));
20603 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20604 PyObject
*resultobj
= 0;
20605 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20609 PyObject
*swig_obj
[1] ;
20611 if (!args
) SWIG_fail
;
20612 swig_obj
[0] = args
;
20613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20614 if (!SWIG_IsOK(res1
)) {
20615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20617 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 result
= (arg1
)->GetStringSelection();
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20637 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20638 PyObject
*resultobj
= 0;
20639 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 PyObject
* obj1
= 0 ;
20647 char * kwnames
[] = {
20648 (char *) "self",(char *) "sel", NULL
20651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20653 if (!SWIG_IsOK(res1
)) {
20654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20656 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20658 if (!SWIG_IsOK(ecode2
)) {
20659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
20661 arg2
= static_cast< int >(val2
);
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 (arg1
)->SetSelection(arg2
);
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= SWIG_Py_Void();
20675 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20678 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
20679 return SWIG_Py_Void();
20682 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20683 return SWIG_Python_InitShadowInstance(args
);
20686 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
= 0;
20688 wxWindow
*arg1
= (wxWindow
*) 0 ;
20689 wxString
*arg2
= 0 ;
20690 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
20691 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20692 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20693 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20694 long arg5
= (long) wxTextEntryDialogStyle
;
20695 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
20696 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
20697 wxTextEntryDialog
*result
= 0 ;
20700 bool temp2
= false ;
20701 bool temp3
= false ;
20702 bool temp4
= false ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 PyObject
* obj2
= 0 ;
20709 PyObject
* obj3
= 0 ;
20710 PyObject
* obj4
= 0 ;
20711 PyObject
* obj5
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20718 if (!SWIG_IsOK(res1
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20721 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20723 arg2
= wxString_in_helper(obj1
);
20724 if (arg2
== NULL
) SWIG_fail
;
20729 arg3
= wxString_in_helper(obj2
);
20730 if (arg3
== NULL
) SWIG_fail
;
20736 arg4
= wxString_in_helper(obj3
);
20737 if (arg4
== NULL
) SWIG_fail
;
20742 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20743 if (!SWIG_IsOK(ecode5
)) {
20744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
20746 arg5
= static_cast< long >(val5
);
20751 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
20755 if (!wxPyCheckForApp()) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
20792 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20793 PyObject
*resultobj
= 0;
20794 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
20798 PyObject
*swig_obj
[1] ;
20800 if (!args
) SWIG_fail
;
20801 swig_obj
[0] = args
;
20802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
20803 if (!SWIG_IsOK(res1
)) {
20804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20806 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 result
= (arg1
)->GetValue();
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20826 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
= 0;
20828 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
20829 wxString
*arg2
= 0 ;
20832 bool temp2
= false ;
20833 PyObject
* obj0
= 0 ;
20834 PyObject
* obj1
= 0 ;
20835 char * kwnames
[] = {
20836 (char *) "self",(char *) "value", NULL
20839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
20841 if (!SWIG_IsOK(res1
)) {
20842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20844 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
20846 arg2
= wxString_in_helper(obj1
);
20847 if (arg2
== NULL
) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 (arg1
)->SetValue((wxString
const &)*arg2
);
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= SWIG_Py_Void();
20871 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20873 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20874 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
20875 return SWIG_Py_Void();
20878 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20879 return SWIG_Python_InitShadowInstance(args
);
20882 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
20883 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
20888 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
20889 PyObject
*pyobj
= 0;
20893 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
20895 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
20902 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
= 0;
20904 wxWindow
*arg1
= (wxWindow
*) 0 ;
20905 wxString
*arg2
= 0 ;
20906 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
20907 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20908 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20909 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20910 long arg5
= (long) wxTextEntryDialogStyle
;
20911 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
20912 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
20913 wxPasswordEntryDialog
*result
= 0 ;
20916 bool temp2
= false ;
20917 bool temp3
= false ;
20918 bool temp4
= false ;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20924 PyObject
* obj2
= 0 ;
20925 PyObject
* obj3
= 0 ;
20926 PyObject
* obj4
= 0 ;
20927 PyObject
* obj5
= 0 ;
20928 char * kwnames
[] = {
20929 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
20932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20934 if (!SWIG_IsOK(res1
)) {
20935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20937 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20939 arg2
= wxString_in_helper(obj1
);
20940 if (arg2
== NULL
) SWIG_fail
;
20945 arg3
= wxString_in_helper(obj2
);
20946 if (arg3
== NULL
) SWIG_fail
;
20952 arg4
= wxString_in_helper(obj3
);
20953 if (arg4
== NULL
) SWIG_fail
;
20958 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20959 if (!SWIG_IsOK(ecode5
)) {
20960 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
20962 arg5
= static_cast< long >(val5
);
20967 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
21007 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21009 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21010 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
21011 return SWIG_Py_Void();
21014 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21015 return SWIG_Python_InitShadowInstance(args
);
21018 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
= 0;
21020 wxWindow
*arg1
= (wxWindow
*) 0 ;
21021 wxString
*arg2
= 0 ;
21022 wxString
*arg3
= 0 ;
21023 wxString
*arg4
= 0 ;
21027 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
21028 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
21029 wxNumberEntryDialog
*result
= 0 ;
21032 bool temp2
= false ;
21033 bool temp3
= false ;
21034 bool temp4
= false ;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 PyObject
* obj2
= 0 ;
21045 PyObject
* obj3
= 0 ;
21046 PyObject
* obj4
= 0 ;
21047 PyObject
* obj5
= 0 ;
21048 PyObject
* obj6
= 0 ;
21049 PyObject
* obj7
= 0 ;
21050 char * kwnames
[] = {
21051 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
21054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21056 if (!SWIG_IsOK(res1
)) {
21057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21059 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21061 arg2
= wxString_in_helper(obj1
);
21062 if (arg2
== NULL
) SWIG_fail
;
21066 arg3
= wxString_in_helper(obj2
);
21067 if (arg3
== NULL
) SWIG_fail
;
21071 arg4
= wxString_in_helper(obj3
);
21072 if (arg4
== NULL
) SWIG_fail
;
21075 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21076 if (!SWIG_IsOK(ecode5
)) {
21077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
21079 arg5
= static_cast< long >(val5
);
21080 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21081 if (!SWIG_IsOK(ecode6
)) {
21082 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
21084 arg6
= static_cast< long >(val6
);
21085 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21086 if (!SWIG_IsOK(ecode7
)) {
21087 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
21089 arg7
= static_cast< long >(val7
);
21093 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
21097 if (!wxPyCheckForApp()) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
21134 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21135 PyObject
*resultobj
= 0;
21136 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
21140 PyObject
*swig_obj
[1] ;
21142 if (!args
) SWIG_fail
;
21143 swig_obj
[0] = args
;
21144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
21145 if (!SWIG_IsOK(res1
)) {
21146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
21148 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (long)(arg1
)->GetValue();
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 resultobj
= SWIG_From_long(static_cast< long >(result
));
21162 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21165 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
21166 return SWIG_Py_Void();
21169 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21170 return SWIG_Python_InitShadowInstance(args
);
21173 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21174 PyObject
*resultobj
= 0;
21175 wxFontData
*result
= 0 ;
21177 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 result
= (wxFontData
*)new wxFontData();
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
21191 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21192 PyObject
*resultobj
= 0;
21193 wxFontData
*arg1
= (wxFontData
*) 0 ;
21196 PyObject
*swig_obj
[1] ;
21198 if (!args
) SWIG_fail
;
21199 swig_obj
[0] = args
;
21200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
21201 if (!SWIG_IsOK(res1
)) {
21202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
21204 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= SWIG_Py_Void();
21219 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21220 PyObject
*resultobj
= 0;
21221 wxFontData
*arg1
= (wxFontData
*) 0 ;
21227 PyObject
* obj0
= 0 ;
21228 PyObject
* obj1
= 0 ;
21229 char * kwnames
[] = {
21230 (char *) "self",(char *) "enable", NULL
21233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21235 if (!SWIG_IsOK(res1
)) {
21236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21238 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21239 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21240 if (!SWIG_IsOK(ecode2
)) {
21241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
21243 arg2
= static_cast< bool >(val2
);
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 (arg1
)->EnableEffects(arg2
);
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= SWIG_Py_Void();
21257 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21258 PyObject
*resultobj
= 0;
21259 wxFontData
*arg1
= (wxFontData
*) 0 ;
21263 PyObject
*swig_obj
[1] ;
21265 if (!args
) SWIG_fail
;
21266 swig_obj
[0] = args
;
21267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21268 if (!SWIG_IsOK(res1
)) {
21269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21271 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 result
= (bool)(arg1
)->GetAllowSymbols();
21275 wxPyEndAllowThreads(__tstate
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21287 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21288 PyObject
*resultobj
= 0;
21289 wxFontData
*arg1
= (wxFontData
*) 0 ;
21293 PyObject
*swig_obj
[1] ;
21295 if (!args
) SWIG_fail
;
21296 swig_obj
[0] = args
;
21297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21298 if (!SWIG_IsOK(res1
)) {
21299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21301 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (arg1
)->GetColour();
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21315 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21316 PyObject
*resultobj
= 0;
21317 wxFontData
*arg1
= (wxFontData
*) 0 ;
21321 PyObject
*swig_obj
[1] ;
21323 if (!args
) SWIG_fail
;
21324 swig_obj
[0] = args
;
21325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21326 if (!SWIG_IsOK(res1
)) {
21327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21329 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= (arg1
)->GetChosenFont();
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21336 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21343 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21344 PyObject
*resultobj
= 0;
21345 wxFontData
*arg1
= (wxFontData
*) 0 ;
21349 PyObject
*swig_obj
[1] ;
21351 if (!args
) SWIG_fail
;
21352 swig_obj
[0] = args
;
21353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21354 if (!SWIG_IsOK(res1
)) {
21355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21357 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= (bool)(arg1
)->GetEnableEffects();
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21373 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21374 PyObject
*resultobj
= 0;
21375 wxFontData
*arg1
= (wxFontData
*) 0 ;
21379 PyObject
*swig_obj
[1] ;
21381 if (!args
) SWIG_fail
;
21382 swig_obj
[0] = args
;
21383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21384 if (!SWIG_IsOK(res1
)) {
21385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21387 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (arg1
)->GetInitialFont();
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21401 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21402 PyObject
*resultobj
= 0;
21403 wxFontData
*arg1
= (wxFontData
*) 0 ;
21407 PyObject
*swig_obj
[1] ;
21409 if (!args
) SWIG_fail
;
21410 swig_obj
[0] = args
;
21411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21412 if (!SWIG_IsOK(res1
)) {
21413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21415 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 result
= (bool)(arg1
)->GetShowHelp();
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21431 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
= 0;
21433 wxFontData
*arg1
= (wxFontData
*) 0 ;
21439 PyObject
* obj0
= 0 ;
21440 PyObject
* obj1
= 0 ;
21441 char * kwnames
[] = {
21442 (char *) "self",(char *) "allowSymbols", NULL
21445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21447 if (!SWIG_IsOK(res1
)) {
21448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21450 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21451 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21452 if (!SWIG_IsOK(ecode2
)) {
21453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
21455 arg2
= static_cast< bool >(val2
);
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 (arg1
)->SetAllowSymbols(arg2
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= SWIG_Py_Void();
21469 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
= 0;
21471 wxFontData
*arg1
= (wxFontData
*) 0 ;
21477 PyObject
* obj0
= 0 ;
21478 PyObject
* obj1
= 0 ;
21479 char * kwnames
[] = {
21480 (char *) "self",(char *) "font", NULL
21483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21485 if (!SWIG_IsOK(res1
)) {
21486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21488 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21490 if (!SWIG_IsOK(res2
)) {
21491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21496 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_Py_Void();
21510 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
= 0;
21512 wxFontData
*arg1
= (wxFontData
*) 0 ;
21513 wxColour
*arg2
= 0 ;
21517 PyObject
* obj0
= 0 ;
21518 PyObject
* obj1
= 0 ;
21519 char * kwnames
[] = {
21520 (char *) "self",(char *) "colour", NULL
21523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21525 if (!SWIG_IsOK(res1
)) {
21526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21528 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21531 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 (arg1
)->SetColour((wxColour
const &)*arg2
);
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21539 resultobj
= SWIG_Py_Void();
21546 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
= 0;
21548 wxFontData
*arg1
= (wxFontData
*) 0 ;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 char * kwnames
[] = {
21557 (char *) "self",(char *) "font", NULL
21560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21562 if (!SWIG_IsOK(res1
)) {
21563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21565 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21566 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21567 if (!SWIG_IsOK(res2
)) {
21568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21573 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_Py_Void();
21587 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
= 0;
21589 wxFontData
*arg1
= (wxFontData
*) 0 ;
21598 PyObject
* obj0
= 0 ;
21599 PyObject
* obj1
= 0 ;
21600 PyObject
* obj2
= 0 ;
21601 char * kwnames
[] = {
21602 (char *) "self",(char *) "min",(char *) "max", NULL
21605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21607 if (!SWIG_IsOK(res1
)) {
21608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
21610 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21612 if (!SWIG_IsOK(ecode2
)) {
21613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
21615 arg2
= static_cast< int >(val2
);
21616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21617 if (!SWIG_IsOK(ecode3
)) {
21618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
21620 arg3
= static_cast< int >(val3
);
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 (arg1
)->SetRange(arg2
,arg3
);
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= SWIG_Py_Void();
21634 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
= 0;
21636 wxFontData
*arg1
= (wxFontData
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 PyObject
* obj1
= 0 ;
21644 char * kwnames
[] = {
21645 (char *) "self",(char *) "showHelp", NULL
21648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21650 if (!SWIG_IsOK(res1
)) {
21651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21653 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21654 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21655 if (!SWIG_IsOK(ecode2
)) {
21656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
21658 arg2
= static_cast< bool >(val2
);
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 (arg1
)->SetShowHelp(arg2
);
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= SWIG_Py_Void();
21672 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21675 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
21676 return SWIG_Py_Void();
21679 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21680 return SWIG_Python_InitShadowInstance(args
);
21683 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
= 0;
21685 wxWindow
*arg1
= (wxWindow
*) 0 ;
21686 wxFontData
*arg2
= 0 ;
21687 wxFontDialog
*result
= 0 ;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 char * kwnames
[] = {
21695 (char *) "parent",(char *) "data", NULL
21698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21700 if (!SWIG_IsOK(res1
)) {
21701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21703 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
21705 if (!SWIG_IsOK(res2
)) {
21706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21711 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
21713 if (!wxPyCheckForApp()) SWIG_fail
;
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
21726 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21727 PyObject
*resultobj
= 0;
21728 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
21729 wxFontData
*result
= 0 ;
21732 PyObject
*swig_obj
[1] ;
21734 if (!args
) SWIG_fail
;
21735 swig_obj
[0] = args
;
21736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
21737 if (!SWIG_IsOK(res1
)) {
21738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
21740 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 wxFontData
&_result_ref
= (arg1
)->GetFontData();
21745 result
= (wxFontData
*) &_result_ref
;
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
21757 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21760 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
21761 return SWIG_Py_Void();
21764 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21765 return SWIG_Python_InitShadowInstance(args
);
21768 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21769 PyObject
*resultobj
= 0;
21770 wxWindow
*arg1
= (wxWindow
*) NULL
;
21771 wxFont
const &arg2_defvalue
= wxNullFont
;
21772 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
21773 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21774 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21780 bool temp3
= false ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 PyObject
* obj2
= 0 ;
21784 char * kwnames
[] = {
21785 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
21788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21791 if (!SWIG_IsOK(res1
)) {
21792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
21794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21797 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21798 if (!SWIG_IsOK(res2
)) {
21799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21804 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21808 arg3
= wxString_in_helper(obj2
);
21809 if (arg3
== NULL
) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21834 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
= 0;
21836 wxWindow
*arg1
= (wxWindow
*) 0 ;
21837 wxString
*arg2
= 0 ;
21838 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
21839 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21840 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
21841 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21842 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21843 wxMessageDialog
*result
= 0 ;
21846 bool temp2
= false ;
21847 bool temp3
= false ;
21851 PyObject
* obj0
= 0 ;
21852 PyObject
* obj1
= 0 ;
21853 PyObject
* obj2
= 0 ;
21854 PyObject
* obj3
= 0 ;
21855 PyObject
* obj4
= 0 ;
21856 char * kwnames
[] = {
21857 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
21860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21862 if (!SWIG_IsOK(res1
)) {
21863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21865 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21867 arg2
= wxString_in_helper(obj1
);
21868 if (arg2
== NULL
) SWIG_fail
;
21873 arg3
= wxString_in_helper(obj2
);
21874 if (arg3
== NULL
) SWIG_fail
;
21879 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
21880 if (!SWIG_IsOK(ecode4
)) {
21881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
21883 arg4
= static_cast< long >(val4
);
21888 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21892 if (!wxPyCheckForApp()) SWIG_fail
;
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
21921 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21924 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
21925 return SWIG_Py_Void();
21928 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21929 return SWIG_Python_InitShadowInstance(args
);
21932 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
= 0;
21934 wxString
*arg1
= 0 ;
21935 wxString
*arg2
= 0 ;
21936 int arg3
= (int) 100 ;
21937 wxWindow
*arg4
= (wxWindow
*) NULL
;
21938 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
21939 wxProgressDialog
*result
= 0 ;
21940 bool temp1
= false ;
21941 bool temp2
= false ;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 PyObject
* obj2
= 0 ;
21951 PyObject
* obj3
= 0 ;
21952 PyObject
* obj4
= 0 ;
21953 char * kwnames
[] = {
21954 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
21957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21959 arg1
= wxString_in_helper(obj0
);
21960 if (arg1
== NULL
) SWIG_fail
;
21964 arg2
= wxString_in_helper(obj1
);
21965 if (arg2
== NULL
) SWIG_fail
;
21969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21970 if (!SWIG_IsOK(ecode3
)) {
21971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
21973 arg3
= static_cast< int >(val3
);
21976 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21977 if (!SWIG_IsOK(res4
)) {
21978 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
21980 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
21983 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21984 if (!SWIG_IsOK(ecode5
)) {
21985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
21987 arg5
= static_cast< int >(val5
);
21990 if (!wxPyCheckForApp()) SWIG_fail
;
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21992 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
22019 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
= 0;
22021 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
22023 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22024 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22025 bool *arg4
= (bool *) 0 ;
22031 bool temp3
= false ;
22033 int res4
= SWIG_TMPOBJ
;
22034 PyObject
* obj0
= 0 ;
22035 PyObject
* obj1
= 0 ;
22036 PyObject
* obj2
= 0 ;
22037 char * kwnames
[] = {
22038 (char *) "self",(char *) "value",(char *) "newmsg", NULL
22042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
22044 if (!SWIG_IsOK(res1
)) {
22045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22047 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
22048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22049 if (!SWIG_IsOK(ecode2
)) {
22050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
22052 arg2
= static_cast< int >(val2
);
22055 arg3
= wxString_in_helper(obj2
);
22056 if (arg3
== NULL
) SWIG_fail
;
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22069 if (SWIG_IsTmpObj(res4
)) {
22070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
22072 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
22089 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22090 PyObject
*resultobj
= 0;
22091 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
22092 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22093 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22094 bool *arg3
= (bool *) 0 ;
22098 bool temp2
= false ;
22100 int res3
= SWIG_TMPOBJ
;
22101 PyObject
* obj0
= 0 ;
22102 PyObject
* obj1
= 0 ;
22103 char * kwnames
[] = {
22104 (char *) "self",(char *) "newmsg", NULL
22108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
22110 if (!SWIG_IsOK(res1
)) {
22111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22113 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
22116 arg2
= wxString_in_helper(obj1
);
22117 if (arg2
== NULL
) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22130 if (SWIG_IsTmpObj(res3
)) {
22131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
22133 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
22150 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22151 PyObject
*resultobj
= 0;
22152 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
22155 PyObject
*swig_obj
[1] ;
22157 if (!args
) SWIG_fail
;
22158 swig_obj
[0] = args
;
22159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
22160 if (!SWIG_IsOK(res1
)) {
22161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22163 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= SWIG_Py_Void();
22177 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22180 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
22181 return SWIG_Py_Void();
22184 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22185 return SWIG_Python_InitShadowInstance(args
);
22188 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
= 0;
22190 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22191 int arg2
= (int) 0 ;
22192 wxFindDialogEvent
*result
= 0 ;
22197 PyObject
* obj0
= 0 ;
22198 PyObject
* obj1
= 0 ;
22199 char * kwnames
[] = {
22200 (char *) "commandType",(char *) "id", NULL
22203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22205 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22206 if (!SWIG_IsOK(ecode1
)) {
22207 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22209 arg1
= static_cast< wxEventType
>(val1
);
22212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22213 if (!SWIG_IsOK(ecode2
)) {
22214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
22216 arg2
= static_cast< int >(val2
);
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
22231 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22232 PyObject
*resultobj
= 0;
22233 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22237 PyObject
*swig_obj
[1] ;
22239 if (!args
) SWIG_fail
;
22240 swig_obj
[0] = args
;
22241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22245 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (int)(arg1
)->GetFlags();
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= SWIG_From_int(static_cast< int >(result
));
22259 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22260 PyObject
*resultobj
= 0;
22261 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22262 wxString
*result
= 0 ;
22265 PyObject
*swig_obj
[1] ;
22267 if (!args
) SWIG_fail
;
22268 swig_obj
[0] = args
;
22269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22270 if (!SWIG_IsOK(res1
)) {
22271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22273 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 wxString
const &_result_ref
= (arg1
)->GetFindString();
22278 result
= (wxString
*) &_result_ref
;
22280 wxPyEndAllowThreads(__tstate
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22287 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22296 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22297 PyObject
*resultobj
= 0;
22298 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22299 wxString
*result
= 0 ;
22302 PyObject
*swig_obj
[1] ;
22304 if (!args
) SWIG_fail
;
22305 swig_obj
[0] = args
;
22306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22307 if (!SWIG_IsOK(res1
)) {
22308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22310 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
22315 result
= (wxString
*) &_result_ref
;
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22324 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22333 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22334 PyObject
*resultobj
= 0;
22335 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22336 wxFindReplaceDialog
*result
= 0 ;
22339 PyObject
*swig_obj
[1] ;
22341 if (!args
) SWIG_fail
;
22342 swig_obj
[0] = args
;
22343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22344 if (!SWIG_IsOK(res1
)) {
22345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22347 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22361 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
= 0;
22363 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22369 PyObject
* obj0
= 0 ;
22370 PyObject
* obj1
= 0 ;
22371 char * kwnames
[] = {
22372 (char *) "self",(char *) "flags", NULL
22375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22377 if (!SWIG_IsOK(res1
)) {
22378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22380 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22382 if (!SWIG_IsOK(ecode2
)) {
22383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
22385 arg2
= static_cast< int >(val2
);
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 (arg1
)->SetFlags(arg2
);
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22392 resultobj
= SWIG_Py_Void();
22399 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22400 PyObject
*resultobj
= 0;
22401 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22402 wxString
*arg2
= 0 ;
22405 bool temp2
= false ;
22406 PyObject
* obj0
= 0 ;
22407 PyObject
* obj1
= 0 ;
22408 char * kwnames
[] = {
22409 (char *) "self",(char *) "str", NULL
22412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22414 if (!SWIG_IsOK(res1
)) {
22415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22417 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22419 arg2
= wxString_in_helper(obj1
);
22420 if (arg2
== NULL
) SWIG_fail
;
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 (arg1
)->SetFindString((wxString
const &)*arg2
);
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= SWIG_Py_Void();
22444 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22445 PyObject
*resultobj
= 0;
22446 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22447 wxString
*arg2
= 0 ;
22450 bool temp2
= false ;
22451 PyObject
* obj0
= 0 ;
22452 PyObject
* obj1
= 0 ;
22453 char * kwnames
[] = {
22454 (char *) "self",(char *) "str", NULL
22457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22459 if (!SWIG_IsOK(res1
)) {
22460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22462 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22464 arg2
= wxString_in_helper(obj1
);
22465 if (arg2
== NULL
) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= SWIG_Py_Void();
22489 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22492 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
22493 return SWIG_Py_Void();
22496 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22497 return SWIG_Python_InitShadowInstance(args
);
22500 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22501 PyObject
*resultobj
= 0;
22502 int arg1
= (int) 0 ;
22503 wxFindReplaceData
*result
= 0 ;
22506 PyObject
* obj0
= 0 ;
22507 char * kwnames
[] = {
22508 (char *) "flags", NULL
22511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
22513 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22514 if (!SWIG_IsOK(ecode1
)) {
22515 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
22517 arg1
= static_cast< int >(val1
);
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
22532 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22533 PyObject
*resultobj
= 0;
22534 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22537 PyObject
*swig_obj
[1] ;
22539 if (!args
) SWIG_fail
;
22540 swig_obj
[0] = args
;
22541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
22542 if (!SWIG_IsOK(res1
)) {
22543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22545 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= SWIG_Py_Void();
22560 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22561 PyObject
*resultobj
= 0;
22562 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22563 wxString
*result
= 0 ;
22566 PyObject
*swig_obj
[1] ;
22568 if (!args
) SWIG_fail
;
22569 swig_obj
[0] = args
;
22570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22571 if (!SWIG_IsOK(res1
)) {
22572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22574 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 wxString
const &_result_ref
= (arg1
)->GetFindString();
22579 result
= (wxString
*) &_result_ref
;
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22588 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22597 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22598 PyObject
*resultobj
= 0;
22599 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22600 wxString
*result
= 0 ;
22603 PyObject
*swig_obj
[1] ;
22605 if (!args
) SWIG_fail
;
22606 swig_obj
[0] = args
;
22607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22608 if (!SWIG_IsOK(res1
)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22611 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
22616 result
= (wxString
*) &_result_ref
;
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22625 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22634 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22635 PyObject
*resultobj
= 0;
22636 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22640 PyObject
*swig_obj
[1] ;
22642 if (!args
) SWIG_fail
;
22643 swig_obj
[0] = args
;
22644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22645 if (!SWIG_IsOK(res1
)) {
22646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22648 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (int)(arg1
)->GetFlags();
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_From_int(static_cast< int >(result
));
22662 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
= 0;
22664 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22670 PyObject
* obj0
= 0 ;
22671 PyObject
* obj1
= 0 ;
22672 char * kwnames
[] = {
22673 (char *) "self",(char *) "flags", NULL
22676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22678 if (!SWIG_IsOK(res1
)) {
22679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22681 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22683 if (!SWIG_IsOK(ecode2
)) {
22684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
22686 arg2
= static_cast< int >(val2
);
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 (arg1
)->SetFlags(arg2
);
22690 wxPyEndAllowThreads(__tstate
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22693 resultobj
= SWIG_Py_Void();
22700 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
= 0;
22702 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22703 wxString
*arg2
= 0 ;
22706 bool temp2
= false ;
22707 PyObject
* obj0
= 0 ;
22708 PyObject
* obj1
= 0 ;
22709 char * kwnames
[] = {
22710 (char *) "self",(char *) "str", NULL
22713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22715 if (!SWIG_IsOK(res1
)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22718 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22720 arg2
= wxString_in_helper(obj1
);
22721 if (arg2
== NULL
) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 (arg1
)->SetFindString((wxString
const &)*arg2
);
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 resultobj
= SWIG_Py_Void();
22745 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
= 0;
22747 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22748 wxString
*arg2
= 0 ;
22751 bool temp2
= false ;
22752 PyObject
* obj0
= 0 ;
22753 PyObject
* obj1
= 0 ;
22754 char * kwnames
[] = {
22755 (char *) "self",(char *) "str", NULL
22758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22760 if (!SWIG_IsOK(res1
)) {
22761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22763 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22765 arg2
= wxString_in_helper(obj1
);
22766 if (arg2
== NULL
) SWIG_fail
;
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= SWIG_Py_Void();
22790 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22793 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
22794 return SWIG_Py_Void();
22797 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22798 return SWIG_Python_InitShadowInstance(args
);
22801 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22802 PyObject
*resultobj
= 0;
22803 wxWindow
*arg1
= (wxWindow
*) 0 ;
22804 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
22805 wxString
*arg3
= 0 ;
22806 int arg4
= (int) 0 ;
22807 wxFindReplaceDialog
*result
= 0 ;
22812 bool temp3
= false ;
22815 PyObject
* obj0
= 0 ;
22816 PyObject
* obj1
= 0 ;
22817 PyObject
* obj2
= 0 ;
22818 PyObject
* obj3
= 0 ;
22819 char * kwnames
[] = {
22820 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22825 if (!SWIG_IsOK(res1
)) {
22826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
22828 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22830 if (!SWIG_IsOK(res2
)) {
22831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22833 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
22835 arg3
= wxString_in_helper(obj2
);
22836 if (arg3
== NULL
) SWIG_fail
;
22840 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22841 if (!SWIG_IsOK(ecode4
)) {
22842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
22844 arg4
= static_cast< int >(val4
);
22847 if (!wxPyCheckForApp()) SWIG_fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
22868 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22869 PyObject
*resultobj
= 0;
22870 wxFindReplaceDialog
*result
= 0 ;
22872 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
22874 if (!wxPyCheckForApp()) SWIG_fail
;
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
22887 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
= 0;
22889 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22890 wxWindow
*arg2
= (wxWindow
*) 0 ;
22891 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
22892 wxString
*arg4
= 0 ;
22893 int arg5
= (int) 0 ;
22901 bool temp4
= false ;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22906 PyObject
* obj2
= 0 ;
22907 PyObject
* obj3
= 0 ;
22908 PyObject
* obj4
= 0 ;
22909 char * kwnames
[] = {
22910 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22915 if (!SWIG_IsOK(res1
)) {
22916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22918 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22920 if (!SWIG_IsOK(res2
)) {
22921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22923 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22924 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22925 if (!SWIG_IsOK(res3
)) {
22926 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
22928 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
22930 arg4
= wxString_in_helper(obj3
);
22931 if (arg4
== NULL
) SWIG_fail
;
22935 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22936 if (!SWIG_IsOK(ecode5
)) {
22937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
22939 arg5
= static_cast< int >(val5
);
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22964 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22965 PyObject
*resultobj
= 0;
22966 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22967 wxFindReplaceData
*result
= 0 ;
22970 PyObject
*swig_obj
[1] ;
22972 if (!args
) SWIG_fail
;
22973 swig_obj
[0] = args
;
22974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22975 if (!SWIG_IsOK(res1
)) {
22976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22978 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (wxFindReplaceData
*)(arg1
)->GetData();
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22992 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
= 0;
22994 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22995 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 char * kwnames
[] = {
23003 (char *) "self",(char *) "data", NULL
23006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
23008 if (!SWIG_IsOK(res1
)) {
23009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
23011 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
23012 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
23013 if (!SWIG_IsOK(res2
)) {
23014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
23016 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 (arg1
)->SetData(arg2
);
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 resultobj
= SWIG_Py_Void();
23030 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23033 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
23034 return SWIG_Py_Void();
23037 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23038 return SWIG_Python_InitShadowInstance(args
);
23041 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
= 0;
23043 wxWindow
*arg1
= (wxWindow
*) 0 ;
23044 int arg2
= (int) (int)-1 ;
23045 wxString
const &arg3_defvalue
= wxPyEmptyString
;
23046 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23047 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23048 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23049 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23050 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23051 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
23052 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23053 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23054 wxMDIParentFrame
*result
= 0 ;
23059 bool temp3
= false ;
23064 bool temp7
= false ;
23065 PyObject
* obj0
= 0 ;
23066 PyObject
* obj1
= 0 ;
23067 PyObject
* obj2
= 0 ;
23068 PyObject
* obj3
= 0 ;
23069 PyObject
* obj4
= 0 ;
23070 PyObject
* obj5
= 0 ;
23071 PyObject
* obj6
= 0 ;
23072 char * kwnames
[] = {
23073 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23078 if (!SWIG_IsOK(res1
)) {
23079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
23081 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23084 if (!SWIG_IsOK(ecode2
)) {
23085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
23087 arg2
= static_cast< int >(val2
);
23091 arg3
= wxString_in_helper(obj2
);
23092 if (arg3
== NULL
) SWIG_fail
;
23099 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23105 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23109 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
23110 if (!SWIG_IsOK(ecode6
)) {
23111 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
23113 arg6
= static_cast< long >(val6
);
23117 arg7
= wxString_in_helper(obj6
);
23118 if (arg7
== NULL
) SWIG_fail
;
23123 if (!wxPyCheckForApp()) SWIG_fail
;
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
23152 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23153 PyObject
*resultobj
= 0;
23154 wxMDIParentFrame
*result
= 0 ;
23156 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
23158 if (!wxPyCheckForApp()) SWIG_fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
23171 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
= 0;
23173 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23174 wxWindow
*arg2
= (wxWindow
*) 0 ;
23175 int arg3
= (int) (int)-1 ;
23176 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23177 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23178 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23179 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23180 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23181 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23182 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
23183 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
23184 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23192 bool temp4
= false ;
23197 bool temp8
= false ;
23198 PyObject
* obj0
= 0 ;
23199 PyObject
* obj1
= 0 ;
23200 PyObject
* obj2
= 0 ;
23201 PyObject
* obj3
= 0 ;
23202 PyObject
* obj4
= 0 ;
23203 PyObject
* obj5
= 0 ;
23204 PyObject
* obj6
= 0 ;
23205 PyObject
* obj7
= 0 ;
23206 char * kwnames
[] = {
23207 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23212 if (!SWIG_IsOK(res1
)) {
23213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23215 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23217 if (!SWIG_IsOK(res2
)) {
23218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
23220 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23223 if (!SWIG_IsOK(ecode3
)) {
23224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
23226 arg3
= static_cast< int >(val3
);
23230 arg4
= wxString_in_helper(obj3
);
23231 if (arg4
== NULL
) SWIG_fail
;
23238 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23244 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23248 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
23249 if (!SWIG_IsOK(ecode7
)) {
23250 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
23252 arg7
= static_cast< long >(val7
);
23256 arg8
= wxString_in_helper(obj7
);
23257 if (arg8
== NULL
) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23292 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23293 PyObject
*resultobj
= 0;
23294 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23297 PyObject
*swig_obj
[1] ;
23299 if (!args
) SWIG_fail
;
23300 swig_obj
[0] = args
;
23301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23302 if (!SWIG_IsOK(res1
)) {
23303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23305 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 (arg1
)->ActivateNext();
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 resultobj
= SWIG_Py_Void();
23319 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23320 PyObject
*resultobj
= 0;
23321 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23324 PyObject
*swig_obj
[1] ;
23326 if (!args
) SWIG_fail
;
23327 swig_obj
[0] = args
;
23328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23329 if (!SWIG_IsOK(res1
)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23332 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 (arg1
)->ActivatePrevious();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= SWIG_Py_Void();
23346 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23347 PyObject
*resultobj
= 0;
23348 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23351 PyObject
*swig_obj
[1] ;
23353 if (!args
) SWIG_fail
;
23354 swig_obj
[0] = args
;
23355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23356 if (!SWIG_IsOK(res1
)) {
23357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23359 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 (arg1
)->ArrangeIcons();
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= SWIG_Py_Void();
23373 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23374 PyObject
*resultobj
= 0;
23375 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23378 PyObject
*swig_obj
[1] ;
23380 if (!args
) SWIG_fail
;
23381 swig_obj
[0] = args
;
23382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23383 if (!SWIG_IsOK(res1
)) {
23384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23386 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= SWIG_Py_Void();
23400 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23401 PyObject
*resultobj
= 0;
23402 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23403 wxMDIChildFrame
*result
= 0 ;
23406 PyObject
*swig_obj
[1] ;
23408 if (!args
) SWIG_fail
;
23409 swig_obj
[0] = args
;
23410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23411 if (!SWIG_IsOK(res1
)) {
23412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23414 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23430 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23431 PyObject
*resultobj
= 0;
23432 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23433 wxMDIClientWindow
*result
= 0 ;
23436 PyObject
*swig_obj
[1] ;
23438 if (!args
) SWIG_fail
;
23439 swig_obj
[0] = args
;
23440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23441 if (!SWIG_IsOK(res1
)) {
23442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23444 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23452 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23460 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23461 PyObject
*resultobj
= 0;
23462 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23463 wxMenu
*result
= 0 ;
23466 PyObject
*swig_obj
[1] ;
23468 if (!args
) SWIG_fail
;
23469 swig_obj
[0] = args
;
23470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23471 if (!SWIG_IsOK(res1
)) {
23472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23474 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
23478 wxPyEndAllowThreads(__tstate
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23482 resultobj
= wxPyMake_wxObject(result
, 0);
23490 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
= 0;
23492 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23493 wxMenu
*arg2
= (wxMenu
*) 0 ;
23498 PyObject
* obj0
= 0 ;
23499 PyObject
* obj1
= 0 ;
23500 char * kwnames
[] = {
23501 (char *) "self",(char *) "menu", NULL
23504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23506 if (!SWIG_IsOK(res1
)) {
23507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23509 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
23511 if (!SWIG_IsOK(res2
)) {
23512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
23514 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 (arg1
)->SetWindowMenu(arg2
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23521 resultobj
= SWIG_Py_Void();
23528 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
= 0;
23530 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23531 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
23536 PyObject
* obj0
= 0 ;
23537 PyObject
* obj1
= 0 ;
23538 char * kwnames
[] = {
23539 (char *) "self",(char *) "orient", NULL
23542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23544 if (!SWIG_IsOK(res1
)) {
23545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23547 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23550 if (!SWIG_IsOK(ecode2
)) {
23551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
23553 arg2
= static_cast< wxOrientation
>(val2
);
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 (arg1
)->Tile(arg2
);
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= SWIG_Py_Void();
23568 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23571 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
23572 return SWIG_Py_Void();
23575 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23576 return SWIG_Python_InitShadowInstance(args
);
23579 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
= 0;
23581 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23582 int arg2
= (int) (int)-1 ;
23583 wxString
const &arg3_defvalue
= wxPyEmptyString
;
23584 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23585 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23586 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23587 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23588 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23589 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23590 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23591 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23592 wxMDIChildFrame
*result
= 0 ;
23597 bool temp3
= false ;
23602 bool temp7
= false ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 PyObject
* obj2
= 0 ;
23606 PyObject
* obj3
= 0 ;
23607 PyObject
* obj4
= 0 ;
23608 PyObject
* obj5
= 0 ;
23609 PyObject
* obj6
= 0 ;
23610 char * kwnames
[] = {
23611 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23616 if (!SWIG_IsOK(res1
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23619 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23622 if (!SWIG_IsOK(ecode2
)) {
23623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
23625 arg2
= static_cast< int >(val2
);
23629 arg3
= wxString_in_helper(obj2
);
23630 if (arg3
== NULL
) SWIG_fail
;
23637 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23643 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23647 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
23648 if (!SWIG_IsOK(ecode6
)) {
23649 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
23651 arg6
= static_cast< long >(val6
);
23655 arg7
= wxString_in_helper(obj6
);
23656 if (arg7
== NULL
) SWIG_fail
;
23661 if (!wxPyCheckForApp()) SWIG_fail
;
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
23690 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23691 PyObject
*resultobj
= 0;
23692 wxMDIChildFrame
*result
= 0 ;
23694 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
23696 if (!wxPyCheckForApp()) SWIG_fail
;
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
23709 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
= 0;
23711 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
23712 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
23713 int arg3
= (int) (int)-1 ;
23714 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23715 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23716 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23717 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23718 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23719 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23720 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
23721 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
23722 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23730 bool temp4
= false ;
23735 bool temp8
= false ;
23736 PyObject
* obj0
= 0 ;
23737 PyObject
* obj1
= 0 ;
23738 PyObject
* obj2
= 0 ;
23739 PyObject
* obj3
= 0 ;
23740 PyObject
* obj4
= 0 ;
23741 PyObject
* obj5
= 0 ;
23742 PyObject
* obj6
= 0 ;
23743 PyObject
* obj7
= 0 ;
23744 char * kwnames
[] = {
23745 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
23750 if (!SWIG_IsOK(res1
)) {
23751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23753 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
23754 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23755 if (!SWIG_IsOK(res2
)) {
23756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23758 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
23760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23761 if (!SWIG_IsOK(ecode3
)) {
23762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
23764 arg3
= static_cast< int >(val3
);
23768 arg4
= wxString_in_helper(obj3
);
23769 if (arg4
== NULL
) SWIG_fail
;
23776 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23782 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23786 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
23787 if (!SWIG_IsOK(ecode7
)) {
23788 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
23790 arg7
= static_cast< long >(val7
);
23794 arg8
= wxString_in_helper(obj7
);
23795 if (arg8
== NULL
) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23830 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23831 PyObject
*resultobj
= 0;
23832 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
23835 PyObject
*swig_obj
[1] ;
23837 if (!args
) SWIG_fail
;
23838 swig_obj
[0] = args
;
23839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
23840 if (!SWIG_IsOK(res1
)) {
23841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23843 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 (arg1
)->Activate();
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= SWIG_Py_Void();
23857 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23860 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
23861 return SWIG_Py_Void();
23864 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23865 return SWIG_Python_InitShadowInstance(args
);
23868 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
= 0;
23870 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23871 long arg2
= (long) 0 ;
23872 wxMDIClientWindow
*result
= 0 ;
23877 PyObject
* obj0
= 0 ;
23878 PyObject
* obj1
= 0 ;
23879 char * kwnames
[] = {
23880 (char *) "parent",(char *) "style", NULL
23883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23885 if (!SWIG_IsOK(res1
)) {
23886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23888 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23890 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
23891 if (!SWIG_IsOK(ecode2
)) {
23892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
23894 arg2
= static_cast< long >(val2
);
23897 if (!wxPyCheckForApp()) SWIG_fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
23910 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23911 PyObject
*resultobj
= 0;
23912 wxMDIClientWindow
*result
= 0 ;
23914 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
23916 if (!wxPyCheckForApp()) SWIG_fail
;
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
23929 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
= 0;
23931 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
23932 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
23933 long arg3
= (long) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 PyObject
* obj1
= 0 ;
23943 PyObject
* obj2
= 0 ;
23944 char * kwnames
[] = {
23945 (char *) "self",(char *) "parent",(char *) "style", NULL
23948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
23950 if (!SWIG_IsOK(res1
)) {
23951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
23953 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
23954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23955 if (!SWIG_IsOK(res2
)) {
23956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23958 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
23960 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
23961 if (!SWIG_IsOK(ecode3
)) {
23962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
23964 arg3
= static_cast< long >(val3
);
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= (bool)(arg1
)->Create(arg2
,arg3
);
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23981 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23984 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
23985 return SWIG_Py_Void();
23988 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23989 return SWIG_Python_InitShadowInstance(args
);
23992 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
= 0;
23994 wxWindow
*arg1
= (wxWindow
*) 0 ;
23995 int arg2
= (int) (int)-1 ;
23996 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23997 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23998 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23999 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24000 long arg5
= (long) 0 ;
24001 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24002 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24003 wxPyWindow
*result
= 0 ;
24012 bool temp6
= false ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 PyObject
* obj2
= 0 ;
24016 PyObject
* obj3
= 0 ;
24017 PyObject
* obj4
= 0 ;
24018 PyObject
* obj5
= 0 ;
24019 char * kwnames
[] = {
24020 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24025 if (!SWIG_IsOK(res1
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
24028 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24031 if (!SWIG_IsOK(ecode2
)) {
24032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
24034 arg2
= static_cast< int >(val2
);
24039 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24045 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24049 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
24050 if (!SWIG_IsOK(ecode5
)) {
24051 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
24053 arg5
= static_cast< long >(val5
);
24057 arg6
= wxString_in_helper(obj5
);
24058 if (arg6
== NULL
) SWIG_fail
;
24063 if (!wxPyCheckForApp()) SWIG_fail
;
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
24084 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24085 PyObject
*resultobj
= 0;
24086 wxPyWindow
*result
= 0 ;
24088 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
24090 if (!wxPyCheckForApp()) SWIG_fail
;
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 result
= (wxPyWindow
*)new wxPyWindow();
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
24103 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
= 0;
24105 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24106 PyObject
*arg2
= (PyObject
*) 0 ;
24107 PyObject
*arg3
= (PyObject
*) 0 ;
24110 PyObject
* obj0
= 0 ;
24111 PyObject
* obj1
= 0 ;
24112 PyObject
* obj2
= 0 ;
24113 char * kwnames
[] = {
24114 (char *) "self",(char *) "self",(char *) "_class", NULL
24117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24119 if (!SWIG_IsOK(res1
)) {
24120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24122 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24127 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= SWIG_Py_Void();
24138 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
= 0;
24140 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24141 wxDC
*arg2
= (wxDC
*) 0 ;
24147 PyObject
* obj0
= 0 ;
24148 PyObject
* obj1
= 0 ;
24149 char * kwnames
[] = {
24150 (char *) "self",(char *) "dc", NULL
24153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24155 if (!SWIG_IsOK(res1
)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24158 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
24160 if (!SWIG_IsOK(res2
)) {
24161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24163 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24179 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
= 0;
24181 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 PyObject
* obj1
= 0 ;
24198 PyObject
* obj2
= 0 ;
24199 PyObject
* obj3
= 0 ;
24200 PyObject
* obj4
= 0 ;
24201 char * kwnames
[] = {
24202 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24207 if (!SWIG_IsOK(res1
)) {
24208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24210 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24212 if (!SWIG_IsOK(ecode2
)) {
24213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24215 arg2
= static_cast< int >(val2
);
24216 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24217 if (!SWIG_IsOK(ecode3
)) {
24218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24220 arg3
= static_cast< int >(val3
);
24221 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24222 if (!SWIG_IsOK(ecode4
)) {
24223 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24225 arg4
= static_cast< int >(val4
);
24226 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24227 if (!SWIG_IsOK(ecode5
)) {
24228 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24230 arg5
= static_cast< int >(val5
);
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 resultobj
= SWIG_Py_Void();
24244 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
= 0;
24246 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24251 int arg6
= (int) wxSIZE_AUTO
;
24264 PyObject
* obj0
= 0 ;
24265 PyObject
* obj1
= 0 ;
24266 PyObject
* obj2
= 0 ;
24267 PyObject
* obj3
= 0 ;
24268 PyObject
* obj4
= 0 ;
24269 PyObject
* obj5
= 0 ;
24270 char * kwnames
[] = {
24271 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24276 if (!SWIG_IsOK(res1
)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24279 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24281 if (!SWIG_IsOK(ecode2
)) {
24282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24284 arg2
= static_cast< int >(val2
);
24285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24286 if (!SWIG_IsOK(ecode3
)) {
24287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24289 arg3
= static_cast< int >(val3
);
24290 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24291 if (!SWIG_IsOK(ecode4
)) {
24292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24294 arg4
= static_cast< int >(val4
);
24295 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24296 if (!SWIG_IsOK(ecode5
)) {
24297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24299 arg5
= static_cast< int >(val5
);
24301 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24302 if (!SWIG_IsOK(ecode6
)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24305 arg6
= static_cast< int >(val6
);
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= SWIG_Py_Void();
24320 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
= 0;
24322 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 PyObject
* obj2
= 0 ;
24334 char * kwnames
[] = {
24335 (char *) "self",(char *) "width",(char *) "height", NULL
24338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24340 if (!SWIG_IsOK(res1
)) {
24341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24343 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24345 if (!SWIG_IsOK(ecode2
)) {
24346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24348 arg2
= static_cast< int >(val2
);
24349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24350 if (!SWIG_IsOK(ecode3
)) {
24351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24353 arg3
= static_cast< int >(val3
);
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 (arg1
)->DoSetClientSize(arg2
,arg3
);
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= SWIG_Py_Void();
24367 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
= 0;
24369 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 PyObject
* obj2
= 0 ;
24381 char * kwnames
[] = {
24382 (char *) "self",(char *) "x",(char *) "y", NULL
24385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24387 if (!SWIG_IsOK(res1
)) {
24388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24390 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24392 if (!SWIG_IsOK(ecode2
)) {
24393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24395 arg2
= static_cast< int >(val2
);
24396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24397 if (!SWIG_IsOK(ecode3
)) {
24398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24400 arg3
= static_cast< int >(val3
);
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= SWIG_Py_Void();
24414 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24415 PyObject
*resultobj
= 0;
24416 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24417 int *arg2
= (int *) 0 ;
24418 int *arg3
= (int *) 0 ;
24422 int res2
= SWIG_TMPOBJ
;
24424 int res3
= SWIG_TMPOBJ
;
24425 PyObject
*swig_obj
[1] ;
24429 if (!args
) SWIG_fail
;
24430 swig_obj
[0] = args
;
24431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24432 if (!SWIG_IsOK(res1
)) {
24433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24435 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 resultobj
= SWIG_Py_Void();
24443 if (SWIG_IsTmpObj(res2
)) {
24444 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24446 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24447 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24449 if (SWIG_IsTmpObj(res3
)) {
24450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24452 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24461 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24462 PyObject
*resultobj
= 0;
24463 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24464 int *arg2
= (int *) 0 ;
24465 int *arg3
= (int *) 0 ;
24469 int res2
= SWIG_TMPOBJ
;
24471 int res3
= SWIG_TMPOBJ
;
24472 PyObject
*swig_obj
[1] ;
24476 if (!args
) SWIG_fail
;
24477 swig_obj
[0] = args
;
24478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24479 if (!SWIG_IsOK(res1
)) {
24480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24482 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
24486 wxPyEndAllowThreads(__tstate
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24489 resultobj
= SWIG_Py_Void();
24490 if (SWIG_IsTmpObj(res2
)) {
24491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24493 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24496 if (SWIG_IsTmpObj(res3
)) {
24497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24499 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24508 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24509 PyObject
*resultobj
= 0;
24510 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24511 int *arg2
= (int *) 0 ;
24512 int *arg3
= (int *) 0 ;
24516 int res2
= SWIG_TMPOBJ
;
24518 int res3
= SWIG_TMPOBJ
;
24519 PyObject
*swig_obj
[1] ;
24523 if (!args
) SWIG_fail
;
24524 swig_obj
[0] = args
;
24525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24526 if (!SWIG_IsOK(res1
)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24529 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= SWIG_Py_Void();
24537 if (SWIG_IsTmpObj(res2
)) {
24538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24540 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24543 if (SWIG_IsTmpObj(res3
)) {
24544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24546 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24555 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24556 PyObject
*resultobj
= 0;
24557 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24561 PyObject
*swig_obj
[1] ;
24563 if (!args
) SWIG_fail
;
24564 swig_obj
[0] = args
;
24565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24566 if (!SWIG_IsOK(res1
)) {
24567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24569 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24583 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24584 PyObject
*resultobj
= 0;
24585 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24589 PyObject
*swig_obj
[1] ;
24591 if (!args
) SWIG_fail
;
24592 swig_obj
[0] = args
;
24593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24594 if (!SWIG_IsOK(res1
)) {
24595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24597 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24604 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24611 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24612 PyObject
*resultobj
= 0;
24613 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24614 SwigValueWrapper
<wxVisualAttributes
> result
;
24617 PyObject
*swig_obj
[1] ;
24619 if (!args
) SWIG_fail
;
24620 swig_obj
[0] = args
;
24621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24622 if (!SWIG_IsOK(res1
)) {
24623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24625 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 result
= (arg1
)->GetDefaultAttributes();
24629 wxPyEndAllowThreads(__tstate
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24632 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
24639 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24640 PyObject
*resultobj
= 0;
24641 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24644 PyObject
*swig_obj
[1] ;
24646 if (!args
) SWIG_fail
;
24647 swig_obj
[0] = args
;
24648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24649 if (!SWIG_IsOK(res1
)) {
24650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24652 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 (arg1
)->OnInternalIdle();
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= SWIG_Py_Void();
24666 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24669 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
24670 return SWIG_Py_Void();
24673 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24674 return SWIG_Python_InitShadowInstance(args
);
24677 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
= 0;
24679 wxWindow
*arg1
= (wxWindow
*) 0 ;
24680 int arg2
= (int) (int)-1 ;
24681 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24682 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24683 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24684 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24685 long arg5
= (long) 0 ;
24686 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24687 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24688 wxPyPanel
*result
= 0 ;
24697 bool temp6
= false ;
24698 PyObject
* obj0
= 0 ;
24699 PyObject
* obj1
= 0 ;
24700 PyObject
* obj2
= 0 ;
24701 PyObject
* obj3
= 0 ;
24702 PyObject
* obj4
= 0 ;
24703 PyObject
* obj5
= 0 ;
24704 char * kwnames
[] = {
24705 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24710 if (!SWIG_IsOK(res1
)) {
24711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
24713 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24716 if (!SWIG_IsOK(ecode2
)) {
24717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
24719 arg2
= static_cast< int >(val2
);
24724 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24730 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24734 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
24735 if (!SWIG_IsOK(ecode5
)) {
24736 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
24738 arg5
= static_cast< long >(val5
);
24742 arg6
= wxString_in_helper(obj5
);
24743 if (arg6
== NULL
) SWIG_fail
;
24748 if (!wxPyCheckForApp()) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
24769 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24770 PyObject
*resultobj
= 0;
24771 wxPyPanel
*result
= 0 ;
24773 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
24775 if (!wxPyCheckForApp()) SWIG_fail
;
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 result
= (wxPyPanel
*)new wxPyPanel();
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
24788 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
= 0;
24790 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24791 PyObject
*arg2
= (PyObject
*) 0 ;
24792 PyObject
*arg3
= (PyObject
*) 0 ;
24795 PyObject
* obj0
= 0 ;
24796 PyObject
* obj1
= 0 ;
24797 PyObject
* obj2
= 0 ;
24798 char * kwnames
[] = {
24799 (char *) "self",(char *) "self",(char *) "_class", NULL
24802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24804 if (!SWIG_IsOK(res1
)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24807 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= SWIG_Py_Void();
24823 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
= 0;
24825 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24826 wxDC
*arg2
= (wxDC
*) 0 ;
24832 PyObject
* obj0
= 0 ;
24833 PyObject
* obj1
= 0 ;
24834 char * kwnames
[] = {
24835 (char *) "self",(char *) "dc", NULL
24838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24840 if (!SWIG_IsOK(res1
)) {
24841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24843 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24844 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
24845 if (!SWIG_IsOK(res2
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24848 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24864 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
= 0;
24866 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24881 PyObject
* obj0
= 0 ;
24882 PyObject
* obj1
= 0 ;
24883 PyObject
* obj2
= 0 ;
24884 PyObject
* obj3
= 0 ;
24885 PyObject
* obj4
= 0 ;
24886 char * kwnames
[] = {
24887 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24892 if (!SWIG_IsOK(res1
)) {
24893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24895 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24897 if (!SWIG_IsOK(ecode2
)) {
24898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24900 arg2
= static_cast< int >(val2
);
24901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24902 if (!SWIG_IsOK(ecode3
)) {
24903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24905 arg3
= static_cast< int >(val3
);
24906 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24907 if (!SWIG_IsOK(ecode4
)) {
24908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24910 arg4
= static_cast< int >(val4
);
24911 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24912 if (!SWIG_IsOK(ecode5
)) {
24913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24915 arg5
= static_cast< int >(val5
);
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= SWIG_Py_Void();
24929 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
= 0;
24931 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24936 int arg6
= (int) wxSIZE_AUTO
;
24949 PyObject
* obj0
= 0 ;
24950 PyObject
* obj1
= 0 ;
24951 PyObject
* obj2
= 0 ;
24952 PyObject
* obj3
= 0 ;
24953 PyObject
* obj4
= 0 ;
24954 PyObject
* obj5
= 0 ;
24955 char * kwnames
[] = {
24956 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24961 if (!SWIG_IsOK(res1
)) {
24962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24964 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24966 if (!SWIG_IsOK(ecode2
)) {
24967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24969 arg2
= static_cast< int >(val2
);
24970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24971 if (!SWIG_IsOK(ecode3
)) {
24972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24974 arg3
= static_cast< int >(val3
);
24975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24976 if (!SWIG_IsOK(ecode4
)) {
24977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24979 arg4
= static_cast< int >(val4
);
24980 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24981 if (!SWIG_IsOK(ecode5
)) {
24982 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24984 arg5
= static_cast< int >(val5
);
24986 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24987 if (!SWIG_IsOK(ecode6
)) {
24988 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24990 arg6
= static_cast< int >(val6
);
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24998 resultobj
= SWIG_Py_Void();
25005 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
= 0;
25007 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25016 PyObject
* obj0
= 0 ;
25017 PyObject
* obj1
= 0 ;
25018 PyObject
* obj2
= 0 ;
25019 char * kwnames
[] = {
25020 (char *) "self",(char *) "width",(char *) "height", NULL
25023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25025 if (!SWIG_IsOK(res1
)) {
25026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25028 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25030 if (!SWIG_IsOK(ecode2
)) {
25031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25033 arg2
= static_cast< int >(val2
);
25034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25035 if (!SWIG_IsOK(ecode3
)) {
25036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25038 arg3
= static_cast< int >(val3
);
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 (arg1
)->DoSetClientSize(arg2
,arg3
);
25042 wxPyEndAllowThreads(__tstate
);
25043 if (PyErr_Occurred()) SWIG_fail
;
25045 resultobj
= SWIG_Py_Void();
25052 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
= 0;
25054 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25063 PyObject
* obj0
= 0 ;
25064 PyObject
* obj1
= 0 ;
25065 PyObject
* obj2
= 0 ;
25066 char * kwnames
[] = {
25067 (char *) "self",(char *) "x",(char *) "y", NULL
25070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25072 if (!SWIG_IsOK(res1
)) {
25073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25075 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25077 if (!SWIG_IsOK(ecode2
)) {
25078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25080 arg2
= static_cast< int >(val2
);
25081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25082 if (!SWIG_IsOK(ecode3
)) {
25083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25085 arg3
= static_cast< int >(val3
);
25087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25088 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25092 resultobj
= SWIG_Py_Void();
25099 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25100 PyObject
*resultobj
= 0;
25101 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25102 int *arg2
= (int *) 0 ;
25103 int *arg3
= (int *) 0 ;
25107 int res2
= SWIG_TMPOBJ
;
25109 int res3
= SWIG_TMPOBJ
;
25110 PyObject
*swig_obj
[1] ;
25114 if (!args
) SWIG_fail
;
25115 swig_obj
[0] = args
;
25116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25117 if (!SWIG_IsOK(res1
)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25120 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= SWIG_Py_Void();
25128 if (SWIG_IsTmpObj(res2
)) {
25129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25131 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25134 if (SWIG_IsTmpObj(res3
)) {
25135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25137 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25146 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25147 PyObject
*resultobj
= 0;
25148 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25149 int *arg2
= (int *) 0 ;
25150 int *arg3
= (int *) 0 ;
25154 int res2
= SWIG_TMPOBJ
;
25156 int res3
= SWIG_TMPOBJ
;
25157 PyObject
*swig_obj
[1] ;
25161 if (!args
) SWIG_fail
;
25162 swig_obj
[0] = args
;
25163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25164 if (!SWIG_IsOK(res1
)) {
25165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25167 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
25171 wxPyEndAllowThreads(__tstate
);
25172 if (PyErr_Occurred()) SWIG_fail
;
25174 resultobj
= SWIG_Py_Void();
25175 if (SWIG_IsTmpObj(res2
)) {
25176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25178 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25181 if (SWIG_IsTmpObj(res3
)) {
25182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25184 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25193 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25194 PyObject
*resultobj
= 0;
25195 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25196 int *arg2
= (int *) 0 ;
25197 int *arg3
= (int *) 0 ;
25201 int res2
= SWIG_TMPOBJ
;
25203 int res3
= SWIG_TMPOBJ
;
25204 PyObject
*swig_obj
[1] ;
25208 if (!args
) SWIG_fail
;
25209 swig_obj
[0] = args
;
25210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25211 if (!SWIG_IsOK(res1
)) {
25212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25214 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 resultobj
= SWIG_Py_Void();
25222 if (SWIG_IsTmpObj(res2
)) {
25223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25225 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25228 if (SWIG_IsTmpObj(res3
)) {
25229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25231 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25240 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25241 PyObject
*resultobj
= 0;
25242 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25246 PyObject
*swig_obj
[1] ;
25248 if (!args
) SWIG_fail
;
25249 swig_obj
[0] = args
;
25250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25251 if (!SWIG_IsOK(res1
)) {
25252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25254 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25261 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25268 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25269 PyObject
*resultobj
= 0;
25270 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25274 PyObject
*swig_obj
[1] ;
25276 if (!args
) SWIG_fail
;
25277 swig_obj
[0] = args
;
25278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25279 if (!SWIG_IsOK(res1
)) {
25280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25282 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25296 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25297 PyObject
*resultobj
= 0;
25298 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25299 SwigValueWrapper
<wxVisualAttributes
> result
;
25302 PyObject
*swig_obj
[1] ;
25304 if (!args
) SWIG_fail
;
25305 swig_obj
[0] = args
;
25306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25307 if (!SWIG_IsOK(res1
)) {
25308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25310 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 result
= (arg1
)->GetDefaultAttributes();
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25317 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25324 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25325 PyObject
*resultobj
= 0;
25326 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25329 PyObject
*swig_obj
[1] ;
25331 if (!args
) SWIG_fail
;
25332 swig_obj
[0] = args
;
25333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25334 if (!SWIG_IsOK(res1
)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25337 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25340 (arg1
)->OnInternalIdle();
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= SWIG_Py_Void();
25351 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25354 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
25355 return SWIG_Py_Void();
25358 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25359 return SWIG_Python_InitShadowInstance(args
);
25362 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
= 0;
25364 wxWindow
*arg1
= (wxWindow
*) 0 ;
25365 int arg2
= (int) (int)-1 ;
25366 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25367 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25368 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25369 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25370 long arg5
= (long) 0 ;
25371 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25372 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25373 wxPyScrolledWindow
*result
= 0 ;
25382 bool temp6
= false ;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 PyObject
* obj2
= 0 ;
25386 PyObject
* obj3
= 0 ;
25387 PyObject
* obj4
= 0 ;
25388 PyObject
* obj5
= 0 ;
25389 char * kwnames
[] = {
25390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25395 if (!SWIG_IsOK(res1
)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
25398 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25401 if (!SWIG_IsOK(ecode2
)) {
25402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
25404 arg2
= static_cast< int >(val2
);
25409 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25415 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25419 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25420 if (!SWIG_IsOK(ecode5
)) {
25421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
25423 arg5
= static_cast< long >(val5
);
25427 arg6
= wxString_in_helper(obj5
);
25428 if (arg6
== NULL
) SWIG_fail
;
25433 if (!wxPyCheckForApp()) SWIG_fail
;
25434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25435 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25436 wxPyEndAllowThreads(__tstate
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
25454 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25455 PyObject
*resultobj
= 0;
25456 wxPyScrolledWindow
*result
= 0 ;
25458 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
25460 if (!wxPyCheckForApp()) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
25463 wxPyEndAllowThreads(__tstate
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
25473 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25474 PyObject
*resultobj
= 0;
25475 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25476 PyObject
*arg2
= (PyObject
*) 0 ;
25477 PyObject
*arg3
= (PyObject
*) 0 ;
25480 PyObject
* obj0
= 0 ;
25481 PyObject
* obj1
= 0 ;
25482 PyObject
* obj2
= 0 ;
25483 char * kwnames
[] = {
25484 (char *) "self",(char *) "self",(char *) "_class", NULL
25487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25489 if (!SWIG_IsOK(res1
)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25492 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 resultobj
= SWIG_Py_Void();
25508 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
= 0;
25510 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25511 wxDC
*arg2
= (wxDC
*) 0 ;
25517 PyObject
* obj0
= 0 ;
25518 PyObject
* obj1
= 0 ;
25519 char * kwnames
[] = {
25520 (char *) "self",(char *) "dc", NULL
25523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25525 if (!SWIG_IsOK(res1
)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25528 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25529 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
25530 if (!SWIG_IsOK(res2
)) {
25531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
25533 arg2
= reinterpret_cast< wxDC
* >(argp2
);
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25549 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
= 0;
25551 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25568 PyObject
* obj2
= 0 ;
25569 PyObject
* obj3
= 0 ;
25570 PyObject
* obj4
= 0 ;
25571 char * kwnames
[] = {
25572 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25577 if (!SWIG_IsOK(res1
)) {
25578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25580 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25582 if (!SWIG_IsOK(ecode2
)) {
25583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
25585 arg2
= static_cast< int >(val2
);
25586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25587 if (!SWIG_IsOK(ecode3
)) {
25588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
25590 arg3
= static_cast< int >(val3
);
25591 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25592 if (!SWIG_IsOK(ecode4
)) {
25593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
25595 arg4
= static_cast< int >(val4
);
25596 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25597 if (!SWIG_IsOK(ecode5
)) {
25598 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
25600 arg5
= static_cast< int >(val5
);
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_Py_Void();
25614 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
= 0;
25616 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25621 int arg6
= (int) wxSIZE_AUTO
;
25634 PyObject
* obj0
= 0 ;
25635 PyObject
* obj1
= 0 ;
25636 PyObject
* obj2
= 0 ;
25637 PyObject
* obj3
= 0 ;
25638 PyObject
* obj4
= 0 ;
25639 PyObject
* obj5
= 0 ;
25640 char * kwnames
[] = {
25641 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25646 if (!SWIG_IsOK(res1
)) {
25647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25649 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25651 if (!SWIG_IsOK(ecode2
)) {
25652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
25654 arg2
= static_cast< int >(val2
);
25655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25656 if (!SWIG_IsOK(ecode3
)) {
25657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
25659 arg3
= static_cast< int >(val3
);
25660 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25661 if (!SWIG_IsOK(ecode4
)) {
25662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
25664 arg4
= static_cast< int >(val4
);
25665 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25666 if (!SWIG_IsOK(ecode5
)) {
25667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
25669 arg5
= static_cast< int >(val5
);
25671 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25672 if (!SWIG_IsOK(ecode6
)) {
25673 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
25675 arg6
= static_cast< int >(val6
);
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25680 wxPyEndAllowThreads(__tstate
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25683 resultobj
= SWIG_Py_Void();
25690 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
= 0;
25692 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 PyObject
* obj2
= 0 ;
25704 char * kwnames
[] = {
25705 (char *) "self",(char *) "width",(char *) "height", NULL
25708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25710 if (!SWIG_IsOK(res1
)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25713 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25715 if (!SWIG_IsOK(ecode2
)) {
25716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25718 arg2
= static_cast< int >(val2
);
25719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25720 if (!SWIG_IsOK(ecode3
)) {
25721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25723 arg3
= static_cast< int >(val3
);
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 (arg1
)->DoSetClientSize(arg2
,arg3
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= SWIG_Py_Void();
25737 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
= 0;
25739 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 PyObject
* obj2
= 0 ;
25751 char * kwnames
[] = {
25752 (char *) "self",(char *) "x",(char *) "y", NULL
25755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25757 if (!SWIG_IsOK(res1
)) {
25758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25760 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25762 if (!SWIG_IsOK(ecode2
)) {
25763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25765 arg2
= static_cast< int >(val2
);
25766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25767 if (!SWIG_IsOK(ecode3
)) {
25768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25770 arg3
= static_cast< int >(val3
);
25772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25773 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25777 resultobj
= SWIG_Py_Void();
25784 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25785 PyObject
*resultobj
= 0;
25786 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25787 int *arg2
= (int *) 0 ;
25788 int *arg3
= (int *) 0 ;
25792 int res2
= SWIG_TMPOBJ
;
25794 int res3
= SWIG_TMPOBJ
;
25795 PyObject
*swig_obj
[1] ;
25799 if (!args
) SWIG_fail
;
25800 swig_obj
[0] = args
;
25801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25802 if (!SWIG_IsOK(res1
)) {
25803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25805 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
25809 wxPyEndAllowThreads(__tstate
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25812 resultobj
= SWIG_Py_Void();
25813 if (SWIG_IsTmpObj(res2
)) {
25814 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25816 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25819 if (SWIG_IsTmpObj(res3
)) {
25820 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25822 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25823 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25831 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25832 PyObject
*resultobj
= 0;
25833 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25834 int *arg2
= (int *) 0 ;
25835 int *arg3
= (int *) 0 ;
25839 int res2
= SWIG_TMPOBJ
;
25841 int res3
= SWIG_TMPOBJ
;
25842 PyObject
*swig_obj
[1] ;
25846 if (!args
) SWIG_fail
;
25847 swig_obj
[0] = args
;
25848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25849 if (!SWIG_IsOK(res1
)) {
25850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25852 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
25856 wxPyEndAllowThreads(__tstate
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25859 resultobj
= SWIG_Py_Void();
25860 if (SWIG_IsTmpObj(res2
)) {
25861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25863 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25866 if (SWIG_IsTmpObj(res3
)) {
25867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25869 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25878 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25879 PyObject
*resultobj
= 0;
25880 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25881 int *arg2
= (int *) 0 ;
25882 int *arg3
= (int *) 0 ;
25886 int res2
= SWIG_TMPOBJ
;
25888 int res3
= SWIG_TMPOBJ
;
25889 PyObject
*swig_obj
[1] ;
25893 if (!args
) SWIG_fail
;
25894 swig_obj
[0] = args
;
25895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25896 if (!SWIG_IsOK(res1
)) {
25897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25899 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= SWIG_Py_Void();
25907 if (SWIG_IsTmpObj(res2
)) {
25908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25910 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25913 if (SWIG_IsTmpObj(res3
)) {
25914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25916 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25925 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25926 PyObject
*resultobj
= 0;
25927 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25931 PyObject
*swig_obj
[1] ;
25933 if (!args
) SWIG_fail
;
25934 swig_obj
[0] = args
;
25935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25936 if (!SWIG_IsOK(res1
)) {
25937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25939 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25942 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25953 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25954 PyObject
*resultobj
= 0;
25955 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25959 PyObject
*swig_obj
[1] ;
25961 if (!args
) SWIG_fail
;
25962 swig_obj
[0] = args
;
25963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25964 if (!SWIG_IsOK(res1
)) {
25965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25967 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
25971 wxPyEndAllowThreads(__tstate
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25974 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25981 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25982 PyObject
*resultobj
= 0;
25983 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25984 SwigValueWrapper
<wxVisualAttributes
> result
;
25987 PyObject
*swig_obj
[1] ;
25989 if (!args
) SWIG_fail
;
25990 swig_obj
[0] = args
;
25991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25992 if (!SWIG_IsOK(res1
)) {
25993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25995 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 result
= (arg1
)->GetDefaultAttributes();
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26009 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26010 PyObject
*resultobj
= 0;
26011 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
26014 PyObject
*swig_obj
[1] ;
26016 if (!args
) SWIG_fail
;
26017 swig_obj
[0] = args
;
26018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
26019 if (!SWIG_IsOK(res1
)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
26022 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 (arg1
)->OnInternalIdle();
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= SWIG_Py_Void();
26036 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26039 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
26040 return SWIG_Py_Void();
26043 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26044 return SWIG_Python_InitShadowInstance(args
);
26047 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
26048 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
26053 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
26054 PyObject
*pyobj
= 0;
26058 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
26060 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
26067 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
26068 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
26073 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
26074 PyObject
*pyobj
= 0;
26078 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
26080 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
26087 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26088 PyObject
*resultobj
= 0;
26089 wxPrintData
*result
= 0 ;
26091 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= (wxPrintData
*)new wxPrintData();
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
26105 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26106 PyObject
*resultobj
= 0;
26107 wxPrintData
*arg1
= 0 ;
26108 wxPrintData
*result
= 0 ;
26112 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26114 if (!SWIG_IsOK(res1
)) {
26115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26120 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
26134 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
26138 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
26141 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
26144 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
26148 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
26153 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26154 PyObject
*resultobj
= 0;
26155 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26158 PyObject
*swig_obj
[1] ;
26160 if (!args
) SWIG_fail
;
26161 swig_obj
[0] = args
;
26162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
26163 if (!SWIG_IsOK(res1
)) {
26164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
26166 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= SWIG_Py_Void();
26181 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26182 PyObject
*resultobj
= 0;
26183 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26187 PyObject
*swig_obj
[1] ;
26189 if (!args
) SWIG_fail
;
26190 swig_obj
[0] = args
;
26191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26192 if (!SWIG_IsOK(res1
)) {
26193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26195 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 result
= (int)(arg1
)->GetNoCopies();
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= SWIG_From_int(static_cast< int >(result
));
26209 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26210 PyObject
*resultobj
= 0;
26211 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26215 PyObject
*swig_obj
[1] ;
26217 if (!args
) SWIG_fail
;
26218 swig_obj
[0] = args
;
26219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26220 if (!SWIG_IsOK(res1
)) {
26221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26223 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 result
= (bool)(arg1
)->GetCollate();
26227 wxPyEndAllowThreads(__tstate
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26239 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26240 PyObject
*resultobj
= 0;
26241 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26245 PyObject
*swig_obj
[1] ;
26247 if (!args
) SWIG_fail
;
26248 swig_obj
[0] = args
;
26249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26250 if (!SWIG_IsOK(res1
)) {
26251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26253 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= (int)(arg1
)->GetOrientation();
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 resultobj
= SWIG_From_int(static_cast< int >(result
));
26267 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26268 PyObject
*resultobj
= 0;
26269 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26273 PyObject
*swig_obj
[1] ;
26275 if (!args
) SWIG_fail
;
26276 swig_obj
[0] = args
;
26277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26278 if (!SWIG_IsOK(res1
)) {
26279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26281 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26297 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26298 PyObject
*resultobj
= 0;
26299 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26303 PyObject
*swig_obj
[1] ;
26305 if (!args
) SWIG_fail
;
26306 swig_obj
[0] = args
;
26307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26308 if (!SWIG_IsOK(res1
)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
26311 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 result
= (bool)(arg1
)->IsOk();
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26327 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26328 PyObject
*resultobj
= 0;
26329 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26330 wxString
*result
= 0 ;
26333 PyObject
*swig_obj
[1] ;
26335 if (!args
) SWIG_fail
;
26336 swig_obj
[0] = args
;
26337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26338 if (!SWIG_IsOK(res1
)) {
26339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26341 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
26346 result
= (wxString
*) &_result_ref
;
26348 wxPyEndAllowThreads(__tstate
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26355 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26364 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26365 PyObject
*resultobj
= 0;
26366 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26370 PyObject
*swig_obj
[1] ;
26372 if (!args
) SWIG_fail
;
26373 swig_obj
[0] = args
;
26374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26375 if (!SWIG_IsOK(res1
)) {
26376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26378 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= (bool)(arg1
)->GetColour();
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26394 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26395 PyObject
*resultobj
= 0;
26396 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26397 wxDuplexMode result
;
26400 PyObject
*swig_obj
[1] ;
26402 if (!args
) SWIG_fail
;
26403 swig_obj
[0] = args
;
26404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26405 if (!SWIG_IsOK(res1
)) {
26406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26408 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26415 resultobj
= SWIG_From_int(static_cast< int >(result
));
26422 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26423 PyObject
*resultobj
= 0;
26424 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26425 wxPaperSize result
;
26428 PyObject
*swig_obj
[1] ;
26430 if (!args
) SWIG_fail
;
26431 swig_obj
[0] = args
;
26432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26433 if (!SWIG_IsOK(res1
)) {
26434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26436 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= (wxPaperSize
)(arg1
)->GetPaperId();
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= SWIG_From_int(static_cast< int >(result
));
26450 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26451 PyObject
*resultobj
= 0;
26452 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26453 wxSize
*result
= 0 ;
26456 PyObject
*swig_obj
[1] ;
26458 if (!args
) SWIG_fail
;
26459 swig_obj
[0] = args
;
26460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26461 if (!SWIG_IsOK(res1
)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26464 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
26469 result
= (wxSize
*) &_result_ref
;
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
26481 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26482 PyObject
*resultobj
= 0;
26483 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26487 PyObject
*swig_obj
[1] ;
26489 if (!args
) SWIG_fail
;
26490 swig_obj
[0] = args
;
26491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26492 if (!SWIG_IsOK(res1
)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26495 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 result
= (int)(arg1
)->GetQuality();
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= SWIG_From_int(static_cast< int >(result
));
26509 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26510 PyObject
*resultobj
= 0;
26511 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26515 PyObject
*swig_obj
[1] ;
26517 if (!args
) SWIG_fail
;
26518 swig_obj
[0] = args
;
26519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26520 if (!SWIG_IsOK(res1
)) {
26521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26523 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 result
= (wxPrintBin
)(arg1
)->GetBin();
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= SWIG_From_int(static_cast< int >(result
));
26537 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26538 PyObject
*resultobj
= 0;
26539 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26540 wxPrintMode result
;
26543 PyObject
*swig_obj
[1] ;
26545 if (!args
) SWIG_fail
;
26546 swig_obj
[0] = args
;
26547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26548 if (!SWIG_IsOK(res1
)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26551 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= SWIG_From_int(static_cast< int >(result
));
26565 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26566 PyObject
*resultobj
= 0;
26567 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26571 PyObject
*swig_obj
[1] ;
26573 if (!args
) SWIG_fail
;
26574 swig_obj
[0] = args
;
26575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26576 if (!SWIG_IsOK(res1
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26579 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= SWIG_From_int(static_cast< int >(result
));
26593 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
= 0;
26595 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26601 PyObject
* obj0
= 0 ;
26602 PyObject
* obj1
= 0 ;
26603 char * kwnames
[] = {
26604 (char *) "self",(char *) "v", NULL
26607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26609 if (!SWIG_IsOK(res1
)) {
26610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26612 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26614 if (!SWIG_IsOK(ecode2
)) {
26615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26617 arg2
= static_cast< int >(val2
);
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 (arg1
)->SetNoCopies(arg2
);
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= SWIG_Py_Void();
26631 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
= 0;
26633 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26639 PyObject
* obj0
= 0 ;
26640 PyObject
* obj1
= 0 ;
26641 char * kwnames
[] = {
26642 (char *) "self",(char *) "flag", NULL
26645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26647 if (!SWIG_IsOK(res1
)) {
26648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26650 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26651 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26652 if (!SWIG_IsOK(ecode2
)) {
26653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26655 arg2
= static_cast< bool >(val2
);
26657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26658 (arg1
)->SetCollate(arg2
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= SWIG_Py_Void();
26669 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
= 0;
26671 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26677 PyObject
* obj0
= 0 ;
26678 PyObject
* obj1
= 0 ;
26679 char * kwnames
[] = {
26680 (char *) "self",(char *) "orient", NULL
26683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26685 if (!SWIG_IsOK(res1
)) {
26686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26688 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26690 if (!SWIG_IsOK(ecode2
)) {
26691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
26693 arg2
= static_cast< int >(val2
);
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 (arg1
)->SetOrientation(arg2
);
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 resultobj
= SWIG_Py_Void();
26707 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
= 0;
26709 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 PyObject
* obj1
= 0 ;
26717 char * kwnames
[] = {
26718 (char *) "self",(char *) "reversed", NULL
26721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26723 if (!SWIG_IsOK(res1
)) {
26724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
26726 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26727 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26728 if (!SWIG_IsOK(ecode2
)) {
26729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
26731 arg2
= static_cast< bool >(val2
);
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 (arg1
)->SetOrientationReversed(arg2
);
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26738 resultobj
= SWIG_Py_Void();
26745 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26746 PyObject
*resultobj
= 0;
26747 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26748 wxString
*arg2
= 0 ;
26751 bool temp2
= false ;
26752 PyObject
* obj0
= 0 ;
26753 PyObject
* obj1
= 0 ;
26754 char * kwnames
[] = {
26755 (char *) "self",(char *) "name", NULL
26758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26760 if (!SWIG_IsOK(res1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26763 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26765 arg2
= wxString_in_helper(obj1
);
26766 if (arg2
== NULL
) SWIG_fail
;
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26775 resultobj
= SWIG_Py_Void();
26790 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
= 0;
26792 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26798 PyObject
* obj0
= 0 ;
26799 PyObject
* obj1
= 0 ;
26800 char * kwnames
[] = {
26801 (char *) "self",(char *) "colour", NULL
26804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26806 if (!SWIG_IsOK(res1
)) {
26807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26809 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26810 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26811 if (!SWIG_IsOK(ecode2
)) {
26812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
26814 arg2
= static_cast< bool >(val2
);
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 (arg1
)->SetColour(arg2
);
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26821 resultobj
= SWIG_Py_Void();
26828 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
= 0;
26830 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26831 wxDuplexMode arg2
;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 char * kwnames
[] = {
26839 (char *) "self",(char *) "duplex", NULL
26842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26844 if (!SWIG_IsOK(res1
)) {
26845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26847 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26849 if (!SWIG_IsOK(ecode2
)) {
26850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
26852 arg2
= static_cast< wxDuplexMode
>(val2
);
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 (arg1
)->SetDuplex(arg2
);
26856 wxPyEndAllowThreads(__tstate
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26859 resultobj
= SWIG_Py_Void();
26866 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26867 PyObject
*resultobj
= 0;
26868 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26874 PyObject
* obj0
= 0 ;
26875 PyObject
* obj1
= 0 ;
26876 char * kwnames
[] = {
26877 (char *) "self",(char *) "sizeId", NULL
26880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26882 if (!SWIG_IsOK(res1
)) {
26883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26885 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26887 if (!SWIG_IsOK(ecode2
)) {
26888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26890 arg2
= static_cast< wxPaperSize
>(val2
);
26892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26893 (arg1
)->SetPaperId(arg2
);
26894 wxPyEndAllowThreads(__tstate
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26897 resultobj
= SWIG_Py_Void();
26904 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26905 PyObject
*resultobj
= 0;
26906 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26911 PyObject
* obj0
= 0 ;
26912 PyObject
* obj1
= 0 ;
26913 char * kwnames
[] = {
26914 (char *) "self",(char *) "sz", NULL
26917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26919 if (!SWIG_IsOK(res1
)) {
26920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26922 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26925 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= SWIG_Py_Void();
26940 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
= 0;
26942 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26948 PyObject
* obj0
= 0 ;
26949 PyObject
* obj1
= 0 ;
26950 char * kwnames
[] = {
26951 (char *) "self",(char *) "quality", NULL
26954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26956 if (!SWIG_IsOK(res1
)) {
26957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26959 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26961 if (!SWIG_IsOK(ecode2
)) {
26962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
26964 arg2
= static_cast< int >(val2
);
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 (arg1
)->SetQuality(arg2
);
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_Py_Void();
26978 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
= 0;
26980 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26986 PyObject
* obj0
= 0 ;
26987 PyObject
* obj1
= 0 ;
26988 char * kwnames
[] = {
26989 (char *) "self",(char *) "bin", NULL
26992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26994 if (!SWIG_IsOK(res1
)) {
26995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26997 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26999 if (!SWIG_IsOK(ecode2
)) {
27000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
27002 arg2
= static_cast< wxPrintBin
>(val2
);
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 (arg1
)->SetBin(arg2
);
27006 wxPyEndAllowThreads(__tstate
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27009 resultobj
= SWIG_Py_Void();
27016 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
= 0;
27018 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 char * kwnames
[] = {
27027 (char *) "self",(char *) "printMode", NULL
27030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27032 if (!SWIG_IsOK(res1
)) {
27033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
27035 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27037 if (!SWIG_IsOK(ecode2
)) {
27038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
27040 arg2
= static_cast< wxPrintMode
>(val2
);
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 (arg1
)->SetPrintMode(arg2
);
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_Py_Void();
27054 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
= 0;
27056 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27062 PyObject
* obj0
= 0 ;
27063 PyObject
* obj1
= 0 ;
27064 char * kwnames
[] = {
27065 (char *) "self",(char *) "media", NULL
27068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27070 if (!SWIG_IsOK(res1
)) {
27071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
27073 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27075 if (!SWIG_IsOK(ecode2
)) {
27076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
27078 arg2
= static_cast< int >(val2
);
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 (arg1
)->SetMedia(arg2
);
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27085 resultobj
= SWIG_Py_Void();
27092 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27093 PyObject
*resultobj
= 0;
27094 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27098 PyObject
*swig_obj
[1] ;
27100 if (!args
) SWIG_fail
;
27101 swig_obj
[0] = args
;
27102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27103 if (!SWIG_IsOK(res1
)) {
27104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
27106 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 result
= ((wxPrintData
const *)arg1
)->GetFilename();
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27126 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
= 0;
27128 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27129 wxString
*arg2
= 0 ;
27132 bool temp2
= false ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 char * kwnames
[] = {
27136 (char *) "self",(char *) "filename", NULL
27139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27141 if (!SWIG_IsOK(res1
)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
27144 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27146 arg2
= wxString_in_helper(obj1
);
27147 if (arg2
== NULL
) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 (arg1
)->SetFilename((wxString
const &)*arg2
);
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27156 resultobj
= SWIG_Py_Void();
27171 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27172 PyObject
*resultobj
= 0;
27173 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27174 PyObject
*result
= 0 ;
27177 PyObject
*swig_obj
[1] ;
27179 if (!args
) SWIG_fail
;
27180 swig_obj
[0] = args
;
27181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27182 if (!SWIG_IsOK(res1
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27185 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= result
;
27199 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27200 PyObject
*resultobj
= 0;
27201 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27202 PyObject
*arg2
= (PyObject
*) 0 ;
27205 PyObject
* obj0
= 0 ;
27206 PyObject
* obj1
= 0 ;
27207 char * kwnames
[] = {
27208 (char *) "self",(char *) "data", NULL
27211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27213 if (!SWIG_IsOK(res1
)) {
27214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27216 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 wxPrintData_SetPrivData(arg1
,arg2
);
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 resultobj
= SWIG_Py_Void();
27231 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27234 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
27235 return SWIG_Py_Void();
27238 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27239 return SWIG_Python_InitShadowInstance(args
);
27242 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
27243 PyObject
*resultobj
= 0;
27244 wxPageSetupDialogData
*result
= 0 ;
27246 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27260 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27261 PyObject
*resultobj
= 0;
27262 wxPageSetupDialogData
*arg1
= 0 ;
27263 wxPageSetupDialogData
*result
= 0 ;
27267 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
27269 if (!SWIG_IsOK(res1
)) {
27270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27275 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27289 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27290 PyObject
*resultobj
= 0;
27291 wxPrintData
*arg1
= 0 ;
27292 wxPageSetupDialogData
*result
= 0 ;
27296 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27298 if (!SWIG_IsOK(res1
)) {
27299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27304 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27318 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
27322 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
27325 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
27330 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
27331 _v
= SWIG_CheckState(res
);
27333 if (!_v
) goto check_2
;
27334 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
27339 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
27343 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
27348 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27349 PyObject
*resultobj
= 0;
27350 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27353 PyObject
*swig_obj
[1] ;
27355 if (!args
) SWIG_fail
;
27356 swig_obj
[0] = args
;
27357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
27358 if (!SWIG_IsOK(res1
)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27361 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27369 resultobj
= SWIG_Py_Void();
27376 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27377 PyObject
*resultobj
= 0;
27378 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27384 PyObject
* obj0
= 0 ;
27385 PyObject
* obj1
= 0 ;
27386 char * kwnames
[] = {
27387 (char *) "self",(char *) "flag", NULL
27390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27392 if (!SWIG_IsOK(res1
)) {
27393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27395 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27396 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27397 if (!SWIG_IsOK(ecode2
)) {
27398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27400 arg2
= static_cast< bool >(val2
);
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 (arg1
)->EnableHelp(arg2
);
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 resultobj
= SWIG_Py_Void();
27414 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
= 0;
27416 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27422 PyObject
* obj0
= 0 ;
27423 PyObject
* obj1
= 0 ;
27424 char * kwnames
[] = {
27425 (char *) "self",(char *) "flag", NULL
27428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27430 if (!SWIG_IsOK(res1
)) {
27431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27433 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27434 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27435 if (!SWIG_IsOK(ecode2
)) {
27436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
27438 arg2
= static_cast< bool >(val2
);
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 (arg1
)->EnableMargins(arg2
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 resultobj
= SWIG_Py_Void();
27452 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
= 0;
27454 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27460 PyObject
* obj0
= 0 ;
27461 PyObject
* obj1
= 0 ;
27462 char * kwnames
[] = {
27463 (char *) "self",(char *) "flag", NULL
27466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27468 if (!SWIG_IsOK(res1
)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27471 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27472 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27473 if (!SWIG_IsOK(ecode2
)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
27476 arg2
= static_cast< bool >(val2
);
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 (arg1
)->EnableOrientation(arg2
);
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27483 resultobj
= SWIG_Py_Void();
27490 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27491 PyObject
*resultobj
= 0;
27492 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27498 PyObject
* obj0
= 0 ;
27499 PyObject
* obj1
= 0 ;
27500 char * kwnames
[] = {
27501 (char *) "self",(char *) "flag", NULL
27504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27506 if (!SWIG_IsOK(res1
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27509 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27510 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27511 if (!SWIG_IsOK(ecode2
)) {
27512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
27514 arg2
= static_cast< bool >(val2
);
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 (arg1
)->EnablePaper(arg2
);
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27521 resultobj
= SWIG_Py_Void();
27528 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
= 0;
27530 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27536 PyObject
* obj0
= 0 ;
27537 PyObject
* obj1
= 0 ;
27538 char * kwnames
[] = {
27539 (char *) "self",(char *) "flag", NULL
27542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27544 if (!SWIG_IsOK(res1
)) {
27545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27547 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27548 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27549 if (!SWIG_IsOK(ecode2
)) {
27550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
27552 arg2
= static_cast< bool >(val2
);
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 (arg1
)->EnablePrinter(arg2
);
27556 wxPyEndAllowThreads(__tstate
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27559 resultobj
= SWIG_Py_Void();
27566 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27567 PyObject
*resultobj
= 0;
27568 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27572 PyObject
*swig_obj
[1] ;
27574 if (!args
) SWIG_fail
;
27575 swig_obj
[0] = args
;
27576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27577 if (!SWIG_IsOK(res1
)) {
27578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27580 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27583 result
= (bool)(arg1
)->GetDefaultMinMargins();
27584 wxPyEndAllowThreads(__tstate
);
27585 if (PyErr_Occurred()) SWIG_fail
;
27588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27596 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27597 PyObject
*resultobj
= 0;
27598 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27602 PyObject
*swig_obj
[1] ;
27604 if (!args
) SWIG_fail
;
27605 swig_obj
[0] = args
;
27606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27607 if (!SWIG_IsOK(res1
)) {
27608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27610 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27613 result
= (bool)(arg1
)->GetEnableMargins();
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27626 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27627 PyObject
*resultobj
= 0;
27628 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27632 PyObject
*swig_obj
[1] ;
27634 if (!args
) SWIG_fail
;
27635 swig_obj
[0] = args
;
27636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27637 if (!SWIG_IsOK(res1
)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27640 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 result
= (bool)(arg1
)->GetEnableOrientation();
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27656 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27657 PyObject
*resultobj
= 0;
27658 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27662 PyObject
*swig_obj
[1] ;
27664 if (!args
) SWIG_fail
;
27665 swig_obj
[0] = args
;
27666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27667 if (!SWIG_IsOK(res1
)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27670 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27673 result
= (bool)(arg1
)->GetEnablePaper();
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27686 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27687 PyObject
*resultobj
= 0;
27688 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27692 PyObject
*swig_obj
[1] ;
27694 if (!args
) SWIG_fail
;
27695 swig_obj
[0] = args
;
27696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27697 if (!SWIG_IsOK(res1
)) {
27698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27700 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27703 result
= (bool)(arg1
)->GetEnablePrinter();
27704 wxPyEndAllowThreads(__tstate
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27716 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27717 PyObject
*resultobj
= 0;
27718 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27722 PyObject
*swig_obj
[1] ;
27724 if (!args
) SWIG_fail
;
27725 swig_obj
[0] = args
;
27726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27727 if (!SWIG_IsOK(res1
)) {
27728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27730 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27733 result
= (bool)(arg1
)->GetEnableHelp();
27734 wxPyEndAllowThreads(__tstate
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27746 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27747 PyObject
*resultobj
= 0;
27748 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27752 PyObject
*swig_obj
[1] ;
27754 if (!args
) SWIG_fail
;
27755 swig_obj
[0] = args
;
27756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27757 if (!SWIG_IsOK(res1
)) {
27758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27760 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 result
= (bool)(arg1
)->GetDefaultInfo();
27764 wxPyEndAllowThreads(__tstate
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27776 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27777 PyObject
*resultobj
= 0;
27778 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27782 PyObject
*swig_obj
[1] ;
27784 if (!args
) SWIG_fail
;
27785 swig_obj
[0] = args
;
27786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27787 if (!SWIG_IsOK(res1
)) {
27788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27790 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 result
= (arg1
)->GetMarginTopLeft();
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27804 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27805 PyObject
*resultobj
= 0;
27806 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27810 PyObject
*swig_obj
[1] ;
27812 if (!args
) SWIG_fail
;
27813 swig_obj
[0] = args
;
27814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27815 if (!SWIG_IsOK(res1
)) {
27816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27818 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= (arg1
)->GetMarginBottomRight();
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27832 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27833 PyObject
*resultobj
= 0;
27834 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27838 PyObject
*swig_obj
[1] ;
27840 if (!args
) SWIG_fail
;
27841 swig_obj
[0] = args
;
27842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27843 if (!SWIG_IsOK(res1
)) {
27844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27846 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 result
= (arg1
)->GetMinMarginTopLeft();
27850 wxPyEndAllowThreads(__tstate
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27853 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27860 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27861 PyObject
*resultobj
= 0;
27862 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27866 PyObject
*swig_obj
[1] ;
27868 if (!args
) SWIG_fail
;
27869 swig_obj
[0] = args
;
27870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27871 if (!SWIG_IsOK(res1
)) {
27872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27874 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 result
= (arg1
)->GetMinMarginBottomRight();
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27888 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27889 PyObject
*resultobj
= 0;
27890 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27891 wxPaperSize result
;
27894 PyObject
*swig_obj
[1] ;
27896 if (!args
) SWIG_fail
;
27897 swig_obj
[0] = args
;
27898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27899 if (!SWIG_IsOK(res1
)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27902 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27905 result
= (wxPaperSize
)(arg1
)->GetPaperId();
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27909 resultobj
= SWIG_From_int(static_cast< int >(result
));
27916 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27917 PyObject
*resultobj
= 0;
27918 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27922 PyObject
*swig_obj
[1] ;
27924 if (!args
) SWIG_fail
;
27925 swig_obj
[0] = args
;
27926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27930 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 result
= (arg1
)->GetPaperSize();
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27937 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
27944 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27945 PyObject
*resultobj
= 0;
27946 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27947 wxPrintData
*result
= 0 ;
27950 PyObject
*swig_obj
[1] ;
27952 if (!args
) SWIG_fail
;
27953 swig_obj
[0] = args
;
27954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27955 if (!SWIG_IsOK(res1
)) {
27956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27958 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27963 result
= (wxPrintData
*) &_result_ref
;
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27975 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27976 PyObject
*resultobj
= 0;
27977 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27981 PyObject
*swig_obj
[1] ;
27983 if (!args
) SWIG_fail
;
27984 swig_obj
[0] = args
;
27985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27986 if (!SWIG_IsOK(res1
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27989 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 result
= (bool)(arg1
)->IsOk();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28005 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28006 PyObject
*resultobj
= 0;
28007 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28013 PyObject
* obj0
= 0 ;
28014 PyObject
* obj1
= 0 ;
28015 char * kwnames
[] = {
28016 (char *) "self",(char *) "flag", NULL
28019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28021 if (!SWIG_IsOK(res1
)) {
28022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28024 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28025 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28026 if (!SWIG_IsOK(ecode2
)) {
28027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
28029 arg2
= static_cast< bool >(val2
);
28031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28032 (arg1
)->SetDefaultInfo(arg2
);
28033 wxPyEndAllowThreads(__tstate
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28036 resultobj
= SWIG_Py_Void();
28043 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28044 PyObject
*resultobj
= 0;
28045 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 char * kwnames
[] = {
28054 (char *) "self",(char *) "flag", NULL
28057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28059 if (!SWIG_IsOK(res1
)) {
28060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28062 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28063 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28064 if (!SWIG_IsOK(ecode2
)) {
28065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
28067 arg2
= static_cast< bool >(val2
);
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 (arg1
)->SetDefaultMinMargins(arg2
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 resultobj
= SWIG_Py_Void();
28081 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28082 PyObject
*resultobj
= 0;
28083 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28084 wxPoint
*arg2
= 0 ;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 char * kwnames
[] = {
28091 (char *) "self",(char *) "pt", NULL
28094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28096 if (!SWIG_IsOK(res1
)) {
28097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28099 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28110 resultobj
= SWIG_Py_Void();
28117 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28118 PyObject
*resultobj
= 0;
28119 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28120 wxPoint
*arg2
= 0 ;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 char * kwnames
[] = {
28127 (char *) "self",(char *) "pt", NULL
28130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28132 if (!SWIG_IsOK(res1
)) {
28133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28135 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28138 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= SWIG_Py_Void();
28153 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
= 0;
28155 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28156 wxPoint
*arg2
= 0 ;
28160 PyObject
* obj0
= 0 ;
28161 PyObject
* obj1
= 0 ;
28162 char * kwnames
[] = {
28163 (char *) "self",(char *) "pt", NULL
28166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28168 if (!SWIG_IsOK(res1
)) {
28169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28171 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28174 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28178 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= SWIG_Py_Void();
28189 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28190 PyObject
*resultobj
= 0;
28191 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28192 wxPoint
*arg2
= 0 ;
28196 PyObject
* obj0
= 0 ;
28197 PyObject
* obj1
= 0 ;
28198 char * kwnames
[] = {
28199 (char *) "self",(char *) "pt", NULL
28202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28204 if (!SWIG_IsOK(res1
)) {
28205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28207 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28210 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28214 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
28215 wxPyEndAllowThreads(__tstate
);
28216 if (PyErr_Occurred()) SWIG_fail
;
28218 resultobj
= SWIG_Py_Void();
28225 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28226 PyObject
*resultobj
= 0;
28227 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28233 PyObject
* obj0
= 0 ;
28234 PyObject
* obj1
= 0 ;
28235 char * kwnames
[] = {
28236 (char *) "self",(char *) "id", NULL
28239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28241 if (!SWIG_IsOK(res1
)) {
28242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28244 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28246 if (!SWIG_IsOK(ecode2
)) {
28247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
28249 arg2
= static_cast< wxPaperSize
>(val2
);
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 (arg1
)->SetPaperId(arg2
);
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_Py_Void();
28263 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
= 0;
28265 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28270 PyObject
* obj0
= 0 ;
28271 PyObject
* obj1
= 0 ;
28272 char * kwnames
[] = {
28273 (char *) "self",(char *) "size", NULL
28276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28278 if (!SWIG_IsOK(res1
)) {
28279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28281 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28284 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
28289 wxPyEndAllowThreads(__tstate
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28292 resultobj
= SWIG_Py_Void();
28299 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28300 PyObject
*resultobj
= 0;
28301 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28302 wxPrintData
*arg2
= 0 ;
28307 PyObject
* obj0
= 0 ;
28308 PyObject
* obj1
= 0 ;
28309 char * kwnames
[] = {
28310 (char *) "self",(char *) "printData", NULL
28313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28315 if (!SWIG_IsOK(res1
)) {
28316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28318 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
28320 if (!SWIG_IsOK(res2
)) {
28321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28326 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28333 resultobj
= SWIG_Py_Void();
28340 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28341 PyObject
*resultobj
= 0;
28342 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28345 PyObject
*swig_obj
[1] ;
28347 if (!args
) SWIG_fail
;
28348 swig_obj
[0] = args
;
28349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28350 if (!SWIG_IsOK(res1
)) {
28351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28353 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 (arg1
)->CalculateIdFromPaperSize();
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28360 resultobj
= SWIG_Py_Void();
28367 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28368 PyObject
*resultobj
= 0;
28369 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28372 PyObject
*swig_obj
[1] ;
28374 if (!args
) SWIG_fail
;
28375 swig_obj
[0] = args
;
28376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28377 if (!SWIG_IsOK(res1
)) {
28378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28380 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 (arg1
)->CalculatePaperSizeFromId();
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= SWIG_Py_Void();
28394 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28397 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
28398 return SWIG_Py_Void();
28401 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28402 return SWIG_Python_InitShadowInstance(args
);
28405 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
= 0;
28407 wxWindow
*arg1
= (wxWindow
*) 0 ;
28408 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
28409 wxPageSetupDialog
*result
= 0 ;
28414 PyObject
* obj0
= 0 ;
28415 PyObject
* obj1
= 0 ;
28416 char * kwnames
[] = {
28417 (char *) "parent",(char *) "data", NULL
28420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28422 if (!SWIG_IsOK(res1
)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
28425 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28427 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28428 if (!SWIG_IsOK(res2
)) {
28429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
28431 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28434 if (!wxPyCheckForApp()) SWIG_fail
;
28435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28436 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
28437 wxPyEndAllowThreads(__tstate
);
28438 if (PyErr_Occurred()) SWIG_fail
;
28440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
28447 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28448 PyObject
*resultobj
= 0;
28449 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28452 PyObject
*swig_obj
[1] ;
28454 if (!args
) SWIG_fail
;
28455 swig_obj
[0] = args
;
28456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
28457 if (!SWIG_IsOK(res1
)) {
28458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28460 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28468 resultobj
= SWIG_Py_Void();
28475 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28476 PyObject
*resultobj
= 0;
28477 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28478 wxPageSetupDialogData
*result
= 0 ;
28481 PyObject
*swig_obj
[1] ;
28483 if (!args
) SWIG_fail
;
28484 swig_obj
[0] = args
;
28485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28486 if (!SWIG_IsOK(res1
)) {
28487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28489 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
28494 result
= (wxPageSetupDialogData
*) &_result_ref
;
28496 wxPyEndAllowThreads(__tstate
);
28497 if (PyErr_Occurred()) SWIG_fail
;
28499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28506 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28507 PyObject
*resultobj
= 0;
28508 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28509 wxPageSetupDialogData
*result
= 0 ;
28512 PyObject
*swig_obj
[1] ;
28514 if (!args
) SWIG_fail
;
28515 swig_obj
[0] = args
;
28516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28517 if (!SWIG_IsOK(res1
)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28520 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
28525 result
= (wxPageSetupDialogData
*) &_result_ref
;
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28537 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28538 PyObject
*resultobj
= 0;
28539 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28543 PyObject
*swig_obj
[1] ;
28545 if (!args
) SWIG_fail
;
28546 swig_obj
[0] = args
;
28547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28548 if (!SWIG_IsOK(res1
)) {
28549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28551 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28554 result
= (int)(arg1
)->ShowModal();
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= SWIG_From_int(static_cast< int >(result
));
28565 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28568 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
28569 return SWIG_Py_Void();
28572 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28573 return SWIG_Python_InitShadowInstance(args
);
28576 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
28577 PyObject
*resultobj
= 0;
28578 wxPrintDialogData
*result
= 0 ;
28580 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (wxPrintDialogData
*)new wxPrintDialogData();
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28594 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28595 PyObject
*resultobj
= 0;
28596 wxPrintData
*arg1
= 0 ;
28597 wxPrintDialogData
*result
= 0 ;
28601 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
28603 if (!SWIG_IsOK(res1
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28609 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28623 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28624 PyObject
*resultobj
= 0;
28625 wxPrintDialogData
*arg1
= 0 ;
28626 wxPrintDialogData
*result
= 0 ;
28630 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
28632 if (!SWIG_IsOK(res1
)) {
28633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28638 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28641 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
28642 wxPyEndAllowThreads(__tstate
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28652 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
28656 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
28659 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
28664 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
28665 _v
= SWIG_CheckState(res
);
28667 if (!_v
) goto check_2
;
28668 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
28673 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
28677 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
28682 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28683 PyObject
*resultobj
= 0;
28684 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28687 PyObject
*swig_obj
[1] ;
28689 if (!args
) SWIG_fail
;
28690 swig_obj
[0] = args
;
28691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
28692 if (!SWIG_IsOK(res1
)) {
28693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28695 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28703 resultobj
= SWIG_Py_Void();
28710 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28711 PyObject
*resultobj
= 0;
28712 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28716 PyObject
*swig_obj
[1] ;
28718 if (!args
) SWIG_fail
;
28719 swig_obj
[0] = args
;
28720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28721 if (!SWIG_IsOK(res1
)) {
28722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28724 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28731 resultobj
= SWIG_From_int(static_cast< int >(result
));
28738 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28739 PyObject
*resultobj
= 0;
28740 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28744 PyObject
*swig_obj
[1] ;
28746 if (!args
) SWIG_fail
;
28747 swig_obj
[0] = args
;
28748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28749 if (!SWIG_IsOK(res1
)) {
28750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28752 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= SWIG_From_int(static_cast< int >(result
));
28766 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28767 PyObject
*resultobj
= 0;
28768 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28772 PyObject
*swig_obj
[1] ;
28774 if (!args
) SWIG_fail
;
28775 swig_obj
[0] = args
;
28776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28777 if (!SWIG_IsOK(res1
)) {
28778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28780 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
28784 wxPyEndAllowThreads(__tstate
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28787 resultobj
= SWIG_From_int(static_cast< int >(result
));
28794 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28795 PyObject
*resultobj
= 0;
28796 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28800 PyObject
*swig_obj
[1] ;
28802 if (!args
) SWIG_fail
;
28803 swig_obj
[0] = args
;
28804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28805 if (!SWIG_IsOK(res1
)) {
28806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28808 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
28812 wxPyEndAllowThreads(__tstate
);
28813 if (PyErr_Occurred()) SWIG_fail
;
28815 resultobj
= SWIG_From_int(static_cast< int >(result
));
28822 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28823 PyObject
*resultobj
= 0;
28824 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28828 PyObject
*swig_obj
[1] ;
28830 if (!args
) SWIG_fail
;
28831 swig_obj
[0] = args
;
28832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28833 if (!SWIG_IsOK(res1
)) {
28834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28836 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= SWIG_From_int(static_cast< int >(result
));
28850 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28851 PyObject
*resultobj
= 0;
28852 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28856 PyObject
*swig_obj
[1] ;
28858 if (!args
) SWIG_fail
;
28859 swig_obj
[0] = args
;
28860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28861 if (!SWIG_IsOK(res1
)) {
28862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28864 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28880 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28881 PyObject
*resultobj
= 0;
28882 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28886 PyObject
*swig_obj
[1] ;
28888 if (!args
) SWIG_fail
;
28889 swig_obj
[0] = args
;
28890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28891 if (!SWIG_IsOK(res1
)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28894 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28910 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28911 PyObject
*resultobj
= 0;
28912 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28916 PyObject
*swig_obj
[1] ;
28918 if (!args
) SWIG_fail
;
28919 swig_obj
[0] = args
;
28920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28921 if (!SWIG_IsOK(res1
)) {
28922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28924 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28927 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
28928 wxPyEndAllowThreads(__tstate
);
28929 if (PyErr_Occurred()) SWIG_fail
;
28932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28940 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28941 PyObject
*resultobj
= 0;
28942 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28946 PyObject
*swig_obj
[1] ;
28948 if (!args
) SWIG_fail
;
28949 swig_obj
[0] = args
;
28950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28951 if (!SWIG_IsOK(res1
)) {
28952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28954 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28970 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
= 0;
28972 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28978 PyObject
* obj0
= 0 ;
28979 PyObject
* obj1
= 0 ;
28980 char * kwnames
[] = {
28981 (char *) "self",(char *) "v", NULL
28984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28986 if (!SWIG_IsOK(res1
)) {
28987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28989 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28991 if (!SWIG_IsOK(ecode2
)) {
28992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
28994 arg2
= static_cast< int >(val2
);
28996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28997 (arg1
)->SetFromPage(arg2
);
28998 wxPyEndAllowThreads(__tstate
);
28999 if (PyErr_Occurred()) SWIG_fail
;
29001 resultobj
= SWIG_Py_Void();
29008 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
= 0;
29010 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29016 PyObject
* obj0
= 0 ;
29017 PyObject
* obj1
= 0 ;
29018 char * kwnames
[] = {
29019 (char *) "self",(char *) "v", NULL
29022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29024 if (!SWIG_IsOK(res1
)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29027 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29029 if (!SWIG_IsOK(ecode2
)) {
29030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
29032 arg2
= static_cast< int >(val2
);
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 (arg1
)->SetToPage(arg2
);
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= SWIG_Py_Void();
29046 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
= 0;
29048 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29054 PyObject
* obj0
= 0 ;
29055 PyObject
* obj1
= 0 ;
29056 char * kwnames
[] = {
29057 (char *) "self",(char *) "v", NULL
29060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29062 if (!SWIG_IsOK(res1
)) {
29063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29065 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29067 if (!SWIG_IsOK(ecode2
)) {
29068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
29070 arg2
= static_cast< int >(val2
);
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 (arg1
)->SetMinPage(arg2
);
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29077 resultobj
= SWIG_Py_Void();
29084 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29085 PyObject
*resultobj
= 0;
29086 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29092 PyObject
* obj0
= 0 ;
29093 PyObject
* obj1
= 0 ;
29094 char * kwnames
[] = {
29095 (char *) "self",(char *) "v", NULL
29098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29100 if (!SWIG_IsOK(res1
)) {
29101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29103 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29105 if (!SWIG_IsOK(ecode2
)) {
29106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
29108 arg2
= static_cast< int >(val2
);
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 (arg1
)->SetMaxPage(arg2
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29115 resultobj
= SWIG_Py_Void();
29122 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
= 0;
29124 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29130 PyObject
* obj0
= 0 ;
29131 PyObject
* obj1
= 0 ;
29132 char * kwnames
[] = {
29133 (char *) "self",(char *) "v", NULL
29136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29138 if (!SWIG_IsOK(res1
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29141 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29143 if (!SWIG_IsOK(ecode2
)) {
29144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
29146 arg2
= static_cast< int >(val2
);
29148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 (arg1
)->SetNoCopies(arg2
);
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= SWIG_Py_Void();
29160 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
= 0;
29162 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29168 PyObject
* obj0
= 0 ;
29169 PyObject
* obj1
= 0 ;
29170 char * kwnames
[] = {
29171 (char *) "self",(char *) "flag", NULL
29174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29176 if (!SWIG_IsOK(res1
)) {
29177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29179 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29180 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29181 if (!SWIG_IsOK(ecode2
)) {
29182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
29184 arg2
= static_cast< bool >(val2
);
29186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29187 (arg1
)->SetAllPages(arg2
);
29188 wxPyEndAllowThreads(__tstate
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29191 resultobj
= SWIG_Py_Void();
29198 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29199 PyObject
*resultobj
= 0;
29200 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29206 PyObject
* obj0
= 0 ;
29207 PyObject
* obj1
= 0 ;
29208 char * kwnames
[] = {
29209 (char *) "self",(char *) "flag", NULL
29212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29214 if (!SWIG_IsOK(res1
)) {
29215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29217 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29218 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29219 if (!SWIG_IsOK(ecode2
)) {
29220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
29222 arg2
= static_cast< bool >(val2
);
29224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29225 (arg1
)->SetSelection(arg2
);
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 resultobj
= SWIG_Py_Void();
29236 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29237 PyObject
*resultobj
= 0;
29238 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29244 PyObject
* obj0
= 0 ;
29245 PyObject
* obj1
= 0 ;
29246 char * kwnames
[] = {
29247 (char *) "self",(char *) "flag", NULL
29250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29252 if (!SWIG_IsOK(res1
)) {
29253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29255 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29256 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29257 if (!SWIG_IsOK(ecode2
)) {
29258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
29260 arg2
= static_cast< bool >(val2
);
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 (arg1
)->SetCollate(arg2
);
29264 wxPyEndAllowThreads(__tstate
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= SWIG_Py_Void();
29274 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
= 0;
29276 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29282 PyObject
* obj0
= 0 ;
29283 PyObject
* obj1
= 0 ;
29284 char * kwnames
[] = {
29285 (char *) "self",(char *) "flag", NULL
29288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29290 if (!SWIG_IsOK(res1
)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29293 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29294 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29295 if (!SWIG_IsOK(ecode2
)) {
29296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
29298 arg2
= static_cast< bool >(val2
);
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 (arg1
)->SetPrintToFile(arg2
);
29302 wxPyEndAllowThreads(__tstate
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29305 resultobj
= SWIG_Py_Void();
29312 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29313 PyObject
*resultobj
= 0;
29314 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29320 PyObject
* obj0
= 0 ;
29321 PyObject
* obj1
= 0 ;
29322 char * kwnames
[] = {
29323 (char *) "self",(char *) "flag", NULL
29326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29328 if (!SWIG_IsOK(res1
)) {
29329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29331 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29332 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29333 if (!SWIG_IsOK(ecode2
)) {
29334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
29336 arg2
= static_cast< bool >(val2
);
29338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29339 (arg1
)->EnablePrintToFile(arg2
);
29340 wxPyEndAllowThreads(__tstate
);
29341 if (PyErr_Occurred()) SWIG_fail
;
29343 resultobj
= SWIG_Py_Void();
29350 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29351 PyObject
*resultobj
= 0;
29352 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29358 PyObject
* obj0
= 0 ;
29359 PyObject
* obj1
= 0 ;
29360 char * kwnames
[] = {
29361 (char *) "self",(char *) "flag", NULL
29364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29366 if (!SWIG_IsOK(res1
)) {
29367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29369 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29370 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29371 if (!SWIG_IsOK(ecode2
)) {
29372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
29374 arg2
= static_cast< bool >(val2
);
29376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29377 (arg1
)->EnableSelection(arg2
);
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 resultobj
= SWIG_Py_Void();
29388 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
= 0;
29390 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29396 PyObject
* obj0
= 0 ;
29397 PyObject
* obj1
= 0 ;
29398 char * kwnames
[] = {
29399 (char *) "self",(char *) "flag", NULL
29402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29404 if (!SWIG_IsOK(res1
)) {
29405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29407 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29408 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29409 if (!SWIG_IsOK(ecode2
)) {
29410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
29412 arg2
= static_cast< bool >(val2
);
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 (arg1
)->EnablePageNumbers(arg2
);
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29419 resultobj
= SWIG_Py_Void();
29426 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29427 PyObject
*resultobj
= 0;
29428 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29434 PyObject
* obj0
= 0 ;
29435 PyObject
* obj1
= 0 ;
29436 char * kwnames
[] = {
29437 (char *) "self",(char *) "flag", NULL
29440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29442 if (!SWIG_IsOK(res1
)) {
29443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29445 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29446 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29447 if (!SWIG_IsOK(ecode2
)) {
29448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
29450 arg2
= static_cast< bool >(val2
);
29452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29453 (arg1
)->EnableHelp(arg2
);
29454 wxPyEndAllowThreads(__tstate
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29457 resultobj
= SWIG_Py_Void();
29464 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29465 PyObject
*resultobj
= 0;
29466 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29470 PyObject
*swig_obj
[1] ;
29472 if (!args
) SWIG_fail
;
29473 swig_obj
[0] = args
;
29474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29475 if (!SWIG_IsOK(res1
)) {
29476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29478 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29481 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29494 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29495 PyObject
*resultobj
= 0;
29496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29500 PyObject
*swig_obj
[1] ;
29502 if (!args
) SWIG_fail
;
29503 swig_obj
[0] = args
;
29504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29505 if (!SWIG_IsOK(res1
)) {
29506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29508 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
29512 wxPyEndAllowThreads(__tstate
);
29513 if (PyErr_Occurred()) SWIG_fail
;
29516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29524 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29525 PyObject
*resultobj
= 0;
29526 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29530 PyObject
*swig_obj
[1] ;
29532 if (!args
) SWIG_fail
;
29533 swig_obj
[0] = args
;
29534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29535 if (!SWIG_IsOK(res1
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29538 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29554 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29555 PyObject
*resultobj
= 0;
29556 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29560 PyObject
*swig_obj
[1] ;
29562 if (!args
) SWIG_fail
;
29563 swig_obj
[0] = args
;
29564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29565 if (!SWIG_IsOK(res1
)) {
29566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29568 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29571 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
29572 wxPyEndAllowThreads(__tstate
);
29573 if (PyErr_Occurred()) SWIG_fail
;
29576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29584 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29585 PyObject
*resultobj
= 0;
29586 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29590 PyObject
*swig_obj
[1] ;
29592 if (!args
) SWIG_fail
;
29593 swig_obj
[0] = args
;
29594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29595 if (!SWIG_IsOK(res1
)) {
29596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29598 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29614 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29615 PyObject
*resultobj
= 0;
29616 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29617 wxPrintData
*result
= 0 ;
29620 PyObject
*swig_obj
[1] ;
29622 if (!args
) SWIG_fail
;
29623 swig_obj
[0] = args
;
29624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29625 if (!SWIG_IsOK(res1
)) {
29626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29628 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
29633 result
= (wxPrintData
*) &_result_ref
;
29635 wxPyEndAllowThreads(__tstate
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
29645 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29646 PyObject
*resultobj
= 0;
29647 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29648 wxPrintData
*arg2
= 0 ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 char * kwnames
[] = {
29656 (char *) "self",(char *) "printData", NULL
29659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29661 if (!SWIG_IsOK(res1
)) {
29662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29664 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
29666 if (!SWIG_IsOK(res2
)) {
29667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29672 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
29674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29675 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
29676 wxPyEndAllowThreads(__tstate
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29679 resultobj
= SWIG_Py_Void();
29686 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29689 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
29690 return SWIG_Py_Void();
29693 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29694 return SWIG_Python_InitShadowInstance(args
);
29697 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
= 0;
29699 wxWindow
*arg1
= (wxWindow
*) 0 ;
29700 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
29701 wxPrintDialog
*result
= 0 ;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 char * kwnames
[] = {
29709 (char *) "parent",(char *) "data", NULL
29712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29714 if (!SWIG_IsOK(res1
)) {
29715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
29717 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29720 if (!SWIG_IsOK(res2
)) {
29721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
29723 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
29726 if (!wxPyCheckForApp()) SWIG_fail
;
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
29739 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29740 PyObject
*resultobj
= 0;
29741 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29744 PyObject
*swig_obj
[1] ;
29746 if (!args
) SWIG_fail
;
29747 swig_obj
[0] = args
;
29748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
29749 if (!SWIG_IsOK(res1
)) {
29750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29752 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 wxPyEndAllowThreads(__tstate
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29760 resultobj
= SWIG_Py_Void();
29767 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29768 PyObject
*resultobj
= 0;
29769 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29773 PyObject
*swig_obj
[1] ;
29775 if (!args
) SWIG_fail
;
29776 swig_obj
[0] = args
;
29777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29778 if (!SWIG_IsOK(res1
)) {
29779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29781 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 result
= (int)(arg1
)->ShowModal();
29785 wxPyEndAllowThreads(__tstate
);
29786 if (PyErr_Occurred()) SWIG_fail
;
29788 resultobj
= SWIG_From_int(static_cast< int >(result
));
29795 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29796 PyObject
*resultobj
= 0;
29797 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29798 wxPrintDialogData
*result
= 0 ;
29801 PyObject
*swig_obj
[1] ;
29803 if (!args
) SWIG_fail
;
29804 swig_obj
[0] = args
;
29805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29806 if (!SWIG_IsOK(res1
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29809 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29813 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29814 result
= (wxPrintDialogData
*) &_result_ref
;
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29826 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29827 PyObject
*resultobj
= 0;
29828 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29829 wxPrintData
*result
= 0 ;
29832 PyObject
*swig_obj
[1] ;
29834 if (!args
) SWIG_fail
;
29835 swig_obj
[0] = args
;
29836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29837 if (!SWIG_IsOK(res1
)) {
29838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29840 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29844 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
29845 result
= (wxPrintData
*) &_result_ref
;
29847 wxPyEndAllowThreads(__tstate
);
29848 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
29857 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29858 PyObject
*resultobj
= 0;
29859 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29863 PyObject
*swig_obj
[1] ;
29865 if (!args
) SWIG_fail
;
29866 swig_obj
[0] = args
;
29867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29868 if (!SWIG_IsOK(res1
)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29871 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 result
= (wxDC
*)(arg1
)->GetPrintDC();
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29879 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
29887 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29890 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
29891 return SWIG_Py_Void();
29894 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29895 return SWIG_Python_InitShadowInstance(args
);
29898 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29899 PyObject
*resultobj
= 0;
29900 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
29901 wxPrinter
*result
= 0 ;
29904 PyObject
* obj0
= 0 ;
29905 char * kwnames
[] = {
29906 (char *) "data", NULL
29909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
29911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29912 if (!SWIG_IsOK(res1
)) {
29913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29915 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29918 if (!wxPyCheckForApp()) SWIG_fail
;
29919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29920 result
= (wxPrinter
*)new wxPrinter(arg1
);
29921 wxPyEndAllowThreads(__tstate
);
29922 if (PyErr_Occurred()) SWIG_fail
;
29924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
29931 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29932 PyObject
*resultobj
= 0;
29933 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29936 PyObject
*swig_obj
[1] ;
29938 if (!args
) SWIG_fail
;
29939 swig_obj
[0] = args
;
29940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
29941 if (!SWIG_IsOK(res1
)) {
29942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
29944 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 resultobj
= SWIG_Py_Void();
29959 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
= 0;
29961 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29962 wxWindow
*arg2
= (wxWindow
*) 0 ;
29963 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
29964 wxWindow
*result
= 0 ;
29971 PyObject
* obj0
= 0 ;
29972 PyObject
* obj1
= 0 ;
29973 PyObject
* obj2
= 0 ;
29974 char * kwnames
[] = {
29975 (char *) "self",(char *) "parent",(char *) "printout", NULL
29978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29980 if (!SWIG_IsOK(res1
)) {
29981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
29983 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29985 if (!SWIG_IsOK(res2
)) {
29986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
29988 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29989 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29990 if (!SWIG_IsOK(res3
)) {
29991 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29993 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= wxPyMake_wxObject(result
, 0);
30009 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30010 PyObject
*resultobj
= 0;
30011 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30012 wxWindow
*arg2
= (wxWindow
*) 0 ;
30013 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
30014 wxString
*arg4
= 0 ;
30021 bool temp4
= false ;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 PyObject
* obj2
= 0 ;
30025 PyObject
* obj3
= 0 ;
30026 char * kwnames
[] = {
30027 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
30030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30032 if (!SWIG_IsOK(res1
)) {
30033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
30035 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30036 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30037 if (!SWIG_IsOK(res2
)) {
30038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
30040 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30041 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30042 if (!SWIG_IsOK(res3
)) {
30043 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
30045 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
30047 arg4
= wxString_in_helper(obj3
);
30048 if (arg4
== NULL
) SWIG_fail
;
30052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30053 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
30054 wxPyEndAllowThreads(__tstate
);
30055 if (PyErr_Occurred()) SWIG_fail
;
30057 resultobj
= SWIG_Py_Void();
30072 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
= 0;
30074 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30075 wxWindow
*arg2
= (wxWindow
*) 0 ;
30081 PyObject
* obj0
= 0 ;
30082 PyObject
* obj1
= 0 ;
30083 char * kwnames
[] = {
30084 (char *) "self",(char *) "parent", NULL
30087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30089 if (!SWIG_IsOK(res1
)) {
30090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
30092 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30093 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30094 if (!SWIG_IsOK(res2
)) {
30095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
30097 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 result
= (bool)(arg1
)->Setup(arg2
);
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30113 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30114 PyObject
*resultobj
= 0;
30115 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30116 wxWindow
*arg2
= (wxWindow
*) 0 ;
30117 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
30118 bool arg4
= (bool) true ;
30128 PyObject
* obj0
= 0 ;
30129 PyObject
* obj1
= 0 ;
30130 PyObject
* obj2
= 0 ;
30131 PyObject
* obj3
= 0 ;
30132 char * kwnames
[] = {
30133 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
30136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30138 if (!SWIG_IsOK(res1
)) {
30139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
30141 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30143 if (!SWIG_IsOK(res2
)) {
30144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
30146 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30147 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30148 if (!SWIG_IsOK(res3
)) {
30149 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
30151 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
30153 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30154 if (!SWIG_IsOK(ecode4
)) {
30155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
30157 arg4
= static_cast< bool >(val4
);
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30174 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
= 0;
30176 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30177 wxWindow
*arg2
= (wxWindow
*) 0 ;
30183 PyObject
* obj0
= 0 ;
30184 PyObject
* obj1
= 0 ;
30185 char * kwnames
[] = {
30186 (char *) "self",(char *) "parent", NULL
30189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30191 if (!SWIG_IsOK(res1
)) {
30192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
30194 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30196 if (!SWIG_IsOK(res2
)) {
30197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
30199 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30202 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
30203 wxPyEndAllowThreads(__tstate
);
30204 if (PyErr_Occurred()) SWIG_fail
;
30207 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30215 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30216 PyObject
*resultobj
= 0;
30217 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30218 wxPrintDialogData
*result
= 0 ;
30221 PyObject
*swig_obj
[1] ;
30223 if (!args
) SWIG_fail
;
30224 swig_obj
[0] = args
;
30225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30226 if (!SWIG_IsOK(res1
)) {
30227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
30229 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30233 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
30234 result
= (wxPrintDialogData
*) &_result_ref
;
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30246 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30247 PyObject
*resultobj
= 0;
30248 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30252 PyObject
*swig_obj
[1] ;
30254 if (!args
) SWIG_fail
;
30255 swig_obj
[0] = args
;
30256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30257 if (!SWIG_IsOK(res1
)) {
30258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
30260 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 result
= (bool)(arg1
)->GetAbort();
30264 wxPyEndAllowThreads(__tstate
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30276 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30277 PyObject
*resultobj
= 0;
30278 wxPrinterError result
;
30280 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
30282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30283 result
= (wxPrinterError
)wxPrinter::GetLastError();
30284 wxPyEndAllowThreads(__tstate
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= SWIG_From_int(static_cast< int >(result
));
30294 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30297 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
30298 return SWIG_Py_Void();
30301 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30302 return SWIG_Python_InitShadowInstance(args
);
30305 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
= 0;
30307 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
30308 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
30309 wxPyPrintout
*result
= 0 ;
30310 bool temp1
= false ;
30311 PyObject
* obj0
= 0 ;
30312 char * kwnames
[] = {
30313 (char *) "title", NULL
30316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
30319 arg1
= wxString_in_helper(obj0
);
30320 if (arg1
== NULL
) SWIG_fail
;
30325 if (!wxPyCheckForApp()) SWIG_fail
;
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
30328 wxPyEndAllowThreads(__tstate
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
30346 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30347 PyObject
*resultobj
= 0;
30348 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30351 PyObject
*swig_obj
[1] ;
30353 if (!args
) SWIG_fail
;
30354 swig_obj
[0] = args
;
30355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30356 if (!SWIG_IsOK(res1
)) {
30357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30359 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30364 wxPyEndAllowThreads(__tstate
);
30365 if (PyErr_Occurred()) SWIG_fail
;
30367 resultobj
= SWIG_Py_Void();
30374 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30375 PyObject
*resultobj
= 0;
30376 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30377 PyObject
*arg2
= (PyObject
*) 0 ;
30378 PyObject
*arg3
= (PyObject
*) 0 ;
30381 PyObject
* obj0
= 0 ;
30382 PyObject
* obj1
= 0 ;
30383 PyObject
* obj2
= 0 ;
30384 char * kwnames
[] = {
30385 (char *) "self",(char *) "self",(char *) "_class", NULL
30388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30390 if (!SWIG_IsOK(res1
)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30393 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30399 wxPyEndAllowThreads(__tstate
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30402 resultobj
= SWIG_Py_Void();
30409 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30410 PyObject
*resultobj
= 0;
30411 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30415 PyObject
*swig_obj
[1] ;
30417 if (!args
) SWIG_fail
;
30418 swig_obj
[0] = args
;
30419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30420 if (!SWIG_IsOK(res1
)) {
30421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30423 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
30427 wxPyEndAllowThreads(__tstate
);
30428 if (PyErr_Occurred()) SWIG_fail
;
30432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30443 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30444 PyObject
*resultobj
= 0;
30445 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30449 PyObject
*swig_obj
[1] ;
30451 if (!args
) SWIG_fail
;
30452 swig_obj
[0] = args
;
30453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30454 if (!SWIG_IsOK(res1
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30457 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30460 result
= (wxDC
*)(arg1
)->GetDC();
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30465 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30473 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
= 0;
30475 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30476 wxDC
*arg2
= (wxDC
*) 0 ;
30481 PyObject
* obj0
= 0 ;
30482 PyObject
* obj1
= 0 ;
30483 char * kwnames
[] = {
30484 (char *) "self",(char *) "dc", NULL
30487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30489 if (!SWIG_IsOK(res1
)) {
30490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30492 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
30494 if (!SWIG_IsOK(res2
)) {
30495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
30497 arg2
= reinterpret_cast< wxDC
* >(argp2
);
30499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30500 (arg1
)->SetDC(arg2
);
30501 wxPyEndAllowThreads(__tstate
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30504 resultobj
= SWIG_Py_Void();
30511 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30512 PyObject
*resultobj
= 0;
30513 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30518 PyObject
* obj0
= 0 ;
30519 PyObject
* obj1
= 0 ;
30520 char * kwnames
[] = {
30521 (char *) "self",(char *) "imageSize", NULL
30524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30526 if (!SWIG_IsOK(res1
)) {
30527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30529 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30532 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= SWIG_Py_Void();
30547 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30548 PyObject
*resultobj
= 0;
30549 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30554 PyObject
* obj0
= 0 ;
30555 PyObject
* obj1
= 0 ;
30556 char * kwnames
[] = {
30557 (char *) "self",(char *) "imageSize", NULL
30560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30562 if (!SWIG_IsOK(res1
)) {
30563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30565 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30568 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30576 resultobj
= SWIG_Py_Void();
30583 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30584 PyObject
*resultobj
= 0;
30585 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30587 wxPageSetupDialogData
*arg3
= 0 ;
30593 PyObject
* obj0
= 0 ;
30594 PyObject
* obj1
= 0 ;
30595 PyObject
* obj2
= 0 ;
30596 char * kwnames
[] = {
30597 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
30600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30602 if (!SWIG_IsOK(res1
)) {
30603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30605 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30608 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30610 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30611 if (!SWIG_IsOK(res3
)) {
30612 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30617 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30624 resultobj
= SWIG_Py_Void();
30631 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30632 PyObject
*resultobj
= 0;
30633 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30636 PyObject
*swig_obj
[1] ;
30638 if (!args
) SWIG_fail
;
30639 swig_obj
[0] = args
;
30640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30641 if (!SWIG_IsOK(res1
)) {
30642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30644 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30647 (arg1
)->MapScreenSizeToPaper();
30648 wxPyEndAllowThreads(__tstate
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30651 resultobj
= SWIG_Py_Void();
30658 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30659 PyObject
*resultobj
= 0;
30660 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30663 PyObject
*swig_obj
[1] ;
30665 if (!args
) SWIG_fail
;
30666 swig_obj
[0] = args
;
30667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30668 if (!SWIG_IsOK(res1
)) {
30669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30671 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 (arg1
)->MapScreenSizeToPage();
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 resultobj
= SWIG_Py_Void();
30685 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
= 0;
30687 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30688 wxPageSetupDialogData
*arg2
= 0 ;
30693 PyObject
* obj0
= 0 ;
30694 PyObject
* obj1
= 0 ;
30695 char * kwnames
[] = {
30696 (char *) "self",(char *) "pageSetupData", NULL
30699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30701 if (!SWIG_IsOK(res1
)) {
30702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30704 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30706 if (!SWIG_IsOK(res2
)) {
30707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30712 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30715 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_Py_Void();
30726 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30727 PyObject
*resultobj
= 0;
30728 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30731 PyObject
*swig_obj
[1] ;
30733 if (!args
) SWIG_fail
;
30734 swig_obj
[0] = args
;
30735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30736 if (!SWIG_IsOK(res1
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30739 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30742 (arg1
)->MapScreenSizeToDevice();
30743 wxPyEndAllowThreads(__tstate
);
30744 if (PyErr_Occurred()) SWIG_fail
;
30746 resultobj
= SWIG_Py_Void();
30753 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30754 PyObject
*resultobj
= 0;
30755 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30759 PyObject
*swig_obj
[1] ;
30761 if (!args
) SWIG_fail
;
30762 swig_obj
[0] = args
;
30763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30764 if (!SWIG_IsOK(res1
)) {
30765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30767 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30770 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
30771 wxPyEndAllowThreads(__tstate
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30774 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30781 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30782 PyObject
*resultobj
= 0;
30783 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30787 PyObject
*swig_obj
[1] ;
30789 if (!args
) SWIG_fail
;
30790 swig_obj
[0] = args
;
30791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30792 if (!SWIG_IsOK(res1
)) {
30793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30795 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30798 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
30799 wxPyEndAllowThreads(__tstate
);
30800 if (PyErr_Occurred()) SWIG_fail
;
30802 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30809 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30810 PyObject
*resultobj
= 0;
30811 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30812 wxPageSetupDialogData
*arg2
= 0 ;
30818 PyObject
* obj0
= 0 ;
30819 PyObject
* obj1
= 0 ;
30820 char * kwnames
[] = {
30821 (char *) "self",(char *) "pageSetupData", NULL
30824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30826 if (!SWIG_IsOK(res1
)) {
30827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30829 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30831 if (!SWIG_IsOK(res2
)) {
30832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30837 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
30839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30840 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
30841 wxPyEndAllowThreads(__tstate
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30844 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30851 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30852 PyObject
*resultobj
= 0;
30853 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30862 PyObject
* obj0
= 0 ;
30863 PyObject
* obj1
= 0 ;
30864 PyObject
* obj2
= 0 ;
30865 char * kwnames
[] = {
30866 (char *) "self",(char *) "x",(char *) "y", NULL
30869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30871 if (!SWIG_IsOK(res1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30874 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30876 if (!SWIG_IsOK(ecode2
)) {
30877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30879 arg2
= static_cast< int >(val2
);
30880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30881 if (!SWIG_IsOK(ecode3
)) {
30882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30884 arg3
= static_cast< int >(val3
);
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30887 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30891 resultobj
= SWIG_Py_Void();
30898 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30899 PyObject
*resultobj
= 0;
30900 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30909 PyObject
* obj0
= 0 ;
30910 PyObject
* obj1
= 0 ;
30911 PyObject
* obj2
= 0 ;
30912 char * kwnames
[] = {
30913 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
30916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30918 if (!SWIG_IsOK(res1
)) {
30919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30921 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30923 if (!SWIG_IsOK(ecode2
)) {
30924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30926 arg2
= static_cast< int >(val2
);
30927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30928 if (!SWIG_IsOK(ecode3
)) {
30929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30931 arg3
= static_cast< int >(val3
);
30933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30934 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
30935 wxPyEndAllowThreads(__tstate
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30938 resultobj
= SWIG_Py_Void();
30945 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30946 PyObject
*resultobj
= 0;
30947 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30956 PyObject
* obj0
= 0 ;
30957 PyObject
* obj1
= 0 ;
30958 PyObject
* obj2
= 0 ;
30959 char * kwnames
[] = {
30960 (char *) "self",(char *) "w",(char *) "h", NULL
30963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30965 if (!SWIG_IsOK(res1
)) {
30966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30968 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30970 if (!SWIG_IsOK(ecode2
)) {
30971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
30973 arg2
= static_cast< int >(val2
);
30974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30975 if (!SWIG_IsOK(ecode3
)) {
30976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
30978 arg3
= static_cast< int >(val3
);
30980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 (arg1
)->SetPageSizePixels(arg2
,arg3
);
30982 wxPyEndAllowThreads(__tstate
);
30983 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= SWIG_Py_Void();
30992 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30993 PyObject
*resultobj
= 0;
30994 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30995 int *arg2
= (int *) 0 ;
30996 int *arg3
= (int *) 0 ;
31000 int res2
= SWIG_TMPOBJ
;
31002 int res3
= SWIG_TMPOBJ
;
31003 PyObject
*swig_obj
[1] ;
31007 if (!args
) SWIG_fail
;
31008 swig_obj
[0] = args
;
31009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31010 if (!SWIG_IsOK(res1
)) {
31011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31013 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31016 (arg1
)->GetPageSizePixels(arg2
,arg3
);
31017 wxPyEndAllowThreads(__tstate
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31020 resultobj
= SWIG_Py_Void();
31021 if (SWIG_IsTmpObj(res2
)) {
31022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31024 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31027 if (SWIG_IsTmpObj(res3
)) {
31028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31030 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31039 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
= 0;
31041 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 PyObject
* obj2
= 0 ;
31053 char * kwnames
[] = {
31054 (char *) "self",(char *) "w",(char *) "h", NULL
31057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31059 if (!SWIG_IsOK(res1
)) {
31060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31062 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31064 if (!SWIG_IsOK(ecode2
)) {
31065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
31067 arg2
= static_cast< int >(val2
);
31068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31069 if (!SWIG_IsOK(ecode3
)) {
31070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
31072 arg3
= static_cast< int >(val3
);
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 (arg1
)->SetPageSizeMM(arg2
,arg3
);
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 resultobj
= SWIG_Py_Void();
31086 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31087 PyObject
*resultobj
= 0;
31088 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31089 int *arg2
= (int *) 0 ;
31090 int *arg3
= (int *) 0 ;
31094 int res2
= SWIG_TMPOBJ
;
31096 int res3
= SWIG_TMPOBJ
;
31097 PyObject
*swig_obj
[1] ;
31101 if (!args
) SWIG_fail
;
31102 swig_obj
[0] = args
;
31103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31104 if (!SWIG_IsOK(res1
)) {
31105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31107 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31110 (arg1
)->GetPageSizeMM(arg2
,arg3
);
31111 wxPyEndAllowThreads(__tstate
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31114 resultobj
= SWIG_Py_Void();
31115 if (SWIG_IsTmpObj(res2
)) {
31116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31118 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31121 if (SWIG_IsTmpObj(res3
)) {
31122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31124 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31133 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31134 PyObject
*resultobj
= 0;
31135 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31144 PyObject
* obj0
= 0 ;
31145 PyObject
* obj1
= 0 ;
31146 PyObject
* obj2
= 0 ;
31147 char * kwnames
[] = {
31148 (char *) "self",(char *) "x",(char *) "y", NULL
31151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31153 if (!SWIG_IsOK(res1
)) {
31154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31156 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31158 if (!SWIG_IsOK(ecode2
)) {
31159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
31161 arg2
= static_cast< int >(val2
);
31162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31163 if (!SWIG_IsOK(ecode3
)) {
31164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
31166 arg3
= static_cast< int >(val3
);
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 (arg1
)->SetPPIScreen(arg2
,arg3
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= SWIG_Py_Void();
31180 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31181 PyObject
*resultobj
= 0;
31182 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31183 int *arg2
= (int *) 0 ;
31184 int *arg3
= (int *) 0 ;
31188 int res2
= SWIG_TMPOBJ
;
31190 int res3
= SWIG_TMPOBJ
;
31191 PyObject
*swig_obj
[1] ;
31195 if (!args
) SWIG_fail
;
31196 swig_obj
[0] = args
;
31197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31198 if (!SWIG_IsOK(res1
)) {
31199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31201 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31204 (arg1
)->GetPPIScreen(arg2
,arg3
);
31205 wxPyEndAllowThreads(__tstate
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31208 resultobj
= SWIG_Py_Void();
31209 if (SWIG_IsTmpObj(res2
)) {
31210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31212 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31215 if (SWIG_IsTmpObj(res3
)) {
31216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31218 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31227 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31228 PyObject
*resultobj
= 0;
31229 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31238 PyObject
* obj0
= 0 ;
31239 PyObject
* obj1
= 0 ;
31240 PyObject
* obj2
= 0 ;
31241 char * kwnames
[] = {
31242 (char *) "self",(char *) "x",(char *) "y", NULL
31245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31247 if (!SWIG_IsOK(res1
)) {
31248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31250 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31252 if (!SWIG_IsOK(ecode2
)) {
31253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
31255 arg2
= static_cast< int >(val2
);
31256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31257 if (!SWIG_IsOK(ecode3
)) {
31258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
31260 arg3
= static_cast< int >(val3
);
31262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31263 (arg1
)->SetPPIPrinter(arg2
,arg3
);
31264 wxPyEndAllowThreads(__tstate
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31267 resultobj
= SWIG_Py_Void();
31274 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31275 PyObject
*resultobj
= 0;
31276 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31277 int *arg2
= (int *) 0 ;
31278 int *arg3
= (int *) 0 ;
31282 int res2
= SWIG_TMPOBJ
;
31284 int res3
= SWIG_TMPOBJ
;
31285 PyObject
*swig_obj
[1] ;
31289 if (!args
) SWIG_fail
;
31290 swig_obj
[0] = args
;
31291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31292 if (!SWIG_IsOK(res1
)) {
31293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31295 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 (arg1
)->GetPPIPrinter(arg2
,arg3
);
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 resultobj
= SWIG_Py_Void();
31303 if (SWIG_IsTmpObj(res2
)) {
31304 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31306 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31307 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31309 if (SWIG_IsTmpObj(res3
)) {
31310 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31312 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31321 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31322 PyObject
*resultobj
= 0;
31323 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31328 PyObject
* obj0
= 0 ;
31329 PyObject
* obj1
= 0 ;
31330 char * kwnames
[] = {
31331 (char *) "self",(char *) "paperRectPixels", NULL
31334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31336 if (!SWIG_IsOK(res1
)) {
31337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31339 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31342 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
31347 wxPyEndAllowThreads(__tstate
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31350 resultobj
= SWIG_Py_Void();
31357 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31358 PyObject
*resultobj
= 0;
31359 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31363 PyObject
*swig_obj
[1] ;
31365 if (!args
) SWIG_fail
;
31366 swig_obj
[0] = args
;
31367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31368 if (!SWIG_IsOK(res1
)) {
31369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
31371 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31385 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31386 PyObject
*resultobj
= 0;
31387 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31391 PyObject
*swig_obj
[1] ;
31393 if (!args
) SWIG_fail
;
31394 swig_obj
[0] = args
;
31395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31396 if (!SWIG_IsOK(res1
)) {
31397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31399 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31402 result
= (bool)(arg1
)->IsPreview();
31403 wxPyEndAllowThreads(__tstate
);
31404 if (PyErr_Occurred()) SWIG_fail
;
31407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31415 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31416 PyObject
*resultobj
= 0;
31417 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31423 PyObject
* obj0
= 0 ;
31424 PyObject
* obj1
= 0 ;
31425 char * kwnames
[] = {
31426 (char *) "self",(char *) "p", NULL
31429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31431 if (!SWIG_IsOK(res1
)) {
31432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31434 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31435 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31436 if (!SWIG_IsOK(ecode2
)) {
31437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
31439 arg2
= static_cast< bool >(val2
);
31441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31442 (arg1
)->SetIsPreview(arg2
);
31443 wxPyEndAllowThreads(__tstate
);
31444 if (PyErr_Occurred()) SWIG_fail
;
31446 resultobj
= SWIG_Py_Void();
31453 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31454 PyObject
*resultobj
= 0;
31455 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31465 PyObject
* obj0
= 0 ;
31466 PyObject
* obj1
= 0 ;
31467 PyObject
* obj2
= 0 ;
31468 char * kwnames
[] = {
31469 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
31472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31474 if (!SWIG_IsOK(res1
)) {
31475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31477 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31479 if (!SWIG_IsOK(ecode2
)) {
31480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
31482 arg2
= static_cast< int >(val2
);
31483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31484 if (!SWIG_IsOK(ecode3
)) {
31485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
31487 arg3
= static_cast< int >(val3
);
31489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31490 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
31491 wxPyEndAllowThreads(__tstate
);
31492 if (PyErr_Occurred()) SWIG_fail
;
31495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31503 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31504 PyObject
*resultobj
= 0;
31505 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31508 PyObject
*swig_obj
[1] ;
31510 if (!args
) SWIG_fail
;
31511 swig_obj
[0] = args
;
31512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31513 if (!SWIG_IsOK(res1
)) {
31514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31516 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 (arg1
)->OnEndDocument();
31520 wxPyEndAllowThreads(__tstate
);
31521 if (PyErr_Occurred()) SWIG_fail
;
31523 resultobj
= SWIG_Py_Void();
31530 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31531 PyObject
*resultobj
= 0;
31532 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31535 PyObject
*swig_obj
[1] ;
31537 if (!args
) SWIG_fail
;
31538 swig_obj
[0] = args
;
31539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31540 if (!SWIG_IsOK(res1
)) {
31541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31543 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31546 (arg1
)->OnBeginPrinting();
31547 wxPyEndAllowThreads(__tstate
);
31548 if (PyErr_Occurred()) SWIG_fail
;
31550 resultobj
= SWIG_Py_Void();
31557 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31558 PyObject
*resultobj
= 0;
31559 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31562 PyObject
*swig_obj
[1] ;
31564 if (!args
) SWIG_fail
;
31565 swig_obj
[0] = args
;
31566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31567 if (!SWIG_IsOK(res1
)) {
31568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31570 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31573 (arg1
)->OnEndPrinting();
31574 wxPyEndAllowThreads(__tstate
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31577 resultobj
= SWIG_Py_Void();
31584 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31585 PyObject
*resultobj
= 0;
31586 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31589 PyObject
*swig_obj
[1] ;
31591 if (!args
) SWIG_fail
;
31592 swig_obj
[0] = args
;
31593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31594 if (!SWIG_IsOK(res1
)) {
31595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31597 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31600 (arg1
)->OnPreparePrinting();
31601 wxPyEndAllowThreads(__tstate
);
31602 if (PyErr_Occurred()) SWIG_fail
;
31604 resultobj
= SWIG_Py_Void();
31611 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31612 PyObject
*resultobj
= 0;
31613 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31620 PyObject
* obj0
= 0 ;
31621 PyObject
* obj1
= 0 ;
31622 char * kwnames
[] = {
31623 (char *) "self",(char *) "page", NULL
31626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31628 if (!SWIG_IsOK(res1
)) {
31629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31631 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31633 if (!SWIG_IsOK(ecode2
)) {
31634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
31636 arg2
= static_cast< int >(val2
);
31638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31639 result
= (bool)(arg1
)->HasPage(arg2
);
31640 wxPyEndAllowThreads(__tstate
);
31641 if (PyErr_Occurred()) SWIG_fail
;
31644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31652 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31653 PyObject
*resultobj
= 0;
31654 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31655 int *arg2
= (int *) 0 ;
31656 int *arg3
= (int *) 0 ;
31657 int *arg4
= (int *) 0 ;
31658 int *arg5
= (int *) 0 ;
31662 int res2
= SWIG_TMPOBJ
;
31664 int res3
= SWIG_TMPOBJ
;
31666 int res4
= SWIG_TMPOBJ
;
31668 int res5
= SWIG_TMPOBJ
;
31669 PyObject
*swig_obj
[1] ;
31675 if (!args
) SWIG_fail
;
31676 swig_obj
[0] = args
;
31677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31678 if (!SWIG_IsOK(res1
)) {
31679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31681 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31684 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
31685 wxPyEndAllowThreads(__tstate
);
31686 if (PyErr_Occurred()) SWIG_fail
;
31688 resultobj
= SWIG_Py_Void();
31689 if (SWIG_IsTmpObj(res2
)) {
31690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31692 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31695 if (SWIG_IsTmpObj(res3
)) {
31696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31698 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31701 if (SWIG_IsTmpObj(res4
)) {
31702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31704 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31707 if (SWIG_IsTmpObj(res5
)) {
31708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
31710 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
31719 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31722 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
31723 return SWIG_Py_Void();
31726 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31727 return SWIG_Python_InitShadowInstance(args
);
31730 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31731 PyObject
*resultobj
= 0;
31732 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31733 wxWindow
*arg2
= (wxWindow
*) 0 ;
31734 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31735 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31736 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31737 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31738 long arg5
= (long) 0 ;
31739 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
31740 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31741 wxPreviewCanvas
*result
= 0 ;
31750 bool temp6
= false ;
31751 PyObject
* obj0
= 0 ;
31752 PyObject
* obj1
= 0 ;
31753 PyObject
* obj2
= 0 ;
31754 PyObject
* obj3
= 0 ;
31755 PyObject
* obj4
= 0 ;
31756 PyObject
* obj5
= 0 ;
31757 char * kwnames
[] = {
31758 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
31762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31763 if (!SWIG_IsOK(res1
)) {
31764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31766 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31768 if (!SWIG_IsOK(res2
)) {
31769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
31771 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31775 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31781 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31785 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31786 if (!SWIG_IsOK(ecode5
)) {
31787 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
31789 arg5
= static_cast< long >(val5
);
31793 arg6
= wxString_in_helper(obj5
);
31794 if (arg6
== NULL
) SWIG_fail
;
31799 if (!wxPyCheckForApp()) SWIG_fail
;
31800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31801 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
31820 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31823 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
31824 return SWIG_Py_Void();
31827 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31828 return SWIG_Python_InitShadowInstance(args
);
31831 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31832 PyObject
*resultobj
= 0;
31833 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31834 wxFrame
*arg2
= (wxFrame
*) 0 ;
31835 wxString
*arg3
= 0 ;
31836 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31837 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31838 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31839 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31840 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31841 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31842 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31843 wxPreviewFrame
*result
= 0 ;
31847 bool temp3
= false ;
31852 bool temp7
= false ;
31853 PyObject
* obj0
= 0 ;
31854 PyObject
* obj1
= 0 ;
31855 PyObject
* obj2
= 0 ;
31856 PyObject
* obj3
= 0 ;
31857 PyObject
* obj4
= 0 ;
31858 PyObject
* obj5
= 0 ;
31859 PyObject
* obj6
= 0 ;
31860 char * kwnames
[] = {
31861 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31865 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31866 if (!SWIG_IsOK(res1
)) {
31867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31869 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31870 if (!SWIG_IsOK(res2
)) {
31871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31873 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31875 arg3
= wxString_in_helper(obj2
);
31876 if (arg3
== NULL
) SWIG_fail
;
31882 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31888 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31892 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31893 if (!SWIG_IsOK(ecode6
)) {
31894 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
31896 arg6
= static_cast< long >(val6
);
31900 arg7
= wxString_in_helper(obj6
);
31901 if (arg7
== NULL
) SWIG_fail
;
31906 if (!wxPyCheckForApp()) SWIG_fail
;
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31935 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31936 PyObject
*resultobj
= 0;
31937 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31940 PyObject
*swig_obj
[1] ;
31942 if (!args
) SWIG_fail
;
31943 swig_obj
[0] = args
;
31944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31945 if (!SWIG_IsOK(res1
)) {
31946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31948 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31951 (arg1
)->Initialize();
31952 wxPyEndAllowThreads(__tstate
);
31953 if (PyErr_Occurred()) SWIG_fail
;
31955 resultobj
= SWIG_Py_Void();
31962 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31963 PyObject
*resultobj
= 0;
31964 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31967 PyObject
*swig_obj
[1] ;
31969 if (!args
) SWIG_fail
;
31970 swig_obj
[0] = args
;
31971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31972 if (!SWIG_IsOK(res1
)) {
31973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31975 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31978 (arg1
)->CreateControlBar();
31979 wxPyEndAllowThreads(__tstate
);
31980 if (PyErr_Occurred()) SWIG_fail
;
31982 resultobj
= SWIG_Py_Void();
31989 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31990 PyObject
*resultobj
= 0;
31991 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31994 PyObject
*swig_obj
[1] ;
31996 if (!args
) SWIG_fail
;
31997 swig_obj
[0] = args
;
31998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31999 if (!SWIG_IsOK(res1
)) {
32000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
32002 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
32004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32005 (arg1
)->CreateCanvas();
32006 wxPyEndAllowThreads(__tstate
);
32007 if (PyErr_Occurred()) SWIG_fail
;
32009 resultobj
= SWIG_Py_Void();
32016 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32017 PyObject
*resultobj
= 0;
32018 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
32019 wxPreviewControlBar
*result
= 0 ;
32022 PyObject
*swig_obj
[1] ;
32024 if (!args
) SWIG_fail
;
32025 swig_obj
[0] = args
;
32026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
32027 if (!SWIG_IsOK(res1
)) {
32028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
32030 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
32032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32033 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32044 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32047 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
32048 return SWIG_Py_Void();
32051 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32052 return SWIG_Python_InitShadowInstance(args
);
32055 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32056 PyObject
*resultobj
= 0;
32057 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32059 wxWindow
*arg3
= (wxWindow
*) 0 ;
32060 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32061 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32062 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32063 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32064 long arg6
= (long) wxTAB_TRAVERSAL
;
32065 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
32066 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32067 wxPreviewControlBar
*result
= 0 ;
32078 bool temp7
= false ;
32079 PyObject
* obj0
= 0 ;
32080 PyObject
* obj1
= 0 ;
32081 PyObject
* obj2
= 0 ;
32082 PyObject
* obj3
= 0 ;
32083 PyObject
* obj4
= 0 ;
32084 PyObject
* obj5
= 0 ;
32085 PyObject
* obj6
= 0 ;
32086 char * kwnames
[] = {
32087 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32092 if (!SWIG_IsOK(res1
)) {
32093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32095 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32096 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32097 if (!SWIG_IsOK(ecode2
)) {
32098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
32100 arg2
= static_cast< long >(val2
);
32101 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32102 if (!SWIG_IsOK(res3
)) {
32103 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
32105 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
32109 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32115 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32119 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32120 if (!SWIG_IsOK(ecode6
)) {
32121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
32123 arg6
= static_cast< long >(val6
);
32127 arg7
= wxString_in_helper(obj6
);
32128 if (arg7
== NULL
) SWIG_fail
;
32133 if (!wxPyCheckForApp()) SWIG_fail
;
32134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32135 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
32136 wxPyEndAllowThreads(__tstate
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
32154 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32155 PyObject
*resultobj
= 0;
32156 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32160 PyObject
*swig_obj
[1] ;
32162 if (!args
) SWIG_fail
;
32163 swig_obj
[0] = args
;
32164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32165 if (!SWIG_IsOK(res1
)) {
32166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32168 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32171 result
= (int)(arg1
)->GetZoomControl();
32172 wxPyEndAllowThreads(__tstate
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32175 resultobj
= SWIG_From_int(static_cast< int >(result
));
32182 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32183 PyObject
*resultobj
= 0;
32184 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32190 PyObject
* obj0
= 0 ;
32191 PyObject
* obj1
= 0 ;
32192 char * kwnames
[] = {
32193 (char *) "self",(char *) "zoom", NULL
32196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32198 if (!SWIG_IsOK(res1
)) {
32199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32201 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32203 if (!SWIG_IsOK(ecode2
)) {
32204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
32206 arg2
= static_cast< int >(val2
);
32208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32209 (arg1
)->SetZoomControl(arg2
);
32210 wxPyEndAllowThreads(__tstate
);
32211 if (PyErr_Occurred()) SWIG_fail
;
32213 resultobj
= SWIG_Py_Void();
32220 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32221 PyObject
*resultobj
= 0;
32222 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32223 wxPrintPreview
*result
= 0 ;
32226 PyObject
*swig_obj
[1] ;
32228 if (!args
) SWIG_fail
;
32229 swig_obj
[0] = args
;
32230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32231 if (!SWIG_IsOK(res1
)) {
32232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32234 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32237 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
32238 wxPyEndAllowThreads(__tstate
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32248 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32249 PyObject
*resultobj
= 0;
32250 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32253 PyObject
*swig_obj
[1] ;
32255 if (!args
) SWIG_fail
;
32256 swig_obj
[0] = args
;
32257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32258 if (!SWIG_IsOK(res1
)) {
32259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32261 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32268 resultobj
= SWIG_Py_Void();
32275 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32276 PyObject
*resultobj
= 0;
32277 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32280 PyObject
*swig_obj
[1] ;
32282 if (!args
) SWIG_fail
;
32283 swig_obj
[0] = args
;
32284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32285 if (!SWIG_IsOK(res1
)) {
32286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32288 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32291 (arg1
)->OnPrevious();
32292 wxPyEndAllowThreads(__tstate
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32295 resultobj
= SWIG_Py_Void();
32302 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32303 PyObject
*resultobj
= 0;
32304 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32307 PyObject
*swig_obj
[1] ;
32309 if (!args
) SWIG_fail
;
32310 swig_obj
[0] = args
;
32311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32312 if (!SWIG_IsOK(res1
)) {
32313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32315 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32319 wxPyEndAllowThreads(__tstate
);
32320 if (PyErr_Occurred()) SWIG_fail
;
32322 resultobj
= SWIG_Py_Void();
32329 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32330 PyObject
*resultobj
= 0;
32331 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32334 PyObject
*swig_obj
[1] ;
32336 if (!args
) SWIG_fail
;
32337 swig_obj
[0] = args
;
32338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32339 if (!SWIG_IsOK(res1
)) {
32340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32342 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32349 resultobj
= SWIG_Py_Void();
32356 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32357 PyObject
*resultobj
= 0;
32358 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32361 PyObject
*swig_obj
[1] ;
32363 if (!args
) SWIG_fail
;
32364 swig_obj
[0] = args
;
32365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32366 if (!SWIG_IsOK(res1
)) {
32367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32369 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32376 resultobj
= SWIG_Py_Void();
32383 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32386 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
32387 return SWIG_Py_Void();
32390 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32391 return SWIG_Python_InitShadowInstance(args
);
32394 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32395 PyObject
*resultobj
= 0;
32396 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
32397 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32398 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
32399 wxPrintPreview
*result
= 0 ;
32405 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32406 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32407 if (!SWIG_IsOK(res1
)) {
32408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32410 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32411 if (!SWIG_IsOK(res2
)) {
32412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32415 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
32416 if (!SWIG_IsOK(res3
)) {
32417 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
32419 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
32422 if (!wxPyCheckForApp()) SWIG_fail
;
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
32435 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32436 PyObject
*resultobj
= 0;
32437 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
32438 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32439 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
32440 wxPrintPreview
*result
= 0 ;
32446 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
32447 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32448 if (!SWIG_IsOK(res1
)) {
32449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32451 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32452 if (!SWIG_IsOK(res2
)) {
32453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32455 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
32456 if (!SWIG_IsOK(res3
)) {
32457 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
32459 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
32461 if (!wxPyCheckForApp()) SWIG_fail
;
32462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32463 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
32464 wxPyEndAllowThreads(__tstate
);
32465 if (PyErr_Occurred()) SWIG_fail
;
32467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
32474 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
32478 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
32480 if ((argc
>= 2) && (argc
<= 3)) {
32485 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
32486 _v
= SWIG_CheckState(res
);
32488 if (!_v
) goto check_1
;
32490 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
32495 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
32499 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
32504 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32505 PyObject
*resultobj
= 0;
32506 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32509 PyObject
*swig_obj
[1] ;
32511 if (!args
) SWIG_fail
;
32512 swig_obj
[0] = args
;
32513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
32514 if (!SWIG_IsOK(res1
)) {
32515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32517 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32525 resultobj
= SWIG_Py_Void();
32532 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32533 PyObject
*resultobj
= 0;
32534 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32541 PyObject
* obj0
= 0 ;
32542 PyObject
* obj1
= 0 ;
32543 char * kwnames
[] = {
32544 (char *) "self",(char *) "pageNum", NULL
32547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32549 if (!SWIG_IsOK(res1
)) {
32550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32552 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32554 if (!SWIG_IsOK(ecode2
)) {
32555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
32557 arg2
= static_cast< int >(val2
);
32559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32560 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32573 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32574 PyObject
*resultobj
= 0;
32575 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32579 PyObject
*swig_obj
[1] ;
32581 if (!args
) SWIG_fail
;
32582 swig_obj
[0] = args
;
32583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32584 if (!SWIG_IsOK(res1
)) {
32585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32587 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32590 result
= (int)(arg1
)->GetCurrentPage();
32591 wxPyEndAllowThreads(__tstate
);
32592 if (PyErr_Occurred()) SWIG_fail
;
32594 resultobj
= SWIG_From_int(static_cast< int >(result
));
32601 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32602 PyObject
*resultobj
= 0;
32603 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32604 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32608 PyObject
* obj0
= 0 ;
32609 PyObject
* obj1
= 0 ;
32610 char * kwnames
[] = {
32611 (char *) "self",(char *) "printout", NULL
32614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32616 if (!SWIG_IsOK(res1
)) {
32617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32619 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32620 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32621 if (!SWIG_IsOK(res2
)) {
32622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32626 (arg1
)->SetPrintout(arg2
);
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32630 resultobj
= SWIG_Py_Void();
32637 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32638 PyObject
*resultobj
= 0;
32639 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32640 wxPyPrintout
*result
= 0 ;
32643 PyObject
*swig_obj
[1] ;
32645 if (!args
) SWIG_fail
;
32646 swig_obj
[0] = args
;
32647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32648 if (!SWIG_IsOK(res1
)) {
32649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32651 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32654 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
32655 wxPyEndAllowThreads(__tstate
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= wxPyMake_wxObject(result
, 0);
32667 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32668 PyObject
*resultobj
= 0;
32669 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32670 wxPyPrintout
*result
= 0 ;
32673 PyObject
*swig_obj
[1] ;
32675 if (!args
) SWIG_fail
;
32676 swig_obj
[0] = args
;
32677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32678 if (!SWIG_IsOK(res1
)) {
32679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32681 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
32685 wxPyEndAllowThreads(__tstate
);
32686 if (PyErr_Occurred()) SWIG_fail
;
32689 resultobj
= wxPyMake_wxObject(result
, 0);
32697 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
= 0;
32699 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32700 wxFrame
*arg2
= (wxFrame
*) 0 ;
32705 PyObject
* obj0
= 0 ;
32706 PyObject
* obj1
= 0 ;
32707 char * kwnames
[] = {
32708 (char *) "self",(char *) "frame", NULL
32711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32713 if (!SWIG_IsOK(res1
)) {
32714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32716 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
32718 if (!SWIG_IsOK(res2
)) {
32719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
32721 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
32723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32724 (arg1
)->SetFrame(arg2
);
32725 wxPyEndAllowThreads(__tstate
);
32726 if (PyErr_Occurred()) SWIG_fail
;
32728 resultobj
= SWIG_Py_Void();
32735 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32736 PyObject
*resultobj
= 0;
32737 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32738 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32743 PyObject
* obj0
= 0 ;
32744 PyObject
* obj1
= 0 ;
32745 char * kwnames
[] = {
32746 (char *) "self",(char *) "canvas", NULL
32749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32751 if (!SWIG_IsOK(res1
)) {
32752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32754 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32756 if (!SWIG_IsOK(res2
)) {
32757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32759 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32762 (arg1
)->SetCanvas(arg2
);
32763 wxPyEndAllowThreads(__tstate
);
32764 if (PyErr_Occurred()) SWIG_fail
;
32766 resultobj
= SWIG_Py_Void();
32773 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32774 PyObject
*resultobj
= 0;
32775 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32776 wxFrame
*result
= 0 ;
32779 PyObject
*swig_obj
[1] ;
32781 if (!args
) SWIG_fail
;
32782 swig_obj
[0] = args
;
32783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32784 if (!SWIG_IsOK(res1
)) {
32785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32787 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32790 result
= (wxFrame
*)(arg1
)->GetFrame();
32791 wxPyEndAllowThreads(__tstate
);
32792 if (PyErr_Occurred()) SWIG_fail
;
32795 resultobj
= wxPyMake_wxObject(result
, 0);
32803 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32804 PyObject
*resultobj
= 0;
32805 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32806 wxPreviewCanvas
*result
= 0 ;
32809 PyObject
*swig_obj
[1] ;
32811 if (!args
) SWIG_fail
;
32812 swig_obj
[0] = args
;
32813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32814 if (!SWIG_IsOK(res1
)) {
32815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32817 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32820 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
32821 wxPyEndAllowThreads(__tstate
);
32822 if (PyErr_Occurred()) SWIG_fail
;
32824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32831 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32832 PyObject
*resultobj
= 0;
32833 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32834 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32843 PyObject
* obj0
= 0 ;
32844 PyObject
* obj1
= 0 ;
32845 PyObject
* obj2
= 0 ;
32846 char * kwnames
[] = {
32847 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32852 if (!SWIG_IsOK(res1
)) {
32853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32855 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32857 if (!SWIG_IsOK(res2
)) {
32858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32860 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32861 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32862 if (!SWIG_IsOK(res3
)) {
32863 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32868 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32871 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
32872 wxPyEndAllowThreads(__tstate
);
32873 if (PyErr_Occurred()) SWIG_fail
;
32876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32884 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32885 PyObject
*resultobj
= 0;
32886 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32887 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32896 PyObject
* obj0
= 0 ;
32897 PyObject
* obj1
= 0 ;
32898 PyObject
* obj2
= 0 ;
32899 char * kwnames
[] = {
32900 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32905 if (!SWIG_IsOK(res1
)) {
32906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32908 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32910 if (!SWIG_IsOK(res2
)) {
32911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32913 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32914 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32915 if (!SWIG_IsOK(res3
)) {
32916 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32921 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32924 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
32925 wxPyEndAllowThreads(__tstate
);
32926 if (PyErr_Occurred()) SWIG_fail
;
32929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32937 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32938 PyObject
*resultobj
= 0;
32939 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32946 PyObject
* obj0
= 0 ;
32947 PyObject
* obj1
= 0 ;
32948 char * kwnames
[] = {
32949 (char *) "self",(char *) "pageNum", NULL
32952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32954 if (!SWIG_IsOK(res1
)) {
32955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32957 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32959 if (!SWIG_IsOK(ecode2
)) {
32960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
32962 arg2
= static_cast< int >(val2
);
32964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32965 result
= (bool)(arg1
)->RenderPage(arg2
);
32966 wxPyEndAllowThreads(__tstate
);
32967 if (PyErr_Occurred()) SWIG_fail
;
32970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32978 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32979 PyObject
*resultobj
= 0;
32980 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32981 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32986 PyObject
* obj0
= 0 ;
32987 PyObject
* obj1
= 0 ;
32988 char * kwnames
[] = {
32989 (char *) "self",(char *) "canvas", NULL
32992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32994 if (!SWIG_IsOK(res1
)) {
32995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32997 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32999 if (!SWIG_IsOK(res2
)) {
33000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33002 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
33004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33005 (arg1
)->AdjustScrollbars(arg2
);
33006 wxPyEndAllowThreads(__tstate
);
33007 if (PyErr_Occurred()) SWIG_fail
;
33009 resultobj
= SWIG_Py_Void();
33016 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33017 PyObject
*resultobj
= 0;
33018 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33019 wxPrintDialogData
*result
= 0 ;
33022 PyObject
*swig_obj
[1] ;
33024 if (!args
) SWIG_fail
;
33025 swig_obj
[0] = args
;
33026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33027 if (!SWIG_IsOK(res1
)) {
33028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33030 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33034 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
33035 result
= (wxPrintDialogData
*) &_result_ref
;
33037 wxPyEndAllowThreads(__tstate
);
33038 if (PyErr_Occurred()) SWIG_fail
;
33040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
33047 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33048 PyObject
*resultobj
= 0;
33049 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33055 PyObject
* obj0
= 0 ;
33056 PyObject
* obj1
= 0 ;
33057 char * kwnames
[] = {
33058 (char *) "self",(char *) "percent", NULL
33061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33063 if (!SWIG_IsOK(res1
)) {
33064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33066 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33068 if (!SWIG_IsOK(ecode2
)) {
33069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
33071 arg2
= static_cast< int >(val2
);
33073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33074 (arg1
)->SetZoom(arg2
);
33075 wxPyEndAllowThreads(__tstate
);
33076 if (PyErr_Occurred()) SWIG_fail
;
33078 resultobj
= SWIG_Py_Void();
33085 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33086 PyObject
*resultobj
= 0;
33087 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33091 PyObject
*swig_obj
[1] ;
33093 if (!args
) SWIG_fail
;
33094 swig_obj
[0] = args
;
33095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33096 if (!SWIG_IsOK(res1
)) {
33097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33099 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33102 result
= (int)(arg1
)->GetZoom();
33103 wxPyEndAllowThreads(__tstate
);
33104 if (PyErr_Occurred()) SWIG_fail
;
33106 resultobj
= SWIG_From_int(static_cast< int >(result
));
33113 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33114 PyObject
*resultobj
= 0;
33115 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33119 PyObject
*swig_obj
[1] ;
33121 if (!args
) SWIG_fail
;
33122 swig_obj
[0] = args
;
33123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33124 if (!SWIG_IsOK(res1
)) {
33125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33127 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 result
= (int)(arg1
)->GetMaxPage();
33131 wxPyEndAllowThreads(__tstate
);
33132 if (PyErr_Occurred()) SWIG_fail
;
33134 resultobj
= SWIG_From_int(static_cast< int >(result
));
33141 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33142 PyObject
*resultobj
= 0;
33143 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33147 PyObject
*swig_obj
[1] ;
33149 if (!args
) SWIG_fail
;
33150 swig_obj
[0] = args
;
33151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33152 if (!SWIG_IsOK(res1
)) {
33153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33155 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33158 result
= (int)(arg1
)->GetMinPage();
33159 wxPyEndAllowThreads(__tstate
);
33160 if (PyErr_Occurred()) SWIG_fail
;
33162 resultobj
= SWIG_From_int(static_cast< int >(result
));
33169 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33170 PyObject
*resultobj
= 0;
33171 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33175 PyObject
*swig_obj
[1] ;
33177 if (!args
) SWIG_fail
;
33178 swig_obj
[0] = args
;
33179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33180 if (!SWIG_IsOK(res1
)) {
33181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33183 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33186 result
= (bool)(arg1
)->IsOk();
33187 wxPyEndAllowThreads(__tstate
);
33188 if (PyErr_Occurred()) SWIG_fail
;
33191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33199 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
= 0;
33201 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33207 PyObject
* obj0
= 0 ;
33208 PyObject
* obj1
= 0 ;
33209 char * kwnames
[] = {
33210 (char *) "self",(char *) "ok", NULL
33213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33215 if (!SWIG_IsOK(res1
)) {
33216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33218 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33219 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33220 if (!SWIG_IsOK(ecode2
)) {
33221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
33223 arg2
= static_cast< bool >(val2
);
33225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33226 (arg1
)->SetOk(arg2
);
33227 wxPyEndAllowThreads(__tstate
);
33228 if (PyErr_Occurred()) SWIG_fail
;
33230 resultobj
= SWIG_Py_Void();
33237 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33238 PyObject
*resultobj
= 0;
33239 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33246 PyObject
* obj0
= 0 ;
33247 PyObject
* obj1
= 0 ;
33248 char * kwnames
[] = {
33249 (char *) "self",(char *) "interactive", NULL
33252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33254 if (!SWIG_IsOK(res1
)) {
33255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33257 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33258 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33259 if (!SWIG_IsOK(ecode2
)) {
33260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
33262 arg2
= static_cast< bool >(val2
);
33264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33265 result
= (bool)(arg1
)->Print(arg2
);
33266 wxPyEndAllowThreads(__tstate
);
33267 if (PyErr_Occurred()) SWIG_fail
;
33270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33278 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33279 PyObject
*resultobj
= 0;
33280 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33283 PyObject
*swig_obj
[1] ;
33285 if (!args
) SWIG_fail
;
33286 swig_obj
[0] = args
;
33287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33288 if (!SWIG_IsOK(res1
)) {
33289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33291 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33294 (arg1
)->DetermineScaling();
33295 wxPyEndAllowThreads(__tstate
);
33296 if (PyErr_Occurred()) SWIG_fail
;
33298 resultobj
= SWIG_Py_Void();
33305 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33308 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
33309 return SWIG_Py_Void();
33312 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33313 return SWIG_Python_InitShadowInstance(args
);
33316 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33317 PyObject
*resultobj
= 0;
33318 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
33319 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
33320 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
33321 wxPyPrintPreview
*result
= 0 ;
33327 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33328 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33329 if (!SWIG_IsOK(res1
)) {
33330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33332 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33333 if (!SWIG_IsOK(res2
)) {
33334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33337 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
33338 if (!SWIG_IsOK(res3
)) {
33339 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
33341 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
33344 if (!wxPyCheckForApp()) SWIG_fail
;
33345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33346 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
33347 wxPyEndAllowThreads(__tstate
);
33348 if (PyErr_Occurred()) SWIG_fail
;
33350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
33357 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33358 PyObject
*resultobj
= 0;
33359 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
33360 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
33361 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
33362 wxPyPrintPreview
*result
= 0 ;
33368 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
33369 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33370 if (!SWIG_IsOK(res1
)) {
33371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33373 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33374 if (!SWIG_IsOK(res2
)) {
33375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33377 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
33378 if (!SWIG_IsOK(res3
)) {
33379 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
33381 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
33383 if (!wxPyCheckForApp()) SWIG_fail
;
33384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33385 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
33386 wxPyEndAllowThreads(__tstate
);
33387 if (PyErr_Occurred()) SWIG_fail
;
33389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
33396 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
33400 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
33402 if ((argc
>= 2) && (argc
<= 3)) {
33407 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
33408 _v
= SWIG_CheckState(res
);
33410 if (!_v
) goto check_1
;
33412 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
33417 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
33421 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
33426 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33427 PyObject
*resultobj
= 0;
33428 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
33429 PyObject
*arg2
= (PyObject
*) 0 ;
33430 PyObject
*arg3
= (PyObject
*) 0 ;
33433 PyObject
* obj0
= 0 ;
33434 PyObject
* obj1
= 0 ;
33435 PyObject
* obj2
= 0 ;
33436 char * kwnames
[] = {
33437 (char *) "self",(char *) "self",(char *) "_class", NULL
33440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
33442 if (!SWIG_IsOK(res1
)) {
33443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
33445 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
33449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33450 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33451 wxPyEndAllowThreads(__tstate
);
33452 if (PyErr_Occurred()) SWIG_fail
;
33454 resultobj
= SWIG_Py_Void();
33461 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33464 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
33465 return SWIG_Py_Void();
33468 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33469 return SWIG_Python_InitShadowInstance(args
);
33472 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33473 PyObject
*resultobj
= 0;
33474 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33475 wxFrame
*arg2
= (wxFrame
*) 0 ;
33476 wxString
*arg3
= 0 ;
33477 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33478 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33479 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33480 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33481 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
33482 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
33483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33484 wxPyPreviewFrame
*result
= 0 ;
33488 bool temp3
= false ;
33493 bool temp7
= false ;
33494 PyObject
* obj0
= 0 ;
33495 PyObject
* obj1
= 0 ;
33496 PyObject
* obj2
= 0 ;
33497 PyObject
* obj3
= 0 ;
33498 PyObject
* obj4
= 0 ;
33499 PyObject
* obj5
= 0 ;
33500 PyObject
* obj6
= 0 ;
33501 char * kwnames
[] = {
33502 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33506 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33507 if (!SWIG_IsOK(res1
)) {
33508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
33511 if (!SWIG_IsOK(res2
)) {
33512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
33514 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
33516 arg3
= wxString_in_helper(obj2
);
33517 if (arg3
== NULL
) SWIG_fail
;
33523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33533 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33534 if (!SWIG_IsOK(ecode6
)) {
33535 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
33537 arg6
= static_cast< long >(val6
);
33541 arg7
= wxString_in_helper(obj6
);
33542 if (arg7
== NULL
) SWIG_fail
;
33547 if (!wxPyCheckForApp()) SWIG_fail
;
33548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33549 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
33550 wxPyEndAllowThreads(__tstate
);
33551 if (PyErr_Occurred()) SWIG_fail
;
33553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
33576 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33577 PyObject
*resultobj
= 0;
33578 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33579 PyObject
*arg2
= (PyObject
*) 0 ;
33580 PyObject
*arg3
= (PyObject
*) 0 ;
33583 PyObject
* obj0
= 0 ;
33584 PyObject
* obj1
= 0 ;
33585 PyObject
* obj2
= 0 ;
33586 char * kwnames
[] = {
33587 (char *) "self",(char *) "self",(char *) "_class", NULL
33590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33592 if (!SWIG_IsOK(res1
)) {
33593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33595 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33600 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33601 wxPyEndAllowThreads(__tstate
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33604 resultobj
= SWIG_Py_Void();
33611 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33612 PyObject
*resultobj
= 0;
33613 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33614 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
33619 PyObject
* obj0
= 0 ;
33620 PyObject
* obj1
= 0 ;
33621 char * kwnames
[] = {
33622 (char *) "self",(char *) "canvas", NULL
33625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33627 if (!SWIG_IsOK(res1
)) {
33628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33630 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33631 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
33632 if (!SWIG_IsOK(res2
)) {
33633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33635 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
33637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33638 (arg1
)->SetPreviewCanvas(arg2
);
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33642 resultobj
= SWIG_Py_Void();
33649 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33650 PyObject
*resultobj
= 0;
33651 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33652 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
33657 PyObject
* obj0
= 0 ;
33658 PyObject
* obj1
= 0 ;
33659 char * kwnames
[] = {
33660 (char *) "self",(char *) "bar", NULL
33663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33665 if (!SWIG_IsOK(res1
)) {
33666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33668 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
33670 if (!SWIG_IsOK(res2
)) {
33671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
33673 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
33675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33676 (arg1
)->SetControlBar(arg2
);
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33680 resultobj
= SWIG_Py_Void();
33687 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33688 PyObject
*resultobj
= 0;
33689 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33692 PyObject
*swig_obj
[1] ;
33694 if (!args
) SWIG_fail
;
33695 swig_obj
[0] = args
;
33696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33697 if (!SWIG_IsOK(res1
)) {
33698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33700 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33703 (arg1
)->Initialize();
33704 wxPyEndAllowThreads(__tstate
);
33705 if (PyErr_Occurred()) SWIG_fail
;
33707 resultobj
= SWIG_Py_Void();
33714 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33715 PyObject
*resultobj
= 0;
33716 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33719 PyObject
*swig_obj
[1] ;
33721 if (!args
) SWIG_fail
;
33722 swig_obj
[0] = args
;
33723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33724 if (!SWIG_IsOK(res1
)) {
33725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33727 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33730 (arg1
)->CreateCanvas();
33731 wxPyEndAllowThreads(__tstate
);
33732 if (PyErr_Occurred()) SWIG_fail
;
33734 resultobj
= SWIG_Py_Void();
33741 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33742 PyObject
*resultobj
= 0;
33743 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33746 PyObject
*swig_obj
[1] ;
33748 if (!args
) SWIG_fail
;
33749 swig_obj
[0] = args
;
33750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33751 if (!SWIG_IsOK(res1
)) {
33752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33754 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33757 (arg1
)->CreateControlBar();
33758 wxPyEndAllowThreads(__tstate
);
33759 if (PyErr_Occurred()) SWIG_fail
;
33761 resultobj
= SWIG_Py_Void();
33768 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33771 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
33772 return SWIG_Py_Void();
33775 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33776 return SWIG_Python_InitShadowInstance(args
);
33779 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33780 PyObject
*resultobj
= 0;
33781 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33783 wxWindow
*arg3
= (wxWindow
*) 0 ;
33784 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33785 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33786 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33787 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33788 long arg6
= (long) 0 ;
33789 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
33790 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33791 wxPyPreviewControlBar
*result
= 0 ;
33801 bool temp7
= false ;
33802 PyObject
* obj0
= 0 ;
33803 PyObject
* obj1
= 0 ;
33804 PyObject
* obj2
= 0 ;
33805 PyObject
* obj3
= 0 ;
33806 PyObject
* obj4
= 0 ;
33807 PyObject
* obj5
= 0 ;
33808 PyObject
* obj6
= 0 ;
33809 char * kwnames
[] = {
33810 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33814 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33815 if (!SWIG_IsOK(res1
)) {
33816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33818 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33819 if (!SWIG_IsOK(ecode2
)) {
33820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
33822 arg2
= static_cast< long >(val2
);
33823 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33824 if (!SWIG_IsOK(res3
)) {
33825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
33827 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
33831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33841 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33842 if (!SWIG_IsOK(ecode6
)) {
33843 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
33845 arg6
= static_cast< long >(val6
);
33849 arg7
= wxString_in_helper(obj6
);
33850 if (arg7
== NULL
) SWIG_fail
;
33855 if (!wxPyCheckForApp()) SWIG_fail
;
33856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33857 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
33858 wxPyEndAllowThreads(__tstate
);
33859 if (PyErr_Occurred()) SWIG_fail
;
33861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
33876 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33877 PyObject
*resultobj
= 0;
33878 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33879 PyObject
*arg2
= (PyObject
*) 0 ;
33880 PyObject
*arg3
= (PyObject
*) 0 ;
33883 PyObject
* obj0
= 0 ;
33884 PyObject
* obj1
= 0 ;
33885 PyObject
* obj2
= 0 ;
33886 char * kwnames
[] = {
33887 (char *) "self",(char *) "self",(char *) "_class", NULL
33890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33892 if (!SWIG_IsOK(res1
)) {
33893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33895 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33900 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33901 wxPyEndAllowThreads(__tstate
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33904 resultobj
= SWIG_Py_Void();
33911 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33912 PyObject
*resultobj
= 0;
33913 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33914 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
33918 PyObject
* obj0
= 0 ;
33919 PyObject
* obj1
= 0 ;
33920 char * kwnames
[] = {
33921 (char *) "self",(char *) "preview", NULL
33924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33926 if (!SWIG_IsOK(res1
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33929 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33930 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33931 if (!SWIG_IsOK(res2
)) {
33932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 (arg1
)->SetPrintPreview(arg2
);
33937 wxPyEndAllowThreads(__tstate
);
33938 if (PyErr_Occurred()) SWIG_fail
;
33940 resultobj
= SWIG_Py_Void();
33947 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33948 PyObject
*resultobj
= 0;
33949 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33952 PyObject
*swig_obj
[1] ;
33954 if (!args
) SWIG_fail
;
33955 swig_obj
[0] = args
;
33956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33957 if (!SWIG_IsOK(res1
)) {
33958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33960 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33963 (arg1
)->CreateButtons();
33964 wxPyEndAllowThreads(__tstate
);
33965 if (PyErr_Occurred()) SWIG_fail
;
33967 resultobj
= SWIG_Py_Void();
33974 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33975 PyObject
*resultobj
= 0;
33976 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33982 PyObject
* obj0
= 0 ;
33983 PyObject
* obj1
= 0 ;
33984 char * kwnames
[] = {
33985 (char *) "self",(char *) "zoom", NULL
33988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33990 if (!SWIG_IsOK(res1
)) {
33991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33993 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33995 if (!SWIG_IsOK(ecode2
)) {
33996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
33998 arg2
= static_cast< int >(val2
);
34000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34001 (arg1
)->SetZoomControl(arg2
);
34002 wxPyEndAllowThreads(__tstate
);
34003 if (PyErr_Occurred()) SWIG_fail
;
34005 resultobj
= SWIG_Py_Void();
34012 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34015 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
34016 return SWIG_Py_Void();
34019 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34020 return SWIG_Python_InitShadowInstance(args
);
34023 static PyMethodDef SwigMethods
[] = {
34024 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34025 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
34026 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34027 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
34028 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34029 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
34030 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
34031 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34032 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
34033 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34034 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34035 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34036 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34037 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34038 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34039 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
34040 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34041 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
34042 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34043 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
34044 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
34045 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
34046 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
34047 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
34048 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34049 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34050 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
34051 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34052 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
34053 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34054 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34055 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34056 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34057 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34058 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
34059 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34060 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
34061 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
34062 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
34063 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
34064 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34065 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34066 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34067 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
34068 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34069 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
34070 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34071 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34072 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34073 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
34074 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34075 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
34076 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34077 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
34078 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34079 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34080 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
34081 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
34082 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34083 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
34084 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34085 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
34086 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34087 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
34088 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34089 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34090 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
34091 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34092 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34093 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34094 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34095 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34096 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34097 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
34098 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34099 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
34100 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34101 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34102 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34103 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34104 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
34105 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
34106 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34107 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
34108 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34109 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34110 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
34111 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34112 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
34113 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34114 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
34115 { (char *)"Dialog_GetParentForModalDialog", (PyCFunction
) _wrap_Dialog_GetParentForModalDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34116 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34117 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34118 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34119 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34120 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
34121 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
34122 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34123 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34124 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
34125 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
34126 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34127 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
34128 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34129 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
34130 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
34131 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34132 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34133 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
34134 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
34135 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
34136 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34137 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
34138 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
34139 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
34140 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
34141 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
34142 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34143 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
34144 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34145 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34146 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
34147 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34148 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34149 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34150 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34151 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34152 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34153 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34154 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34155 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
34156 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
34157 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34158 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
34159 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
34160 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34161 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
34162 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34163 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
34164 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
34165 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34166 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
34167 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34168 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34169 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34170 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34171 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34172 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
34173 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
34174 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34175 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34176 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
34177 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
34178 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34179 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
34180 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34181 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
34182 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34183 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
34184 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34185 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
34186 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34187 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
34188 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34189 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
34190 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
34191 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34192 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34193 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
34194 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
34195 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
34196 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
34197 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
34198 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
34199 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34200 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
34201 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34202 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34203 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34204 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34205 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34206 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
34207 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34208 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
34209 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34210 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34211 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
34212 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
34213 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34214 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34215 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
34216 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
34217 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34218 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
34219 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
34220 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
34221 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34222 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34223 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
34224 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34225 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
34226 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34227 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
34228 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
34229 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
34230 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34231 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34232 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
34233 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34234 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
34235 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34236 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
34237 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34238 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
34239 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34240 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
34241 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
34242 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
34243 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34244 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34245 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
34246 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34247 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
34248 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
34249 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
34250 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34251 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
34252 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34253 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
34254 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
34255 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34256 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34257 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34258 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
34259 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
34260 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
34261 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
34262 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34263 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34264 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34265 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
34266 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
34267 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34268 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
34269 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34270 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34271 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
34272 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
34273 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34274 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
34275 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34276 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34277 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
34278 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
34279 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
34280 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34281 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34282 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
34283 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
34284 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
34285 { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction
) _wrap_VarScrollHelperBase_EnablePhysicalScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34286 { (char *)"VarScrollHelperBase_HitTest", (PyCFunction
) _wrap_VarScrollHelperBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34287 { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction
)_wrap_VarScrollHelperBase_RefreshAll
, METH_O
, NULL
},
34288 { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction
)_wrap_VarScrollHelperBase_GetVisibleBegin
, METH_O
, NULL
},
34289 { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction
)_wrap_VarScrollHelperBase_GetVisibleEnd
, METH_O
, NULL
},
34290 { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction
) _wrap_VarScrollHelperBase_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34291 { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction
) _wrap_VarScrollHelperBase_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34292 { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction
) _wrap_VarScrollHelperBase_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34293 { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction
)_wrap_VarScrollHelperBase_UpdateScrollbar
, METH_O
, NULL
},
34294 { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction
)_wrap_VarScrollHelperBase_RemoveScrollbar
, METH_O
, NULL
},
34295 { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction
) _wrap_VarScrollHelperBase_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34296 { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction
)_wrap_VarScrollHelperBase_GetTargetWindow
, METH_O
, NULL
},
34297 { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction
)_wrap_VarScrollHelperBase_GetOrientationTargetSize
, METH_O
, NULL
},
34298 { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction
)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize
, METH_O
, NULL
},
34299 { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction
)_wrap_VarScrollHelperBase_GetOrientation
, METH_O
, NULL
},
34300 { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister
, METH_VARARGS
, NULL
},
34301 { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction
) _wrap_VarVScrollHelper_SetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34302 { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction
) _wrap_VarVScrollHelper_ScrollToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34303 { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction
) _wrap_VarVScrollHelper_ScrollRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34304 { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction
) _wrap_VarVScrollHelper_ScrollRowPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34305 { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction
) _wrap_VarVScrollHelper_RefreshRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34306 { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction
) _wrap_VarVScrollHelper_RefreshRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34307 { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction
)_wrap_VarVScrollHelper_GetRowCount
, METH_O
, NULL
},
34308 { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction
)_wrap_VarVScrollHelper_GetVisibleRowsBegin
, METH_O
, NULL
},
34309 { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction
)_wrap_VarVScrollHelper_GetVisibleRowsEnd
, METH_O
, NULL
},
34310 { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction
) _wrap_VarVScrollHelper_IsRowVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34311 { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34312 { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction
) _wrap_VarHScrollHelper_SetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34313 { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction
) _wrap_VarHScrollHelper_ScrollToColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34314 { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction
) _wrap_VarHScrollHelper_ScrollColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34315 { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction
) _wrap_VarHScrollHelper_ScrollColumnPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34316 { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction
) _wrap_VarHScrollHelper_RefreshColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34317 { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction
) _wrap_VarHScrollHelper_RefreshColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34318 { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction
)_wrap_VarHScrollHelper_GetColumnCount
, METH_O
, NULL
},
34319 { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction
)_wrap_VarHScrollHelper_GetVisibleColumnsBegin
, METH_O
, NULL
},
34320 { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction
)_wrap_VarHScrollHelper_GetVisibleColumnsEnd
, METH_O
, NULL
},
34321 { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction
) _wrap_VarHScrollHelper_IsColumnVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34322 { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34323 { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction
) _wrap_VarHVScrollHelper_SetRowColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34324 { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction
) _wrap_VarHVScrollHelper_EnablePhysicalScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34325 { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction
) _wrap_VarHVScrollHelper_ScrollToRowColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34326 { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction
) _wrap_VarHVScrollHelper_RefreshRowColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34327 { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction
) _wrap_VarHVScrollHelper_RefreshRowsColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34328 { (char *)"VarHVScrollHelper_HitTest", (PyCFunction
) _wrap_VarHVScrollHelper_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34329 { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction
)_wrap_VarHVScrollHelper_ScrollLayout
, METH_O
, NULL
},
34330 { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction
)_wrap_VarHVScrollHelper_GetRowColumnCount
, METH_O
, NULL
},
34331 { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction
)_wrap_VarHVScrollHelper_GetVisibleBegin
, METH_O
, NULL
},
34332 { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction
)_wrap_VarHVScrollHelper_GetVisibleEnd
, METH_O
, NULL
},
34333 { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction
) _wrap_VarHVScrollHelper_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34334 { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34335 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34336 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
34337 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34338 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34339 { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction
) _wrap_VScrolledWindow_GetRowsHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34340 { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction
)_wrap_VScrolledWindow_EstimateTotalHeight
, METH_O
, NULL
},
34341 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34342 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34343 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34344 { (char *)"new_HScrolledWindow", (PyCFunction
) _wrap_new_HScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34345 { (char *)"new_PreHScrolledWindow", (PyCFunction
)_wrap_new_PreHScrolledWindow
, METH_NOARGS
, NULL
},
34346 { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_HScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34347 { (char *)"HScrolledWindow_Create", (PyCFunction
) _wrap_HScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34348 { (char *)"HScrolledWindow_HitTest", (PyCFunction
) _wrap_HScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34349 { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction
) _wrap_HScrolledWindow_GetColumnsWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34350 { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction
)_wrap_HScrolledWindow_EstimateTotalWidth
, METH_O
, NULL
},
34351 { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34352 { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34353 { (char *)"new_HVScrolledWindow", (PyCFunction
) _wrap_new_HVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34354 { (char *)"new_PreHVScrolledWindow", (PyCFunction
)_wrap_new_PreHVScrolledWindow
, METH_NOARGS
, NULL
},
34355 { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_HVScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34356 { (char *)"HVScrolledWindow_Create", (PyCFunction
) _wrap_HVScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34357 { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction
) _wrap_HVScrolledWindow_GetRowsHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34358 { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction
)_wrap_HVScrolledWindow_EstimateTotalHeight
, METH_O
, NULL
},
34359 { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction
) _wrap_HVScrolledWindow_GetColumnsWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34360 { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction
)_wrap_HVScrolledWindow_EstimateTotalWidth
, METH_O
, NULL
},
34361 { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34362 { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34363 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34364 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
34365 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34366 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34367 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
34368 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
34369 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
34370 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34371 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34372 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
34373 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
34374 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34375 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
34376 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
34377 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34378 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
34379 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34380 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34381 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34382 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34383 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
34384 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
34385 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34386 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34387 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34388 { (char *)"VListBox_RefreshSelected", (PyCFunction
)_wrap_VListBox_RefreshSelected
, METH_O
, NULL
},
34389 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34390 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34391 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
34392 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
34393 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34394 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
34395 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34396 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34397 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34398 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
34399 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34400 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
34401 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
34402 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34403 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
34404 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34405 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
34406 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
34407 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
34408 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
34409 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34410 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
34411 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
34412 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
34413 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34414 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
34415 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34416 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
34417 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
34418 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34419 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
34420 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
34421 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
34422 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
34423 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
34424 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
34425 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34426 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34427 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34428 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34429 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
34430 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
34431 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34432 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
34433 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
34434 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
34435 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34436 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34437 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
34438 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
34439 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34440 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34441 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
34442 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
34443 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34444 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34445 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34446 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34447 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34448 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34449 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34450 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
34451 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
34452 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
34453 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
34454 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
34455 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
34456 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
34457 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
34458 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
34459 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
34460 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34461 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34462 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
34463 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
34464 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
34465 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34466 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
34467 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
34468 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34469 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
34470 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
34471 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
34473 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34474 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34475 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34476 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34477 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34478 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34479 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34480 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
34481 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34482 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34483 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
34484 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
34485 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
34487 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
34488 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
34489 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
34490 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
34491 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
34492 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34493 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34494 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34495 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34496 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34497 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
34499 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
34500 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34501 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
34502 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
34503 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
34504 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34505 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34506 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
34507 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
34508 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34509 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34511 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
34512 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
34513 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
34514 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
34516 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
34517 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
34518 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
34519 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34521 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34522 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
34523 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
34524 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34525 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
34526 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
34527 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
34528 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
34529 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34530 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34531 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34532 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
34533 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
34534 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34535 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
34536 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34537 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
34538 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34539 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
34540 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
34541 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34542 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
34543 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
34545 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
34546 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
34547 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
34548 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
34549 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
34550 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
34551 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34552 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34553 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
34554 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
34555 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34556 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
34557 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
34559 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
34560 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
34561 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
34563 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34564 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
34565 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
34566 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34567 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
34568 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34569 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34571 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34572 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34573 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34574 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
34575 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
34576 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
34577 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
34578 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
34579 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
34580 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
34581 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
34582 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
34583 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34584 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
34585 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34587 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34588 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34589 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34590 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34591 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
34592 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
34593 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
34594 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
34595 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
34596 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
34597 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
34598 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
34599 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
34600 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
34602 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34605 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
34609 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
34610 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
34611 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
34612 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
34613 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
34614 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
34615 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34616 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34617 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
34618 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
34619 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
34620 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
34621 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
34622 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
34623 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
34624 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
34625 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
34626 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
34627 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
34628 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
34629 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
34630 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
34631 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
34632 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
34633 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34634 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34636 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34637 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34643 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34644 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34645 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34646 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
34647 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34648 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
34649 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
34651 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
34652 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
34653 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
34654 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34655 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34656 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34657 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34658 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34659 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
34660 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
34661 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
34662 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
34663 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
34664 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
34665 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
34666 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
34667 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
34668 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
34669 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
34670 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
34671 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
34672 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
34673 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
34674 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34675 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34676 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34679 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34683 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
34684 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
34685 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
34686 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
34687 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34688 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
34689 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
34690 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
34691 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
34692 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
34693 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
34694 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
34695 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
34696 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
34697 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
34698 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
34699 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
34700 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
34701 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
34702 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
34703 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
34704 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
34705 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34706 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34708 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34713 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
34719 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
34720 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
34721 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
34722 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
34723 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
34724 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
34726 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
34727 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
34729 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
34730 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
34731 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
34732 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
34733 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
34734 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
34735 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34736 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
34737 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34738 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34740 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34741 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
34743 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
34744 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
34745 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
34746 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
34747 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34748 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
34749 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34750 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
34751 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
34752 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
34757 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
34758 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
34760 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
34761 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
34762 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34763 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
34767 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
34769 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
34771 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
34773 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34774 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
34775 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
34776 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
34779 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
34780 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
34781 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
34782 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
34784 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
34785 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
34786 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
34788 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
34789 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
34791 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
34792 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
34793 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
34794 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
34795 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
34796 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
34798 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
34800 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
34801 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
34802 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
34803 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
34804 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
34805 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
34806 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
34807 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
34808 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
34809 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
34811 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
34813 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
34814 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
34817 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
34818 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
34823 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
34825 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
34826 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
34827 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
34828 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
34831 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
34832 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
34833 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
34834 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
34836 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
34837 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
34842 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
34843 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
34844 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
34845 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
34846 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
34850 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
34852 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
34853 { NULL
, NULL
, 0, NULL
}
34857 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34859 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
34860 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34862 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
34863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34865 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
34866 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
34868 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
34869 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
34871 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
34872 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
34874 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
34875 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
34877 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
34878 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
34880 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
34881 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
34883 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
34884 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
34886 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
34887 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
34889 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
34890 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
34892 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
34893 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
34895 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
34896 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
34898 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
34899 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
34901 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
34902 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
34904 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
34905 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
34907 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
34908 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
34910 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
34911 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
34913 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
34914 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
34916 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
34917 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
34919 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
34920 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
34922 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
34923 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
34925 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
34926 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
34928 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
34929 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
34931 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
34932 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
34934 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
34935 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
34937 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
34938 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
34940 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
34941 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
34943 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
34944 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
34946 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
34947 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
34949 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
34950 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
34952 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
34953 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
34955 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
34956 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
34958 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
34959 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
34961 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
34962 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34964 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
34965 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
34967 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
34968 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
34970 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
34971 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
34973 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
34974 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
34976 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
34977 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34979 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
34980 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34982 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
34983 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34985 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
34986 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
34988 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
34989 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
34991 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
34992 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
34994 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
34995 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
34997 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
34998 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
35000 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
35001 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
35003 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
35004 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35006 static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x
) {
35007 return (void *)((wxVarVScrollHelper
*) ((wxPyVScrolledWindow
*) x
));
35009 static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x
) {
35010 return (void *)((wxVarVScrollHelper
*) (wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
35012 static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x
) {
35013 return (void *)((wxVarVScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
35015 static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x
) {
35016 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35018 static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x
) {
35019 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35021 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x
) {
35022 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35024 static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x
) {
35025 return (void *)((wxVarHScrollHelper
*) ((wxPyHScrolledWindow
*) x
));
35027 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x
) {
35028 return (void *)((wxVarHScrollHelper
*) (wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
35030 static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x
) {
35031 return (void *)((wxVarHScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
35033 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x
) {
35034 return (void *)((wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
35036 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
35037 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
35039 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
35040 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
35042 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
35043 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
35045 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
35046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
35048 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
35049 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
35051 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
35052 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
35054 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
35055 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
35057 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
35058 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
35060 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
35061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
35063 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
35064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35066 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
35067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35069 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
35070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
35072 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
35073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35075 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
35076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
35078 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
35079 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
35081 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
35082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
35084 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
35085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
35087 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
35088 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
35090 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
35091 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
35093 static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x
) {
35094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35096 static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x
) {
35097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35099 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
35100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35102 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
35103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35105 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
35106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35108 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
35109 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
35111 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
35112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35114 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
35115 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
35117 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
35118 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
35120 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
35121 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
35123 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
35124 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
35126 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
35127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
35129 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
35130 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
35132 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
35133 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
35135 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
35136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35138 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
35139 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
35141 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
35142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
35144 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
35145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35147 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
35148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35150 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
35151 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
35153 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
35154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35156 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
35157 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
35159 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
35160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35162 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
35163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35165 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
35166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35168 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
35169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35171 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
35172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
35174 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
35175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35177 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
35178 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
35180 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
35181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
35183 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
35184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35186 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
35187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35189 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
35190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
35192 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
35193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35195 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
35196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35198 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
35199 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35201 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
35202 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35204 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
35205 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35207 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
35208 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
35210 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
35211 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
35213 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
35214 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
35216 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
35217 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35219 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
35220 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
35222 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
35223 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
35225 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
35226 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
35228 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35229 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35231 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
35232 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
35234 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
35235 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
35237 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
35238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
35240 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
35241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35243 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35244 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35246 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35247 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35249 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35252 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35253 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35255 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35256 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35258 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35259 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35261 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35262 return (void *)((wxObject
*) ((wxSizer
*) x
));
35264 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35265 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35267 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35268 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35270 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
35271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
35273 static void *_p_wxEventTo_p_wxObject(void *x
) {
35274 return (void *)((wxObject
*) ((wxEvent
*) x
));
35276 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
35277 return (void *)((wxObject
*) ((wxFontData
*) x
));
35279 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
35280 return (void *)((wxObject
*) ((wxPrintData
*) x
));
35282 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35283 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35285 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35286 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35288 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35289 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35291 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
35292 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
35294 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
35295 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
35297 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
35298 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
35300 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35301 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35303 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35304 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35306 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35307 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35309 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35310 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35312 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35313 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35315 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35316 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35318 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35319 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35321 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
35322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35324 static void *_p_wxControlTo_p_wxObject(void *x
) {
35325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35327 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35328 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35330 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
35331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
35333 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35334 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35336 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
35337 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
35339 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35340 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35342 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
35343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35345 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
35346 return (void *)((wxObject
*) ((wxColourData
*) x
));
35348 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35349 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35351 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35354 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
35355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
35357 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
35358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
35360 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
35361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
35363 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
35364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35366 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
35367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35369 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
35370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
35372 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
35373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35375 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
35376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
35378 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
35379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
35381 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
35382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
35384 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
35385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
35387 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35388 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35390 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
35391 return (void *)((wxObject
*) ((wxPrinter
*) x
));
35393 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35394 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35396 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35399 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35400 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35402 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35403 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35405 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35406 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35408 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35409 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35411 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35412 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35414 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35415 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35417 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35418 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35420 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35421 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35423 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35424 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35426 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35429 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35430 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35432 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35435 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35436 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35438 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35439 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35441 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35442 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35444 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35445 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35447 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35448 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35450 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35451 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35453 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35454 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35456 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35457 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35459 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35460 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35462 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
35463 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
35465 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35466 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35468 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35469 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35471 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
35472 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
35474 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
35475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35477 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
35478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35480 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
35481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35483 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35484 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35486 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35487 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35489 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
35490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
35492 static void *_p_wxImageTo_p_wxObject(void *x
) {
35493 return (void *)((wxObject
*) ((wxImage
*) x
));
35495 static void *_p_wxFrameTo_p_wxObject(void *x
) {
35496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
35498 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
35499 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
35501 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35502 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35504 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
35505 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
35507 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
35508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
35510 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
35511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35513 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35516 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35517 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35519 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35520 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35522 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35523 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35525 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35526 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35528 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35531 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
35532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
35534 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
35535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
35537 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
35538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
35540 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
35541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
35543 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
35544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
35546 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
35547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35549 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
35550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
35552 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
35553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35555 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
35556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35558 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
35559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35561 static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x
) {
35562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35564 static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x
) {
35565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35567 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
35568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
35570 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
35571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35573 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
35574 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
35576 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
35577 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
35579 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
35580 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
35582 static void *_p_wxPanelTo_p_wxObject(void *x
) {
35583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
35585 static void *_p_wxDialogTo_p_wxObject(void *x
) {
35586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
35588 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
35589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35591 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
35592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35594 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
35595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35597 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
35598 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
35600 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
35601 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
35603 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35604 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35606 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35609 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35610 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35612 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35613 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35615 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35616 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35618 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35619 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35621 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35622 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35624 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35627 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35628 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35630 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
35631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
35633 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
35634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35636 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35637 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35639 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35640 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35642 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35643 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35645 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35648 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
35649 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
35651 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
35652 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
35654 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35657 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35658 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35660 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
35661 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35663 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
35664 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35666 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
35667 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35669 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
35670 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35672 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
35673 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
35675 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
35676 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
35678 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
35679 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
35681 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
35682 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
35684 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
35685 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
35687 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
35688 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
35690 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
35691 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
35693 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
35694 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
35696 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
35697 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
35699 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
35700 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
35702 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35703 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
35705 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35706 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35708 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35709 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
35711 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
35712 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35714 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
35715 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35717 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
35718 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
35720 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
35721 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
35723 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
35724 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
35726 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
35727 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
35729 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
35730 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35732 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
35733 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
35735 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
35736 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
35738 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
35739 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
35741 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35742 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35744 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
35745 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
35747 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
35748 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
35750 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
35751 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35753 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
35754 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
35756 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
35757 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35759 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
35760 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35762 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
35763 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
35765 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
35766 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
35768 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
35769 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
35771 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
35772 return (void *)((wxWindow
*) ((wxPanel
*) x
));
35774 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
35775 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
35777 static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x
) {
35778 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35780 static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x
) {
35781 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35783 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
35784 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35786 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
35787 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35789 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
35790 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35792 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
35793 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
35795 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
35796 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35798 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
35799 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
35801 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
35802 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
35804 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
35805 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
35807 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
35808 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
35810 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
35811 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
35813 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
35814 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
35816 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
35817 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35819 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35820 return (void *)((wxWindow
*) ((wxControl
*) x
));
35822 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
35823 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
35825 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
35826 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35828 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
35829 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35831 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35832 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35834 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
35835 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
35837 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
35838 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35840 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
35841 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35843 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
35844 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35846 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
35847 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35849 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
35850 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
35852 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
35853 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35855 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
35856 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
35858 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
35859 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35861 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
35862 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35864 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
35865 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35867 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
35868 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
35870 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
35871 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35873 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35874 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35876 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35877 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35879 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35880 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35882 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
35883 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35885 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
35886 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35888 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
35889 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
35891 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
35892 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
35894 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
35895 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
35897 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
35898 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
35900 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
35901 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
35903 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
35904 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35906 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
35907 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35909 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
35910 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
35912 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
35913 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35915 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
35916 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
35918 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
35919 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
35921 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
35922 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
35924 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
35925 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
35927 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
35928 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35930 static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x
) {
35931 return (void *)((wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35933 static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x
) {
35934 return (void *)((wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35936 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
35937 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35939 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
35940 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35942 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
35943 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35945 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
35946 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35948 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
35949 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
35951 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
35952 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35954 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
35955 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
35957 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
35958 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35960 static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35961 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*) ((wxPyVScrolledWindow
*) x
));
35963 static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35964 return (void *)((wxVarScrollHelperBase
*) (wxVarHScrollHelper
*) ((wxPyHScrolledWindow
*) x
));
35966 static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35967 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
35969 static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35970 return (void *)((wxVarScrollHelperBase
*) ((wxVarVScrollHelper
*) x
));
35972 static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35973 return (void *)((wxVarScrollHelperBase
*) ((wxVarHScrollHelper
*) x
));
35975 static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35976 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
35978 static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35979 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35981 static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35982 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35984 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35985 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35987 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
35988 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35990 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
35991 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
35993 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
35994 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35996 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
35997 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
35999 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36000 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36002 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
36003 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
36005 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
36006 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
36008 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36009 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36011 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36012 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36014 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
36015 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
36017 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36018 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36020 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36021 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36023 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
36024 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
36026 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
36027 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
36029 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36030 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36032 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
36033 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
36034 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};
36035 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
36036 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
36037 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
36038 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
36039 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
36040 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
36041 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
36042 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
36043 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
36044 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
36045 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
36046 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
36047 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36048 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
36049 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
36050 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36051 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36052 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36053 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36054 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
36055 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
36056 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
36057 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
36058 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
36059 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
36060 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
36061 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36062 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36063 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36064 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36065 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
36066 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
36067 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
36068 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36069 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
36070 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36071 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36072 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36073 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36074 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36075 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36076 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
36077 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
36078 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
36079 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
36080 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
36081 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
36082 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36083 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36084 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
36085 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36086 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36087 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
36088 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
36089 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36090 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
36091 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
36092 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36093 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
36094 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
36095 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
36096 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
36097 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
36098 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
36099 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
36100 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
36101 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
36102 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
36103 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
36104 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
36105 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
36106 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
36107 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
36108 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
36109 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
36110 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
36111 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
36112 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
36113 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
36114 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
36115 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
36116 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
36117 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
36118 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
36119 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
36120 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
36121 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
36122 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
36123 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
36124 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
36125 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
36126 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
36127 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
36128 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
36129 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
36130 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
36131 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36132 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36133 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36134 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36135 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36136 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36137 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36138 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36139 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36140 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36141 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36142 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36143 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36144 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
36145 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36146 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
36147 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
36148 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
36149 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
36150 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36151 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
36152 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36153 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
36154 static swig_type_info _swigt__p_wxPosition
= {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0};
36155 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
36156 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
36157 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
36158 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36159 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
36160 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
36161 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
36162 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
36163 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
36164 static swig_type_info _swigt__p_wxPyHScrolledWindow
= {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0};
36165 static swig_type_info _swigt__p_wxPyHVScrolledWindow
= {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0};
36166 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
36167 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
36168 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
36169 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
36170 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
36171 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
36172 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
36173 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
36174 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
36175 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
36176 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
36177 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
36178 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
36179 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36180 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36181 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
36182 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
36183 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
36184 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
36185 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
36186 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
36187 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
36188 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36189 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
36190 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
36191 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
36192 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
36193 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
36194 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
36195 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36196 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
36197 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
36198 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
36199 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
36200 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
36201 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
36202 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
36203 static swig_type_info _swigt__p_wxVarHScrollHelper
= {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0};
36204 static swig_type_info _swigt__p_wxVarHVScrollHelper
= {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0};
36205 static swig_type_info _swigt__p_wxVarScrollHelperBase
= {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0};
36206 static swig_type_info _swigt__p_wxVarVScrollHelper
= {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0};
36207 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
36208 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36210 static swig_type_info
*swig_type_initial
[] = {
36213 &_swigt__p_form_ops_t
,
36215 &_swigt__p_unsigned_char
,
36216 &_swigt__p_unsigned_int
,
36217 &_swigt__p_unsigned_long
,
36218 &_swigt__p_wxANIHandler
,
36219 &_swigt__p_wxAcceleratorTable
,
36220 &_swigt__p_wxActivateEvent
,
36221 &_swigt__p_wxArrayInt
,
36222 &_swigt__p_wxArrayString
,
36223 &_swigt__p_wxBMPHandler
,
36224 &_swigt__p_wxBitmap
,
36225 &_swigt__p_wxBoxSizer
,
36226 &_swigt__p_wxCURHandler
,
36227 &_swigt__p_wxCalculateLayoutEvent
,
36228 &_swigt__p_wxChildFocusEvent
,
36229 &_swigt__p_wxClipboardTextEvent
,
36230 &_swigt__p_wxCloseEvent
,
36231 &_swigt__p_wxColour
,
36232 &_swigt__p_wxColourData
,
36233 &_swigt__p_wxColourDialog
,
36234 &_swigt__p_wxCommandEvent
,
36235 &_swigt__p_wxContextMenuEvent
,
36236 &_swigt__p_wxControl
,
36237 &_swigt__p_wxControlWithItems
,
36239 &_swigt__p_wxDateEvent
,
36240 &_swigt__p_wxDialog
,
36241 &_swigt__p_wxDirDialog
,
36242 &_swigt__p_wxDisplayChangedEvent
,
36243 &_swigt__p_wxDropFilesEvent
,
36244 &_swigt__p_wxDuplexMode
,
36245 &_swigt__p_wxEraseEvent
,
36246 &_swigt__p_wxEvent
,
36247 &_swigt__p_wxEventBlocker
,
36248 &_swigt__p_wxEvtHandler
,
36249 &_swigt__p_wxFSFile
,
36250 &_swigt__p_wxFileDialog
,
36251 &_swigt__p_wxFileSystem
,
36252 &_swigt__p_wxFindDialogEvent
,
36253 &_swigt__p_wxFindReplaceData
,
36254 &_swigt__p_wxFindReplaceDialog
,
36255 &_swigt__p_wxFlexGridSizer
,
36256 &_swigt__p_wxFocusEvent
,
36258 &_swigt__p_wxFontData
,
36259 &_swigt__p_wxFontDialog
,
36260 &_swigt__p_wxFrame
,
36261 &_swigt__p_wxGBSizerItem
,
36262 &_swigt__p_wxGIFHandler
,
36263 &_swigt__p_wxGridBagSizer
,
36264 &_swigt__p_wxGridSizer
,
36265 &_swigt__p_wxHtmlLinkInfo
,
36266 &_swigt__p_wxICOHandler
,
36268 &_swigt__p_wxIconBundle
,
36269 &_swigt__p_wxIconizeEvent
,
36270 &_swigt__p_wxIdleEvent
,
36271 &_swigt__p_wxImage
,
36272 &_swigt__p_wxImageHandler
,
36273 &_swigt__p_wxIndividualLayoutConstraint
,
36274 &_swigt__p_wxInitDialogEvent
,
36275 &_swigt__p_wxItemContainer
,
36276 &_swigt__p_wxJPEGHandler
,
36277 &_swigt__p_wxKeyEvent
,
36278 &_swigt__p_wxLayoutAlgorithm
,
36279 &_swigt__p_wxLayoutConstraints
,
36280 &_swigt__p_wxMDIChildFrame
,
36281 &_swigt__p_wxMDIClientWindow
,
36282 &_swigt__p_wxMDIParentFrame
,
36283 &_swigt__p_wxMaximizeEvent
,
36285 &_swigt__p_wxMenuBar
,
36286 &_swigt__p_wxMenuEvent
,
36287 &_swigt__p_wxMenuItem
,
36288 &_swigt__p_wxMessageDialog
,
36289 &_swigt__p_wxMiniFrame
,
36290 &_swigt__p_wxMouseCaptureChangedEvent
,
36291 &_swigt__p_wxMouseCaptureLostEvent
,
36292 &_swigt__p_wxMouseEvent
,
36293 &_swigt__p_wxMoveEvent
,
36294 &_swigt__p_wxMultiChoiceDialog
,
36295 &_swigt__p_wxNavigationKeyEvent
,
36296 &_swigt__p_wxNcPaintEvent
,
36297 &_swigt__p_wxNotifyEvent
,
36298 &_swigt__p_wxNumberEntryDialog
,
36299 &_swigt__p_wxObject
,
36300 &_swigt__p_wxPCXHandler
,
36301 &_swigt__p_wxPNGHandler
,
36302 &_swigt__p_wxPNMHandler
,
36303 &_swigt__p_wxPageSetupDialog
,
36304 &_swigt__p_wxPageSetupDialogData
,
36305 &_swigt__p_wxPaintEvent
,
36306 &_swigt__p_wxPaletteChangedEvent
,
36307 &_swigt__p_wxPanel
,
36308 &_swigt__p_wxPaperSize
,
36309 &_swigt__p_wxPasswordEntryDialog
,
36310 &_swigt__p_wxPoint
,
36311 &_swigt__p_wxPopupWindow
,
36312 &_swigt__p_wxPosition
,
36313 &_swigt__p_wxPreviewCanvas
,
36314 &_swigt__p_wxPreviewControlBar
,
36315 &_swigt__p_wxPreviewFrame
,
36316 &_swigt__p_wxPrintData
,
36317 &_swigt__p_wxPrintDialog
,
36318 &_swigt__p_wxPrintDialogData
,
36319 &_swigt__p_wxPrintPreview
,
36320 &_swigt__p_wxPrinter
,
36321 &_swigt__p_wxProgressDialog
,
36322 &_swigt__p_wxPyApp
,
36323 &_swigt__p_wxPyCommandEvent
,
36324 &_swigt__p_wxPyEvent
,
36325 &_swigt__p_wxPyHScrolledWindow
,
36326 &_swigt__p_wxPyHVScrolledWindow
,
36327 &_swigt__p_wxPyHtmlListBox
,
36328 &_swigt__p_wxPyImageHandler
,
36329 &_swigt__p_wxPyPanel
,
36330 &_swigt__p_wxPyPopupTransientWindow
,
36331 &_swigt__p_wxPyPreviewControlBar
,
36332 &_swigt__p_wxPyPreviewFrame
,
36333 &_swigt__p_wxPyPrintPreview
,
36334 &_swigt__p_wxPyPrintout
,
36335 &_swigt__p_wxPyScrolledWindow
,
36336 &_swigt__p_wxPySizer
,
36337 &_swigt__p_wxPyTaskBarIcon
,
36338 &_swigt__p_wxPyVListBox
,
36339 &_swigt__p_wxPyVScrolledWindow
,
36340 &_swigt__p_wxPyValidator
,
36341 &_swigt__p_wxPyWindow
,
36342 &_swigt__p_wxQueryLayoutInfoEvent
,
36343 &_swigt__p_wxQueryNewPaletteEvent
,
36345 &_swigt__p_wxRegion
,
36346 &_swigt__p_wxSashEvent
,
36347 &_swigt__p_wxSashLayoutWindow
,
36348 &_swigt__p_wxSashWindow
,
36349 &_swigt__p_wxScrollEvent
,
36350 &_swigt__p_wxScrollWinEvent
,
36351 &_swigt__p_wxScrolledWindow
,
36352 &_swigt__p_wxSetCursorEvent
,
36353 &_swigt__p_wxShowEvent
,
36354 &_swigt__p_wxSimpleHtmlListBox
,
36355 &_swigt__p_wxSingleChoiceDialog
,
36357 &_swigt__p_wxSizeEvent
,
36358 &_swigt__p_wxSizer
,
36359 &_swigt__p_wxSizerItem
,
36360 &_swigt__p_wxSplashScreen
,
36361 &_swigt__p_wxSplashScreenWindow
,
36362 &_swigt__p_wxSplitterEvent
,
36363 &_swigt__p_wxSplitterWindow
,
36364 &_swigt__p_wxStaticBoxSizer
,
36365 &_swigt__p_wxStatusBar
,
36366 &_swigt__p_wxStdDialogButtonSizer
,
36367 &_swigt__p_wxString
,
36368 &_swigt__p_wxSysColourChangedEvent
,
36369 &_swigt__p_wxTGAHandler
,
36370 &_swigt__p_wxTIFFHandler
,
36371 &_swigt__p_wxTaskBarIcon
,
36372 &_swigt__p_wxTaskBarIconEvent
,
36373 &_swigt__p_wxTextEntryDialog
,
36374 &_swigt__p_wxTipWindow
,
36375 &_swigt__p_wxToolBar
,
36376 &_swigt__p_wxTopLevelWindow
,
36377 &_swigt__p_wxUpdateUIEvent
,
36378 &_swigt__p_wxValidator
,
36379 &_swigt__p_wxVarHScrollHelper
,
36380 &_swigt__p_wxVarHVScrollHelper
,
36381 &_swigt__p_wxVarScrollHelperBase
,
36382 &_swigt__p_wxVarVScrollHelper
,
36383 &_swigt__p_wxVisualAttributes
,
36384 &_swigt__p_wxWindow
,
36385 &_swigt__p_wxWindowCreateEvent
,
36386 &_swigt__p_wxWindowDestroyEvent
,
36387 &_swigt__p_wxXPMHandler
,
36390 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
36391 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36392 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36393 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36394 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36395 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36396 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36397 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
36398 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
36399 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36400 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
36401 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36402 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
36403 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
36404 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36405 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36406 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36407 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36408 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36409 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36410 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36411 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36412 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36413 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}};
36414 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
36415 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}};
36416 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
36417 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36418 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36419 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36420 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36421 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36422 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36423 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36424 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36425 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36426 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36427 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36428 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36429 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36430 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36431 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36432 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36433 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36434 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36435 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36436 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36437 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36438 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36439 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36440 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36441 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36442 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36443 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36444 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}};
36445 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
36446 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36447 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36448 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36449 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36450 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}};
36451 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
36452 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36453 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36454 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
36455 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36456 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36457 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
36458 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
36459 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}};
36460 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
36461 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36462 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36463 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}};
36464 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
36465 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
36466 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
36467 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
36468 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36469 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36470 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
36471 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
36472 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36473 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}};
36474 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
36475 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36476 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36477 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36478 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36479 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36480 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36481 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36482 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36483 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36484 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36485 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36486 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36487 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36488 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36489 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36490 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36491 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36492 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36493 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36494 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36495 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36496 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36497 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36498 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36499 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36500 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36501 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
36502 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36503 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36504 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}};
36505 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
36506 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
36507 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}};
36508 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36509 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
36510 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36511 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}};
36512 static swig_cast_info _swigc__p_wxPosition
[] = { {&_swigt__p_wxPosition
, 0, 0, 0},{0, 0, 0, 0}};
36513 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
36514 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}};
36515 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}};
36516 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36517 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
36518 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
36519 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}};
36520 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
36521 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
36522 static swig_cast_info _swigc__p_wxPyHScrolledWindow
[] = { {&_swigt__p_wxPyHScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36523 static swig_cast_info _swigc__p_wxPyHVScrolledWindow
[] = { {&_swigt__p_wxPyHVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36524 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}};
36525 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
36526 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}};
36527 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
36528 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
36529 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
36530 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
36531 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36532 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
36533 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}};
36534 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}};
36535 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
36536 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
36537 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36538 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36539 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
36540 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
36541 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}};
36542 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36543 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}};
36544 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
36545 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36546 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36547 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
36548 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
36549 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
36550 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
36551 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
36552 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36553 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36554 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
36555 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
36556 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}};
36557 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
36558 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
36559 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}};
36560 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}};
36561 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}};
36562 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}};
36563 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}};
36564 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}};
36565 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
36566 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}};
36568 static swig_cast_info
*swig_cast_initial
[] = {
36571 _swigc__p_form_ops_t
,
36573 _swigc__p_unsigned_char
,
36574 _swigc__p_unsigned_int
,
36575 _swigc__p_unsigned_long
,
36576 _swigc__p_wxANIHandler
,
36577 _swigc__p_wxAcceleratorTable
,
36578 _swigc__p_wxActivateEvent
,
36579 _swigc__p_wxArrayInt
,
36580 _swigc__p_wxArrayString
,
36581 _swigc__p_wxBMPHandler
,
36582 _swigc__p_wxBitmap
,
36583 _swigc__p_wxBoxSizer
,
36584 _swigc__p_wxCURHandler
,
36585 _swigc__p_wxCalculateLayoutEvent
,
36586 _swigc__p_wxChildFocusEvent
,
36587 _swigc__p_wxClipboardTextEvent
,
36588 _swigc__p_wxCloseEvent
,
36589 _swigc__p_wxColour
,
36590 _swigc__p_wxColourData
,
36591 _swigc__p_wxColourDialog
,
36592 _swigc__p_wxCommandEvent
,
36593 _swigc__p_wxContextMenuEvent
,
36594 _swigc__p_wxControl
,
36595 _swigc__p_wxControlWithItems
,
36597 _swigc__p_wxDateEvent
,
36598 _swigc__p_wxDialog
,
36599 _swigc__p_wxDirDialog
,
36600 _swigc__p_wxDisplayChangedEvent
,
36601 _swigc__p_wxDropFilesEvent
,
36602 _swigc__p_wxDuplexMode
,
36603 _swigc__p_wxEraseEvent
,
36605 _swigc__p_wxEventBlocker
,
36606 _swigc__p_wxEvtHandler
,
36607 _swigc__p_wxFSFile
,
36608 _swigc__p_wxFileDialog
,
36609 _swigc__p_wxFileSystem
,
36610 _swigc__p_wxFindDialogEvent
,
36611 _swigc__p_wxFindReplaceData
,
36612 _swigc__p_wxFindReplaceDialog
,
36613 _swigc__p_wxFlexGridSizer
,
36614 _swigc__p_wxFocusEvent
,
36616 _swigc__p_wxFontData
,
36617 _swigc__p_wxFontDialog
,
36619 _swigc__p_wxGBSizerItem
,
36620 _swigc__p_wxGIFHandler
,
36621 _swigc__p_wxGridBagSizer
,
36622 _swigc__p_wxGridSizer
,
36623 _swigc__p_wxHtmlLinkInfo
,
36624 _swigc__p_wxICOHandler
,
36626 _swigc__p_wxIconBundle
,
36627 _swigc__p_wxIconizeEvent
,
36628 _swigc__p_wxIdleEvent
,
36630 _swigc__p_wxImageHandler
,
36631 _swigc__p_wxIndividualLayoutConstraint
,
36632 _swigc__p_wxInitDialogEvent
,
36633 _swigc__p_wxItemContainer
,
36634 _swigc__p_wxJPEGHandler
,
36635 _swigc__p_wxKeyEvent
,
36636 _swigc__p_wxLayoutAlgorithm
,
36637 _swigc__p_wxLayoutConstraints
,
36638 _swigc__p_wxMDIChildFrame
,
36639 _swigc__p_wxMDIClientWindow
,
36640 _swigc__p_wxMDIParentFrame
,
36641 _swigc__p_wxMaximizeEvent
,
36643 _swigc__p_wxMenuBar
,
36644 _swigc__p_wxMenuEvent
,
36645 _swigc__p_wxMenuItem
,
36646 _swigc__p_wxMessageDialog
,
36647 _swigc__p_wxMiniFrame
,
36648 _swigc__p_wxMouseCaptureChangedEvent
,
36649 _swigc__p_wxMouseCaptureLostEvent
,
36650 _swigc__p_wxMouseEvent
,
36651 _swigc__p_wxMoveEvent
,
36652 _swigc__p_wxMultiChoiceDialog
,
36653 _swigc__p_wxNavigationKeyEvent
,
36654 _swigc__p_wxNcPaintEvent
,
36655 _swigc__p_wxNotifyEvent
,
36656 _swigc__p_wxNumberEntryDialog
,
36657 _swigc__p_wxObject
,
36658 _swigc__p_wxPCXHandler
,
36659 _swigc__p_wxPNGHandler
,
36660 _swigc__p_wxPNMHandler
,
36661 _swigc__p_wxPageSetupDialog
,
36662 _swigc__p_wxPageSetupDialogData
,
36663 _swigc__p_wxPaintEvent
,
36664 _swigc__p_wxPaletteChangedEvent
,
36666 _swigc__p_wxPaperSize
,
36667 _swigc__p_wxPasswordEntryDialog
,
36669 _swigc__p_wxPopupWindow
,
36670 _swigc__p_wxPosition
,
36671 _swigc__p_wxPreviewCanvas
,
36672 _swigc__p_wxPreviewControlBar
,
36673 _swigc__p_wxPreviewFrame
,
36674 _swigc__p_wxPrintData
,
36675 _swigc__p_wxPrintDialog
,
36676 _swigc__p_wxPrintDialogData
,
36677 _swigc__p_wxPrintPreview
,
36678 _swigc__p_wxPrinter
,
36679 _swigc__p_wxProgressDialog
,
36681 _swigc__p_wxPyCommandEvent
,
36682 _swigc__p_wxPyEvent
,
36683 _swigc__p_wxPyHScrolledWindow
,
36684 _swigc__p_wxPyHVScrolledWindow
,
36685 _swigc__p_wxPyHtmlListBox
,
36686 _swigc__p_wxPyImageHandler
,
36687 _swigc__p_wxPyPanel
,
36688 _swigc__p_wxPyPopupTransientWindow
,
36689 _swigc__p_wxPyPreviewControlBar
,
36690 _swigc__p_wxPyPreviewFrame
,
36691 _swigc__p_wxPyPrintPreview
,
36692 _swigc__p_wxPyPrintout
,
36693 _swigc__p_wxPyScrolledWindow
,
36694 _swigc__p_wxPySizer
,
36695 _swigc__p_wxPyTaskBarIcon
,
36696 _swigc__p_wxPyVListBox
,
36697 _swigc__p_wxPyVScrolledWindow
,
36698 _swigc__p_wxPyValidator
,
36699 _swigc__p_wxPyWindow
,
36700 _swigc__p_wxQueryLayoutInfoEvent
,
36701 _swigc__p_wxQueryNewPaletteEvent
,
36703 _swigc__p_wxRegion
,
36704 _swigc__p_wxSashEvent
,
36705 _swigc__p_wxSashLayoutWindow
,
36706 _swigc__p_wxSashWindow
,
36707 _swigc__p_wxScrollEvent
,
36708 _swigc__p_wxScrollWinEvent
,
36709 _swigc__p_wxScrolledWindow
,
36710 _swigc__p_wxSetCursorEvent
,
36711 _swigc__p_wxShowEvent
,
36712 _swigc__p_wxSimpleHtmlListBox
,
36713 _swigc__p_wxSingleChoiceDialog
,
36715 _swigc__p_wxSizeEvent
,
36717 _swigc__p_wxSizerItem
,
36718 _swigc__p_wxSplashScreen
,
36719 _swigc__p_wxSplashScreenWindow
,
36720 _swigc__p_wxSplitterEvent
,
36721 _swigc__p_wxSplitterWindow
,
36722 _swigc__p_wxStaticBoxSizer
,
36723 _swigc__p_wxStatusBar
,
36724 _swigc__p_wxStdDialogButtonSizer
,
36725 _swigc__p_wxString
,
36726 _swigc__p_wxSysColourChangedEvent
,
36727 _swigc__p_wxTGAHandler
,
36728 _swigc__p_wxTIFFHandler
,
36729 _swigc__p_wxTaskBarIcon
,
36730 _swigc__p_wxTaskBarIconEvent
,
36731 _swigc__p_wxTextEntryDialog
,
36732 _swigc__p_wxTipWindow
,
36733 _swigc__p_wxToolBar
,
36734 _swigc__p_wxTopLevelWindow
,
36735 _swigc__p_wxUpdateUIEvent
,
36736 _swigc__p_wxValidator
,
36737 _swigc__p_wxVarHScrollHelper
,
36738 _swigc__p_wxVarHVScrollHelper
,
36739 _swigc__p_wxVarScrollHelperBase
,
36740 _swigc__p_wxVarVScrollHelper
,
36741 _swigc__p_wxVisualAttributes
,
36742 _swigc__p_wxWindow
,
36743 _swigc__p_wxWindowCreateEvent
,
36744 _swigc__p_wxWindowDestroyEvent
,
36745 _swigc__p_wxXPMHandler
,
36749 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36751 static swig_const_info swig_const_table
[] = {
36752 {0, 0, 0, 0.0, 0, 0}};
36757 /* -----------------------------------------------------------------------------
36758 * Type initialization:
36759 * This problem is tough by the requirement that no dynamic
36760 * memory is used. Also, since swig_type_info structures store pointers to
36761 * swig_cast_info structures and swig_cast_info structures store pointers back
36762 * to swig_type_info structures, we need some lookup code at initialization.
36763 * The idea is that swig generates all the structures that are needed.
36764 * The runtime then collects these partially filled structures.
36765 * The SWIG_InitializeModule function takes these initial arrays out of
36766 * swig_module, and does all the lookup, filling in the swig_module.types
36767 * array with the correct data and linking the correct swig_cast_info
36768 * structures together.
36770 * The generated swig_type_info structures are assigned staticly to an initial
36771 * array. We just loop though that array, and handle each type individually.
36772 * First we lookup if this type has been already loaded, and if so, use the
36773 * loaded structure instead of the generated one. Then we have to fill in the
36774 * cast linked list. The cast data is initially stored in something like a
36775 * two-dimensional array. Each row corresponds to a type (there are the same
36776 * number of rows as there are in the swig_type_initial array). Each entry in
36777 * a column is one of the swig_cast_info structures for that type.
36778 * The cast_initial array is actually an array of arrays, because each row has
36779 * a variable number of columns. So to actually build the cast linked list,
36780 * we find the array of casts associated with the type, and loop through it
36781 * adding the casts to the list. The one last trick we need to do is making
36782 * sure the type pointer in the swig_cast_info struct is correct.
36784 * First off, we lookup the cast->type name to see if it is already loaded.
36785 * There are three cases to handle:
36786 * 1) If the cast->type has already been loaded AND the type we are adding
36787 * casting info to has not been loaded (it is in this module), THEN we
36788 * replace the cast->type pointer with the type pointer that has already
36790 * 2) If BOTH types (the one we are adding casting info to, and the
36791 * cast->type) are loaded, THEN the cast info has already been loaded by
36792 * the previous module so we just ignore it.
36793 * 3) Finally, if cast->type has not already been loaded, then we add that
36794 * swig_cast_info to the linked list (because the cast->type) pointer will
36796 * ----------------------------------------------------------------------------- */
36806 #define SWIGRUNTIME_DEBUG
36810 SWIG_InitializeModule(void *clientdata
) {
36812 swig_module_info
*module_head
;
36813 static int init_run
= 0;
36815 clientdata
= clientdata
;
36817 if (init_run
) return;
36820 /* Initialize the swig_module */
36821 swig_module
.type_initial
= swig_type_initial
;
36822 swig_module
.cast_initial
= swig_cast_initial
;
36824 /* Try and load any already created modules */
36825 module_head
= SWIG_GetModule(clientdata
);
36827 swig_module
.next
= module_head
->next
;
36828 module_head
->next
= &swig_module
;
36830 /* This is the first module loaded */
36831 swig_module
.next
= &swig_module
;
36832 SWIG_SetModule(clientdata
, &swig_module
);
36835 /* Now work on filling in swig_module.types */
36836 #ifdef SWIGRUNTIME_DEBUG
36837 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36839 for (i
= 0; i
< swig_module
.size
; ++i
) {
36840 swig_type_info
*type
= 0;
36841 swig_type_info
*ret
;
36842 swig_cast_info
*cast
;
36844 #ifdef SWIGRUNTIME_DEBUG
36845 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36848 /* if there is another module already loaded */
36849 if (swig_module
.next
!= &swig_module
) {
36850 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36853 /* Overwrite clientdata field */
36854 #ifdef SWIGRUNTIME_DEBUG
36855 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36857 if (swig_module
.type_initial
[i
]->clientdata
) {
36858 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36859 #ifdef SWIGRUNTIME_DEBUG
36860 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36864 type
= swig_module
.type_initial
[i
];
36867 /* Insert casting types */
36868 cast
= swig_module
.cast_initial
[i
];
36869 while (cast
->type
) {
36870 /* Don't need to add information already in the list */
36872 #ifdef SWIGRUNTIME_DEBUG
36873 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36875 if (swig_module
.next
!= &swig_module
) {
36876 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36877 #ifdef SWIGRUNTIME_DEBUG
36878 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36882 if (type
== swig_module
.type_initial
[i
]) {
36883 #ifdef SWIGRUNTIME_DEBUG
36884 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36889 /* Check for casting already in the list */
36890 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36891 #ifdef SWIGRUNTIME_DEBUG
36892 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36894 if (!ocast
) ret
= 0;
36899 #ifdef SWIGRUNTIME_DEBUG
36900 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36903 type
->cast
->prev
= cast
;
36904 cast
->next
= type
->cast
;
36910 /* Set entry in modules->types array equal to the type */
36911 swig_module
.types
[i
] = type
;
36913 swig_module
.types
[i
] = 0;
36915 #ifdef SWIGRUNTIME_DEBUG
36916 printf("**** SWIG_InitializeModule: Cast List ******\n");
36917 for (i
= 0; i
< swig_module
.size
; ++i
) {
36919 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36920 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36921 while (cast
->type
) {
36922 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36926 printf("---- Total casts: %d\n",j
);
36928 printf("**** SWIG_InitializeModule: Cast List ******\n");
36932 /* This function will propagate the clientdata field of type to
36933 * any new swig_type_info structures that have been added into the list
36934 * of equivalent types. It is like calling
36935 * SWIG_TypeClientData(type, clientdata) a second time.
36938 SWIG_PropagateClientData(void) {
36940 swig_cast_info
*equiv
;
36941 static int init_run
= 0;
36943 if (init_run
) return;
36946 for (i
= 0; i
< swig_module
.size
; i
++) {
36947 if (swig_module
.types
[i
]->clientdata
) {
36948 equiv
= swig_module
.types
[i
]->cast
;
36950 if (!equiv
->converter
) {
36951 if (equiv
->type
&& !equiv
->type
->clientdata
)
36952 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36954 equiv
= equiv
->next
;
36974 /* Python-specific SWIG API */
36975 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36976 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36977 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36979 /* -----------------------------------------------------------------------------
36980 * global variable support code.
36981 * ----------------------------------------------------------------------------- */
36983 typedef struct swig_globalvar
{
36984 char *name
; /* Name of global variable */
36985 PyObject
*(*get_attr
)(void); /* Return the current value */
36986 int (*set_attr
)(PyObject
*); /* Set the value */
36987 struct swig_globalvar
*next
;
36990 typedef struct swig_varlinkobject
{
36992 swig_globalvar
*vars
;
36993 } swig_varlinkobject
;
36995 SWIGINTERN PyObject
*
36996 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36997 return PyString_FromString("<Swig global variables>");
37000 SWIGINTERN PyObject
*
37001 swig_varlink_str(swig_varlinkobject
*v
) {
37002 PyObject
*str
= PyString_FromString("(");
37003 swig_globalvar
*var
;
37004 for (var
= v
->vars
; var
; var
=var
->next
) {
37005 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
37006 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
37008 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
37013 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
37014 PyObject
*str
= swig_varlink_str(v
);
37015 fprintf(fp
,"Swig global variables ");
37016 fprintf(fp
,"%s\n", PyString_AsString(str
));
37022 swig_varlink_dealloc(swig_varlinkobject
*v
) {
37023 swig_globalvar
*var
= v
->vars
;
37025 swig_globalvar
*n
= var
->next
;
37032 SWIGINTERN PyObject
*
37033 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37034 PyObject
*res
= NULL
;
37035 swig_globalvar
*var
= v
->vars
;
37037 if (strcmp(var
->name
,n
) == 0) {
37038 res
= (*var
->get_attr
)();
37043 if (res
== NULL
&& !PyErr_Occurred()) {
37044 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37050 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37052 swig_globalvar
*var
= v
->vars
;
37054 if (strcmp(var
->name
,n
) == 0) {
37055 res
= (*var
->set_attr
)(p
);
37060 if (res
== 1 && !PyErr_Occurred()) {
37061 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37066 SWIGINTERN PyTypeObject
*
37067 swig_varlink_type(void) {
37068 static char varlink__doc__
[] = "Swig var link object";
37069 static PyTypeObject varlink_type
;
37070 static int type_init
= 0;
37072 const PyTypeObject tmp
37074 PyObject_HEAD_INIT(NULL
)
37075 0, /* Number of items in variable part (ob_size) */
37076 (char *)"swigvarlink", /* Type name (tp_name) */
37077 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37078 0, /* Itemsize (tp_itemsize) */
37079 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
37080 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37081 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37082 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37083 0, /* tp_compare */
37084 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37085 0, /* tp_as_number */
37086 0, /* tp_as_sequence */
37087 0, /* tp_as_mapping */
37090 (reprfunc
)swig_varlink_str
, /* tp_str */
37091 0, /* tp_getattro */
37092 0, /* tp_setattro */
37093 0, /* tp_as_buffer */
37095 varlink__doc__
, /* tp_doc */
37096 0, /* tp_traverse */
37098 0, /* tp_richcompare */
37099 0, /* tp_weaklistoffset */
37100 #if PY_VERSION_HEX >= 0x02020000
37101 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37103 #if PY_VERSION_HEX >= 0x02030000
37106 #ifdef COUNT_ALLOCS
37107 0,0,0,0 /* tp_alloc -> tp_next */
37110 varlink_type
= tmp
;
37111 varlink_type
.ob_type
= &PyType_Type
;
37114 return &varlink_type
;
37117 /* Create a variable linking object for use later */
37118 SWIGINTERN PyObject
*
37119 SWIG_Python_newvarlink(void) {
37120 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
37124 return ((PyObject
*) result
);
37128 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37129 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
37130 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37132 size_t size
= strlen(name
)+1;
37133 gv
->name
= (char *)malloc(size
);
37135 strncpy(gv
->name
,name
,size
);
37136 gv
->get_attr
= get_attr
;
37137 gv
->set_attr
= set_attr
;
37138 gv
->next
= v
->vars
;
37144 SWIGINTERN PyObject
*
37146 static PyObject
*_SWIG_globals
= 0;
37147 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
37148 return _SWIG_globals
;
37151 /* -----------------------------------------------------------------------------
37152 * constants/methods manipulation
37153 * ----------------------------------------------------------------------------- */
37155 /* Install Constants */
37157 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37160 for (i
= 0; constants
[i
].type
; ++i
) {
37161 switch(constants
[i
].type
) {
37162 case SWIG_PY_POINTER
:
37163 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37165 case SWIG_PY_BINARY
:
37166 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37173 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
37179 /* -----------------------------------------------------------------------------*/
37180 /* Fix SwigMethods to carry the callback ptrs when needed */
37181 /* -----------------------------------------------------------------------------*/
37184 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37185 swig_const_info
*const_table
,
37186 swig_type_info
**types
,
37187 swig_type_info
**types_initial
) {
37189 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37190 const char *c
= methods
[i
].ml_doc
;
37191 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37193 swig_const_info
*ci
= 0;
37194 const char *name
= c
+ 10;
37195 for (j
= 0; const_table
[j
].type
; ++j
) {
37196 if (strncmp(const_table
[j
].name
, name
,
37197 strlen(const_table
[j
].name
)) == 0) {
37198 ci
= &(const_table
[j
]);
37203 size_t shift
= (ci
->ptype
) - types
;
37204 swig_type_info
*ty
= types_initial
[shift
];
37205 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37206 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37207 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37210 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37212 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37214 strncpy(buff
, "swig_ptr: ", 10);
37216 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37217 methods
[i
].ml_doc
= ndoc
;
37229 /* -----------------------------------------------------------------------------*
37230 * Partial Init method
37231 * -----------------------------------------------------------------------------*/
37236 SWIGEXPORT
void SWIG_init(void) {
37239 /* Fix SwigMethods to carry the callback ptrs when needed */
37240 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37242 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37243 d
= PyModule_GetDict(m
);
37245 SWIG_InitializeModule(0);
37246 SWIG_InstallConstants(d
,swig_const_table
);
37249 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37250 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
37251 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
37252 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
37253 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
37254 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
37255 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
37256 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
37257 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
37258 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
37259 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
37260 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
37261 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
37262 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
37263 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
37264 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
37265 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
37266 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
37267 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
37268 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
37269 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
37270 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
37271 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
37272 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
37273 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
37274 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
37275 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
37276 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
37277 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
37278 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
37279 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
37280 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
37281 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
37282 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
37283 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
37284 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
37285 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
37286 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
37287 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
37288 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
37289 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
37290 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
37291 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
37292 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
37293 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
37294 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
37295 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
37296 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
37297 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
37298 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
37299 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
37300 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
37301 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
37302 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
37303 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
37304 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
37305 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
37306 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
37307 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
37308 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
37309 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
37310 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
37311 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
37312 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
37313 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
37314 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
37315 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
37316 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
37317 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
37318 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
37319 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
37320 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
37321 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
37322 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
37323 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
37324 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
37325 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
37326 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
37327 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
37328 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
37329 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
37330 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
37331 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
37332 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
37333 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
37334 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
37335 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
37336 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
37337 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
37338 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
37339 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
37340 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
37341 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
37342 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
37343 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
37344 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
37345 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
37346 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
37347 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
37348 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
37349 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
37350 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
37351 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
37353 // Map renamed classes back to their common name for OOR
37354 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
37355 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
37356 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
37358 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
37359 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
37360 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
37361 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
37362 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
37363 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
37364 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
37365 PyDict_SetItemString(d
, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK
));
37366 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
37367 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
37368 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
37369 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
37370 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
37371 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
37372 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
37373 SWIG_Python_SetConstant(d
, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST
)));
37374 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
37375 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
37376 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
37377 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
37378 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
37379 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
37380 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
37381 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
37382 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
37383 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
37384 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
37385 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
37386 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
37387 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
37388 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
37389 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
37390 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
37391 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
37392 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
37393 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
37394 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
37395 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
37396 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
37397 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
37398 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
37399 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
37400 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
37401 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
37402 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
37403 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
37404 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
37405 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
37406 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
37407 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
37408 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
37409 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
37410 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
37411 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
37412 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
37413 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
37414 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
37415 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
37416 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
37417 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
37418 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
37419 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
37420 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
37421 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
37422 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
37423 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
37424 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
37425 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
37426 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
37427 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
37428 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
37429 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
37430 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
37431 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
37432 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
37433 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
37434 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
37435 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
37436 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
37437 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
37438 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
37439 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
37440 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
37441 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
37442 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
37443 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
37444 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
37445 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
37446 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
37447 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
37448 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
37449 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
37450 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
37451 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
37452 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
37453 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
37454 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
37455 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
37456 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
37458 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");