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_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
= 0;
7852 wxDialog
*arg1
= (wxDialog
*) 0 ;
7853 wxString
*arg2
= 0 ;
7854 wxSizer
*result
= 0 ;
7857 bool temp2
= false ;
7858 PyObject
* obj0
= 0 ;
7859 PyObject
* obj1
= 0 ;
7860 char * kwnames
[] = {
7861 (char *) "self",(char *) "message", NULL
7864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7866 if (!SWIG_IsOK(res1
)) {
7867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7869 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7871 arg2
= wxString_in_helper(obj1
);
7872 if (arg2
== NULL
) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7898 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
= 0;
7900 wxDialog
*arg1
= (wxDialog
*) 0 ;
7902 wxSizer
*result
= 0 ;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7909 char * kwnames
[] = {
7910 (char *) "self",(char *) "flags", NULL
7913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7915 if (!SWIG_IsOK(res1
)) {
7916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7918 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7919 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7920 if (!SWIG_IsOK(ecode2
)) {
7921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7923 arg2
= static_cast< long >(val2
);
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7939 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
= 0;
7941 wxDialog
*arg1
= (wxDialog
*) 0 ;
7943 wxSizer
*result
= 0 ;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7950 char * kwnames
[] = {
7951 (char *) "self",(char *) "flags", NULL
7954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7956 if (!SWIG_IsOK(res1
)) {
7957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7959 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7960 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7961 if (!SWIG_IsOK(ecode2
)) {
7962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7964 arg2
= static_cast< long >(val2
);
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7980 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
= 0;
7982 wxDialog
*arg1
= (wxDialog
*) 0 ;
7984 wxStdDialogButtonSizer
*result
= 0 ;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7991 char * kwnames
[] = {
7992 (char *) "self",(char *) "flags", NULL
7995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7997 if (!SWIG_IsOK(res1
)) {
7998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
8000 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8002 if (!SWIG_IsOK(ecode2
)) {
8003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
8005 arg2
= static_cast< long >(val2
);
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
8019 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8020 PyObject
*resultobj
= 0;
8021 wxDialog
*arg1
= (wxDialog
*) 0 ;
8025 PyObject
*swig_obj
[1] ;
8027 if (!args
) SWIG_fail
;
8029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8030 if (!SWIG_IsOK(res1
)) {
8031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8033 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8049 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8050 PyObject
*resultobj
= 0;
8051 wxDialog
*arg1
= (wxDialog
*) 0 ;
8055 PyObject
*swig_obj
[1] ;
8057 if (!args
) SWIG_fail
;
8059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8060 if (!SWIG_IsOK(res1
)) {
8061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8063 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (int)(arg1
)->ShowModal();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_From_int(static_cast< int >(result
));
8077 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
= 0;
8079 wxDialog
*arg1
= (wxDialog
*) 0 ;
8085 PyObject
* obj0
= 0 ;
8086 PyObject
* obj1
= 0 ;
8087 char * kwnames
[] = {
8088 (char *) "self",(char *) "retCode", NULL
8091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8093 if (!SWIG_IsOK(res1
)) {
8094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8096 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8098 if (!SWIG_IsOK(ecode2
)) {
8099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8101 arg2
= static_cast< int >(val2
);
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 (arg1
)->EndModal(arg2
);
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= SWIG_Py_Void();
8115 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8116 PyObject
*resultobj
= 0;
8117 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8118 SwigValueWrapper
<wxVisualAttributes
> result
;
8121 PyObject
* obj0
= 0 ;
8122 char * kwnames
[] = {
8123 (char *) "variant", NULL
8126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8128 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8129 if (!SWIG_IsOK(ecode1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8132 arg1
= static_cast< wxWindowVariant
>(val1
);
8135 if (!wxPyCheckForApp()) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8141 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8148 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8151 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8152 return SWIG_Py_Void();
8155 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8156 return SWIG_Python_InitShadowInstance(args
);
8159 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
= 0;
8161 wxWindow
*arg1
= (wxWindow
*) 0 ;
8162 int arg2
= (int) (int)-1 ;
8163 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8164 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8165 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8166 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8167 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8168 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8169 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8170 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8171 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8172 wxMiniFrame
*result
= 0 ;
8177 bool temp3
= false ;
8182 bool temp7
= false ;
8183 PyObject
* obj0
= 0 ;
8184 PyObject
* obj1
= 0 ;
8185 PyObject
* obj2
= 0 ;
8186 PyObject
* obj3
= 0 ;
8187 PyObject
* obj4
= 0 ;
8188 PyObject
* obj5
= 0 ;
8189 PyObject
* obj6
= 0 ;
8190 char * kwnames
[] = {
8191 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8196 if (!SWIG_IsOK(res1
)) {
8197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8199 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8202 if (!SWIG_IsOK(ecode2
)) {
8203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8205 arg2
= static_cast< int >(val2
);
8209 arg3
= wxString_in_helper(obj2
);
8210 if (arg3
== NULL
) SWIG_fail
;
8217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8223 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8227 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8228 if (!SWIG_IsOK(ecode6
)) {
8229 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8231 arg6
= static_cast< long >(val6
);
8235 arg7
= wxString_in_helper(obj6
);
8236 if (arg7
== NULL
) SWIG_fail
;
8241 if (!wxPyCheckForApp()) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8270 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8271 PyObject
*resultobj
= 0;
8272 wxMiniFrame
*result
= 0 ;
8274 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8276 if (!wxPyCheckForApp()) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (wxMiniFrame
*)new wxMiniFrame();
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8289 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
= 0;
8291 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8292 wxWindow
*arg2
= (wxWindow
*) 0 ;
8293 int arg3
= (int) (int)-1 ;
8294 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8295 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8296 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8297 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8298 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8299 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8300 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8301 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8302 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8310 bool temp4
= false ;
8315 bool temp8
= false ;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8318 PyObject
* obj2
= 0 ;
8319 PyObject
* obj3
= 0 ;
8320 PyObject
* obj4
= 0 ;
8321 PyObject
* obj5
= 0 ;
8322 PyObject
* obj6
= 0 ;
8323 PyObject
* obj7
= 0 ;
8324 char * kwnames
[] = {
8325 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8330 if (!SWIG_IsOK(res1
)) {
8331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8333 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8334 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8335 if (!SWIG_IsOK(res2
)) {
8336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8338 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8341 if (!SWIG_IsOK(ecode3
)) {
8342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8344 arg3
= static_cast< int >(val3
);
8348 arg4
= wxString_in_helper(obj3
);
8349 if (arg4
== NULL
) SWIG_fail
;
8356 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8362 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8366 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8367 if (!SWIG_IsOK(ecode7
)) {
8368 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8370 arg7
= static_cast< long >(val7
);
8374 arg8
= wxString_in_helper(obj7
);
8375 if (arg8
== NULL
) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8410 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8413 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8414 return SWIG_Py_Void();
8417 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8418 return SWIG_Python_InitShadowInstance(args
);
8421 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
= 0;
8423 wxBitmap
*arg1
= 0 ;
8424 wxWindow
*arg2
= (wxWindow
*) 0 ;
8426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8430 long arg6
= (long) wxNO_BORDER
;
8431 wxSplashScreenWindow
*result
= 0 ;
8442 PyObject
* obj0
= 0 ;
8443 PyObject
* obj1
= 0 ;
8444 PyObject
* obj2
= 0 ;
8445 PyObject
* obj3
= 0 ;
8446 PyObject
* obj4
= 0 ;
8447 PyObject
* obj5
= 0 ;
8448 char * kwnames
[] = {
8449 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8453 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8454 if (!SWIG_IsOK(res1
)) {
8455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8460 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8461 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8462 if (!SWIG_IsOK(res2
)) {
8463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8465 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8467 if (!SWIG_IsOK(ecode3
)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8470 arg3
= static_cast< int >(val3
);
8474 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8480 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8484 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8485 if (!SWIG_IsOK(ecode6
)) {
8486 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8488 arg6
= static_cast< long >(val6
);
8491 if (!wxPyCheckForApp()) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8504 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
= 0;
8506 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8507 wxBitmap
*arg2
= 0 ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8514 char * kwnames
[] = {
8515 (char *) "self",(char *) "bitmap", NULL
8518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8520 if (!SWIG_IsOK(res1
)) {
8521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8523 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8525 if (!SWIG_IsOK(res2
)) {
8526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8531 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= SWIG_Py_Void();
8545 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8546 PyObject
*resultobj
= 0;
8547 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8548 wxBitmap
*result
= 0 ;
8551 PyObject
*swig_obj
[1] ;
8553 if (!args
) SWIG_fail
;
8555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8556 if (!SWIG_IsOK(res1
)) {
8557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8559 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8564 result
= (wxBitmap
*) &_result_ref
;
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8570 wxBitmap
* resultptr
= new wxBitmap(*result
);
8571 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8579 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8582 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8583 return SWIG_Py_Void();
8586 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8587 return SWIG_Python_InitShadowInstance(args
);
8590 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
= 0;
8592 wxBitmap
*arg1
= 0 ;
8595 wxWindow
*arg4
= (wxWindow
*) 0 ;
8596 int arg5
= (int) -1 ;
8597 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8598 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8599 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8600 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8601 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8602 wxSplashScreen
*result
= 0 ;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj1
= 0 ;
8619 PyObject
* obj2
= 0 ;
8620 PyObject
* obj3
= 0 ;
8621 PyObject
* obj4
= 0 ;
8622 PyObject
* obj5
= 0 ;
8623 PyObject
* obj6
= 0 ;
8624 PyObject
* obj7
= 0 ;
8625 char * kwnames
[] = {
8626 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8630 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8631 if (!SWIG_IsOK(res1
)) {
8632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8637 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8638 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8639 if (!SWIG_IsOK(ecode2
)) {
8640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8642 arg2
= static_cast< long >(val2
);
8643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8644 if (!SWIG_IsOK(ecode3
)) {
8645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8647 arg3
= static_cast< int >(val3
);
8648 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8649 if (!SWIG_IsOK(res4
)) {
8650 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8652 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8654 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8655 if (!SWIG_IsOK(ecode5
)) {
8656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8658 arg5
= static_cast< int >(val5
);
8663 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8669 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8673 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8674 if (!SWIG_IsOK(ecode8
)) {
8675 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8677 arg8
= static_cast< long >(val8
);
8680 if (!wxPyCheckForApp()) SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8693 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8694 PyObject
*resultobj
= 0;
8695 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8699 PyObject
*swig_obj
[1] ;
8701 if (!args
) SWIG_fail
;
8703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8704 if (!SWIG_IsOK(res1
)) {
8705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8707 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= SWIG_From_long(static_cast< long >(result
));
8721 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8722 PyObject
*resultobj
= 0;
8723 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8724 wxSplashScreenWindow
*result
= 0 ;
8727 PyObject
*swig_obj
[1] ;
8729 if (!args
) SWIG_fail
;
8731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8732 if (!SWIG_IsOK(res1
)) {
8733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8735 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8749 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8750 PyObject
*resultobj
= 0;
8751 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8755 PyObject
*swig_obj
[1] ;
8757 if (!args
) SWIG_fail
;
8759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8760 if (!SWIG_IsOK(res1
)) {
8761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8763 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= SWIG_From_int(static_cast< int >(result
));
8777 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8780 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8781 return SWIG_Py_Void();
8784 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8785 return SWIG_Python_InitShadowInstance(args
);
8788 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
= 0;
8790 wxWindow
*arg1
= (wxWindow
*) 0 ;
8791 int arg2
= (int) -1 ;
8792 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8793 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8794 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8795 wxStatusBar
*result
= 0 ;
8802 bool temp4
= false ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8805 PyObject
* obj2
= 0 ;
8806 PyObject
* obj3
= 0 ;
8807 char * kwnames
[] = {
8808 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8813 if (!SWIG_IsOK(res1
)) {
8814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8816 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8819 if (!SWIG_IsOK(ecode2
)) {
8820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8822 arg2
= static_cast< int >(val2
);
8825 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8826 if (!SWIG_IsOK(ecode3
)) {
8827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8829 arg3
= static_cast< long >(val3
);
8833 arg4
= wxString_in_helper(obj3
);
8834 if (arg4
== NULL
) SWIG_fail
;
8839 if (!wxPyCheckForApp()) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8860 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8861 PyObject
*resultobj
= 0;
8862 wxStatusBar
*result
= 0 ;
8864 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8866 if (!wxPyCheckForApp()) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (wxStatusBar
*)new wxStatusBar();
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8879 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
= 0;
8881 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8882 wxWindow
*arg2
= (wxWindow
*) 0 ;
8883 int arg3
= (int) -1 ;
8884 long arg4
= (long) wxST_SIZEGRIP
;
8885 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8886 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8896 bool temp5
= false ;
8897 PyObject
* obj0
= 0 ;
8898 PyObject
* obj1
= 0 ;
8899 PyObject
* obj2
= 0 ;
8900 PyObject
* obj3
= 0 ;
8901 PyObject
* obj4
= 0 ;
8902 char * kwnames
[] = {
8903 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8908 if (!SWIG_IsOK(res1
)) {
8909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8911 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8913 if (!SWIG_IsOK(res2
)) {
8914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8919 if (!SWIG_IsOK(ecode3
)) {
8920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8922 arg3
= static_cast< int >(val3
);
8925 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8926 if (!SWIG_IsOK(ecode4
)) {
8927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8929 arg4
= static_cast< long >(val4
);
8933 arg5
= wxString_in_helper(obj4
);
8934 if (arg5
== NULL
) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8961 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
= 0;
8963 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8964 int arg2
= (int) 1 ;
8969 PyObject
* obj0
= 0 ;
8970 PyObject
* obj1
= 0 ;
8971 char * kwnames
[] = {
8972 (char *) "self",(char *) "number", NULL
8975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8977 if (!SWIG_IsOK(res1
)) {
8978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8980 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8983 if (!SWIG_IsOK(ecode2
)) {
8984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8986 arg2
= static_cast< int >(val2
);
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 (arg1
)->SetFieldsCount(arg2
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= SWIG_Py_Void();
9001 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9002 PyObject
*resultobj
= 0;
9003 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9007 PyObject
*swig_obj
[1] ;
9009 if (!args
) SWIG_fail
;
9011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9012 if (!SWIG_IsOK(res1
)) {
9013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9015 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 resultobj
= SWIG_From_int(static_cast< int >(result
));
9029 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
= 0;
9031 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9032 wxString
*arg2
= 0 ;
9033 int arg3
= (int) 0 ;
9036 bool temp2
= false ;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9041 PyObject
* obj2
= 0 ;
9042 char * kwnames
[] = {
9043 (char *) "self",(char *) "text",(char *) "number", NULL
9046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9048 if (!SWIG_IsOK(res1
)) {
9049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9051 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9053 arg2
= wxString_in_helper(obj1
);
9054 if (arg2
== NULL
) SWIG_fail
;
9058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9059 if (!SWIG_IsOK(ecode3
)) {
9060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9062 arg3
= static_cast< int >(val3
);
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= SWIG_Py_Void();
9085 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
= 0;
9087 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9088 int arg2
= (int) 0 ;
9094 PyObject
* obj0
= 0 ;
9095 PyObject
* obj1
= 0 ;
9096 char * kwnames
[] = {
9097 (char *) "self",(char *) "number", NULL
9100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9102 if (!SWIG_IsOK(res1
)) {
9103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9105 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9108 if (!SWIG_IsOK(ecode2
)) {
9109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9111 arg2
= static_cast< int >(val2
);
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9132 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
= 0;
9134 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9135 wxString
*arg2
= 0 ;
9136 int arg3
= (int) 0 ;
9139 bool temp2
= false ;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9144 PyObject
* obj2
= 0 ;
9145 char * kwnames
[] = {
9146 (char *) "self",(char *) "text",(char *) "number", NULL
9149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9151 if (!SWIG_IsOK(res1
)) {
9152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9154 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9156 arg2
= wxString_in_helper(obj1
);
9157 if (arg2
== NULL
) SWIG_fail
;
9161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9162 if (!SWIG_IsOK(ecode3
)) {
9163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9165 arg3
= static_cast< int >(val3
);
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= SWIG_Py_Void();
9188 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
= 0;
9190 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9191 int arg2
= (int) 0 ;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9198 char * kwnames
[] = {
9199 (char *) "self",(char *) "number", NULL
9202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9204 if (!SWIG_IsOK(res1
)) {
9205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9207 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9210 if (!SWIG_IsOK(ecode2
)) {
9211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9213 arg2
= static_cast< int >(val2
);
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 (arg1
)->PopStatusText(arg2
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_Py_Void();
9228 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
= 0;
9230 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9232 int *arg3
= (int *) 0 ;
9235 PyObject
* obj0
= 0 ;
9236 PyObject
* obj1
= 0 ;
9237 char * kwnames
[] = {
9238 (char *) "self",(char *) "widths", NULL
9241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9243 if (!SWIG_IsOK(res1
)) {
9244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9246 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9248 arg2
= PyList_Size(obj1
);
9249 arg3
= int_LIST_helper(obj1
);
9250 if (arg3
== NULL
) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= SWIG_Py_Void();
9260 if (arg3
) delete [] arg3
;
9265 if (arg3
) delete [] arg3
;
9271 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(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 *) "styles", NULL
9284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",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_SetStatusStyles" "', 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
)->SetStatusStyles(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_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
= 0;
9316 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 char * kwnames
[] = {
9326 (char *) "self",(char *) "i", NULL
9329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9331 if (!SWIG_IsOK(res1
)) {
9332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9334 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9336 if (!SWIG_IsOK(ecode2
)) {
9337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9339 arg2
= static_cast< int >(val2
);
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9353 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
= 0;
9355 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9361 PyObject
* obj0
= 0 ;
9362 PyObject
* obj1
= 0 ;
9363 char * kwnames
[] = {
9364 (char *) "self",(char *) "height", NULL
9367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9369 if (!SWIG_IsOK(res1
)) {
9370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9372 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9374 if (!SWIG_IsOK(ecode2
)) {
9375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9377 arg2
= static_cast< int >(val2
);
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 (arg1
)->SetMinHeight(arg2
);
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= SWIG_Py_Void();
9391 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9392 PyObject
*resultobj
= 0;
9393 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9397 PyObject
*swig_obj
[1] ;
9399 if (!args
) SWIG_fail
;
9401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9402 if (!SWIG_IsOK(res1
)) {
9403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9405 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_From_int(static_cast< int >(result
));
9419 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9420 PyObject
*resultobj
= 0;
9421 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9425 PyObject
*swig_obj
[1] ;
9427 if (!args
) SWIG_fail
;
9429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9430 if (!SWIG_IsOK(res1
)) {
9431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9433 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= SWIG_From_int(static_cast< int >(result
));
9447 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
= 0;
9449 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9450 SwigValueWrapper
<wxVisualAttributes
> result
;
9453 PyObject
* obj0
= 0 ;
9454 char * kwnames
[] = {
9455 (char *) "variant", NULL
9458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9460 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9461 if (!SWIG_IsOK(ecode1
)) {
9462 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9464 arg1
= static_cast< wxWindowVariant
>(val1
);
9467 if (!wxPyCheckForApp()) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9480 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9483 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9484 return SWIG_Py_Void();
9487 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9488 return SWIG_Python_InitShadowInstance(args
);
9491 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9492 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9497 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9498 PyObject
*pyobj
= 0;
9502 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9504 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9511 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
= 0;
9513 wxWindow
*arg1
= (wxWindow
*) 0 ;
9514 int arg2
= (int) -1 ;
9515 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9516 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9517 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9518 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9519 long arg5
= (long) wxSP_3D
;
9520 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9521 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9522 wxSplitterWindow
*result
= 0 ;
9531 bool temp6
= false ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 PyObject
* obj2
= 0 ;
9535 PyObject
* obj3
= 0 ;
9536 PyObject
* obj4
= 0 ;
9537 PyObject
* obj5
= 0 ;
9538 char * kwnames
[] = {
9539 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9544 if (!SWIG_IsOK(res1
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9547 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9550 if (!SWIG_IsOK(ecode2
)) {
9551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9553 arg2
= static_cast< int >(val2
);
9558 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9564 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9568 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9569 if (!SWIG_IsOK(ecode5
)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9572 arg5
= static_cast< long >(val5
);
9576 arg6
= wxString_in_helper(obj5
);
9577 if (arg6
== NULL
) SWIG_fail
;
9582 if (!wxPyCheckForApp()) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9603 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9604 PyObject
*resultobj
= 0;
9605 wxSplitterWindow
*result
= 0 ;
9607 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9609 if (!wxPyCheckForApp()) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9622 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
= 0;
9624 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9625 wxWindow
*arg2
= (wxWindow
*) 0 ;
9626 int arg3
= (int) -1 ;
9627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9631 long arg6
= (long) wxSP_3D
;
9632 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9633 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9645 bool temp7
= false ;
9646 PyObject
* obj0
= 0 ;
9647 PyObject
* obj1
= 0 ;
9648 PyObject
* obj2
= 0 ;
9649 PyObject
* obj3
= 0 ;
9650 PyObject
* obj4
= 0 ;
9651 PyObject
* obj5
= 0 ;
9652 PyObject
* obj6
= 0 ;
9653 char * kwnames
[] = {
9654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9659 if (!SWIG_IsOK(res1
)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9662 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9664 if (!SWIG_IsOK(res2
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9667 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9670 if (!SWIG_IsOK(ecode3
)) {
9671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9673 arg3
= static_cast< int >(val3
);
9678 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9684 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9688 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9689 if (!SWIG_IsOK(ecode6
)) {
9690 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9692 arg6
= static_cast< long >(val6
);
9696 arg7
= wxString_in_helper(obj6
);
9697 if (arg7
== NULL
) SWIG_fail
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9724 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9725 PyObject
*resultobj
= 0;
9726 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9727 wxWindow
*result
= 0 ;
9730 PyObject
*swig_obj
[1] ;
9732 if (!args
) SWIG_fail
;
9734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9735 if (!SWIG_IsOK(res1
)) {
9736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9738 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9746 resultobj
= wxPyMake_wxObject(result
, 0);
9754 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9755 PyObject
*resultobj
= 0;
9756 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9757 wxWindow
*result
= 0 ;
9760 PyObject
*swig_obj
[1] ;
9762 if (!args
) SWIG_fail
;
9764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9765 if (!SWIG_IsOK(res1
)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9768 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= wxPyMake_wxObject(result
, 0);
9784 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9785 PyObject
*resultobj
= 0;
9786 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9794 char * kwnames
[] = {
9795 (char *) "self",(char *) "mode", NULL
9798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9800 if (!SWIG_IsOK(res1
)) {
9801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9803 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9805 if (!SWIG_IsOK(ecode2
)) {
9806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9808 arg2
= static_cast< int >(val2
);
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 (arg1
)->SetSplitMode(arg2
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= SWIG_Py_Void();
9822 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9823 PyObject
*resultobj
= 0;
9824 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9828 PyObject
*swig_obj
[1] ;
9830 if (!args
) SWIG_fail
;
9832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9833 if (!SWIG_IsOK(res1
)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9836 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= SWIG_From_int(static_cast< int >(result
));
9850 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
= 0;
9852 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9853 wxWindow
*arg2
= (wxWindow
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9859 PyObject
* obj1
= 0 ;
9860 char * kwnames
[] = {
9861 (char *) "self",(char *) "window", NULL
9864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9866 if (!SWIG_IsOK(res1
)) {
9867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9869 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9871 if (!SWIG_IsOK(res2
)) {
9872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9874 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 (arg1
)->Initialize(arg2
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= SWIG_Py_Void();
9888 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
= 0;
9890 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9891 wxWindow
*arg2
= (wxWindow
*) 0 ;
9892 wxWindow
*arg3
= (wxWindow
*) 0 ;
9893 int arg4
= (int) 0 ;
9903 PyObject
* obj0
= 0 ;
9904 PyObject
* obj1
= 0 ;
9905 PyObject
* obj2
= 0 ;
9906 PyObject
* obj3
= 0 ;
9907 char * kwnames
[] = {
9908 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9913 if (!SWIG_IsOK(res1
)) {
9914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9916 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9917 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9918 if (!SWIG_IsOK(res2
)) {
9919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9921 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9922 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9923 if (!SWIG_IsOK(res3
)) {
9924 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9926 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9928 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9929 if (!SWIG_IsOK(ecode4
)) {
9930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9932 arg4
= static_cast< int >(val4
);
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9949 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
= 0;
9951 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9952 wxWindow
*arg2
= (wxWindow
*) 0 ;
9953 wxWindow
*arg3
= (wxWindow
*) 0 ;
9954 int arg4
= (int) 0 ;
9964 PyObject
* obj0
= 0 ;
9965 PyObject
* obj1
= 0 ;
9966 PyObject
* obj2
= 0 ;
9967 PyObject
* obj3
= 0 ;
9968 char * kwnames
[] = {
9969 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9974 if (!SWIG_IsOK(res1
)) {
9975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9977 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9979 if (!SWIG_IsOK(res2
)) {
9980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9982 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9983 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9984 if (!SWIG_IsOK(res3
)) {
9985 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9987 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9989 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9990 if (!SWIG_IsOK(ecode4
)) {
9991 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9993 arg4
= static_cast< int >(val4
);
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10010 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
= 0;
10012 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10013 wxWindow
*arg2
= (wxWindow
*) NULL
;
10019 PyObject
* obj0
= 0 ;
10020 PyObject
* obj1
= 0 ;
10021 char * kwnames
[] = {
10022 (char *) "self",(char *) "toRemove", NULL
10025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10030 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10033 if (!SWIG_IsOK(res2
)) {
10034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10036 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= (bool)(arg1
)->Unsplit(arg2
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10053 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
= 0;
10055 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10056 wxWindow
*arg2
= (wxWindow
*) 0 ;
10057 wxWindow
*arg3
= (wxWindow
*) 0 ;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 PyObject
* obj2
= 0 ;
10068 char * kwnames
[] = {
10069 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10074 if (!SWIG_IsOK(res1
)) {
10075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10077 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10079 if (!SWIG_IsOK(res2
)) {
10080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10083 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10084 if (!SWIG_IsOK(res3
)) {
10085 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10087 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10091 wxPyEndAllowThreads(__tstate
);
10092 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10103 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10104 PyObject
*resultobj
= 0;
10105 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10108 PyObject
*swig_obj
[1] ;
10110 if (!args
) SWIG_fail
;
10111 swig_obj
[0] = args
;
10112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10113 if (!SWIG_IsOK(res1
)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10116 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 (arg1
)->UpdateSize();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_Py_Void();
10130 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10131 PyObject
*resultobj
= 0;
10132 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10136 PyObject
*swig_obj
[1] ;
10138 if (!args
) SWIG_fail
;
10139 swig_obj
[0] = args
;
10140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10141 if (!SWIG_IsOK(res1
)) {
10142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10144 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10160 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
= 0;
10162 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10168 PyObject
* obj0
= 0 ;
10169 PyObject
* obj1
= 0 ;
10170 char * kwnames
[] = {
10171 (char *) "self",(char *) "width", NULL
10174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10176 if (!SWIG_IsOK(res1
)) {
10177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10179 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10181 if (!SWIG_IsOK(ecode2
)) {
10182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10184 arg2
= static_cast< int >(val2
);
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 (arg1
)->SetSashSize(arg2
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= SWIG_Py_Void();
10198 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
= 0;
10200 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10206 PyObject
* obj0
= 0 ;
10207 PyObject
* obj1
= 0 ;
10208 char * kwnames
[] = {
10209 (char *) "self",(char *) "width", NULL
10212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10214 if (!SWIG_IsOK(res1
)) {
10215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10217 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10219 if (!SWIG_IsOK(ecode2
)) {
10220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10222 arg2
= static_cast< int >(val2
);
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 (arg1
)->SetBorderSize(arg2
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= SWIG_Py_Void();
10236 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10237 PyObject
*resultobj
= 0;
10238 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10242 PyObject
*swig_obj
[1] ;
10244 if (!args
) SWIG_fail
;
10245 swig_obj
[0] = args
;
10246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10247 if (!SWIG_IsOK(res1
)) {
10248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10250 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= SWIG_From_int(static_cast< int >(result
));
10264 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10265 PyObject
*resultobj
= 0;
10266 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10270 PyObject
*swig_obj
[1] ;
10272 if (!args
) SWIG_fail
;
10273 swig_obj
[0] = args
;
10274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10275 if (!SWIG_IsOK(res1
)) {
10276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10278 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= SWIG_From_int(static_cast< int >(result
));
10292 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
= 0;
10294 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10296 bool arg3
= (bool) true ;
10303 PyObject
* obj0
= 0 ;
10304 PyObject
* obj1
= 0 ;
10305 PyObject
* obj2
= 0 ;
10306 char * kwnames
[] = {
10307 (char *) "self",(char *) "position",(char *) "redraw", NULL
10310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10312 if (!SWIG_IsOK(res1
)) {
10313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10315 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10317 if (!SWIG_IsOK(ecode2
)) {
10318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10320 arg2
= static_cast< int >(val2
);
10322 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10323 if (!SWIG_IsOK(ecode3
)) {
10324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10326 arg3
= static_cast< bool >(val3
);
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 (arg1
)->SetSashPosition(arg2
,arg3
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_Py_Void();
10341 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10342 PyObject
*resultobj
= 0;
10343 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10347 PyObject
*swig_obj
[1] ;
10349 if (!args
) SWIG_fail
;
10350 swig_obj
[0] = args
;
10351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10352 if (!SWIG_IsOK(res1
)) {
10353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10355 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_From_int(static_cast< int >(result
));
10369 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
= 0;
10371 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 PyObject
* obj1
= 0 ;
10379 char * kwnames
[] = {
10380 (char *) "self",(char *) "gravity", NULL
10383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10385 if (!SWIG_IsOK(res1
)) {
10386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10388 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10389 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10390 if (!SWIG_IsOK(ecode2
)) {
10391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10393 arg2
= static_cast< double >(val2
);
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 (arg1
)->SetSashGravity(arg2
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= SWIG_Py_Void();
10407 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10408 PyObject
*resultobj
= 0;
10409 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10413 PyObject
*swig_obj
[1] ;
10415 if (!args
) SWIG_fail
;
10416 swig_obj
[0] = args
;
10417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10418 if (!SWIG_IsOK(res1
)) {
10419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10421 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= SWIG_From_double(static_cast< double >(result
));
10435 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
= 0;
10437 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 char * kwnames
[] = {
10446 (char *) "self",(char *) "min", NULL
10449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10451 if (!SWIG_IsOK(res1
)) {
10452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10454 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10456 if (!SWIG_IsOK(ecode2
)) {
10457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10459 arg2
= static_cast< int >(val2
);
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 (arg1
)->SetMinimumPaneSize(arg2
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= SWIG_Py_Void();
10473 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10474 PyObject
*resultobj
= 0;
10475 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10479 PyObject
*swig_obj
[1] ;
10481 if (!args
) SWIG_fail
;
10482 swig_obj
[0] = args
;
10483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10484 if (!SWIG_IsOK(res1
)) {
10485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10487 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10494 resultobj
= SWIG_From_int(static_cast< int >(result
));
10501 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
= 0;
10503 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10506 int arg4
= (int) 5 ;
10516 PyObject
* obj0
= 0 ;
10517 PyObject
* obj1
= 0 ;
10518 PyObject
* obj2
= 0 ;
10519 PyObject
* obj3
= 0 ;
10520 char * kwnames
[] = {
10521 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10526 if (!SWIG_IsOK(res1
)) {
10527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10529 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10531 if (!SWIG_IsOK(ecode2
)) {
10532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10534 arg2
= static_cast< int >(val2
);
10535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10536 if (!SWIG_IsOK(ecode3
)) {
10537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10539 arg3
= static_cast< int >(val3
);
10541 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10542 if (!SWIG_IsOK(ecode4
)) {
10543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10545 arg4
= static_cast< int >(val4
);
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10562 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10563 PyObject
*resultobj
= 0;
10564 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10567 PyObject
*swig_obj
[1] ;
10569 if (!args
) SWIG_fail
;
10570 swig_obj
[0] = args
;
10571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10572 if (!SWIG_IsOK(res1
)) {
10573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10575 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 (arg1
)->SizeWindows();
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= SWIG_Py_Void();
10589 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
= 0;
10591 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 PyObject
* obj1
= 0 ;
10599 char * kwnames
[] = {
10600 (char *) "self",(char *) "needUpdating", NULL
10603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10605 if (!SWIG_IsOK(res1
)) {
10606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10608 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10609 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10610 if (!SWIG_IsOK(ecode2
)) {
10611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10613 arg2
= static_cast< bool >(val2
);
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 (arg1
)->SetNeedUpdating(arg2
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= SWIG_Py_Void();
10627 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10628 PyObject
*resultobj
= 0;
10629 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10633 PyObject
*swig_obj
[1] ;
10635 if (!args
) SWIG_fail
;
10636 swig_obj
[0] = args
;
10637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10638 if (!SWIG_IsOK(res1
)) {
10639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10641 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10657 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
= 0;
10659 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10660 SwigValueWrapper
<wxVisualAttributes
> result
;
10663 PyObject
* obj0
= 0 ;
10664 char * kwnames
[] = {
10665 (char *) "variant", NULL
10668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10670 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10671 if (!SWIG_IsOK(ecode1
)) {
10672 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10674 arg1
= static_cast< wxWindowVariant
>(val1
);
10677 if (!wxPyCheckForApp()) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10690 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10692 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10693 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10694 return SWIG_Py_Void();
10697 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10698 return SWIG_Python_InitShadowInstance(args
);
10701 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
= 0;
10703 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10704 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10705 wxSplitterEvent
*result
= 0 ;
10710 PyObject
* obj0
= 0 ;
10711 PyObject
* obj1
= 0 ;
10712 char * kwnames
[] = {
10713 (char *) "type",(char *) "splitter", NULL
10716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10718 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10719 if (!SWIG_IsOK(ecode1
)) {
10720 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10722 arg1
= static_cast< wxEventType
>(val1
);
10725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10726 if (!SWIG_IsOK(res2
)) {
10727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10729 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10744 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
= 0;
10746 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10752 PyObject
* obj0
= 0 ;
10753 PyObject
* obj1
= 0 ;
10754 char * kwnames
[] = {
10755 (char *) "self",(char *) "pos", NULL
10758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10760 if (!SWIG_IsOK(res1
)) {
10761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10763 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10765 if (!SWIG_IsOK(ecode2
)) {
10766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10768 arg2
= static_cast< int >(val2
);
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 (arg1
)->SetSashPosition(arg2
);
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= SWIG_Py_Void();
10782 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10783 PyObject
*resultobj
= 0;
10784 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10788 PyObject
*swig_obj
[1] ;
10790 if (!args
) SWIG_fail
;
10791 swig_obj
[0] = args
;
10792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10793 if (!SWIG_IsOK(res1
)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10796 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_From_int(static_cast< int >(result
));
10810 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10811 PyObject
*resultobj
= 0;
10812 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10813 wxWindow
*result
= 0 ;
10816 PyObject
*swig_obj
[1] ;
10818 if (!args
) SWIG_fail
;
10819 swig_obj
[0] = args
;
10820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10824 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= wxPyMake_wxObject(result
, 0);
10840 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10841 PyObject
*resultobj
= 0;
10842 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10846 PyObject
*swig_obj
[1] ;
10848 if (!args
) SWIG_fail
;
10849 swig_obj
[0] = args
;
10850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10851 if (!SWIG_IsOK(res1
)) {
10852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10854 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10861 resultobj
= SWIG_From_int(static_cast< int >(result
));
10868 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10869 PyObject
*resultobj
= 0;
10870 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10874 PyObject
*swig_obj
[1] ;
10876 if (!args
) SWIG_fail
;
10877 swig_obj
[0] = args
;
10878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10879 if (!SWIG_IsOK(res1
)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10882 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= SWIG_From_int(static_cast< int >(result
));
10896 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10899 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10900 return SWIG_Py_Void();
10903 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10904 return SWIG_Python_InitShadowInstance(args
);
10907 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10908 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10913 SWIGINTERN PyObject
*SashNameStr_get(void) {
10914 PyObject
*pyobj
= 0;
10918 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10920 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10927 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10928 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10933 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10934 PyObject
*pyobj
= 0;
10938 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10940 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10947 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
= 0;
10949 wxWindow
*arg1
= (wxWindow
*) 0 ;
10950 int arg2
= (int) -1 ;
10951 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10952 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10953 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10954 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10955 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10956 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10957 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10958 wxSashWindow
*result
= 0 ;
10967 bool temp6
= false ;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 PyObject
* obj2
= 0 ;
10971 PyObject
* obj3
= 0 ;
10972 PyObject
* obj4
= 0 ;
10973 PyObject
* obj5
= 0 ;
10974 char * kwnames
[] = {
10975 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10980 if (!SWIG_IsOK(res1
)) {
10981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10983 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10986 if (!SWIG_IsOK(ecode2
)) {
10987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10989 arg2
= static_cast< int >(val2
);
10994 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11000 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11004 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
11005 if (!SWIG_IsOK(ecode5
)) {
11006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
11008 arg5
= static_cast< long >(val5
);
11012 arg6
= wxString_in_helper(obj5
);
11013 if (arg6
== NULL
) SWIG_fail
;
11018 if (!wxPyCheckForApp()) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
11039 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11040 PyObject
*resultobj
= 0;
11041 wxSashWindow
*result
= 0 ;
11043 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
11045 if (!wxPyCheckForApp()) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 result
= (wxSashWindow
*)new wxSashWindow();
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
11058 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
= 0;
11060 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11061 wxWindow
*arg2
= (wxWindow
*) 0 ;
11062 int arg3
= (int) -1 ;
11063 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11064 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11065 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11066 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11067 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
11068 wxString
const &arg7_defvalue
= wxPySashNameStr
;
11069 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11081 bool temp7
= false ;
11082 PyObject
* obj0
= 0 ;
11083 PyObject
* obj1
= 0 ;
11084 PyObject
* obj2
= 0 ;
11085 PyObject
* obj3
= 0 ;
11086 PyObject
* obj4
= 0 ;
11087 PyObject
* obj5
= 0 ;
11088 PyObject
* obj6
= 0 ;
11089 char * kwnames
[] = {
11090 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11095 if (!SWIG_IsOK(res1
)) {
11096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11098 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11099 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11100 if (!SWIG_IsOK(res2
)) {
11101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11103 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11106 if (!SWIG_IsOK(ecode3
)) {
11107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11109 arg3
= static_cast< int >(val3
);
11114 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11120 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11124 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11125 if (!SWIG_IsOK(ecode6
)) {
11126 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11128 arg6
= static_cast< long >(val6
);
11132 arg7
= wxString_in_helper(obj6
);
11133 if (arg7
== NULL
) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11160 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
= 0;
11162 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11163 wxSashEdgePosition arg2
;
11171 PyObject
* obj0
= 0 ;
11172 PyObject
* obj1
= 0 ;
11173 PyObject
* obj2
= 0 ;
11174 char * kwnames
[] = {
11175 (char *) "self",(char *) "edge",(char *) "sash", NULL
11178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11183 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11185 if (!SWIG_IsOK(ecode2
)) {
11186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11188 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11189 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11190 if (!SWIG_IsOK(ecode3
)) {
11191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11193 arg3
= static_cast< bool >(val3
);
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 (arg1
)->SetSashVisible(arg2
,arg3
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= SWIG_Py_Void();
11207 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
= 0;
11209 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11210 wxSashEdgePosition arg2
;
11216 PyObject
* obj0
= 0 ;
11217 PyObject
* obj1
= 0 ;
11218 char * kwnames
[] = {
11219 (char *) "self",(char *) "edge", NULL
11222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11224 if (!SWIG_IsOK(res1
)) {
11225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11227 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11229 if (!SWIG_IsOK(ecode2
)) {
11230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11232 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11248 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
= 0;
11250 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11251 wxSashEdgePosition arg2
;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 char * kwnames
[] = {
11260 (char *) "self",(char *) "edge", NULL
11263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11265 if (!SWIG_IsOK(res1
)) {
11266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11268 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11270 if (!SWIG_IsOK(ecode2
)) {
11271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11273 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_From_int(static_cast< int >(result
));
11287 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
= 0;
11289 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 char * kwnames
[] = {
11298 (char *) "self",(char *) "width", NULL
11301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11303 if (!SWIG_IsOK(res1
)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11306 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11308 if (!SWIG_IsOK(ecode2
)) {
11309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11311 arg2
= static_cast< int >(val2
);
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 (arg1
)->SetDefaultBorderSize(arg2
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_Py_Void();
11325 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 PyObject
*resultobj
= 0;
11327 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11331 PyObject
*swig_obj
[1] ;
11333 if (!args
) SWIG_fail
;
11334 swig_obj
[0] = args
;
11335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11339 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_int(static_cast< int >(result
));
11353 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
= 0;
11355 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 char * kwnames
[] = {
11364 (char *) "self",(char *) "width", NULL
11367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11369 if (!SWIG_IsOK(res1
)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11372 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11374 if (!SWIG_IsOK(ecode2
)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11377 arg2
= static_cast< int >(val2
);
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 (arg1
)->SetExtraBorderSize(arg2
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= SWIG_Py_Void();
11391 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11392 PyObject
*resultobj
= 0;
11393 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11397 PyObject
*swig_obj
[1] ;
11399 if (!args
) SWIG_fail
;
11400 swig_obj
[0] = args
;
11401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11402 if (!SWIG_IsOK(res1
)) {
11403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11405 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_From_int(static_cast< int >(result
));
11419 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
= 0;
11421 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 char * kwnames
[] = {
11430 (char *) "self",(char *) "min", NULL
11433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11435 if (!SWIG_IsOK(res1
)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11438 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11440 if (!SWIG_IsOK(ecode2
)) {
11441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11443 arg2
= static_cast< int >(val2
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 (arg1
)->SetMinimumSizeX(arg2
);
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_Py_Void();
11457 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
= 0;
11459 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11465 PyObject
* obj0
= 0 ;
11466 PyObject
* obj1
= 0 ;
11467 char * kwnames
[] = {
11468 (char *) "self",(char *) "min", NULL
11471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11473 if (!SWIG_IsOK(res1
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11476 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11478 if (!SWIG_IsOK(ecode2
)) {
11479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11481 arg2
= static_cast< int >(val2
);
11483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11484 (arg1
)->SetMinimumSizeY(arg2
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= SWIG_Py_Void();
11495 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11496 PyObject
*resultobj
= 0;
11497 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11501 PyObject
*swig_obj
[1] ;
11503 if (!args
) SWIG_fail
;
11504 swig_obj
[0] = args
;
11505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11506 if (!SWIG_IsOK(res1
)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11509 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= SWIG_From_int(static_cast< int >(result
));
11523 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11524 PyObject
*resultobj
= 0;
11525 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11529 PyObject
*swig_obj
[1] ;
11531 if (!args
) SWIG_fail
;
11532 swig_obj
[0] = args
;
11533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11534 if (!SWIG_IsOK(res1
)) {
11535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11537 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 resultobj
= SWIG_From_int(static_cast< int >(result
));
11551 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
= 0;
11553 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 char * kwnames
[] = {
11562 (char *) "self",(char *) "max", NULL
11565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11567 if (!SWIG_IsOK(res1
)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11570 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11572 if (!SWIG_IsOK(ecode2
)) {
11573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11575 arg2
= static_cast< int >(val2
);
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 (arg1
)->SetMaximumSizeX(arg2
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_Py_Void();
11589 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
= 0;
11591 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11597 PyObject
* obj0
= 0 ;
11598 PyObject
* obj1
= 0 ;
11599 char * kwnames
[] = {
11600 (char *) "self",(char *) "max", NULL
11603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11605 if (!SWIG_IsOK(res1
)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11608 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11610 if (!SWIG_IsOK(ecode2
)) {
11611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11613 arg2
= static_cast< int >(val2
);
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 (arg1
)->SetMaximumSizeY(arg2
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= SWIG_Py_Void();
11627 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11628 PyObject
*resultobj
= 0;
11629 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11633 PyObject
*swig_obj
[1] ;
11635 if (!args
) SWIG_fail
;
11636 swig_obj
[0] = args
;
11637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11638 if (!SWIG_IsOK(res1
)) {
11639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11641 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= SWIG_From_int(static_cast< int >(result
));
11655 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11656 PyObject
*resultobj
= 0;
11657 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11661 PyObject
*swig_obj
[1] ;
11663 if (!args
) SWIG_fail
;
11664 swig_obj
[0] = args
;
11665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11666 if (!SWIG_IsOK(res1
)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11669 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_From_int(static_cast< int >(result
));
11683 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
= 0;
11685 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11688 int arg4
= (int) 2 ;
11689 wxSashEdgePosition result
;
11698 PyObject
* obj0
= 0 ;
11699 PyObject
* obj1
= 0 ;
11700 PyObject
* obj2
= 0 ;
11701 PyObject
* obj3
= 0 ;
11702 char * kwnames
[] = {
11703 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11708 if (!SWIG_IsOK(res1
)) {
11709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11711 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11713 if (!SWIG_IsOK(ecode2
)) {
11714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11716 arg2
= static_cast< int >(val2
);
11717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11718 if (!SWIG_IsOK(ecode3
)) {
11719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11721 arg3
= static_cast< int >(val3
);
11723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11724 if (!SWIG_IsOK(ecode4
)) {
11725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11727 arg4
= static_cast< int >(val4
);
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= SWIG_From_int(static_cast< int >(result
));
11742 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11743 PyObject
*resultobj
= 0;
11744 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11747 PyObject
*swig_obj
[1] ;
11749 if (!args
) SWIG_fail
;
11750 swig_obj
[0] = args
;
11751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11752 if (!SWIG_IsOK(res1
)) {
11753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11755 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 (arg1
)->SizeWindows();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= SWIG_Py_Void();
11769 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11772 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11773 return SWIG_Py_Void();
11776 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11777 return SWIG_Python_InitShadowInstance(args
);
11780 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
= 0;
11782 int arg1
= (int) 0 ;
11783 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11784 wxSashEvent
*result
= 0 ;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 char * kwnames
[] = {
11792 (char *) "id",(char *) "edge", NULL
11795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11797 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11798 if (!SWIG_IsOK(ecode1
)) {
11799 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11801 arg1
= static_cast< int >(val1
);
11804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11805 if (!SWIG_IsOK(ecode2
)) {
11806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11808 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11823 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
= 0;
11825 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11826 wxSashEdgePosition arg2
;
11831 PyObject
* obj0
= 0 ;
11832 PyObject
* obj1
= 0 ;
11833 char * kwnames
[] = {
11834 (char *) "self",(char *) "edge", NULL
11837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11839 if (!SWIG_IsOK(res1
)) {
11840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11842 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11844 if (!SWIG_IsOK(ecode2
)) {
11845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11847 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 (arg1
)->SetEdge(arg2
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_Py_Void();
11861 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11862 PyObject
*resultobj
= 0;
11863 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11864 wxSashEdgePosition result
;
11867 PyObject
*swig_obj
[1] ;
11869 if (!args
) SWIG_fail
;
11870 swig_obj
[0] = args
;
11871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11872 if (!SWIG_IsOK(res1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11875 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_From_int(static_cast< int >(result
));
11889 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
= 0;
11891 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11896 PyObject
* obj0
= 0 ;
11897 PyObject
* obj1
= 0 ;
11898 char * kwnames
[] = {
11899 (char *) "self",(char *) "rect", NULL
11902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11904 if (!SWIG_IsOK(res1
)) {
11905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11907 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11910 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= SWIG_Py_Void();
11925 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11926 PyObject
*resultobj
= 0;
11927 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11931 PyObject
*swig_obj
[1] ;
11933 if (!args
) SWIG_fail
;
11934 swig_obj
[0] = args
;
11935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11936 if (!SWIG_IsOK(res1
)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11939 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11953 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
= 0;
11955 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11956 wxSashDragStatus arg2
;
11961 PyObject
* obj0
= 0 ;
11962 PyObject
* obj1
= 0 ;
11963 char * kwnames
[] = {
11964 (char *) "self",(char *) "status", NULL
11967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11969 if (!SWIG_IsOK(res1
)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11972 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11974 if (!SWIG_IsOK(ecode2
)) {
11975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11977 arg2
= static_cast< wxSashDragStatus
>(val2
);
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 (arg1
)->SetDragStatus(arg2
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_Py_Void();
11991 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11992 PyObject
*resultobj
= 0;
11993 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11994 wxSashDragStatus result
;
11997 PyObject
*swig_obj
[1] ;
11999 if (!args
) SWIG_fail
;
12000 swig_obj
[0] = args
;
12001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12005 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_From_int(static_cast< int >(result
));
12019 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12022 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12023 return SWIG_Py_Void();
12026 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12027 return SWIG_Python_InitShadowInstance(args
);
12030 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
= 0;
12032 int arg1
= (int) 0 ;
12033 wxQueryLayoutInfoEvent
*result
= 0 ;
12036 PyObject
* obj0
= 0 ;
12037 char * kwnames
[] = {
12038 (char *) "id", NULL
12041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12043 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12044 if (!SWIG_IsOK(ecode1
)) {
12045 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12047 arg1
= static_cast< int >(val1
);
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12062 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
= 0;
12064 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 char * kwnames
[] = {
12073 (char *) "self",(char *) "length", NULL
12076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12078 if (!SWIG_IsOK(res1
)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12081 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12083 if (!SWIG_IsOK(ecode2
)) {
12084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12086 arg2
= static_cast< int >(val2
);
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 (arg1
)->SetRequestedLength(arg2
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= SWIG_Py_Void();
12100 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12101 PyObject
*resultobj
= 0;
12102 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12106 PyObject
*swig_obj
[1] ;
12108 if (!args
) SWIG_fail
;
12109 swig_obj
[0] = args
;
12110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12111 if (!SWIG_IsOK(res1
)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12114 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= SWIG_From_int(static_cast< int >(result
));
12128 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
= 0;
12130 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12136 PyObject
* obj0
= 0 ;
12137 PyObject
* obj1
= 0 ;
12138 char * kwnames
[] = {
12139 (char *) "self",(char *) "flags", NULL
12142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12144 if (!SWIG_IsOK(res1
)) {
12145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12147 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12149 if (!SWIG_IsOK(ecode2
)) {
12150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12152 arg2
= static_cast< int >(val2
);
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 (arg1
)->SetFlags(arg2
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_Py_Void();
12166 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12167 PyObject
*resultobj
= 0;
12168 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12172 PyObject
*swig_obj
[1] ;
12174 if (!args
) SWIG_fail
;
12175 swig_obj
[0] = args
;
12176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12177 if (!SWIG_IsOK(res1
)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12180 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= SWIG_From_int(static_cast< int >(result
));
12194 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
= 0;
12196 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 PyObject
* obj1
= 0 ;
12203 char * kwnames
[] = {
12204 (char *) "self",(char *) "size", NULL
12207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12212 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12215 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 (arg1
)->SetSize((wxSize
const &)*arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_Py_Void();
12230 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12231 PyObject
*resultobj
= 0;
12232 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12236 PyObject
*swig_obj
[1] ;
12238 if (!args
) SWIG_fail
;
12239 swig_obj
[0] = args
;
12240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12241 if (!SWIG_IsOK(res1
)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12244 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12258 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= 0;
12260 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12261 wxLayoutOrientation arg2
;
12266 PyObject
* obj0
= 0 ;
12267 PyObject
* obj1
= 0 ;
12268 char * kwnames
[] = {
12269 (char *) "self",(char *) "orient", NULL
12272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12274 if (!SWIG_IsOK(res1
)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12277 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12279 if (!SWIG_IsOK(ecode2
)) {
12280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12282 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 (arg1
)->SetOrientation(arg2
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 resultobj
= SWIG_Py_Void();
12296 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12297 PyObject
*resultobj
= 0;
12298 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12299 wxLayoutOrientation result
;
12302 PyObject
*swig_obj
[1] ;
12304 if (!args
) SWIG_fail
;
12305 swig_obj
[0] = args
;
12306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12307 if (!SWIG_IsOK(res1
)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12310 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= SWIG_From_int(static_cast< int >(result
));
12324 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
= 0;
12326 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12327 wxLayoutAlignment arg2
;
12332 PyObject
* obj0
= 0 ;
12333 PyObject
* obj1
= 0 ;
12334 char * kwnames
[] = {
12335 (char *) "self",(char *) "align", NULL
12338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12340 if (!SWIG_IsOK(res1
)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12343 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12345 if (!SWIG_IsOK(ecode2
)) {
12346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12348 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 (arg1
)->SetAlignment(arg2
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_Py_Void();
12362 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12363 PyObject
*resultobj
= 0;
12364 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12365 wxLayoutAlignment result
;
12368 PyObject
*swig_obj
[1] ;
12370 if (!args
) SWIG_fail
;
12371 swig_obj
[0] = args
;
12372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12373 if (!SWIG_IsOK(res1
)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12376 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= SWIG_From_int(static_cast< int >(result
));
12390 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12393 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12394 return SWIG_Py_Void();
12397 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12398 return SWIG_Python_InitShadowInstance(args
);
12401 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
= 0;
12403 int arg1
= (int) 0 ;
12404 wxCalculateLayoutEvent
*result
= 0 ;
12407 PyObject
* obj0
= 0 ;
12408 char * kwnames
[] = {
12409 (char *) "id", NULL
12412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12414 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12415 if (!SWIG_IsOK(ecode1
)) {
12416 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12418 arg1
= static_cast< int >(val1
);
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12433 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
= 0;
12435 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 char * kwnames
[] = {
12444 (char *) "self",(char *) "flags", NULL
12447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12449 if (!SWIG_IsOK(res1
)) {
12450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12452 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12454 if (!SWIG_IsOK(ecode2
)) {
12455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12457 arg2
= static_cast< int >(val2
);
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 (arg1
)->SetFlags(arg2
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= SWIG_Py_Void();
12471 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12472 PyObject
*resultobj
= 0;
12473 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12477 PyObject
*swig_obj
[1] ;
12479 if (!args
) SWIG_fail
;
12480 swig_obj
[0] = args
;
12481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12482 if (!SWIG_IsOK(res1
)) {
12483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12485 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_From_int(static_cast< int >(result
));
12499 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
= 0;
12501 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12506 PyObject
* obj0
= 0 ;
12507 PyObject
* obj1
= 0 ;
12508 char * kwnames
[] = {
12509 (char *) "self",(char *) "rect", NULL
12512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12514 if (!SWIG_IsOK(res1
)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12517 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12520 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 (arg1
)->SetRect((wxRect
const &)*arg2
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= SWIG_Py_Void();
12535 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12536 PyObject
*resultobj
= 0;
12537 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12541 PyObject
*swig_obj
[1] ;
12543 if (!args
) SWIG_fail
;
12544 swig_obj
[0] = args
;
12545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12546 if (!SWIG_IsOK(res1
)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12549 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12563 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12566 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12567 return SWIG_Py_Void();
12570 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12571 return SWIG_Python_InitShadowInstance(args
);
12574 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
= 0;
12576 wxWindow
*arg1
= (wxWindow
*) 0 ;
12577 int arg2
= (int) -1 ;
12578 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12579 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12580 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12581 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12582 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12583 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12584 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12585 wxSashLayoutWindow
*result
= 0 ;
12594 bool temp6
= false ;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 PyObject
* obj2
= 0 ;
12598 PyObject
* obj3
= 0 ;
12599 PyObject
* obj4
= 0 ;
12600 PyObject
* obj5
= 0 ;
12601 char * kwnames
[] = {
12602 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12607 if (!SWIG_IsOK(res1
)) {
12608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12610 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12613 if (!SWIG_IsOK(ecode2
)) {
12614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12616 arg2
= static_cast< int >(val2
);
12621 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12627 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12631 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12632 if (!SWIG_IsOK(ecode5
)) {
12633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12635 arg5
= static_cast< long >(val5
);
12639 arg6
= wxString_in_helper(obj5
);
12640 if (arg6
== NULL
) SWIG_fail
;
12645 if (!wxPyCheckForApp()) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12666 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12667 PyObject
*resultobj
= 0;
12668 wxSashLayoutWindow
*result
= 0 ;
12670 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12672 if (!wxPyCheckForApp()) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12685 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
= 0;
12687 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12688 wxWindow
*arg2
= (wxWindow
*) 0 ;
12689 int arg3
= (int) -1 ;
12690 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12691 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12692 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12693 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12694 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12695 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12696 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12708 bool temp7
= false ;
12709 PyObject
* obj0
= 0 ;
12710 PyObject
* obj1
= 0 ;
12711 PyObject
* obj2
= 0 ;
12712 PyObject
* obj3
= 0 ;
12713 PyObject
* obj4
= 0 ;
12714 PyObject
* obj5
= 0 ;
12715 PyObject
* obj6
= 0 ;
12716 char * kwnames
[] = {
12717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12725 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12726 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12727 if (!SWIG_IsOK(res2
)) {
12728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12730 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12733 if (!SWIG_IsOK(ecode3
)) {
12734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12736 arg3
= static_cast< int >(val3
);
12741 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12747 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12751 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12752 if (!SWIG_IsOK(ecode6
)) {
12753 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12755 arg6
= static_cast< long >(val6
);
12759 arg7
= wxString_in_helper(obj6
);
12760 if (arg7
== NULL
) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12787 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12788 PyObject
*resultobj
= 0;
12789 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12790 wxLayoutAlignment result
;
12793 PyObject
*swig_obj
[1] ;
12795 if (!args
) SWIG_fail
;
12796 swig_obj
[0] = args
;
12797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12798 if (!SWIG_IsOK(res1
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12801 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= SWIG_From_int(static_cast< int >(result
));
12815 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12816 PyObject
*resultobj
= 0;
12817 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12818 wxLayoutOrientation result
;
12821 PyObject
*swig_obj
[1] ;
12823 if (!args
) SWIG_fail
;
12824 swig_obj
[0] = args
;
12825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12826 if (!SWIG_IsOK(res1
)) {
12827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12829 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 resultobj
= SWIG_From_int(static_cast< int >(result
));
12843 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
= 0;
12845 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12846 wxLayoutAlignment arg2
;
12851 PyObject
* obj0
= 0 ;
12852 PyObject
* obj1
= 0 ;
12853 char * kwnames
[] = {
12854 (char *) "self",(char *) "alignment", NULL
12857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12859 if (!SWIG_IsOK(res1
)) {
12860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12862 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12864 if (!SWIG_IsOK(ecode2
)) {
12865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12867 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 (arg1
)->SetAlignment(arg2
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= SWIG_Py_Void();
12881 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
= 0;
12883 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12888 PyObject
* obj0
= 0 ;
12889 PyObject
* obj1
= 0 ;
12890 char * kwnames
[] = {
12891 (char *) "self",(char *) "size", NULL
12894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12896 if (!SWIG_IsOK(res1
)) {
12897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12899 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12902 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= SWIG_Py_Void();
12917 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
= 0;
12919 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12920 wxLayoutOrientation arg2
;
12925 PyObject
* obj0
= 0 ;
12926 PyObject
* obj1
= 0 ;
12927 char * kwnames
[] = {
12928 (char *) "self",(char *) "orientation", NULL
12931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12936 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12938 if (!SWIG_IsOK(ecode2
)) {
12939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12941 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 (arg1
)->SetOrientation(arg2
);
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 resultobj
= SWIG_Py_Void();
12955 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12958 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12959 return SWIG_Py_Void();
12962 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 return SWIG_Python_InitShadowInstance(args
);
12966 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 PyObject
*resultobj
= 0;
12968 wxLayoutAlgorithm
*result
= 0 ;
12970 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12984 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12985 PyObject
*resultobj
= 0;
12986 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12989 PyObject
*swig_obj
[1] ;
12991 if (!args
) SWIG_fail
;
12992 swig_obj
[0] = args
;
12993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12994 if (!SWIG_IsOK(res1
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12997 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= SWIG_Py_Void();
13012 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
= 0;
13014 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13015 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13016 wxRect
*arg3
= (wxRect
*) NULL
;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 PyObject
* obj2
= 0 ;
13027 char * kwnames
[] = {
13028 (char *) "self",(char *) "frame",(char *) "rect", NULL
13031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13033 if (!SWIG_IsOK(res1
)) {
13034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13036 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13037 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13038 if (!SWIG_IsOK(res2
)) {
13039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13041 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13043 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13044 if (!SWIG_IsOK(res3
)) {
13045 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13047 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13064 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
= 0;
13066 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13067 wxFrame
*arg2
= (wxFrame
*) 0 ;
13068 wxWindow
*arg3
= (wxWindow
*) NULL
;
13076 PyObject
* obj0
= 0 ;
13077 PyObject
* obj1
= 0 ;
13078 PyObject
* obj2
= 0 ;
13079 char * kwnames
[] = {
13080 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13085 if (!SWIG_IsOK(res1
)) {
13086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13088 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13089 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13090 if (!SWIG_IsOK(res2
)) {
13091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13093 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13095 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13096 if (!SWIG_IsOK(res3
)) {
13097 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13099 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13116 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
= 0;
13118 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13119 wxWindow
*arg2
= (wxWindow
*) 0 ;
13120 wxWindow
*arg3
= (wxWindow
*) NULL
;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 PyObject
* obj2
= 0 ;
13131 char * kwnames
[] = {
13132 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13137 if (!SWIG_IsOK(res1
)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13140 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13142 if (!SWIG_IsOK(res2
)) {
13143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13147 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13148 if (!SWIG_IsOK(res3
)) {
13149 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13151 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13168 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13171 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13172 return SWIG_Py_Void();
13175 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13176 return SWIG_Python_InitShadowInstance(args
);
13179 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
= 0;
13181 wxWindow
*arg1
= (wxWindow
*) 0 ;
13182 int arg2
= (int) wxBORDER_NONE
;
13183 wxPopupWindow
*result
= 0 ;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 char * kwnames
[] = {
13191 (char *) "parent",(char *) "flags", NULL
13194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13196 if (!SWIG_IsOK(res1
)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13199 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13202 if (!SWIG_IsOK(ecode2
)) {
13203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13205 arg2
= static_cast< int >(val2
);
13208 if (!wxPyCheckForApp()) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13221 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13222 PyObject
*resultobj
= 0;
13223 wxPopupWindow
*result
= 0 ;
13225 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13227 if (!wxPyCheckForApp()) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (wxPopupWindow
*)new wxPopupWindow();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13240 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
= 0;
13242 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13243 wxWindow
*arg2
= (wxWindow
*) 0 ;
13244 int arg3
= (int) wxBORDER_NONE
;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 PyObject
* obj2
= 0 ;
13255 char * kwnames
[] = {
13256 (char *) "self",(char *) "parent",(char *) "flags", NULL
13259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13261 if (!SWIG_IsOK(res1
)) {
13262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13264 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13266 if (!SWIG_IsOK(res2
)) {
13267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13269 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13272 if (!SWIG_IsOK(ecode3
)) {
13273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13275 arg3
= static_cast< int >(val3
);
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13280 wxPyEndAllowThreads(__tstate
);
13281 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13292 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
= 0;
13294 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13295 wxPoint
*arg2
= 0 ;
13301 PyObject
* obj0
= 0 ;
13302 PyObject
* obj1
= 0 ;
13303 PyObject
* obj2
= 0 ;
13304 char * kwnames
[] = {
13305 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13310 if (!SWIG_IsOK(res1
)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13313 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13316 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13320 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_Py_Void();
13335 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13338 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13339 return SWIG_Py_Void();
13342 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13343 return SWIG_Python_InitShadowInstance(args
);
13346 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
= 0;
13348 wxWindow
*arg1
= (wxWindow
*) 0 ;
13349 int arg2
= (int) wxBORDER_NONE
;
13350 wxPyPopupTransientWindow
*result
= 0 ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 char * kwnames
[] = {
13358 (char *) "parent",(char *) "style", NULL
13361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13363 if (!SWIG_IsOK(res1
)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13366 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13369 if (!SWIG_IsOK(ecode2
)) {
13370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13372 arg2
= static_cast< int >(val2
);
13375 if (!wxPyCheckForApp()) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13388 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13389 PyObject
*resultobj
= 0;
13390 wxPyPopupTransientWindow
*result
= 0 ;
13392 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13394 if (!wxPyCheckForApp()) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13407 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
= 0;
13409 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13410 PyObject
*arg2
= (PyObject
*) 0 ;
13411 PyObject
*arg3
= (PyObject
*) 0 ;
13414 PyObject
* obj0
= 0 ;
13415 PyObject
* obj1
= 0 ;
13416 PyObject
* obj2
= 0 ;
13417 char * kwnames
[] = {
13418 (char *) "self",(char *) "self",(char *) "_class", NULL
13421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13423 if (!SWIG_IsOK(res1
)) {
13424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13426 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= SWIG_Py_Void();
13442 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
= 0;
13444 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13445 wxWindow
*arg2
= (wxWindow
*) NULL
;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char * kwnames
[] = {
13453 (char *) "self",(char *) "focus", NULL
13456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13458 if (!SWIG_IsOK(res1
)) {
13459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13461 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13463 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13464 if (!SWIG_IsOK(res2
)) {
13465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13467 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 (arg1
)->Popup(arg2
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= SWIG_Py_Void();
13482 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13483 PyObject
*resultobj
= 0;
13484 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13487 PyObject
*swig_obj
[1] ;
13489 if (!args
) SWIG_fail
;
13490 swig_obj
[0] = args
;
13491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13492 if (!SWIG_IsOK(res1
)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13495 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= SWIG_Py_Void();
13509 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13512 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13513 return SWIG_Py_Void();
13516 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13517 return SWIG_Python_InitShadowInstance(args
);
13520 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
= 0;
13522 wxWindow
*arg1
= (wxWindow
*) 0 ;
13523 wxString
*arg2
= 0 ;
13524 int arg3
= (int) 100 ;
13525 wxRect
*arg4
= (wxRect
*) NULL
;
13526 wxTipWindow
*result
= 0 ;
13529 bool temp2
= false ;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 PyObject
* obj2
= 0 ;
13537 PyObject
* obj3
= 0 ;
13538 char * kwnames
[] = {
13539 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13544 if (!SWIG_IsOK(res1
)) {
13545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13547 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13549 arg2
= wxString_in_helper(obj1
);
13550 if (arg2
== NULL
) SWIG_fail
;
13554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13555 if (!SWIG_IsOK(ecode3
)) {
13556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13558 arg3
= static_cast< int >(val3
);
13561 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13562 if (!SWIG_IsOK(res4
)) {
13563 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13565 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13568 if (!wxPyCheckForApp()) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13589 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
= 0;
13591 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13596 PyObject
* obj0
= 0 ;
13597 PyObject
* obj1
= 0 ;
13598 char * kwnames
[] = {
13599 (char *) "self",(char *) "rectBound", NULL
13602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13604 if (!SWIG_IsOK(res1
)) {
13605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13607 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13610 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= SWIG_Py_Void();
13625 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13626 PyObject
*resultobj
= 0;
13627 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13630 PyObject
*swig_obj
[1] ;
13632 if (!args
) SWIG_fail
;
13633 swig_obj
[0] = args
;
13634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13635 if (!SWIG_IsOK(res1
)) {
13636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13638 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= SWIG_Py_Void();
13652 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13654 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13655 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13656 return SWIG_Py_Void();
13659 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13660 return SWIG_Python_InitShadowInstance(args
);
13663 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
*resultobj
= 0;
13665 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13666 bool arg2
= (bool) true ;
13671 PyObject
* obj0
= 0 ;
13672 PyObject
* obj1
= 0 ;
13673 char * kwnames
[] = {
13674 (char *) "self",(char *) "scrolling", NULL
13677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13679 if (!SWIG_IsOK(res1
)) {
13680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13682 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13684 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13685 if (!SWIG_IsOK(ecode2
)) {
13686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
13688 arg2
= static_cast< bool >(val2
);
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 (arg1
)->EnablePhysicalScrolling(arg2
);
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= SWIG_Py_Void();
13703 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
= 0;
13705 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 char * kwnames
[] = {
13715 (char *) "self",(char *) "coord", NULL
13718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13720 if (!SWIG_IsOK(res1
)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13723 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13725 if (!SWIG_IsOK(ecode2
)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'");
13728 arg2
= static_cast< int >(val2
);
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->HitTest(arg2
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= SWIG_From_int(static_cast< int >(result
));
13742 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13743 PyObject
*resultobj
= 0;
13744 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13747 PyObject
*swig_obj
[1] ;
13749 if (!args
) SWIG_fail
;
13750 swig_obj
[0] = args
;
13751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13752 if (!SWIG_IsOK(res1
)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13755 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 (arg1
)->RefreshAll();
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= SWIG_Py_Void();
13769 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13770 PyObject
*resultobj
= 0;
13771 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13775 PyObject
*swig_obj
[1] ;
13777 if (!args
) SWIG_fail
;
13778 swig_obj
[0] = args
;
13779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13780 if (!SWIG_IsOK(res1
)) {
13781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13783 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 result
= (size_t)((wxVarScrollHelperBase
const *)arg1
)->GetVisibleBegin();
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13797 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13798 PyObject
*resultobj
= 0;
13799 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13803 PyObject
*swig_obj
[1] ;
13805 if (!args
) SWIG_fail
;
13806 swig_obj
[0] = args
;
13807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13808 if (!SWIG_IsOK(res1
)) {
13809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13811 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (size_t)((wxVarScrollHelperBase
const *)arg1
)->GetVisibleEnd();
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13825 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
= 0;
13827 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13834 PyObject
* obj0
= 0 ;
13835 PyObject
* obj1
= 0 ;
13836 char * kwnames
[] = {
13837 (char *) "self",(char *) "unit", NULL
13840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13842 if (!SWIG_IsOK(res1
)) {
13843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13845 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13846 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13847 if (!SWIG_IsOK(ecode2
)) {
13848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13850 arg2
= static_cast< size_t >(val2
);
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= (bool)((wxVarScrollHelperBase
const *)arg1
)->IsVisible(arg2
);
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13866 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
= 0;
13868 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13875 PyObject
* obj0
= 0 ;
13876 PyObject
* obj1
= 0 ;
13877 char * kwnames
[] = {
13878 (char *) "self",(char *) "coord", NULL
13881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13883 if (!SWIG_IsOK(res1
)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13886 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13888 if (!SWIG_IsOK(ecode2
)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
13891 arg2
= static_cast< int >(val2
);
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->CalcScrolledPosition(arg2
);
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= SWIG_From_int(static_cast< int >(result
));
13905 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
= 0;
13907 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13914 PyObject
* obj0
= 0 ;
13915 PyObject
* obj1
= 0 ;
13916 char * kwnames
[] = {
13917 (char *) "self",(char *) "coord", NULL
13920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13922 if (!SWIG_IsOK(res1
)) {
13923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13925 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13927 if (!SWIG_IsOK(ecode2
)) {
13928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
13930 arg2
= static_cast< int >(val2
);
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->CalcUnscrolledPosition(arg2
);
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= SWIG_From_int(static_cast< int >(result
));
13944 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13945 PyObject
*resultobj
= 0;
13946 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13949 PyObject
*swig_obj
[1] ;
13951 if (!args
) SWIG_fail
;
13952 swig_obj
[0] = args
;
13953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13954 if (!SWIG_IsOK(res1
)) {
13955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13957 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 (arg1
)->UpdateScrollbar();
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_Py_Void();
13971 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13972 PyObject
*resultobj
= 0;
13973 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13976 PyObject
*swig_obj
[1] ;
13978 if (!args
) SWIG_fail
;
13979 swig_obj
[0] = args
;
13980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13981 if (!SWIG_IsOK(res1
)) {
13982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13984 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 (arg1
)->RemoveScrollbar();
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_Py_Void();
13998 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
= 0;
14000 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14001 wxWindow
*arg2
= (wxWindow
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 PyObject
* obj1
= 0 ;
14008 char * kwnames
[] = {
14009 (char *) "self",(char *) "target", NULL
14012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14014 if (!SWIG_IsOK(res1
)) {
14015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
14017 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14019 if (!SWIG_IsOK(res2
)) {
14020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
14022 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 (arg1
)->SetTargetWindow(arg2
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_Py_Void();
14036 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14037 PyObject
*resultobj
= 0;
14038 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14039 wxWindow
*result
= 0 ;
14042 PyObject
*swig_obj
[1] ;
14044 if (!args
) SWIG_fail
;
14045 swig_obj
[0] = args
;
14046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14047 if (!SWIG_IsOK(res1
)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14050 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (wxWindow
*)((wxVarScrollHelperBase
const *)arg1
)->GetTargetWindow();
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14058 resultobj
= wxPyMake_wxObject(result
, 0);
14066 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14067 PyObject
*resultobj
= 0;
14068 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14072 PyObject
*swig_obj
[1] ;
14074 if (!args
) SWIG_fail
;
14075 swig_obj
[0] = args
;
14076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14077 if (!SWIG_IsOK(res1
)) {
14078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14080 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->GetOrientationTargetSize();
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 resultobj
= SWIG_From_int(static_cast< int >(result
));
14094 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14095 PyObject
*resultobj
= 0;
14096 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14100 PyObject
*swig_obj
[1] ;
14102 if (!args
) SWIG_fail
;
14103 swig_obj
[0] = args
;
14104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14105 if (!SWIG_IsOK(res1
)) {
14106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14108 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->GetNonOrientationTargetSize();
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= SWIG_From_int(static_cast< int >(result
));
14122 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14123 PyObject
*resultobj
= 0;
14124 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14125 wxOrientation result
;
14128 PyObject
*swig_obj
[1] ;
14130 if (!args
) SWIG_fail
;
14131 swig_obj
[0] = args
;
14132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14133 if (!SWIG_IsOK(res1
)) {
14134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14136 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (wxOrientation
)((wxVarScrollHelperBase
const *)arg1
)->GetOrientation();
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= SWIG_From_int(static_cast< int >(result
));
14150 SWIGINTERN PyObject
*VarScrollHelperBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14153 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase
, SWIG_NewClientData(obj
));
14154 return SWIG_Py_Void();
14157 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_SetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
= 0;
14159 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 char * kwnames
[] = {
14168 (char *) "self",(char *) "rowCount", NULL
14171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14173 if (!SWIG_IsOK(res1
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14176 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14177 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14178 if (!SWIG_IsOK(ecode2
)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'");
14181 arg2
= static_cast< size_t >(val2
);
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 (arg1
)->SetRowCount(arg2
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= SWIG_Py_Void();
14195 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollToRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
= 0;
14197 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 PyObject
* obj1
= 0 ;
14206 char * kwnames
[] = {
14207 (char *) "self",(char *) "row", NULL
14210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14212 if (!SWIG_IsOK(res1
)) {
14213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14215 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14216 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14217 if (!SWIG_IsOK(ecode2
)) {
14218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'");
14220 arg2
= static_cast< size_t >(val2
);
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= (bool)(arg1
)->ScrollToRow(arg2
);
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14236 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
= 0;
14238 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14245 PyObject
* obj0
= 0 ;
14246 PyObject
* obj1
= 0 ;
14247 char * kwnames
[] = {
14248 (char *) "self",(char *) "rows", NULL
14251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14253 if (!SWIG_IsOK(res1
)) {
14254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14256 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14258 if (!SWIG_IsOK(ecode2
)) {
14259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'");
14261 arg2
= static_cast< int >(val2
);
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (bool)(arg1
)->ScrollRows(arg2
);
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14277 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollRowPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
= 0;
14279 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14286 PyObject
* obj0
= 0 ;
14287 PyObject
* obj1
= 0 ;
14288 char * kwnames
[] = {
14289 (char *) "self",(char *) "pages", NULL
14292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14294 if (!SWIG_IsOK(res1
)) {
14295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14297 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14299 if (!SWIG_IsOK(ecode2
)) {
14300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'");
14302 arg2
= static_cast< int >(val2
);
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (bool)(arg1
)->ScrollRowPages(arg2
);
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14318 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_RefreshRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
= 0;
14320 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 char * kwnames
[] = {
14329 (char *) "self",(char *) "row", NULL
14332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14334 if (!SWIG_IsOK(res1
)) {
14335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14337 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14338 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14339 if (!SWIG_IsOK(ecode2
)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'");
14342 arg2
= static_cast< size_t >(val2
);
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 (arg1
)->RefreshRow(arg2
);
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 resultobj
= SWIG_Py_Void();
14356 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_RefreshRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
= 0;
14358 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 PyObject
* obj2
= 0 ;
14370 char * kwnames
[] = {
14371 (char *) "self",(char *) "from",(char *) "to", NULL
14374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14376 if (!SWIG_IsOK(res1
)) {
14377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14379 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14380 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14381 if (!SWIG_IsOK(ecode2
)) {
14382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'");
14384 arg2
= static_cast< size_t >(val2
);
14385 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14386 if (!SWIG_IsOK(ecode3
)) {
14387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'");
14389 arg3
= static_cast< size_t >(val3
);
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 (arg1
)->RefreshRows(arg2
,arg3
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= SWIG_Py_Void();
14403 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14404 PyObject
*resultobj
= 0;
14405 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14409 PyObject
*swig_obj
[1] ;
14411 if (!args
) SWIG_fail
;
14412 swig_obj
[0] = args
;
14413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14414 if (!SWIG_IsOK(res1
)) {
14415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14417 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetRowCount();
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14431 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14432 PyObject
*resultobj
= 0;
14433 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14437 PyObject
*swig_obj
[1] ;
14439 if (!args
) SWIG_fail
;
14440 swig_obj
[0] = args
;
14441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14442 if (!SWIG_IsOK(res1
)) {
14443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14445 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetVisibleRowsBegin();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14459 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14460 PyObject
*resultobj
= 0;
14461 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14465 PyObject
*swig_obj
[1] ;
14467 if (!args
) SWIG_fail
;
14468 swig_obj
[0] = args
;
14469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14470 if (!SWIG_IsOK(res1
)) {
14471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14473 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetVisibleRowsEnd();
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14487 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_IsRowVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
= 0;
14489 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 PyObject
* obj1
= 0 ;
14498 char * kwnames
[] = {
14499 (char *) "self",(char *) "row", NULL
14502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14504 if (!SWIG_IsOK(res1
)) {
14505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14507 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14508 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14509 if (!SWIG_IsOK(ecode2
)) {
14510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'");
14512 arg2
= static_cast< size_t >(val2
);
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (bool)((wxVarVScrollHelper
const *)arg1
)->IsRowVisible(arg2
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14528 SWIGINTERN PyObject
*VarVScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14530 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14531 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper
, SWIG_NewClientData(obj
));
14532 return SWIG_Py_Void();
14535 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_SetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
= 0;
14537 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 PyObject
* obj1
= 0 ;
14545 char * kwnames
[] = {
14546 (char *) "self",(char *) "columnCount", NULL
14549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14551 if (!SWIG_IsOK(res1
)) {
14552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14554 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14555 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14556 if (!SWIG_IsOK(ecode2
)) {
14557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14559 arg2
= static_cast< size_t >(val2
);
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 (arg1
)->SetColumnCount(arg2
);
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= SWIG_Py_Void();
14573 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollToColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
= 0;
14575 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14582 PyObject
* obj0
= 0 ;
14583 PyObject
* obj1
= 0 ;
14584 char * kwnames
[] = {
14585 (char *) "self",(char *) "column", NULL
14588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14590 if (!SWIG_IsOK(res1
)) {
14591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14593 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14594 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14595 if (!SWIG_IsOK(ecode2
)) {
14596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'");
14598 arg2
= static_cast< size_t >(val2
);
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (bool)(arg1
)->ScrollToColumn(arg2
);
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14614 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
= 0;
14616 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14625 char * kwnames
[] = {
14626 (char *) "self",(char *) "columns", NULL
14629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14631 if (!SWIG_IsOK(res1
)) {
14632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14634 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14636 if (!SWIG_IsOK(ecode2
)) {
14637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'");
14639 arg2
= static_cast< int >(val2
);
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 result
= (bool)(arg1
)->ScrollColumns(arg2
);
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14655 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollColumnPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
= 0;
14657 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14664 PyObject
* obj0
= 0 ;
14665 PyObject
* obj1
= 0 ;
14666 char * kwnames
[] = {
14667 (char *) "self",(char *) "pages", NULL
14670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14672 if (!SWIG_IsOK(res1
)) {
14673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14675 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14677 if (!SWIG_IsOK(ecode2
)) {
14678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'");
14680 arg2
= static_cast< int >(val2
);
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= (bool)(arg1
)->ScrollColumnPages(arg2
);
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14696 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_RefreshColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
= 0;
14698 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14704 PyObject
* obj0
= 0 ;
14705 PyObject
* obj1
= 0 ;
14706 char * kwnames
[] = {
14707 (char *) "self",(char *) "column", NULL
14710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14712 if (!SWIG_IsOK(res1
)) {
14713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14715 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14716 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14717 if (!SWIG_IsOK(ecode2
)) {
14718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'");
14720 arg2
= static_cast< size_t >(val2
);
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 (arg1
)->RefreshColumn(arg2
);
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= SWIG_Py_Void();
14734 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_RefreshColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
= 0;
14736 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14745 PyObject
* obj0
= 0 ;
14746 PyObject
* obj1
= 0 ;
14747 PyObject
* obj2
= 0 ;
14748 char * kwnames
[] = {
14749 (char *) "self",(char *) "from",(char *) "to", NULL
14752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14754 if (!SWIG_IsOK(res1
)) {
14755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14757 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14758 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14759 if (!SWIG_IsOK(ecode2
)) {
14760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'");
14762 arg2
= static_cast< size_t >(val2
);
14763 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14764 if (!SWIG_IsOK(ecode3
)) {
14765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'");
14767 arg3
= static_cast< size_t >(val3
);
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 (arg1
)->RefreshColumns(arg2
,arg3
);
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 resultobj
= SWIG_Py_Void();
14781 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14782 PyObject
*resultobj
= 0;
14783 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14787 PyObject
*swig_obj
[1] ;
14789 if (!args
) SWIG_fail
;
14790 swig_obj
[0] = args
;
14791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14792 if (!SWIG_IsOK(res1
)) {
14793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14795 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetColumnCount();
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14809 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14810 PyObject
*resultobj
= 0;
14811 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14815 PyObject
*swig_obj
[1] ;
14817 if (!args
) SWIG_fail
;
14818 swig_obj
[0] = args
;
14819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14820 if (!SWIG_IsOK(res1
)) {
14821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14823 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetVisibleColumnsBegin();
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14837 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14838 PyObject
*resultobj
= 0;
14839 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14843 PyObject
*swig_obj
[1] ;
14845 if (!args
) SWIG_fail
;
14846 swig_obj
[0] = args
;
14847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14848 if (!SWIG_IsOK(res1
)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14851 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetVisibleColumnsEnd();
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14865 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_IsColumnVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
= 0;
14867 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 char * kwnames
[] = {
14877 (char *) "self",(char *) "column", NULL
14880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14882 if (!SWIG_IsOK(res1
)) {
14883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14885 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14886 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14887 if (!SWIG_IsOK(ecode2
)) {
14888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'");
14890 arg2
= static_cast< size_t >(val2
);
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (bool)((wxVarHScrollHelper
const *)arg1
)->IsColumnVisible(arg2
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14906 SWIGINTERN PyObject
*VarHScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14909 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper
, SWIG_NewClientData(obj
));
14910 return SWIG_Py_Void();
14913 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
= 0;
14915 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 PyObject
* obj1
= 0 ;
14926 PyObject
* obj2
= 0 ;
14927 char * kwnames
[] = {
14928 (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL
14931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14933 if (!SWIG_IsOK(res1
)) {
14934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14936 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14937 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14938 if (!SWIG_IsOK(ecode2
)) {
14939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14941 arg2
= static_cast< size_t >(val2
);
14942 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14943 if (!SWIG_IsOK(ecode3
)) {
14944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'");
14946 arg3
= static_cast< size_t >(val3
);
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 (arg1
)->SetRowColumnCount(arg2
,arg3
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= SWIG_Py_Void();
14960 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
= 0;
14962 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14963 bool arg2
= (bool) true ;
14964 bool arg3
= (bool) true ;
14971 PyObject
* obj0
= 0 ;
14972 PyObject
* obj1
= 0 ;
14973 PyObject
* obj2
= 0 ;
14974 char * kwnames
[] = {
14975 (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL
14978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14980 if (!SWIG_IsOK(res1
)) {
14981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14983 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14985 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14986 if (!SWIG_IsOK(ecode2
)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
14989 arg2
= static_cast< bool >(val2
);
14992 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14993 if (!SWIG_IsOK(ecode3
)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'");
14996 arg3
= static_cast< bool >(val3
);
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 (arg1
)->EnablePhysicalScrolling(arg2
,arg3
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_Py_Void();
15011 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
= 0;
15013 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15014 wxPosition
*arg2
= 0 ;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 char * kwnames
[] = {
15023 (char *) "self",(char *) "pos", NULL
15026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15028 if (!SWIG_IsOK(res1
)) {
15029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15031 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15033 if (!SWIG_IsOK(res2
)) {
15034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15039 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (bool)(arg1
)->ScrollToRowColumn((wxPosition
const &)*arg2
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15055 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
= 0;
15057 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15058 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_RefreshRowColumn",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_RefreshRowColumn" "', 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_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15082 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 (arg1
)->RefreshRowColumn((wxPosition
const &)*arg2
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_Py_Void();
15096 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
= 0;
15098 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15099 wxPosition
*arg2
= 0 ;
15100 wxPosition
*arg3
= 0 ;
15107 PyObject
* obj0
= 0 ;
15108 PyObject
* obj1
= 0 ;
15109 PyObject
* obj2
= 0 ;
15110 char * kwnames
[] = {
15111 (char *) "self",(char *) "from",(char *) "to", NULL
15114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15116 if (!SWIG_IsOK(res1
)) {
15117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15119 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15121 if (!SWIG_IsOK(res2
)) {
15122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15127 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15128 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPosition
, 0 | 0);
15129 if (!SWIG_IsOK(res3
)) {
15130 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15135 arg3
= reinterpret_cast< wxPosition
* >(argp3
);
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 (arg1
)->RefreshRowsColumns((wxPosition
const &)*arg2
,(wxPosition
const &)*arg3
);
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15142 resultobj
= SWIG_Py_Void();
15149 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
= 0;
15151 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15152 wxPoint
*arg2
= 0 ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 char * kwnames
[] = {
15160 (char *) "self",(char *) "pos", NULL
15163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15165 if (!SWIG_IsOK(res1
)) {
15166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15168 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15171 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 result
= ((wxVarHVScrollHelper
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15186 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_ScrollLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15187 PyObject
*resultobj
= 0;
15188 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15192 PyObject
*swig_obj
[1] ;
15194 if (!args
) SWIG_fail
;
15195 swig_obj
[0] = args
;
15196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15197 if (!SWIG_IsOK(res1
)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15200 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 result
= (bool)(arg1
)->ScrollLayout();
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15216 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15217 PyObject
*resultobj
= 0;
15218 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15222 PyObject
*swig_obj
[1] ;
15224 if (!args
) SWIG_fail
;
15225 swig_obj
[0] = args
;
15226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15227 if (!SWIG_IsOK(res1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15230 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetRowColumnCount();
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15244 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15245 PyObject
*resultobj
= 0;
15246 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15250 PyObject
*swig_obj
[1] ;
15252 if (!args
) SWIG_fail
;
15253 swig_obj
[0] = args
;
15254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15255 if (!SWIG_IsOK(res1
)) {
15256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15258 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetVisibleBegin();
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15272 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15273 PyObject
*resultobj
= 0;
15274 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15278 PyObject
*swig_obj
[1] ;
15280 if (!args
) SWIG_fail
;
15281 swig_obj
[0] = args
;
15282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15283 if (!SWIG_IsOK(res1
)) {
15284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15286 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetVisibleEnd();
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15300 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
= 0;
15302 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15303 wxPosition
*arg2
= 0 ;
15309 PyObject
* obj0
= 0 ;
15310 PyObject
* obj1
= 0 ;
15311 char * kwnames
[] = {
15312 (char *) "self",(char *) "pos", NULL
15315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15317 if (!SWIG_IsOK(res1
)) {
15318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15320 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15322 if (!SWIG_IsOK(res2
)) {
15323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15328 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 result
= (bool)((wxVarHVScrollHelper
const *)arg1
)->IsVisible((wxPosition
const &)*arg2
);
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15344 SWIGINTERN PyObject
*VarHVScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15347 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper
, SWIG_NewClientData(obj
));
15348 return SWIG_Py_Void();
15351 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
= 0;
15353 wxWindow
*arg1
= (wxWindow
*) 0 ;
15354 int arg2
= (int) wxID_ANY
;
15355 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15356 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15357 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15358 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15359 long arg5
= (long) 0 ;
15360 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15361 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15362 wxPyVScrolledWindow
*result
= 0 ;
15371 bool temp6
= false ;
15372 PyObject
* obj0
= 0 ;
15373 PyObject
* obj1
= 0 ;
15374 PyObject
* obj2
= 0 ;
15375 PyObject
* obj3
= 0 ;
15376 PyObject
* obj4
= 0 ;
15377 PyObject
* obj5
= 0 ;
15378 char * kwnames
[] = {
15379 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15384 if (!SWIG_IsOK(res1
)) {
15385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15387 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15390 if (!SWIG_IsOK(ecode2
)) {
15391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15393 arg2
= static_cast< int >(val2
);
15398 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15404 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15408 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15409 if (!SWIG_IsOK(ecode5
)) {
15410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15412 arg5
= static_cast< long >(val5
);
15416 arg6
= wxString_in_helper(obj5
);
15417 if (arg6
== NULL
) SWIG_fail
;
15422 if (!wxPyCheckForApp()) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
15443 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15444 PyObject
*resultobj
= 0;
15445 wxPyVScrolledWindow
*result
= 0 ;
15447 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
15449 if (!wxPyCheckForApp()) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
15462 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
= 0;
15464 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15465 PyObject
*arg2
= (PyObject
*) 0 ;
15466 PyObject
*arg3
= (PyObject
*) 0 ;
15469 PyObject
* obj0
= 0 ;
15470 PyObject
* obj1
= 0 ;
15471 PyObject
* obj2
= 0 ;
15472 char * kwnames
[] = {
15473 (char *) "self",(char *) "self",(char *) "_class", NULL
15476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15478 if (!SWIG_IsOK(res1
)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15481 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= SWIG_Py_Void();
15497 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
= 0;
15499 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15500 wxWindow
*arg2
= (wxWindow
*) 0 ;
15501 int arg3
= (int) wxID_ANY
;
15502 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15503 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15504 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15505 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15506 long arg6
= (long) 0 ;
15507 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
15508 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15520 bool temp7
= false ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 PyObject
* obj2
= 0 ;
15524 PyObject
* obj3
= 0 ;
15525 PyObject
* obj4
= 0 ;
15526 PyObject
* obj5
= 0 ;
15527 PyObject
* obj6
= 0 ;
15528 char * kwnames
[] = {
15529 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15534 if (!SWIG_IsOK(res1
)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15537 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15539 if (!SWIG_IsOK(res2
)) {
15540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15542 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15545 if (!SWIG_IsOK(ecode3
)) {
15546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15548 arg3
= static_cast< int >(val3
);
15553 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15559 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15563 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15564 if (!SWIG_IsOK(ecode6
)) {
15565 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15567 arg6
= static_cast< long >(val6
);
15571 arg7
= wxString_in_helper(obj6
);
15572 if (arg7
== NULL
) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15599 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetRowsHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
= 0;
15601 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 PyObject
* obj1
= 0 ;
15613 PyObject
* obj2
= 0 ;
15614 char * kwnames
[] = {
15615 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
15618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15620 if (!SWIG_IsOK(res1
)) {
15621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15623 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15624 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15625 if (!SWIG_IsOK(ecode2
)) {
15626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
15628 arg2
= static_cast< size_t >(val2
);
15629 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15630 if (!SWIG_IsOK(ecode3
)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
15633 arg3
= static_cast< size_t >(val3
);
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetRowsHeight(arg2
,arg3
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= SWIG_From_int(static_cast< int >(result
));
15647 SWIGINTERN PyObject
*_wrap_VScrolledWindow_EstimateTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15648 PyObject
*resultobj
= 0;
15649 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15653 PyObject
*swig_obj
[1] ;
15655 if (!args
) SWIG_fail
;
15656 swig_obj
[0] = args
;
15657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15658 if (!SWIG_IsOK(res1
)) {
15659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15661 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->EstimateTotalHeight();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= SWIG_From_int(static_cast< int >(result
));
15675 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
= 0;
15677 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15678 wxPoint
*arg2
= 0 ;
15683 PyObject
* obj0
= 0 ;
15684 PyObject
* obj1
= 0 ;
15685 char * kwnames
[] = {
15686 (char *) "self",(char *) "pt", NULL
15689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15691 if (!SWIG_IsOK(res1
)) {
15692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15694 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15697 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_From_int(static_cast< int >(result
));
15712 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15715 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
15716 return SWIG_Py_Void();
15719 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15720 return SWIG_Python_InitShadowInstance(args
);
15723 SWIGINTERN PyObject
*_wrap_new_HScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
= 0;
15725 wxWindow
*arg1
= (wxWindow
*) 0 ;
15726 int arg2
= (int) wxID_ANY
;
15727 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15728 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15729 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15730 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15731 long arg5
= (long) 0 ;
15732 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15733 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15734 wxPyHScrolledWindow
*result
= 0 ;
15743 bool temp6
= false ;
15744 PyObject
* obj0
= 0 ;
15745 PyObject
* obj1
= 0 ;
15746 PyObject
* obj2
= 0 ;
15747 PyObject
* obj3
= 0 ;
15748 PyObject
* obj4
= 0 ;
15749 PyObject
* obj5
= 0 ;
15750 char * kwnames
[] = {
15751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15756 if (!SWIG_IsOK(res1
)) {
15757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15759 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15762 if (!SWIG_IsOK(ecode2
)) {
15763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15765 arg2
= static_cast< int >(val2
);
15770 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15776 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15780 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15781 if (!SWIG_IsOK(ecode5
)) {
15782 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15784 arg5
= static_cast< long >(val5
);
15788 arg6
= wxString_in_helper(obj5
);
15789 if (arg6
== NULL
) SWIG_fail
;
15794 if (!wxPyCheckForApp()) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= (wxPyHScrolledWindow
*)new wxPyHScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_POINTER_NEW
| 0 );
15815 SWIGINTERN PyObject
*_wrap_new_PreHScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15816 PyObject
*resultobj
= 0;
15817 wxPyHScrolledWindow
*result
= 0 ;
15819 if (!SWIG_Python_UnpackTuple(args
,"new_PreHScrolledWindow",0,0,0)) SWIG_fail
;
15821 if (!wxPyCheckForApp()) SWIG_fail
;
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 result
= (wxPyHScrolledWindow
*)new wxPyHScrolledWindow();
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_POINTER_OWN
| 0 );
15834 SWIGINTERN PyObject
*_wrap_HScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
= 0;
15836 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15837 PyObject
*arg2
= (PyObject
*) 0 ;
15838 PyObject
*arg3
= (PyObject
*) 0 ;
15841 PyObject
* obj0
= 0 ;
15842 PyObject
* obj1
= 0 ;
15843 PyObject
* obj2
= 0 ;
15844 char * kwnames
[] = {
15845 (char *) "self",(char *) "self",(char *) "_class", NULL
15848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15853 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= SWIG_Py_Void();
15869 SWIGINTERN PyObject
*_wrap_HScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
= 0;
15871 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15872 wxWindow
*arg2
= (wxWindow
*) 0 ;
15873 int arg3
= (int) wxID_ANY
;
15874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15878 long arg6
= (long) 0 ;
15879 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
15880 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15892 bool temp7
= false ;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 PyObject
* obj2
= 0 ;
15896 PyObject
* obj3
= 0 ;
15897 PyObject
* obj4
= 0 ;
15898 PyObject
* obj5
= 0 ;
15899 PyObject
* obj6
= 0 ;
15900 char * kwnames
[] = {
15901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15906 if (!SWIG_IsOK(res1
)) {
15907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15909 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15911 if (!SWIG_IsOK(res2
)) {
15912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15914 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15917 if (!SWIG_IsOK(ecode3
)) {
15918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15920 arg3
= static_cast< int >(val3
);
15925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15935 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15936 if (!SWIG_IsOK(ecode6
)) {
15937 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15939 arg6
= static_cast< long >(val6
);
15943 arg7
= wxString_in_helper(obj6
);
15944 if (arg7
== NULL
) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15971 SWIGINTERN PyObject
*_wrap_HScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
= 0;
15973 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15974 wxPoint
*arg2
= 0 ;
15979 PyObject
* obj0
= 0 ;
15980 PyObject
* obj1
= 0 ;
15981 char * kwnames
[] = {
15982 (char *) "self",(char *) "pt", NULL
15985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15987 if (!SWIG_IsOK(res1
)) {
15988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15990 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15993 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 resultobj
= SWIG_From_int(static_cast< int >(result
));
16008 SWIGINTERN PyObject
*_wrap_HScrolledWindow_GetColumnsWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
= 0;
16010 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 PyObject
* obj1
= 0 ;
16022 PyObject
* obj2
= 0 ;
16023 char * kwnames
[] = {
16024 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
16029 if (!SWIG_IsOK(res1
)) {
16030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16032 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
16033 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16034 if (!SWIG_IsOK(ecode2
)) {
16035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16037 arg2
= static_cast< size_t >(val2
);
16038 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16039 if (!SWIG_IsOK(ecode3
)) {
16040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16042 arg3
= static_cast< size_t >(val3
);
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->GetColumnsWidth(arg2
,arg3
);
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= SWIG_From_int(static_cast< int >(result
));
16056 SWIGINTERN PyObject
*_wrap_HScrolledWindow_EstimateTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16057 PyObject
*resultobj
= 0;
16058 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
16062 PyObject
*swig_obj
[1] ;
16064 if (!args
) SWIG_fail
;
16065 swig_obj
[0] = args
;
16066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
16067 if (!SWIG_IsOK(res1
)) {
16068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16070 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->EstimateTotalWidth();
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_From_int(static_cast< int >(result
));
16084 SWIGINTERN PyObject
*HScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16087 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_NewClientData(obj
));
16088 return SWIG_Py_Void();
16091 SWIGINTERN PyObject
*HScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16092 return SWIG_Python_InitShadowInstance(args
);
16095 SWIGINTERN PyObject
*_wrap_new_HVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
= 0;
16097 wxWindow
*arg1
= (wxWindow
*) 0 ;
16098 int arg2
= (int) wxID_ANY
;
16099 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16100 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16101 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16102 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16103 long arg5
= (long) 0 ;
16104 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16105 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16106 wxPyHVScrolledWindow
*result
= 0 ;
16115 bool temp6
= false ;
16116 PyObject
* obj0
= 0 ;
16117 PyObject
* obj1
= 0 ;
16118 PyObject
* obj2
= 0 ;
16119 PyObject
* obj3
= 0 ;
16120 PyObject
* obj4
= 0 ;
16121 PyObject
* obj5
= 0 ;
16122 char * kwnames
[] = {
16123 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16128 if (!SWIG_IsOK(res1
)) {
16129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
16131 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16134 if (!SWIG_IsOK(ecode2
)) {
16135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'");
16137 arg2
= static_cast< int >(val2
);
16142 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16148 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16152 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
16153 if (!SWIG_IsOK(ecode5
)) {
16154 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'");
16156 arg5
= static_cast< long >(val5
);
16160 arg6
= wxString_in_helper(obj5
);
16161 if (arg6
== NULL
) SWIG_fail
;
16166 if (!wxPyCheckForApp()) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (wxPyHVScrolledWindow
*)new wxPyHVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
16187 SWIGINTERN PyObject
*_wrap_new_PreHVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16188 PyObject
*resultobj
= 0;
16189 wxPyHVScrolledWindow
*result
= 0 ;
16191 if (!SWIG_Python_UnpackTuple(args
,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail
;
16193 if (!wxPyCheckForApp()) SWIG_fail
;
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 result
= (wxPyHVScrolledWindow
*)new wxPyHVScrolledWindow();
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
16206 SWIGINTERN PyObject
*_wrap_HVScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
= 0;
16208 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16209 PyObject
*arg2
= (PyObject
*) 0 ;
16210 PyObject
*arg3
= (PyObject
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 PyObject
* obj1
= 0 ;
16215 PyObject
* obj2
= 0 ;
16216 char * kwnames
[] = {
16217 (char *) "self",(char *) "self",(char *) "_class", NULL
16220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16222 if (!SWIG_IsOK(res1
)) {
16223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16225 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= SWIG_Py_Void();
16241 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
= 0;
16243 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16244 wxWindow
*arg2
= (wxWindow
*) 0 ;
16245 int arg3
= (int) wxID_ANY
;
16246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16250 long arg6
= (long) 0 ;
16251 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
16252 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16264 bool temp7
= false ;
16265 PyObject
* obj0
= 0 ;
16266 PyObject
* obj1
= 0 ;
16267 PyObject
* obj2
= 0 ;
16268 PyObject
* obj3
= 0 ;
16269 PyObject
* obj4
= 0 ;
16270 PyObject
* obj5
= 0 ;
16271 PyObject
* obj6
= 0 ;
16272 char * kwnames
[] = {
16273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16278 if (!SWIG_IsOK(res1
)) {
16279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16281 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16283 if (!SWIG_IsOK(res2
)) {
16284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16286 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16288 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16289 if (!SWIG_IsOK(ecode3
)) {
16290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
16292 arg3
= static_cast< int >(val3
);
16297 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16303 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16307 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16308 if (!SWIG_IsOK(ecode6
)) {
16309 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
16311 arg6
= static_cast< long >(val6
);
16315 arg7
= wxString_in_helper(obj6
);
16316 if (arg7
== NULL
) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16343 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_GetRowsHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
= 0;
16345 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 PyObject
* obj1
= 0 ;
16357 PyObject
* obj2
= 0 ;
16358 char * kwnames
[] = {
16359 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
16362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16364 if (!SWIG_IsOK(res1
)) {
16365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16367 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16368 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16369 if (!SWIG_IsOK(ecode2
)) {
16370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
16372 arg2
= static_cast< size_t >(val2
);
16373 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16374 if (!SWIG_IsOK(ecode3
)) {
16375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
16377 arg3
= static_cast< size_t >(val3
);
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->GetRowsHeight(arg2
,arg3
);
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16384 resultobj
= SWIG_From_int(static_cast< int >(result
));
16391 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16392 PyObject
*resultobj
= 0;
16393 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16397 PyObject
*swig_obj
[1] ;
16399 if (!args
) SWIG_fail
;
16400 swig_obj
[0] = args
;
16401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16402 if (!SWIG_IsOK(res1
)) {
16403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16405 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->EstimateTotalHeight();
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= SWIG_From_int(static_cast< int >(result
));
16419 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_GetColumnsWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
= 0;
16421 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16431 PyObject
* obj0
= 0 ;
16432 PyObject
* obj1
= 0 ;
16433 PyObject
* obj2
= 0 ;
16434 char * kwnames
[] = {
16435 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16440 if (!SWIG_IsOK(res1
)) {
16441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16443 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16444 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16445 if (!SWIG_IsOK(ecode2
)) {
16446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16448 arg2
= static_cast< size_t >(val2
);
16449 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16450 if (!SWIG_IsOK(ecode3
)) {
16451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16453 arg3
= static_cast< size_t >(val3
);
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->GetColumnsWidth(arg2
,arg3
);
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= SWIG_From_int(static_cast< int >(result
));
16467 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16468 PyObject
*resultobj
= 0;
16469 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16473 PyObject
*swig_obj
[1] ;
16475 if (!args
) SWIG_fail
;
16476 swig_obj
[0] = args
;
16477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16478 if (!SWIG_IsOK(res1
)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16481 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->EstimateTotalWidth();
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= SWIG_From_int(static_cast< int >(result
));
16495 SWIGINTERN PyObject
*HVScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16498 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_NewClientData(obj
));
16499 return SWIG_Py_Void();
16502 SWIGINTERN PyObject
*HVScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16503 return SWIG_Python_InitShadowInstance(args
);
16506 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
16507 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
16512 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
16513 PyObject
*pyobj
= 0;
16517 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
16519 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
16526 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
= 0;
16528 wxWindow
*arg1
= (wxWindow
*) 0 ;
16529 int arg2
= (int) wxID_ANY
;
16530 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16531 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16532 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16533 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16534 long arg5
= (long) 0 ;
16535 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
16536 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16537 wxPyVListBox
*result
= 0 ;
16546 bool temp6
= false ;
16547 PyObject
* obj0
= 0 ;
16548 PyObject
* obj1
= 0 ;
16549 PyObject
* obj2
= 0 ;
16550 PyObject
* obj3
= 0 ;
16551 PyObject
* obj4
= 0 ;
16552 PyObject
* obj5
= 0 ;
16553 char * kwnames
[] = {
16554 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16559 if (!SWIG_IsOK(res1
)) {
16560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16562 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16565 if (!SWIG_IsOK(ecode2
)) {
16566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
16568 arg2
= static_cast< int >(val2
);
16573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16579 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16583 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
16584 if (!SWIG_IsOK(ecode5
)) {
16585 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
16587 arg5
= static_cast< long >(val5
);
16591 arg6
= wxString_in_helper(obj5
);
16592 if (arg6
== NULL
) SWIG_fail
;
16597 if (!wxPyCheckForApp()) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
16618 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16619 PyObject
*resultobj
= 0;
16620 wxPyVListBox
*result
= 0 ;
16622 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
16624 if (!wxPyCheckForApp()) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (wxPyVListBox
*)new wxPyVListBox();
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
16637 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
= 0;
16639 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16640 PyObject
*arg2
= (PyObject
*) 0 ;
16641 PyObject
*arg3
= (PyObject
*) 0 ;
16644 PyObject
* obj0
= 0 ;
16645 PyObject
* obj1
= 0 ;
16646 PyObject
* obj2
= 0 ;
16647 char * kwnames
[] = {
16648 (char *) "self",(char *) "self",(char *) "_class", NULL
16651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16653 if (!SWIG_IsOK(res1
)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16656 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16665 resultobj
= SWIG_Py_Void();
16672 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
= 0;
16674 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16675 wxWindow
*arg2
= (wxWindow
*) 0 ;
16676 int arg3
= (int) wxID_ANY
;
16677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16681 long arg6
= (long) 0 ;
16682 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
16683 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16695 bool temp7
= false ;
16696 PyObject
* obj0
= 0 ;
16697 PyObject
* obj1
= 0 ;
16698 PyObject
* obj2
= 0 ;
16699 PyObject
* obj3
= 0 ;
16700 PyObject
* obj4
= 0 ;
16701 PyObject
* obj5
= 0 ;
16702 PyObject
* obj6
= 0 ;
16703 char * kwnames
[] = {
16704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16709 if (!SWIG_IsOK(res1
)) {
16710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16712 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16714 if (!SWIG_IsOK(res2
)) {
16715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16720 if (!SWIG_IsOK(ecode3
)) {
16721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
16723 arg3
= static_cast< int >(val3
);
16728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16738 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16739 if (!SWIG_IsOK(ecode6
)) {
16740 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
16742 arg6
= static_cast< long >(val6
);
16746 arg7
= wxString_in_helper(obj6
);
16747 if (arg7
== NULL
) SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16774 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16775 PyObject
*resultobj
= 0;
16776 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16780 PyObject
*swig_obj
[1] ;
16782 if (!args
) SWIG_fail
;
16783 swig_obj
[0] = args
;
16784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16785 if (!SWIG_IsOK(res1
)) {
16786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16788 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16802 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16803 PyObject
*resultobj
= 0;
16804 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16808 PyObject
*swig_obj
[1] ;
16810 if (!args
) SWIG_fail
;
16811 swig_obj
[0] = args
;
16812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16813 if (!SWIG_IsOK(res1
)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16816 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16832 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16833 PyObject
*resultobj
= 0;
16834 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16838 PyObject
*swig_obj
[1] ;
16840 if (!args
) SWIG_fail
;
16841 swig_obj
[0] = args
;
16842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16843 if (!SWIG_IsOK(res1
)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16846 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= SWIG_From_int(static_cast< int >(result
));
16860 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
= 0;
16862 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16869 PyObject
* obj0
= 0 ;
16870 PyObject
* obj1
= 0 ;
16871 char * kwnames
[] = {
16872 (char *) "self",(char *) "item", NULL
16875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16877 if (!SWIG_IsOK(res1
)) {
16878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16880 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16881 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16882 if (!SWIG_IsOK(ecode2
)) {
16883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
16885 arg2
= static_cast< size_t >(val2
);
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16901 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
= 0;
16903 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 PyObject
* obj1
= 0 ;
16912 char * kwnames
[] = {
16913 (char *) "self",(char *) "item", NULL
16916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16918 if (!SWIG_IsOK(res1
)) {
16919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16921 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16922 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16923 if (!SWIG_IsOK(ecode2
)) {
16924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
16926 arg2
= static_cast< size_t >(val2
);
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16942 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16943 PyObject
*resultobj
= 0;
16944 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16948 PyObject
*swig_obj
[1] ;
16950 if (!args
) SWIG_fail
;
16951 swig_obj
[0] = args
;
16952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16953 if (!SWIG_IsOK(res1
)) {
16954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16956 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16970 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16971 PyObject
*resultobj
= 0;
16972 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16973 PyObject
*result
= 0 ;
16976 PyObject
*swig_obj
[1] ;
16978 if (!args
) SWIG_fail
;
16979 swig_obj
[0] = args
;
16980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16981 if (!SWIG_IsOK(res1
)) {
16982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16984 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= result
;
16998 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
= 0;
17000 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17001 unsigned long arg2
;
17002 PyObject
*result
= 0 ;
17005 unsigned long val2
;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 char * kwnames
[] = {
17010 (char *) "self",(char *) "cookie", NULL
17013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17015 if (!SWIG_IsOK(res1
)) {
17016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17018 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17019 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
17020 if (!SWIG_IsOK(ecode2
)) {
17021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
17023 arg2
= static_cast< unsigned long >(val2
);
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17030 resultobj
= result
;
17037 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17038 PyObject
*resultobj
= 0;
17039 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17043 PyObject
*swig_obj
[1] ;
17045 if (!args
) SWIG_fail
;
17046 swig_obj
[0] = args
;
17047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17048 if (!SWIG_IsOK(res1
)) {
17049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17051 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
17065 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17066 PyObject
*resultobj
= 0;
17067 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17068 wxColour
*result
= 0 ;
17071 PyObject
*swig_obj
[1] ;
17073 if (!args
) SWIG_fail
;
17074 swig_obj
[0] = args
;
17075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17076 if (!SWIG_IsOK(res1
)) {
17077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17079 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
17084 result
= (wxColour
*) &_result_ref
;
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
17096 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
= 0;
17098 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 char * kwnames
[] = {
17107 (char *) "self",(char *) "count", NULL
17110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17112 if (!SWIG_IsOK(res1
)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17115 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17116 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17117 if (!SWIG_IsOK(ecode2
)) {
17118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17120 arg2
= static_cast< size_t >(val2
);
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 (arg1
)->SetItemCount(arg2
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= SWIG_Py_Void();
17134 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17135 PyObject
*resultobj
= 0;
17136 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17139 PyObject
*swig_obj
[1] ;
17141 if (!args
) SWIG_fail
;
17142 swig_obj
[0] = args
;
17143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17144 if (!SWIG_IsOK(res1
)) {
17145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17147 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= SWIG_Py_Void();
17161 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
= 0;
17163 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 PyObject
* obj1
= 0 ;
17171 char * kwnames
[] = {
17172 (char *) "self",(char *) "selection", NULL
17175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17177 if (!SWIG_IsOK(res1
)) {
17178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17180 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17182 if (!SWIG_IsOK(ecode2
)) {
17183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
17185 arg2
= static_cast< int >(val2
);
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 (arg1
)->SetSelection(arg2
);
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= SWIG_Py_Void();
17199 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
= 0;
17201 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17203 bool arg3
= (bool) true ;
17211 PyObject
* obj0
= 0 ;
17212 PyObject
* obj1
= 0 ;
17213 PyObject
* obj2
= 0 ;
17214 char * kwnames
[] = {
17215 (char *) "self",(char *) "item",(char *) "select", NULL
17218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) 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_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17223 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17224 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17225 if (!SWIG_IsOK(ecode2
)) {
17226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
17228 arg2
= static_cast< size_t >(val2
);
17230 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17231 if (!SWIG_IsOK(ecode3
)) {
17232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
17234 arg3
= static_cast< bool >(val3
);
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (bool)(arg1
)->Select(arg2
,arg3
);
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17251 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
= 0;
17253 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17263 PyObject
* obj0
= 0 ;
17264 PyObject
* obj1
= 0 ;
17265 PyObject
* obj2
= 0 ;
17266 char * kwnames
[] = {
17267 (char *) "self",(char *) "from",(char *) "to", NULL
17270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17272 if (!SWIG_IsOK(res1
)) {
17273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17275 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17276 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17277 if (!SWIG_IsOK(ecode2
)) {
17278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
17280 arg2
= static_cast< size_t >(val2
);
17281 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
17282 if (!SWIG_IsOK(ecode3
)) {
17283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
17285 arg3
= static_cast< size_t >(val3
);
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17301 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
= 0;
17303 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17309 PyObject
* obj0
= 0 ;
17310 PyObject
* obj1
= 0 ;
17311 char * kwnames
[] = {
17312 (char *) "self",(char *) "item", NULL
17315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17317 if (!SWIG_IsOK(res1
)) {
17318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17320 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17321 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17322 if (!SWIG_IsOK(ecode2
)) {
17323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
17325 arg2
= static_cast< size_t >(val2
);
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 (arg1
)->Toggle(arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 resultobj
= SWIG_Py_Void();
17339 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17340 PyObject
*resultobj
= 0;
17341 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17345 PyObject
*swig_obj
[1] ;
17347 if (!args
) SWIG_fail
;
17348 swig_obj
[0] = args
;
17349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17350 if (!SWIG_IsOK(res1
)) {
17351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17353 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 result
= (bool)(arg1
)->SelectAll();
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17369 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17370 PyObject
*resultobj
= 0;
17371 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17375 PyObject
*swig_obj
[1] ;
17377 if (!args
) SWIG_fail
;
17378 swig_obj
[0] = args
;
17379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17380 if (!SWIG_IsOK(res1
)) {
17381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17383 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 result
= (bool)(arg1
)->DeselectAll();
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17399 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
= 0;
17401 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17402 wxPoint
*arg2
= 0 ;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 char * kwnames
[] = {
17409 (char *) "self",(char *) "pt", NULL
17412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17414 if (!SWIG_IsOK(res1
)) {
17415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17417 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17420 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
17425 wxPyEndAllowThreads(__tstate
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17428 resultobj
= SWIG_Py_Void();
17435 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
= 0;
17437 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 PyObject
* obj2
= 0 ;
17449 char * kwnames
[] = {
17450 (char *) "self",(char *) "x",(char *) "y", NULL
17453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17455 if (!SWIG_IsOK(res1
)) {
17456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17458 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17460 if (!SWIG_IsOK(ecode2
)) {
17461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
17463 arg2
= static_cast< int >(val2
);
17464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17465 if (!SWIG_IsOK(ecode3
)) {
17466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
17468 arg3
= static_cast< int >(val3
);
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->SetMargins(arg2
,arg3
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17475 resultobj
= SWIG_Py_Void();
17482 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
= 0;
17484 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17485 wxColour
*arg2
= 0 ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 char * kwnames
[] = {
17492 (char *) "self",(char *) "col", NULL
17495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17497 if (!SWIG_IsOK(res1
)) {
17498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17500 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17503 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= SWIG_Py_Void();
17518 SWIGINTERN PyObject
*_wrap_VListBox_RefreshSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17519 PyObject
*resultobj
= 0;
17520 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17523 PyObject
*swig_obj
[1] ;
17525 if (!args
) SWIG_fail
;
17526 swig_obj
[0] = args
;
17527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17528 if (!SWIG_IsOK(res1
)) {
17529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17531 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 (arg1
)->RefreshSelected();
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= SWIG_Py_Void();
17545 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
= 0;
17547 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17558 PyObject
* obj0
= 0 ;
17559 PyObject
* obj1
= 0 ;
17560 PyObject
* obj2
= 0 ;
17561 PyObject
* obj3
= 0 ;
17562 char * kwnames
[] = {
17563 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17568 if (!SWIG_IsOK(res1
)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17571 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17572 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
17573 if (!SWIG_IsOK(res2
)) {
17574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17579 arg2
= reinterpret_cast< wxDC
* >(argp2
);
17582 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17584 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17585 if (!SWIG_IsOK(ecode4
)) {
17586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
17588 arg4
= static_cast< size_t >(val4
);
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= SWIG_Py_Void();
17602 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
= 0;
17604 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17615 PyObject
* obj0
= 0 ;
17616 PyObject
* obj1
= 0 ;
17617 PyObject
* obj2
= 0 ;
17618 PyObject
* obj3
= 0 ;
17619 char * kwnames
[] = {
17620 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17625 if (!SWIG_IsOK(res1
)) {
17626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17628 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17629 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
17630 if (!SWIG_IsOK(res2
)) {
17631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17636 arg2
= reinterpret_cast< wxDC
* >(argp2
);
17639 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17641 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17642 if (!SWIG_IsOK(ecode4
)) {
17643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
17645 arg4
= static_cast< size_t >(val4
);
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_Py_Void();
17659 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17662 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
17663 return SWIG_Py_Void();
17666 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17667 return SWIG_Python_InitShadowInstance(args
);
17670 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
= 0;
17672 wxWindow
*arg1
= (wxWindow
*) 0 ;
17673 int arg2
= (int) wxID_ANY
;
17674 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17675 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17676 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17677 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17678 long arg5
= (long) 0 ;
17679 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
17680 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17681 wxPyHtmlListBox
*result
= 0 ;
17690 bool temp6
= false ;
17691 PyObject
* obj0
= 0 ;
17692 PyObject
* obj1
= 0 ;
17693 PyObject
* obj2
= 0 ;
17694 PyObject
* obj3
= 0 ;
17695 PyObject
* obj4
= 0 ;
17696 PyObject
* obj5
= 0 ;
17697 char * kwnames
[] = {
17698 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17703 if (!SWIG_IsOK(res1
)) {
17704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17706 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17709 if (!SWIG_IsOK(ecode2
)) {
17710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
17712 arg2
= static_cast< int >(val2
);
17717 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17723 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17727 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17728 if (!SWIG_IsOK(ecode5
)) {
17729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
17731 arg5
= static_cast< long >(val5
);
17735 arg6
= wxString_in_helper(obj5
);
17736 if (arg6
== NULL
) SWIG_fail
;
17741 if (!wxPyCheckForApp()) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
17762 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17763 PyObject
*resultobj
= 0;
17764 wxPyHtmlListBox
*result
= 0 ;
17766 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
17768 if (!wxPyCheckForApp()) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
17781 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
= 0;
17783 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17784 PyObject
*arg2
= (PyObject
*) 0 ;
17785 PyObject
*arg3
= (PyObject
*) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 PyObject
* obj1
= 0 ;
17790 PyObject
* obj2
= 0 ;
17791 char * kwnames
[] = {
17792 (char *) "self",(char *) "self",(char *) "_class", NULL
17795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17797 if (!SWIG_IsOK(res1
)) {
17798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17800 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= SWIG_Py_Void();
17816 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
= 0;
17818 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17819 wxWindow
*arg2
= (wxWindow
*) 0 ;
17820 int arg3
= (int) wxID_ANY
;
17821 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17822 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17823 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17824 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17825 long arg6
= (long) 0 ;
17826 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
17827 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17839 bool temp7
= false ;
17840 PyObject
* obj0
= 0 ;
17841 PyObject
* obj1
= 0 ;
17842 PyObject
* obj2
= 0 ;
17843 PyObject
* obj3
= 0 ;
17844 PyObject
* obj4
= 0 ;
17845 PyObject
* obj5
= 0 ;
17846 PyObject
* obj6
= 0 ;
17847 char * kwnames
[] = {
17848 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17853 if (!SWIG_IsOK(res1
)) {
17854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17856 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17857 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17858 if (!SWIG_IsOK(res2
)) {
17859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17861 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17864 if (!SWIG_IsOK(ecode3
)) {
17865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
17867 arg3
= static_cast< int >(val3
);
17872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17882 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17883 if (!SWIG_IsOK(ecode6
)) {
17884 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
17886 arg6
= static_cast< long >(val6
);
17890 arg7
= wxString_in_helper(obj6
);
17891 if (arg7
== NULL
) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17918 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
= 0;
17920 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 char * kwnames
[] = {
17929 (char *) "self",(char *) "count", NULL
17932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17934 if (!SWIG_IsOK(res1
)) {
17935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17937 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17938 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17939 if (!SWIG_IsOK(ecode2
)) {
17940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17942 arg2
= static_cast< size_t >(val2
);
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 (arg1
)->SetItemCount(arg2
);
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= SWIG_Py_Void();
17956 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17957 PyObject
*resultobj
= 0;
17958 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17959 wxFileSystem
*result
= 0 ;
17962 PyObject
*swig_obj
[1] ;
17964 if (!args
) SWIG_fail
;
17965 swig_obj
[0] = args
;
17966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17967 if (!SWIG_IsOK(res1
)) {
17968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17970 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
17975 result
= (wxFileSystem
*) &_result_ref
;
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
17987 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
= 0;
17989 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17991 wxHtmlLinkInfo
*arg3
= 0 ;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 PyObject
* obj2
= 0 ;
18001 char * kwnames
[] = {
18002 (char *) "self",(char *) "n",(char *) "link", NULL
18005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
18007 if (!SWIG_IsOK(res1
)) {
18008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
18010 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
18011 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18012 if (!SWIG_IsOK(ecode2
)) {
18013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
18015 arg2
= static_cast< size_t >(val2
);
18016 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
18017 if (!SWIG_IsOK(res3
)) {
18018 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
18021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
18023 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= SWIG_Py_Void();
18037 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
18041 return SWIG_Py_Void();
18044 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18045 return SWIG_Python_InitShadowInstance(args
);
18048 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
18049 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
18054 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
18055 PyObject
*pyobj
= 0;
18059 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
18061 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
18068 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
= 0;
18070 wxWindow
*arg1
= (wxWindow
*) 0 ;
18071 int arg2
= (int) -1 ;
18072 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18073 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18074 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18075 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18076 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
18077 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
18078 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
18079 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18080 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18081 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
18082 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18083 wxSimpleHtmlListBox
*result
= 0 ;
18090 bool temp5
= false ;
18095 bool temp8
= false ;
18096 PyObject
* obj0
= 0 ;
18097 PyObject
* obj1
= 0 ;
18098 PyObject
* obj2
= 0 ;
18099 PyObject
* obj3
= 0 ;
18100 PyObject
* obj4
= 0 ;
18101 PyObject
* obj5
= 0 ;
18102 PyObject
* obj6
= 0 ;
18103 PyObject
* obj7
= 0 ;
18104 char * kwnames
[] = {
18105 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18110 if (!SWIG_IsOK(res1
)) {
18111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
18113 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18116 if (!SWIG_IsOK(ecode2
)) {
18117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
18119 arg2
= static_cast< int >(val2
);
18124 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18130 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18135 if (! PySequence_Check(obj4
)) {
18136 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
18139 arg5
= new wxArrayString
;
18141 int i
, len
=PySequence_Length(obj4
);
18142 for (i
=0; i
<len
; i
++) {
18143 PyObject
* item
= PySequence_GetItem(obj4
, i
);
18144 wxString
* s
= wxString_in_helper(item
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18153 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18154 if (!SWIG_IsOK(ecode6
)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
18157 arg6
= static_cast< long >(val6
);
18160 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18161 if (!SWIG_IsOK(res7
)) {
18162 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18167 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18171 arg8
= wxString_in_helper(obj7
);
18172 if (arg8
== NULL
) SWIG_fail
;
18177 if (!wxPyCheckForApp()) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
18185 if (temp5
) delete arg5
;
18194 if (temp5
) delete arg5
;
18204 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18205 PyObject
*resultobj
= 0;
18206 wxSimpleHtmlListBox
*result
= 0 ;
18208 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
18210 if (!wxPyCheckForApp()) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
18223 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
= 0;
18225 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
18226 wxWindow
*arg2
= (wxWindow
*) 0 ;
18227 int arg3
= (int) -1 ;
18228 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18229 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18230 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18231 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18232 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
18233 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
18234 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
18235 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18236 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18237 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
18238 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18248 bool temp6
= false ;
18253 bool temp9
= false ;
18254 PyObject
* obj0
= 0 ;
18255 PyObject
* obj1
= 0 ;
18256 PyObject
* obj2
= 0 ;
18257 PyObject
* obj3
= 0 ;
18258 PyObject
* obj4
= 0 ;
18259 PyObject
* obj5
= 0 ;
18260 PyObject
* obj6
= 0 ;
18261 PyObject
* obj7
= 0 ;
18262 PyObject
* obj8
= 0 ;
18263 char * kwnames
[] = {
18264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
18269 if (!SWIG_IsOK(res1
)) {
18270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
18272 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
18273 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18274 if (!SWIG_IsOK(res2
)) {
18275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18277 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18280 if (!SWIG_IsOK(ecode3
)) {
18281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
18283 arg3
= static_cast< int >(val3
);
18288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18294 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18299 if (! PySequence_Check(obj5
)) {
18300 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
18303 arg6
= new wxArrayString
;
18305 int i
, len
=PySequence_Length(obj5
);
18306 for (i
=0; i
<len
; i
++) {
18307 PyObject
* item
= PySequence_GetItem(obj5
, i
);
18308 wxString
* s
= wxString_in_helper(item
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18317 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18318 if (!SWIG_IsOK(ecode7
)) {
18319 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
18321 arg7
= static_cast< long >(val7
);
18324 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18325 if (!SWIG_IsOK(res8
)) {
18326 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18331 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18335 arg9
= wxString_in_helper(obj8
);
18336 if (arg9
== NULL
) SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18350 if (temp6
) delete arg6
;
18359 if (temp6
) delete arg6
;
18369 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18372 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
18373 return SWIG_Py_Void();
18376 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18377 return SWIG_Python_InitShadowInstance(args
);
18380 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18381 PyObject
*resultobj
= 0;
18382 wxPyTaskBarIcon
*result
= 0 ;
18384 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
18386 if (!wxPyCheckForApp()) SWIG_fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
18399 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18400 PyObject
*resultobj
= 0;
18401 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18404 PyObject
*swig_obj
[1] ;
18406 if (!args
) SWIG_fail
;
18407 swig_obj
[0] = args
;
18408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
18409 if (!SWIG_IsOK(res1
)) {
18410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18412 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= SWIG_Py_Void();
18427 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
= 0;
18429 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18430 PyObject
*arg2
= (PyObject
*) 0 ;
18431 PyObject
*arg3
= (PyObject
*) 0 ;
18432 int arg4
= (int) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 PyObject
* obj1
= 0 ;
18439 PyObject
* obj2
= 0 ;
18440 PyObject
* obj3
= 0 ;
18441 char * kwnames
[] = {
18442 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
18445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18447 if (!SWIG_IsOK(res1
)) {
18448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18450 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18454 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18455 if (!SWIG_IsOK(ecode4
)) {
18456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
18458 arg4
= static_cast< int >(val4
);
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= SWIG_Py_Void();
18473 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18474 PyObject
*resultobj
= 0;
18475 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18478 PyObject
*swig_obj
[1] ;
18480 if (!args
) SWIG_fail
;
18481 swig_obj
[0] = args
;
18482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18483 if (!SWIG_IsOK(res1
)) {
18484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18486 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 wxPyTaskBarIcon_Destroy(arg1
);
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= SWIG_Py_Void();
18500 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18501 PyObject
*resultobj
= 0;
18502 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18506 PyObject
*swig_obj
[1] ;
18508 if (!args
) SWIG_fail
;
18509 swig_obj
[0] = args
;
18510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18511 if (!SWIG_IsOK(res1
)) {
18512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18514 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18530 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18531 PyObject
*resultobj
= 0;
18532 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18536 PyObject
*swig_obj
[1] ;
18538 if (!args
) SWIG_fail
;
18539 swig_obj
[0] = args
;
18540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18541 if (!SWIG_IsOK(res1
)) {
18542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18544 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18560 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
= 0;
18562 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18564 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18565 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18571 bool temp3
= false ;
18572 PyObject
* obj0
= 0 ;
18573 PyObject
* obj1
= 0 ;
18574 PyObject
* obj2
= 0 ;
18575 char * kwnames
[] = {
18576 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
18579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18581 if (!SWIG_IsOK(res1
)) {
18582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18584 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18586 if (!SWIG_IsOK(res2
)) {
18587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18592 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18595 arg3
= wxString_in_helper(obj2
);
18596 if (arg3
== NULL
) SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18623 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18624 PyObject
*resultobj
= 0;
18625 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18629 PyObject
*swig_obj
[1] ;
18631 if (!args
) SWIG_fail
;
18632 swig_obj
[0] = args
;
18633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18634 if (!SWIG_IsOK(res1
)) {
18635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18637 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 result
= (bool)(arg1
)->RemoveIcon();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18653 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
= 0;
18655 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18656 wxMenu
*arg2
= (wxMenu
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 PyObject
* obj1
= 0 ;
18664 char * kwnames
[] = {
18665 (char *) "self",(char *) "menu", NULL
18668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18670 if (!SWIG_IsOK(res1
)) {
18671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18673 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
18675 if (!SWIG_IsOK(res2
)) {
18676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
18678 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= (bool)(arg1
)->PopupMenu(arg2
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18694 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18697 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
18698 return SWIG_Py_Void();
18701 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18702 return SWIG_Python_InitShadowInstance(args
);
18705 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
= 0;
18708 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
18709 wxTaskBarIconEvent
*result
= 0 ;
18714 PyObject
* obj0
= 0 ;
18715 PyObject
* obj1
= 0 ;
18716 char * kwnames
[] = {
18717 (char *) "evtType",(char *) "tbIcon", NULL
18720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18722 if (!SWIG_IsOK(ecode1
)) {
18723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18725 arg1
= static_cast< wxEventType
>(val1
);
18726 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
18727 if (!SWIG_IsOK(res2
)) {
18728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
18730 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
18734 wxPyEndAllowThreads(__tstate
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
18744 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18747 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
18748 return SWIG_Py_Void();
18751 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18752 return SWIG_Python_InitShadowInstance(args
);
18755 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
18756 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
18761 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
18762 PyObject
*pyobj
= 0;
18766 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
18768 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
18775 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
18776 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
18781 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
18782 PyObject
*pyobj
= 0;
18786 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
18788 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
18795 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
18796 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
18801 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
18802 PyObject
*pyobj
= 0;
18806 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
18808 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
18815 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
18816 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
18821 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
18822 PyObject
*pyobj
= 0;
18826 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
18828 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
18835 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
18836 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
18841 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
18842 PyObject
*pyobj
= 0;
18846 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
18848 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
18855 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
18856 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
18861 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
18862 PyObject
*pyobj
= 0;
18866 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
18868 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
18875 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18876 PyObject
*resultobj
= 0;
18877 wxColourData
*result
= 0 ;
18879 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 result
= (wxColourData
*)new wxColourData();
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
18893 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18894 PyObject
*resultobj
= 0;
18895 wxColourData
*arg1
= (wxColourData
*) 0 ;
18898 PyObject
*swig_obj
[1] ;
18900 if (!args
) SWIG_fail
;
18901 swig_obj
[0] = args
;
18902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
18903 if (!SWIG_IsOK(res1
)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
18906 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= SWIG_Py_Void();
18921 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18922 PyObject
*resultobj
= 0;
18923 wxColourData
*arg1
= (wxColourData
*) 0 ;
18927 PyObject
*swig_obj
[1] ;
18929 if (!args
) SWIG_fail
;
18930 swig_obj
[0] = args
;
18931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18935 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 result
= (bool)(arg1
)->GetChooseFull();
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18951 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18952 PyObject
*resultobj
= 0;
18953 wxColourData
*arg1
= (wxColourData
*) 0 ;
18957 PyObject
*swig_obj
[1] ;
18959 if (!args
) SWIG_fail
;
18960 swig_obj
[0] = args
;
18961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18962 if (!SWIG_IsOK(res1
)) {
18963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18965 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 result
= (arg1
)->GetColour();
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18979 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
= 0;
18981 wxColourData
*arg1
= (wxColourData
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 char * kwnames
[] = {
18991 (char *) "self",(char *) "i", NULL
18994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18996 if (!SWIG_IsOK(res1
)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18999 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19001 if (!SWIG_IsOK(ecode2
)) {
19002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
19004 arg2
= static_cast< int >(val2
);
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 result
= (arg1
)->GetCustomColour(arg2
);
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19011 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19018 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
= 0;
19020 wxColourData
*arg1
= (wxColourData
*) 0 ;
19026 PyObject
* obj0
= 0 ;
19027 PyObject
* obj1
= 0 ;
19028 char * kwnames
[] = {
19029 (char *) "self",(char *) "flag", NULL
19032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19034 if (!SWIG_IsOK(res1
)) {
19035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
19037 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19039 if (!SWIG_IsOK(ecode2
)) {
19040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
19042 arg2
= static_cast< int >(val2
);
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 (arg1
)->SetChooseFull(arg2
);
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19049 resultobj
= SWIG_Py_Void();
19056 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
= 0;
19058 wxColourData
*arg1
= (wxColourData
*) 0 ;
19059 wxColour
*arg2
= 0 ;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 char * kwnames
[] = {
19066 (char *) "self",(char *) "colour", NULL
19069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19071 if (!SWIG_IsOK(res1
)) {
19072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19074 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19077 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 (arg1
)->SetColour((wxColour
const &)*arg2
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= SWIG_Py_Void();
19092 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
= 0;
19094 wxColourData
*arg1
= (wxColourData
*) 0 ;
19096 wxColour
*arg3
= 0 ;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 PyObject
* obj2
= 0 ;
19105 char * kwnames
[] = {
19106 (char *) "self",(char *) "i",(char *) "colour", NULL
19109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19111 if (!SWIG_IsOK(res1
)) {
19112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19114 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19116 if (!SWIG_IsOK(ecode2
)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
19119 arg2
= static_cast< int >(val2
);
19122 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= SWIG_Py_Void();
19137 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19139 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19140 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
19141 return SWIG_Py_Void();
19144 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19145 return SWIG_Python_InitShadowInstance(args
);
19148 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
= 0;
19150 wxWindow
*arg1
= (wxWindow
*) 0 ;
19151 wxColourData
*arg2
= (wxColourData
*) NULL
;
19152 wxColourDialog
*result
= 0 ;
19157 PyObject
* obj0
= 0 ;
19158 PyObject
* obj1
= 0 ;
19159 char * kwnames
[] = {
19160 (char *) "parent",(char *) "data", NULL
19163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19165 if (!SWIG_IsOK(res1
)) {
19166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19168 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19170 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19171 if (!SWIG_IsOK(res2
)) {
19172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
19174 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
19177 if (!wxPyCheckForApp()) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
19190 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19191 PyObject
*resultobj
= 0;
19192 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
19193 wxColourData
*result
= 0 ;
19196 PyObject
*swig_obj
[1] ;
19198 if (!args
) SWIG_fail
;
19199 swig_obj
[0] = args
;
19200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
19201 if (!SWIG_IsOK(res1
)) {
19202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
19204 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 wxColourData
&_result_ref
= (arg1
)->GetColourData();
19209 result
= (wxColourData
*) &_result_ref
;
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
19221 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19224 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
19225 return SWIG_Py_Void();
19228 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19229 return SWIG_Python_InitShadowInstance(args
);
19232 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
= 0;
19234 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
19235 wxColour
const &arg2_defvalue
= wxNullColour
;
19236 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19237 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19238 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19243 bool temp3
= false ;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 PyObject
* obj2
= 0 ;
19247 char * kwnames
[] = {
19248 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
19251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19254 if (!SWIG_IsOK(res1
)) {
19255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19257 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19262 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19267 arg3
= wxString_in_helper(obj2
);
19268 if (arg3
== NULL
) SWIG_fail
;
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19293 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
= 0;
19295 wxWindow
*arg1
= (wxWindow
*) 0 ;
19296 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
19297 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19298 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19299 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19300 long arg4
= (long) wxDD_DEFAULT_STYLE
;
19301 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19302 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19303 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19304 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19305 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
19306 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19307 wxDirDialog
*result
= 0 ;
19310 bool temp2
= false ;
19311 bool temp3
= false ;
19316 bool temp7
= false ;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 PyObject
* obj2
= 0 ;
19320 PyObject
* obj3
= 0 ;
19321 PyObject
* obj4
= 0 ;
19322 PyObject
* obj5
= 0 ;
19323 PyObject
* obj6
= 0 ;
19324 char * kwnames
[] = {
19325 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
19328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19330 if (!SWIG_IsOK(res1
)) {
19331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19333 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19336 arg2
= wxString_in_helper(obj1
);
19337 if (arg2
== NULL
) SWIG_fail
;
19343 arg3
= wxString_in_helper(obj2
);
19344 if (arg3
== NULL
) SWIG_fail
;
19349 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19350 if (!SWIG_IsOK(ecode4
)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
19353 arg4
= static_cast< long >(val4
);
19358 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19364 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19369 arg7
= wxString_in_helper(obj6
);
19370 if (arg7
== NULL
) SWIG_fail
;
19375 if (!wxPyCheckForApp()) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
19412 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19413 PyObject
*resultobj
= 0;
19414 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19418 PyObject
*swig_obj
[1] ;
19420 if (!args
) SWIG_fail
;
19421 swig_obj
[0] = args
;
19422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19423 if (!SWIG_IsOK(res1
)) {
19424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19426 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 result
= (arg1
)->GetPath();
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19446 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19447 PyObject
*resultobj
= 0;
19448 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19452 PyObject
*swig_obj
[1] ;
19454 if (!args
) SWIG_fail
;
19455 swig_obj
[0] = args
;
19456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19457 if (!SWIG_IsOK(res1
)) {
19458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19460 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 result
= (arg1
)->GetMessage();
19464 wxPyEndAllowThreads(__tstate
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19480 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
= 0;
19482 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19483 wxString
*arg2
= 0 ;
19486 bool temp2
= false ;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj1
= 0 ;
19489 char * kwnames
[] = {
19490 (char *) "self",(char *) "message", NULL
19493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19495 if (!SWIG_IsOK(res1
)) {
19496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19498 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19500 arg2
= wxString_in_helper(obj1
);
19501 if (arg2
== NULL
) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 (arg1
)->SetMessage((wxString
const &)*arg2
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_Py_Void();
19525 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
= 0;
19527 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19528 wxString
*arg2
= 0 ;
19531 bool temp2
= false ;
19532 PyObject
* obj0
= 0 ;
19533 PyObject
* obj1
= 0 ;
19534 char * kwnames
[] = {
19535 (char *) "self",(char *) "path", NULL
19538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19540 if (!SWIG_IsOK(res1
)) {
19541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19543 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19545 arg2
= wxString_in_helper(obj1
);
19546 if (arg2
== NULL
) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 (arg1
)->SetPath((wxString
const &)*arg2
);
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 resultobj
= SWIG_Py_Void();
19570 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19573 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
19574 return SWIG_Py_Void();
19577 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19578 return SWIG_Python_InitShadowInstance(args
);
19581 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
= 0;
19583 wxWindow
*arg1
= (wxWindow
*) 0 ;
19584 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
19585 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19586 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19587 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19588 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19589 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19590 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
19591 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
19592 long arg6
= (long) wxFD_DEFAULT_STYLE
;
19593 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
19594 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
19595 wxFileDialog
*result
= 0 ;
19598 bool temp2
= false ;
19599 bool temp3
= false ;
19600 bool temp4
= false ;
19601 bool temp5
= false ;
19605 PyObject
* obj0
= 0 ;
19606 PyObject
* obj1
= 0 ;
19607 PyObject
* obj2
= 0 ;
19608 PyObject
* obj3
= 0 ;
19609 PyObject
* obj4
= 0 ;
19610 PyObject
* obj5
= 0 ;
19611 PyObject
* obj6
= 0 ;
19612 char * kwnames
[] = {
19613 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
19616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19618 if (!SWIG_IsOK(res1
)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19624 arg2
= wxString_in_helper(obj1
);
19625 if (arg2
== NULL
) SWIG_fail
;
19631 arg3
= wxString_in_helper(obj2
);
19632 if (arg3
== NULL
) SWIG_fail
;
19638 arg4
= wxString_in_helper(obj3
);
19639 if (arg4
== NULL
) SWIG_fail
;
19645 arg5
= wxString_in_helper(obj4
);
19646 if (arg5
== NULL
) SWIG_fail
;
19651 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
19652 if (!SWIG_IsOK(ecode6
)) {
19653 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
19655 arg6
= static_cast< long >(val6
);
19660 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
19664 if (!wxPyCheckForApp()) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
19709 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
= 0;
19711 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19712 wxString
*arg2
= 0 ;
19715 bool temp2
= false ;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 char * kwnames
[] = {
19719 (char *) "self",(char *) "message", NULL
19722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19724 if (!SWIG_IsOK(res1
)) {
19725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19727 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19729 arg2
= wxString_in_helper(obj1
);
19730 if (arg2
== NULL
) SWIG_fail
;
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 (arg1
)->SetMessage((wxString
const &)*arg2
);
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 resultobj
= SWIG_Py_Void();
19754 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
= 0;
19756 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19757 wxString
*arg2
= 0 ;
19760 bool temp2
= false ;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 char * kwnames
[] = {
19764 (char *) "self",(char *) "path", NULL
19767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19769 if (!SWIG_IsOK(res1
)) {
19770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19772 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19774 arg2
= wxString_in_helper(obj1
);
19775 if (arg2
== NULL
) SWIG_fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 (arg1
)->SetPath((wxString
const &)*arg2
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= SWIG_Py_Void();
19799 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
= 0;
19801 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19802 wxString
*arg2
= 0 ;
19805 bool temp2
= false ;
19806 PyObject
* obj0
= 0 ;
19807 PyObject
* obj1
= 0 ;
19808 char * kwnames
[] = {
19809 (char *) "self",(char *) "dir", NULL
19812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19814 if (!SWIG_IsOK(res1
)) {
19815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19817 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19819 arg2
= wxString_in_helper(obj1
);
19820 if (arg2
== NULL
) SWIG_fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 (arg1
)->SetDirectory((wxString
const &)*arg2
);
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= SWIG_Py_Void();
19844 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
= 0;
19846 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19847 wxString
*arg2
= 0 ;
19850 bool temp2
= false ;
19851 PyObject
* obj0
= 0 ;
19852 PyObject
* obj1
= 0 ;
19853 char * kwnames
[] = {
19854 (char *) "self",(char *) "name", NULL
19857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19859 if (!SWIG_IsOK(res1
)) {
19860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19862 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19864 arg2
= wxString_in_helper(obj1
);
19865 if (arg2
== NULL
) SWIG_fail
;
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 (arg1
)->SetFilename((wxString
const &)*arg2
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= SWIG_Py_Void();
19889 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
= 0;
19891 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19892 wxString
*arg2
= 0 ;
19895 bool temp2
= false ;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 char * kwnames
[] = {
19899 (char *) "self",(char *) "wildCard", NULL
19902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19904 if (!SWIG_IsOK(res1
)) {
19905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19907 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19909 arg2
= wxString_in_helper(obj1
);
19910 if (arg2
== NULL
) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 (arg1
)->SetWildcard((wxString
const &)*arg2
);
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_Py_Void();
19934 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
= 0;
19936 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19942 PyObject
* obj0
= 0 ;
19943 PyObject
* obj1
= 0 ;
19944 char * kwnames
[] = {
19945 (char *) "self",(char *) "filterIndex", NULL
19948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19950 if (!SWIG_IsOK(res1
)) {
19951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19953 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19955 if (!SWIG_IsOK(ecode2
)) {
19956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
19958 arg2
= static_cast< int >(val2
);
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 (arg1
)->SetFilterIndex(arg2
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= SWIG_Py_Void();
19972 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19973 PyObject
*resultobj
= 0;
19974 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19978 PyObject
*swig_obj
[1] ;
19980 if (!args
) SWIG_fail
;
19981 swig_obj
[0] = args
;
19982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19983 if (!SWIG_IsOK(res1
)) {
19984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19986 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20006 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20007 PyObject
*resultobj
= 0;
20008 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20012 PyObject
*swig_obj
[1] ;
20014 if (!args
) SWIG_fail
;
20015 swig_obj
[0] = args
;
20016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20017 if (!SWIG_IsOK(res1
)) {
20018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20020 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= ((wxFileDialog
const *)arg1
)->GetPath();
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20040 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20041 PyObject
*resultobj
= 0;
20042 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20046 PyObject
*swig_obj
[1] ;
20048 if (!args
) SWIG_fail
;
20049 swig_obj
[0] = args
;
20050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20051 if (!SWIG_IsOK(res1
)) {
20052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20054 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20074 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20075 PyObject
*resultobj
= 0;
20076 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20080 PyObject
*swig_obj
[1] ;
20082 if (!args
) SWIG_fail
;
20083 swig_obj
[0] = args
;
20084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20085 if (!SWIG_IsOK(res1
)) {
20086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20088 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20108 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20109 PyObject
*resultobj
= 0;
20110 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20114 PyObject
*swig_obj
[1] ;
20116 if (!args
) SWIG_fail
;
20117 swig_obj
[0] = args
;
20118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20119 if (!SWIG_IsOK(res1
)) {
20120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20122 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20142 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20143 PyObject
*resultobj
= 0;
20144 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20148 PyObject
*swig_obj
[1] ;
20150 if (!args
) SWIG_fail
;
20151 swig_obj
[0] = args
;
20152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20153 if (!SWIG_IsOK(res1
)) {
20154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20156 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= SWIG_From_int(static_cast< int >(result
));
20170 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20171 PyObject
*resultobj
= 0;
20172 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20173 PyObject
*result
= 0 ;
20176 PyObject
*swig_obj
[1] ;
20178 if (!args
) SWIG_fail
;
20179 swig_obj
[0] = args
;
20180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20181 if (!SWIG_IsOK(res1
)) {
20182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20184 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20187 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 resultobj
= result
;
20198 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20199 PyObject
*resultobj
= 0;
20200 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20201 PyObject
*result
= 0 ;
20204 PyObject
*swig_obj
[1] ;
20206 if (!args
) SWIG_fail
;
20207 swig_obj
[0] = args
;
20208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20209 if (!SWIG_IsOK(res1
)) {
20210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20212 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= result
;
20226 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20229 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
20230 return SWIG_Py_Void();
20233 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20234 return SWIG_Python_InitShadowInstance(args
);
20237 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20238 PyObject
*resultobj
= 0;
20239 wxWindow
*arg1
= (wxWindow
*) 0 ;
20240 wxString
*arg2
= 0 ;
20241 wxString
*arg3
= 0 ;
20242 int arg4
= (int) 0 ;
20243 wxString
*arg5
= (wxString
*) NULL
;
20244 long arg6
= (long) wxCHOICEDLG_STYLE
;
20245 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
20246 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
20247 wxMultiChoiceDialog
*result
= 0 ;
20250 bool temp2
= false ;
20251 bool temp3
= false ;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20257 PyObject
* obj2
= 0 ;
20258 PyObject
* obj3
= 0 ;
20259 PyObject
* obj4
= 0 ;
20260 PyObject
* obj5
= 0 ;
20261 char * kwnames
[] = {
20262 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20267 if (!SWIG_IsOK(res1
)) {
20268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20270 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20272 arg2
= wxString_in_helper(obj1
);
20273 if (arg2
== NULL
) SWIG_fail
;
20277 arg3
= wxString_in_helper(obj2
);
20278 if (arg3
== NULL
) SWIG_fail
;
20283 arg4
= PyList_Size(obj3
);
20284 arg5
= wxString_LIST_helper(obj3
);
20285 if (arg5
== NULL
) SWIG_fail
;
20289 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
20290 if (!SWIG_IsOK(ecode6
)) {
20291 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20293 arg6
= static_cast< long >(val6
);
20298 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
20302 if (!wxPyCheckForApp()) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
20318 if (arg5
) delete [] arg5
;
20331 if (arg5
) delete [] arg5
;
20337 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
= 0;
20339 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
20340 wxArrayInt
*arg2
= 0 ;
20343 bool temp2
= false ;
20344 PyObject
* obj0
= 0 ;
20345 PyObject
* obj1
= 0 ;
20346 char * kwnames
[] = {
20347 (char *) "self",(char *) "selections", NULL
20350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
20352 if (!SWIG_IsOK(res1
)) {
20353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20355 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
20357 if (! PySequence_Check(obj1
)) {
20358 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
20361 arg2
= new wxArrayInt
;
20363 int i
, len
=PySequence_Length(obj1
);
20364 for (i
=0; i
<len
; i
++) {
20365 PyObject
* item
= PySequence_GetItem(obj1
, i
);
20366 PyObject
* number
= PyNumber_Int(item
);
20368 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
20371 arg2
->Add(PyInt_AS_LONG(number
));
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= SWIG_Py_Void();
20384 if (temp2
) delete arg2
;
20389 if (temp2
) delete arg2
;
20395 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20396 PyObject
*resultobj
= 0;
20397 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
20398 PyObject
*result
= 0 ;
20401 PyObject
*swig_obj
[1] ;
20403 if (!args
) SWIG_fail
;
20404 swig_obj
[0] = args
;
20405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
20406 if (!SWIG_IsOK(res1
)) {
20407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20409 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= result
;
20423 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20426 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
20427 return SWIG_Py_Void();
20430 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20431 return SWIG_Python_InitShadowInstance(args
);
20434 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
= 0;
20436 wxWindow
*arg1
= (wxWindow
*) 0 ;
20437 wxString
*arg2
= 0 ;
20438 wxString
*arg3
= 0 ;
20440 wxString
*arg5
= (wxString
*) 0 ;
20441 long arg6
= (long) wxCHOICEDLG_STYLE
;
20442 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
20443 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
20444 wxSingleChoiceDialog
*result
= 0 ;
20447 bool temp2
= false ;
20448 bool temp3
= false ;
20452 PyObject
* obj0
= 0 ;
20453 PyObject
* obj1
= 0 ;
20454 PyObject
* obj2
= 0 ;
20455 PyObject
* obj3
= 0 ;
20456 PyObject
* obj4
= 0 ;
20457 PyObject
* obj5
= 0 ;
20458 char * kwnames
[] = {
20459 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20464 if (!SWIG_IsOK(res1
)) {
20465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20467 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20469 arg2
= wxString_in_helper(obj1
);
20470 if (arg2
== NULL
) SWIG_fail
;
20474 arg3
= wxString_in_helper(obj2
);
20475 if (arg3
== NULL
) SWIG_fail
;
20479 arg4
= PyList_Size(obj3
);
20480 arg5
= wxString_LIST_helper(obj3
);
20481 if (arg5
== NULL
) SWIG_fail
;
20484 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
20485 if (!SWIG_IsOK(ecode6
)) {
20486 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20488 arg6
= static_cast< long >(val6
);
20493 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
20497 if (!wxPyCheckForApp()) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
20513 if (arg5
) delete [] arg5
;
20526 if (arg5
) delete [] arg5
;
20532 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20533 PyObject
*resultobj
= 0;
20534 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20538 PyObject
*swig_obj
[1] ;
20540 if (!args
) SWIG_fail
;
20541 swig_obj
[0] = args
;
20542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20543 if (!SWIG_IsOK(res1
)) {
20544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20546 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 result
= (int)(arg1
)->GetSelection();
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_From_int(static_cast< int >(result
));
20560 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20561 PyObject
*resultobj
= 0;
20562 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20566 PyObject
*swig_obj
[1] ;
20568 if (!args
) SWIG_fail
;
20569 swig_obj
[0] = args
;
20570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20571 if (!SWIG_IsOK(res1
)) {
20572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20574 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 result
= (arg1
)->GetStringSelection();
20578 wxPyEndAllowThreads(__tstate
);
20579 if (PyErr_Occurred()) SWIG_fail
;
20583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20594 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
= 0;
20596 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20604 char * kwnames
[] = {
20605 (char *) "self",(char *) "sel", NULL
20608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20610 if (!SWIG_IsOK(res1
)) {
20611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20613 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20615 if (!SWIG_IsOK(ecode2
)) {
20616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
20618 arg2
= static_cast< int >(val2
);
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 (arg1
)->SetSelection(arg2
);
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= SWIG_Py_Void();
20632 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20635 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
20636 return SWIG_Py_Void();
20639 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20640 return SWIG_Python_InitShadowInstance(args
);
20643 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
= 0;
20645 wxWindow
*arg1
= (wxWindow
*) 0 ;
20646 wxString
*arg2
= 0 ;
20647 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
20648 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20649 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20650 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20651 long arg5
= (long) wxTextEntryDialogStyle
;
20652 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
20653 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
20654 wxTextEntryDialog
*result
= 0 ;
20657 bool temp2
= false ;
20658 bool temp3
= false ;
20659 bool temp4
= false ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 PyObject
* obj2
= 0 ;
20666 PyObject
* obj3
= 0 ;
20667 PyObject
* obj4
= 0 ;
20668 PyObject
* obj5
= 0 ;
20669 char * kwnames
[] = {
20670 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
20673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20675 if (!SWIG_IsOK(res1
)) {
20676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20678 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20680 arg2
= wxString_in_helper(obj1
);
20681 if (arg2
== NULL
) SWIG_fail
;
20686 arg3
= wxString_in_helper(obj2
);
20687 if (arg3
== NULL
) SWIG_fail
;
20693 arg4
= wxString_in_helper(obj3
);
20694 if (arg4
== NULL
) SWIG_fail
;
20699 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20700 if (!SWIG_IsOK(ecode5
)) {
20701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
20703 arg5
= static_cast< long >(val5
);
20708 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
20712 if (!wxPyCheckForApp()) SWIG_fail
;
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
20749 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20750 PyObject
*resultobj
= 0;
20751 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
20755 PyObject
*swig_obj
[1] ;
20757 if (!args
) SWIG_fail
;
20758 swig_obj
[0] = args
;
20759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
20760 if (!SWIG_IsOK(res1
)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20763 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= (arg1
)->GetValue();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20783 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
= 0;
20785 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
20786 wxString
*arg2
= 0 ;
20789 bool temp2
= false ;
20790 PyObject
* obj0
= 0 ;
20791 PyObject
* obj1
= 0 ;
20792 char * kwnames
[] = {
20793 (char *) "self",(char *) "value", NULL
20796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
20798 if (!SWIG_IsOK(res1
)) {
20799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20801 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
20803 arg2
= wxString_in_helper(obj1
);
20804 if (arg2
== NULL
) SWIG_fail
;
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 (arg1
)->SetValue((wxString
const &)*arg2
);
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= SWIG_Py_Void();
20828 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20831 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
20832 return SWIG_Py_Void();
20835 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20836 return SWIG_Python_InitShadowInstance(args
);
20839 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
20840 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
20845 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
20846 PyObject
*pyobj
= 0;
20850 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
20852 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
20859 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
= 0;
20861 wxWindow
*arg1
= (wxWindow
*) 0 ;
20862 wxString
*arg2
= 0 ;
20863 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
20864 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20865 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20866 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20867 long arg5
= (long) wxTextEntryDialogStyle
;
20868 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
20869 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
20870 wxPasswordEntryDialog
*result
= 0 ;
20873 bool temp2
= false ;
20874 bool temp3
= false ;
20875 bool temp4
= false ;
20879 PyObject
* obj0
= 0 ;
20880 PyObject
* obj1
= 0 ;
20881 PyObject
* obj2
= 0 ;
20882 PyObject
* obj3
= 0 ;
20883 PyObject
* obj4
= 0 ;
20884 PyObject
* obj5
= 0 ;
20885 char * kwnames
[] = {
20886 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
20889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20891 if (!SWIG_IsOK(res1
)) {
20892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20894 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20896 arg2
= wxString_in_helper(obj1
);
20897 if (arg2
== NULL
) SWIG_fail
;
20902 arg3
= wxString_in_helper(obj2
);
20903 if (arg3
== NULL
) SWIG_fail
;
20909 arg4
= wxString_in_helper(obj3
);
20910 if (arg4
== NULL
) SWIG_fail
;
20915 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20916 if (!SWIG_IsOK(ecode5
)) {
20917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
20919 arg5
= static_cast< long >(val5
);
20924 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
20964 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20967 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
20968 return SWIG_Py_Void();
20971 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20972 return SWIG_Python_InitShadowInstance(args
);
20975 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
= 0;
20977 wxWindow
*arg1
= (wxWindow
*) 0 ;
20978 wxString
*arg2
= 0 ;
20979 wxString
*arg3
= 0 ;
20980 wxString
*arg4
= 0 ;
20984 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20985 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20986 wxNumberEntryDialog
*result
= 0 ;
20989 bool temp2
= false ;
20990 bool temp3
= false ;
20991 bool temp4
= false ;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 PyObject
* obj2
= 0 ;
21002 PyObject
* obj3
= 0 ;
21003 PyObject
* obj4
= 0 ;
21004 PyObject
* obj5
= 0 ;
21005 PyObject
* obj6
= 0 ;
21006 PyObject
* obj7
= 0 ;
21007 char * kwnames
[] = {
21008 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
21011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21013 if (!SWIG_IsOK(res1
)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21016 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21018 arg2
= wxString_in_helper(obj1
);
21019 if (arg2
== NULL
) SWIG_fail
;
21023 arg3
= wxString_in_helper(obj2
);
21024 if (arg3
== NULL
) SWIG_fail
;
21028 arg4
= wxString_in_helper(obj3
);
21029 if (arg4
== NULL
) SWIG_fail
;
21032 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21033 if (!SWIG_IsOK(ecode5
)) {
21034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
21036 arg5
= static_cast< long >(val5
);
21037 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21038 if (!SWIG_IsOK(ecode6
)) {
21039 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
21041 arg6
= static_cast< long >(val6
);
21042 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21043 if (!SWIG_IsOK(ecode7
)) {
21044 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
21046 arg7
= static_cast< long >(val7
);
21050 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
21054 if (!wxPyCheckForApp()) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
21091 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21092 PyObject
*resultobj
= 0;
21093 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
21097 PyObject
*swig_obj
[1] ;
21099 if (!args
) SWIG_fail
;
21100 swig_obj
[0] = args
;
21101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
21102 if (!SWIG_IsOK(res1
)) {
21103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
21105 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (long)(arg1
)->GetValue();
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= SWIG_From_long(static_cast< long >(result
));
21119 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21122 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
21123 return SWIG_Py_Void();
21126 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21127 return SWIG_Python_InitShadowInstance(args
);
21130 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21131 PyObject
*resultobj
= 0;
21132 wxFontData
*result
= 0 ;
21134 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 result
= (wxFontData
*)new wxFontData();
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
21148 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21149 PyObject
*resultobj
= 0;
21150 wxFontData
*arg1
= (wxFontData
*) 0 ;
21153 PyObject
*swig_obj
[1] ;
21155 if (!args
) SWIG_fail
;
21156 swig_obj
[0] = args
;
21157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
21158 if (!SWIG_IsOK(res1
)) {
21159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
21161 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= SWIG_Py_Void();
21176 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
= 0;
21178 wxFontData
*arg1
= (wxFontData
*) 0 ;
21184 PyObject
* obj0
= 0 ;
21185 PyObject
* obj1
= 0 ;
21186 char * kwnames
[] = {
21187 (char *) "self",(char *) "enable", NULL
21190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21192 if (!SWIG_IsOK(res1
)) {
21193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21195 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21196 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21197 if (!SWIG_IsOK(ecode2
)) {
21198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
21200 arg2
= static_cast< bool >(val2
);
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 (arg1
)->EnableEffects(arg2
);
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21207 resultobj
= SWIG_Py_Void();
21214 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21215 PyObject
*resultobj
= 0;
21216 wxFontData
*arg1
= (wxFontData
*) 0 ;
21220 PyObject
*swig_obj
[1] ;
21222 if (!args
) SWIG_fail
;
21223 swig_obj
[0] = args
;
21224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21225 if (!SWIG_IsOK(res1
)) {
21226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21228 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 result
= (bool)(arg1
)->GetAllowSymbols();
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21244 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21245 PyObject
*resultobj
= 0;
21246 wxFontData
*arg1
= (wxFontData
*) 0 ;
21250 PyObject
*swig_obj
[1] ;
21252 if (!args
) SWIG_fail
;
21253 swig_obj
[0] = args
;
21254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21255 if (!SWIG_IsOK(res1
)) {
21256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21258 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (arg1
)->GetColour();
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21272 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21273 PyObject
*resultobj
= 0;
21274 wxFontData
*arg1
= (wxFontData
*) 0 ;
21278 PyObject
*swig_obj
[1] ;
21280 if (!args
) SWIG_fail
;
21281 swig_obj
[0] = args
;
21282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21283 if (!SWIG_IsOK(res1
)) {
21284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21286 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 result
= (arg1
)->GetChosenFont();
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21300 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21301 PyObject
*resultobj
= 0;
21302 wxFontData
*arg1
= (wxFontData
*) 0 ;
21306 PyObject
*swig_obj
[1] ;
21308 if (!args
) SWIG_fail
;
21309 swig_obj
[0] = args
;
21310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21311 if (!SWIG_IsOK(res1
)) {
21312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21314 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21317 result
= (bool)(arg1
)->GetEnableEffects();
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21330 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21331 PyObject
*resultobj
= 0;
21332 wxFontData
*arg1
= (wxFontData
*) 0 ;
21336 PyObject
*swig_obj
[1] ;
21338 if (!args
) SWIG_fail
;
21339 swig_obj
[0] = args
;
21340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21341 if (!SWIG_IsOK(res1
)) {
21342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21344 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (arg1
)->GetInitialFont();
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21358 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21359 PyObject
*resultobj
= 0;
21360 wxFontData
*arg1
= (wxFontData
*) 0 ;
21364 PyObject
*swig_obj
[1] ;
21366 if (!args
) SWIG_fail
;
21367 swig_obj
[0] = args
;
21368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21369 if (!SWIG_IsOK(res1
)) {
21370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21372 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 result
= (bool)(arg1
)->GetShowHelp();
21376 wxPyEndAllowThreads(__tstate
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21388 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
= 0;
21390 wxFontData
*arg1
= (wxFontData
*) 0 ;
21396 PyObject
* obj0
= 0 ;
21397 PyObject
* obj1
= 0 ;
21398 char * kwnames
[] = {
21399 (char *) "self",(char *) "allowSymbols", NULL
21402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21404 if (!SWIG_IsOK(res1
)) {
21405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21407 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21408 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21409 if (!SWIG_IsOK(ecode2
)) {
21410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
21412 arg2
= static_cast< bool >(val2
);
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 (arg1
)->SetAllowSymbols(arg2
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 resultobj
= SWIG_Py_Void();
21426 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
= 0;
21428 wxFontData
*arg1
= (wxFontData
*) 0 ;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 char * kwnames
[] = {
21437 (char *) "self",(char *) "font", NULL
21440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21442 if (!SWIG_IsOK(res1
)) {
21443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21445 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21447 if (!SWIG_IsOK(res2
)) {
21448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21453 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21460 resultobj
= SWIG_Py_Void();
21467 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21468 PyObject
*resultobj
= 0;
21469 wxFontData
*arg1
= (wxFontData
*) 0 ;
21470 wxColour
*arg2
= 0 ;
21474 PyObject
* obj0
= 0 ;
21475 PyObject
* obj1
= 0 ;
21476 char * kwnames
[] = {
21477 (char *) "self",(char *) "colour", NULL
21480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21482 if (!SWIG_IsOK(res1
)) {
21483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21485 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21488 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 (arg1
)->SetColour((wxColour
const &)*arg2
);
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21496 resultobj
= SWIG_Py_Void();
21503 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21504 PyObject
*resultobj
= 0;
21505 wxFontData
*arg1
= (wxFontData
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 PyObject
* obj1
= 0 ;
21513 char * kwnames
[] = {
21514 (char *) "self",(char *) "font", NULL
21517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21519 if (!SWIG_IsOK(res1
)) {
21520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21522 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21524 if (!SWIG_IsOK(res2
)) {
21525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21530 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 resultobj
= SWIG_Py_Void();
21544 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
= 0;
21546 wxFontData
*arg1
= (wxFontData
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 PyObject
* obj1
= 0 ;
21557 PyObject
* obj2
= 0 ;
21558 char * kwnames
[] = {
21559 (char *) "self",(char *) "min",(char *) "max", NULL
21562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21564 if (!SWIG_IsOK(res1
)) {
21565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
21567 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21569 if (!SWIG_IsOK(ecode2
)) {
21570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
21572 arg2
= static_cast< int >(val2
);
21573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21574 if (!SWIG_IsOK(ecode3
)) {
21575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
21577 arg3
= static_cast< int >(val3
);
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 (arg1
)->SetRange(arg2
,arg3
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= SWIG_Py_Void();
21591 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
= 0;
21593 wxFontData
*arg1
= (wxFontData
*) 0 ;
21599 PyObject
* obj0
= 0 ;
21600 PyObject
* obj1
= 0 ;
21601 char * kwnames
[] = {
21602 (char *) "self",(char *) "showHelp", NULL
21605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) 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_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21610 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21611 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21612 if (!SWIG_IsOK(ecode2
)) {
21613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
21615 arg2
= static_cast< bool >(val2
);
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 (arg1
)->SetShowHelp(arg2
);
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 resultobj
= SWIG_Py_Void();
21629 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21631 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21632 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
21633 return SWIG_Py_Void();
21636 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21637 return SWIG_Python_InitShadowInstance(args
);
21640 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
= 0;
21642 wxWindow
*arg1
= (wxWindow
*) 0 ;
21643 wxFontData
*arg2
= 0 ;
21644 wxFontDialog
*result
= 0 ;
21649 PyObject
* obj0
= 0 ;
21650 PyObject
* obj1
= 0 ;
21651 char * kwnames
[] = {
21652 (char *) "parent",(char *) "data", NULL
21655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21657 if (!SWIG_IsOK(res1
)) {
21658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
21662 if (!SWIG_IsOK(res2
)) {
21663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21668 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
21670 if (!wxPyCheckForApp()) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
21683 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21684 PyObject
*resultobj
= 0;
21685 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
21686 wxFontData
*result
= 0 ;
21689 PyObject
*swig_obj
[1] ;
21691 if (!args
) SWIG_fail
;
21692 swig_obj
[0] = args
;
21693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
21694 if (!SWIG_IsOK(res1
)) {
21695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
21697 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 wxFontData
&_result_ref
= (arg1
)->GetFontData();
21702 result
= (wxFontData
*) &_result_ref
;
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
21714 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21717 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
21718 return SWIG_Py_Void();
21721 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21722 return SWIG_Python_InitShadowInstance(args
);
21725 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
= 0;
21727 wxWindow
*arg1
= (wxWindow
*) NULL
;
21728 wxFont
const &arg2_defvalue
= wxNullFont
;
21729 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
21730 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21731 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21737 bool temp3
= false ;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 PyObject
* obj2
= 0 ;
21741 char * kwnames
[] = {
21742 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
21745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21748 if (!SWIG_IsOK(res1
)) {
21749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
21751 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21755 if (!SWIG_IsOK(res2
)) {
21756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21761 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21765 arg3
= wxString_in_helper(obj2
);
21766 if (arg3
== NULL
) SWIG_fail
;
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21791 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
= 0;
21793 wxWindow
*arg1
= (wxWindow
*) 0 ;
21794 wxString
*arg2
= 0 ;
21795 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
21796 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21797 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
21798 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21799 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21800 wxMessageDialog
*result
= 0 ;
21803 bool temp2
= false ;
21804 bool temp3
= false ;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 PyObject
* obj2
= 0 ;
21811 PyObject
* obj3
= 0 ;
21812 PyObject
* obj4
= 0 ;
21813 char * kwnames
[] = {
21814 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
21817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21819 if (!SWIG_IsOK(res1
)) {
21820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21822 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21824 arg2
= wxString_in_helper(obj1
);
21825 if (arg2
== NULL
) SWIG_fail
;
21830 arg3
= wxString_in_helper(obj2
);
21831 if (arg3
== NULL
) SWIG_fail
;
21836 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
21837 if (!SWIG_IsOK(ecode4
)) {
21838 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
21840 arg4
= static_cast< long >(val4
);
21845 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21849 if (!wxPyCheckForApp()) SWIG_fail
;
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
21878 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21881 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
21882 return SWIG_Py_Void();
21885 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21886 return SWIG_Python_InitShadowInstance(args
);
21889 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
= 0;
21891 wxString
*arg1
= 0 ;
21892 wxString
*arg2
= 0 ;
21893 int arg3
= (int) 100 ;
21894 wxWindow
*arg4
= (wxWindow
*) NULL
;
21895 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
21896 wxProgressDialog
*result
= 0 ;
21897 bool temp1
= false ;
21898 bool temp2
= false ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 PyObject
* obj2
= 0 ;
21908 PyObject
* obj3
= 0 ;
21909 PyObject
* obj4
= 0 ;
21910 char * kwnames
[] = {
21911 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
21914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21916 arg1
= wxString_in_helper(obj0
);
21917 if (arg1
== NULL
) SWIG_fail
;
21921 arg2
= wxString_in_helper(obj1
);
21922 if (arg2
== NULL
) SWIG_fail
;
21926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21927 if (!SWIG_IsOK(ecode3
)) {
21928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
21930 arg3
= static_cast< int >(val3
);
21933 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21934 if (!SWIG_IsOK(res4
)) {
21935 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
21937 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
21940 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21941 if (!SWIG_IsOK(ecode5
)) {
21942 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
21944 arg5
= static_cast< int >(val5
);
21947 if (!wxPyCheckForApp()) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
21976 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
= 0;
21978 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
21980 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21981 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21982 bool *arg4
= (bool *) 0 ;
21988 bool temp3
= false ;
21990 int res4
= SWIG_TMPOBJ
;
21991 PyObject
* obj0
= 0 ;
21992 PyObject
* obj1
= 0 ;
21993 PyObject
* obj2
= 0 ;
21994 char * kwnames
[] = {
21995 (char *) "self",(char *) "value",(char *) "newmsg", NULL
21999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
22001 if (!SWIG_IsOK(res1
)) {
22002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22004 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
22005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22006 if (!SWIG_IsOK(ecode2
)) {
22007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
22009 arg2
= static_cast< int >(val2
);
22012 arg3
= wxString_in_helper(obj2
);
22013 if (arg3
== NULL
) SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22026 if (SWIG_IsTmpObj(res4
)) {
22027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
22029 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
22046 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
= 0;
22048 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
22049 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22050 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22051 bool *arg3
= (bool *) 0 ;
22055 bool temp2
= false ;
22057 int res3
= SWIG_TMPOBJ
;
22058 PyObject
* obj0
= 0 ;
22059 PyObject
* obj1
= 0 ;
22060 char * kwnames
[] = {
22061 (char *) "self",(char *) "newmsg", NULL
22065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
22067 if (!SWIG_IsOK(res1
)) {
22068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22070 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
22073 arg2
= wxString_in_helper(obj1
);
22074 if (arg2
== NULL
) SWIG_fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22087 if (SWIG_IsTmpObj(res3
)) {
22088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
22090 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
22107 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22108 PyObject
*resultobj
= 0;
22109 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
22112 PyObject
*swig_obj
[1] ;
22114 if (!args
) SWIG_fail
;
22115 swig_obj
[0] = args
;
22116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
22117 if (!SWIG_IsOK(res1
)) {
22118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22120 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_Py_Void();
22134 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22137 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
22138 return SWIG_Py_Void();
22141 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22142 return SWIG_Python_InitShadowInstance(args
);
22145 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
= 0;
22147 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22148 int arg2
= (int) 0 ;
22149 wxFindDialogEvent
*result
= 0 ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 char * kwnames
[] = {
22157 (char *) "commandType",(char *) "id", NULL
22160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22162 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22163 if (!SWIG_IsOK(ecode1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22166 arg1
= static_cast< wxEventType
>(val1
);
22169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22170 if (!SWIG_IsOK(ecode2
)) {
22171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
22173 arg2
= static_cast< int >(val2
);
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
22188 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22189 PyObject
*resultobj
= 0;
22190 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22194 PyObject
*swig_obj
[1] ;
22196 if (!args
) SWIG_fail
;
22197 swig_obj
[0] = args
;
22198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22199 if (!SWIG_IsOK(res1
)) {
22200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22202 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 result
= (int)(arg1
)->GetFlags();
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= SWIG_From_int(static_cast< int >(result
));
22216 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22217 PyObject
*resultobj
= 0;
22218 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22219 wxString
*result
= 0 ;
22222 PyObject
*swig_obj
[1] ;
22224 if (!args
) SWIG_fail
;
22225 swig_obj
[0] = args
;
22226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22227 if (!SWIG_IsOK(res1
)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22230 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 wxString
const &_result_ref
= (arg1
)->GetFindString();
22235 result
= (wxString
*) &_result_ref
;
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22244 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22253 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22254 PyObject
*resultobj
= 0;
22255 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22256 wxString
*result
= 0 ;
22259 PyObject
*swig_obj
[1] ;
22261 if (!args
) SWIG_fail
;
22262 swig_obj
[0] = args
;
22263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22264 if (!SWIG_IsOK(res1
)) {
22265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22267 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
22272 result
= (wxString
*) &_result_ref
;
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22281 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22290 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22291 PyObject
*resultobj
= 0;
22292 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22293 wxFindReplaceDialog
*result
= 0 ;
22296 PyObject
*swig_obj
[1] ;
22298 if (!args
) SWIG_fail
;
22299 swig_obj
[0] = args
;
22300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22301 if (!SWIG_IsOK(res1
)) {
22302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22304 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22318 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
= 0;
22320 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22326 PyObject
* obj0
= 0 ;
22327 PyObject
* obj1
= 0 ;
22328 char * kwnames
[] = {
22329 (char *) "self",(char *) "flags", NULL
22332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22334 if (!SWIG_IsOK(res1
)) {
22335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22337 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22339 if (!SWIG_IsOK(ecode2
)) {
22340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
22342 arg2
= static_cast< int >(val2
);
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 (arg1
)->SetFlags(arg2
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 resultobj
= SWIG_Py_Void();
22356 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
= 0;
22358 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22359 wxString
*arg2
= 0 ;
22362 bool temp2
= false ;
22363 PyObject
* obj0
= 0 ;
22364 PyObject
* obj1
= 0 ;
22365 char * kwnames
[] = {
22366 (char *) "self",(char *) "str", NULL
22369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22371 if (!SWIG_IsOK(res1
)) {
22372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22374 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22376 arg2
= wxString_in_helper(obj1
);
22377 if (arg2
== NULL
) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->SetFindString((wxString
const &)*arg2
);
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_Py_Void();
22401 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22402 PyObject
*resultobj
= 0;
22403 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22404 wxString
*arg2
= 0 ;
22407 bool temp2
= false ;
22408 PyObject
* obj0
= 0 ;
22409 PyObject
* obj1
= 0 ;
22410 char * kwnames
[] = {
22411 (char *) "self",(char *) "str", NULL
22414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22416 if (!SWIG_IsOK(res1
)) {
22417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22419 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22421 arg2
= wxString_in_helper(obj1
);
22422 if (arg2
== NULL
) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= SWIG_Py_Void();
22446 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22449 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
22450 return SWIG_Py_Void();
22453 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22454 return SWIG_Python_InitShadowInstance(args
);
22457 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
= 0;
22459 int arg1
= (int) 0 ;
22460 wxFindReplaceData
*result
= 0 ;
22463 PyObject
* obj0
= 0 ;
22464 char * kwnames
[] = {
22465 (char *) "flags", NULL
22468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
22470 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22471 if (!SWIG_IsOK(ecode1
)) {
22472 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
22474 arg1
= static_cast< int >(val1
);
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
22489 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22490 PyObject
*resultobj
= 0;
22491 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22494 PyObject
*swig_obj
[1] ;
22496 if (!args
) SWIG_fail
;
22497 swig_obj
[0] = args
;
22498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
22499 if (!SWIG_IsOK(res1
)) {
22500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22502 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= SWIG_Py_Void();
22517 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22518 PyObject
*resultobj
= 0;
22519 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22520 wxString
*result
= 0 ;
22523 PyObject
*swig_obj
[1] ;
22525 if (!args
) SWIG_fail
;
22526 swig_obj
[0] = args
;
22527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22528 if (!SWIG_IsOK(res1
)) {
22529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22531 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 wxString
const &_result_ref
= (arg1
)->GetFindString();
22536 result
= (wxString
*) &_result_ref
;
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22545 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22554 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22555 PyObject
*resultobj
= 0;
22556 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22557 wxString
*result
= 0 ;
22560 PyObject
*swig_obj
[1] ;
22562 if (!args
) SWIG_fail
;
22563 swig_obj
[0] = args
;
22564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22565 if (!SWIG_IsOK(res1
)) {
22566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22568 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
22573 result
= (wxString
*) &_result_ref
;
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22582 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22591 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22592 PyObject
*resultobj
= 0;
22593 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22597 PyObject
*swig_obj
[1] ;
22599 if (!args
) SWIG_fail
;
22600 swig_obj
[0] = args
;
22601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22602 if (!SWIG_IsOK(res1
)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22605 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= (int)(arg1
)->GetFlags();
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= SWIG_From_int(static_cast< int >(result
));
22619 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
= 0;
22621 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22627 PyObject
* obj0
= 0 ;
22628 PyObject
* obj1
= 0 ;
22629 char * kwnames
[] = {
22630 (char *) "self",(char *) "flags", NULL
22633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22635 if (!SWIG_IsOK(res1
)) {
22636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22638 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22640 if (!SWIG_IsOK(ecode2
)) {
22641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
22643 arg2
= static_cast< int >(val2
);
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22646 (arg1
)->SetFlags(arg2
);
22647 wxPyEndAllowThreads(__tstate
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22650 resultobj
= SWIG_Py_Void();
22657 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22658 PyObject
*resultobj
= 0;
22659 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22660 wxString
*arg2
= 0 ;
22663 bool temp2
= false ;
22664 PyObject
* obj0
= 0 ;
22665 PyObject
* obj1
= 0 ;
22666 char * kwnames
[] = {
22667 (char *) "self",(char *) "str", NULL
22670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22672 if (!SWIG_IsOK(res1
)) {
22673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22675 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22677 arg2
= wxString_in_helper(obj1
);
22678 if (arg2
== NULL
) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 (arg1
)->SetFindString((wxString
const &)*arg2
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= SWIG_Py_Void();
22702 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
= 0;
22704 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22705 wxString
*arg2
= 0 ;
22708 bool temp2
= false ;
22709 PyObject
* obj0
= 0 ;
22710 PyObject
* obj1
= 0 ;
22711 char * kwnames
[] = {
22712 (char *) "self",(char *) "str", NULL
22715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22717 if (!SWIG_IsOK(res1
)) {
22718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22720 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22722 arg2
= wxString_in_helper(obj1
);
22723 if (arg2
== NULL
) SWIG_fail
;
22727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22728 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= SWIG_Py_Void();
22747 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22750 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
22751 return SWIG_Py_Void();
22754 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22755 return SWIG_Python_InitShadowInstance(args
);
22758 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
= 0;
22760 wxWindow
*arg1
= (wxWindow
*) 0 ;
22761 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
22762 wxString
*arg3
= 0 ;
22763 int arg4
= (int) 0 ;
22764 wxFindReplaceDialog
*result
= 0 ;
22769 bool temp3
= false ;
22772 PyObject
* obj0
= 0 ;
22773 PyObject
* obj1
= 0 ;
22774 PyObject
* obj2
= 0 ;
22775 PyObject
* obj3
= 0 ;
22776 char * kwnames
[] = {
22777 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22782 if (!SWIG_IsOK(res1
)) {
22783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
22785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22787 if (!SWIG_IsOK(res2
)) {
22788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22790 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
22792 arg3
= wxString_in_helper(obj2
);
22793 if (arg3
== NULL
) SWIG_fail
;
22797 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22798 if (!SWIG_IsOK(ecode4
)) {
22799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
22801 arg4
= static_cast< int >(val4
);
22804 if (!wxPyCheckForApp()) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
22825 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22826 PyObject
*resultobj
= 0;
22827 wxFindReplaceDialog
*result
= 0 ;
22829 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
22831 if (!wxPyCheckForApp()) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
22844 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
= 0;
22846 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22847 wxWindow
*arg2
= (wxWindow
*) 0 ;
22848 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
22849 wxString
*arg4
= 0 ;
22850 int arg5
= (int) 0 ;
22858 bool temp4
= false ;
22861 PyObject
* obj0
= 0 ;
22862 PyObject
* obj1
= 0 ;
22863 PyObject
* obj2
= 0 ;
22864 PyObject
* obj3
= 0 ;
22865 PyObject
* obj4
= 0 ;
22866 char * kwnames
[] = {
22867 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22872 if (!SWIG_IsOK(res1
)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22875 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22876 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22877 if (!SWIG_IsOK(res2
)) {
22878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22880 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22881 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22882 if (!SWIG_IsOK(res3
)) {
22883 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
22885 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
22887 arg4
= wxString_in_helper(obj3
);
22888 if (arg4
== NULL
) SWIG_fail
;
22892 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22893 if (!SWIG_IsOK(ecode5
)) {
22894 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
22896 arg5
= static_cast< int >(val5
);
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22901 wxPyEndAllowThreads(__tstate
);
22902 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22921 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22922 PyObject
*resultobj
= 0;
22923 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22924 wxFindReplaceData
*result
= 0 ;
22927 PyObject
*swig_obj
[1] ;
22929 if (!args
) SWIG_fail
;
22930 swig_obj
[0] = args
;
22931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22932 if (!SWIG_IsOK(res1
)) {
22933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22935 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= (wxFindReplaceData
*)(arg1
)->GetData();
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22949 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
= 0;
22951 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22952 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 PyObject
* obj1
= 0 ;
22959 char * kwnames
[] = {
22960 (char *) "self",(char *) "data", NULL
22963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22965 if (!SWIG_IsOK(res1
)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22968 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22970 if (!SWIG_IsOK(res2
)) {
22971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22973 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 (arg1
)->SetData(arg2
);
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_Py_Void();
22987 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22990 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
22991 return SWIG_Py_Void();
22994 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22995 return SWIG_Python_InitShadowInstance(args
);
22998 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
= 0;
23000 wxWindow
*arg1
= (wxWindow
*) 0 ;
23001 int arg2
= (int) (int)-1 ;
23002 wxString
const &arg3_defvalue
= wxPyEmptyString
;
23003 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23004 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23005 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23006 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23007 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23008 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
23009 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23010 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23011 wxMDIParentFrame
*result
= 0 ;
23016 bool temp3
= false ;
23021 bool temp7
= false ;
23022 PyObject
* obj0
= 0 ;
23023 PyObject
* obj1
= 0 ;
23024 PyObject
* obj2
= 0 ;
23025 PyObject
* obj3
= 0 ;
23026 PyObject
* obj4
= 0 ;
23027 PyObject
* obj5
= 0 ;
23028 PyObject
* obj6
= 0 ;
23029 char * kwnames
[] = {
23030 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23035 if (!SWIG_IsOK(res1
)) {
23036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
23038 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23041 if (!SWIG_IsOK(ecode2
)) {
23042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
23044 arg2
= static_cast< int >(val2
);
23048 arg3
= wxString_in_helper(obj2
);
23049 if (arg3
== NULL
) SWIG_fail
;
23056 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23062 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23066 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
23067 if (!SWIG_IsOK(ecode6
)) {
23068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
23070 arg6
= static_cast< long >(val6
);
23074 arg7
= wxString_in_helper(obj6
);
23075 if (arg7
== NULL
) SWIG_fail
;
23080 if (!wxPyCheckForApp()) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
23109 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23110 PyObject
*resultobj
= 0;
23111 wxMDIParentFrame
*result
= 0 ;
23113 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
23115 if (!wxPyCheckForApp()) SWIG_fail
;
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
23128 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
= 0;
23130 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23131 wxWindow
*arg2
= (wxWindow
*) 0 ;
23132 int arg3
= (int) (int)-1 ;
23133 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23134 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23135 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23136 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23137 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23138 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23139 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
23140 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
23141 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23149 bool temp4
= false ;
23154 bool temp8
= false ;
23155 PyObject
* obj0
= 0 ;
23156 PyObject
* obj1
= 0 ;
23157 PyObject
* obj2
= 0 ;
23158 PyObject
* obj3
= 0 ;
23159 PyObject
* obj4
= 0 ;
23160 PyObject
* obj5
= 0 ;
23161 PyObject
* obj6
= 0 ;
23162 PyObject
* obj7
= 0 ;
23163 char * kwnames
[] = {
23164 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23169 if (!SWIG_IsOK(res1
)) {
23170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23172 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23173 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23174 if (!SWIG_IsOK(res2
)) {
23175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
23177 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23180 if (!SWIG_IsOK(ecode3
)) {
23181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
23183 arg3
= static_cast< int >(val3
);
23187 arg4
= wxString_in_helper(obj3
);
23188 if (arg4
== NULL
) SWIG_fail
;
23195 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23201 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23205 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
23206 if (!SWIG_IsOK(ecode7
)) {
23207 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
23209 arg7
= static_cast< long >(val7
);
23213 arg8
= wxString_in_helper(obj7
);
23214 if (arg8
== NULL
) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23249 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23250 PyObject
*resultobj
= 0;
23251 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23254 PyObject
*swig_obj
[1] ;
23256 if (!args
) SWIG_fail
;
23257 swig_obj
[0] = args
;
23258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23259 if (!SWIG_IsOK(res1
)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23262 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 (arg1
)->ActivateNext();
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= SWIG_Py_Void();
23276 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23277 PyObject
*resultobj
= 0;
23278 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23281 PyObject
*swig_obj
[1] ;
23283 if (!args
) SWIG_fail
;
23284 swig_obj
[0] = args
;
23285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23286 if (!SWIG_IsOK(res1
)) {
23287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23289 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 (arg1
)->ActivatePrevious();
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= SWIG_Py_Void();
23303 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23304 PyObject
*resultobj
= 0;
23305 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23308 PyObject
*swig_obj
[1] ;
23310 if (!args
) SWIG_fail
;
23311 swig_obj
[0] = args
;
23312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23313 if (!SWIG_IsOK(res1
)) {
23314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23316 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 (arg1
)->ArrangeIcons();
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= SWIG_Py_Void();
23330 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23331 PyObject
*resultobj
= 0;
23332 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23335 PyObject
*swig_obj
[1] ;
23337 if (!args
) SWIG_fail
;
23338 swig_obj
[0] = args
;
23339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23340 if (!SWIG_IsOK(res1
)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23343 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= SWIG_Py_Void();
23357 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23358 PyObject
*resultobj
= 0;
23359 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23360 wxMDIChildFrame
*result
= 0 ;
23363 PyObject
*swig_obj
[1] ;
23365 if (!args
) SWIG_fail
;
23366 swig_obj
[0] = args
;
23367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23368 if (!SWIG_IsOK(res1
)) {
23369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23371 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23387 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23388 PyObject
*resultobj
= 0;
23389 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23390 wxMDIClientWindow
*result
= 0 ;
23393 PyObject
*swig_obj
[1] ;
23395 if (!args
) SWIG_fail
;
23396 swig_obj
[0] = args
;
23397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23398 if (!SWIG_IsOK(res1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23401 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23417 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23418 PyObject
*resultobj
= 0;
23419 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23420 wxMenu
*result
= 0 ;
23423 PyObject
*swig_obj
[1] ;
23425 if (!args
) SWIG_fail
;
23426 swig_obj
[0] = args
;
23427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23428 if (!SWIG_IsOK(res1
)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23431 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= wxPyMake_wxObject(result
, 0);
23447 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
= 0;
23449 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23450 wxMenu
*arg2
= (wxMenu
*) 0 ;
23455 PyObject
* obj0
= 0 ;
23456 PyObject
* obj1
= 0 ;
23457 char * kwnames
[] = {
23458 (char *) "self",(char *) "menu", NULL
23461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23463 if (!SWIG_IsOK(res1
)) {
23464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23466 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
23468 if (!SWIG_IsOK(res2
)) {
23469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
23471 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 (arg1
)->SetWindowMenu(arg2
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_Py_Void();
23485 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
= 0;
23487 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23488 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char * kwnames
[] = {
23496 (char *) "self",(char *) "orient", NULL
23499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23501 if (!SWIG_IsOK(res1
)) {
23502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23504 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23507 if (!SWIG_IsOK(ecode2
)) {
23508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
23510 arg2
= static_cast< wxOrientation
>(val2
);
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 (arg1
)->Tile(arg2
);
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_Py_Void();
23525 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23528 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
23529 return SWIG_Py_Void();
23532 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23533 return SWIG_Python_InitShadowInstance(args
);
23536 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
= 0;
23538 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23539 int arg2
= (int) (int)-1 ;
23540 wxString
const &arg3_defvalue
= wxPyEmptyString
;
23541 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23542 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23543 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23544 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23545 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23546 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23547 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23548 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23549 wxMDIChildFrame
*result
= 0 ;
23554 bool temp3
= false ;
23559 bool temp7
= false ;
23560 PyObject
* obj0
= 0 ;
23561 PyObject
* obj1
= 0 ;
23562 PyObject
* obj2
= 0 ;
23563 PyObject
* obj3
= 0 ;
23564 PyObject
* obj4
= 0 ;
23565 PyObject
* obj5
= 0 ;
23566 PyObject
* obj6
= 0 ;
23567 char * kwnames
[] = {
23568 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23573 if (!SWIG_IsOK(res1
)) {
23574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23576 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23579 if (!SWIG_IsOK(ecode2
)) {
23580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
23582 arg2
= static_cast< int >(val2
);
23586 arg3
= wxString_in_helper(obj2
);
23587 if (arg3
== NULL
) SWIG_fail
;
23594 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23600 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23604 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
23605 if (!SWIG_IsOK(ecode6
)) {
23606 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
23608 arg6
= static_cast< long >(val6
);
23612 arg7
= wxString_in_helper(obj6
);
23613 if (arg7
== NULL
) SWIG_fail
;
23618 if (!wxPyCheckForApp()) SWIG_fail
;
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
23647 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23648 PyObject
*resultobj
= 0;
23649 wxMDIChildFrame
*result
= 0 ;
23651 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
23653 if (!wxPyCheckForApp()) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
23666 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23667 PyObject
*resultobj
= 0;
23668 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
23669 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
23670 int arg3
= (int) (int)-1 ;
23671 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23672 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23673 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23674 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23675 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23676 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23677 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
23678 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
23679 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23687 bool temp4
= false ;
23692 bool temp8
= false ;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 PyObject
* obj2
= 0 ;
23696 PyObject
* obj3
= 0 ;
23697 PyObject
* obj4
= 0 ;
23698 PyObject
* obj5
= 0 ;
23699 PyObject
* obj6
= 0 ;
23700 PyObject
* obj7
= 0 ;
23701 char * kwnames
[] = {
23702 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
23707 if (!SWIG_IsOK(res1
)) {
23708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23710 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
23711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23712 if (!SWIG_IsOK(res2
)) {
23713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23715 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
23717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23718 if (!SWIG_IsOK(ecode3
)) {
23719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
23721 arg3
= static_cast< int >(val3
);
23725 arg4
= wxString_in_helper(obj3
);
23726 if (arg4
== NULL
) SWIG_fail
;
23733 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23739 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23743 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
23744 if (!SWIG_IsOK(ecode7
)) {
23745 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
23747 arg7
= static_cast< long >(val7
);
23751 arg8
= wxString_in_helper(obj7
);
23752 if (arg8
== NULL
) SWIG_fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23787 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23788 PyObject
*resultobj
= 0;
23789 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
23792 PyObject
*swig_obj
[1] ;
23794 if (!args
) SWIG_fail
;
23795 swig_obj
[0] = args
;
23796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
23797 if (!SWIG_IsOK(res1
)) {
23798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23800 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 (arg1
)->Activate();
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= SWIG_Py_Void();
23814 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23817 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
23818 return SWIG_Py_Void();
23821 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23822 return SWIG_Python_InitShadowInstance(args
);
23825 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
= 0;
23827 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23828 long arg2
= (long) 0 ;
23829 wxMDIClientWindow
*result
= 0 ;
23834 PyObject
* obj0
= 0 ;
23835 PyObject
* obj1
= 0 ;
23836 char * kwnames
[] = {
23837 (char *) "parent",(char *) "style", NULL
23840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23842 if (!SWIG_IsOK(res1
)) {
23843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23845 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23847 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
23848 if (!SWIG_IsOK(ecode2
)) {
23849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
23851 arg2
= static_cast< long >(val2
);
23854 if (!wxPyCheckForApp()) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
23867 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23868 PyObject
*resultobj
= 0;
23869 wxMDIClientWindow
*result
= 0 ;
23871 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
23873 if (!wxPyCheckForApp()) SWIG_fail
;
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
23886 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
= 0;
23888 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
23889 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
23890 long arg3
= (long) 0 ;
23898 PyObject
* obj0
= 0 ;
23899 PyObject
* obj1
= 0 ;
23900 PyObject
* obj2
= 0 ;
23901 char * kwnames
[] = {
23902 (char *) "self",(char *) "parent",(char *) "style", NULL
23905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
23907 if (!SWIG_IsOK(res1
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
23910 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
23911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23912 if (!SWIG_IsOK(res2
)) {
23913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23915 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
23917 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
23918 if (!SWIG_IsOK(ecode3
)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
23921 arg3
= static_cast< long >(val3
);
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (bool)(arg1
)->Create(arg2
,arg3
);
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23938 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23940 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23941 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
23942 return SWIG_Py_Void();
23945 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23946 return SWIG_Python_InitShadowInstance(args
);
23949 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
= 0;
23951 wxWindow
*arg1
= (wxWindow
*) 0 ;
23952 int arg2
= (int) (int)-1 ;
23953 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23954 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23955 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23956 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23957 long arg5
= (long) 0 ;
23958 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23959 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23960 wxPyWindow
*result
= 0 ;
23969 bool temp6
= false ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 PyObject
* obj2
= 0 ;
23973 PyObject
* obj3
= 0 ;
23974 PyObject
* obj4
= 0 ;
23975 PyObject
* obj5
= 0 ;
23976 char * kwnames
[] = {
23977 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23982 if (!SWIG_IsOK(res1
)) {
23983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23985 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23988 if (!SWIG_IsOK(ecode2
)) {
23989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
23991 arg2
= static_cast< int >(val2
);
23996 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24002 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24006 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
24007 if (!SWIG_IsOK(ecode5
)) {
24008 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
24010 arg5
= static_cast< long >(val5
);
24014 arg6
= wxString_in_helper(obj5
);
24015 if (arg6
== NULL
) SWIG_fail
;
24020 if (!wxPyCheckForApp()) SWIG_fail
;
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
24041 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24042 PyObject
*resultobj
= 0;
24043 wxPyWindow
*result
= 0 ;
24045 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
24047 if (!wxPyCheckForApp()) SWIG_fail
;
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (wxPyWindow
*)new wxPyWindow();
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
24060 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
= 0;
24062 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24063 PyObject
*arg2
= (PyObject
*) 0 ;
24064 PyObject
*arg3
= (PyObject
*) 0 ;
24067 PyObject
* obj0
= 0 ;
24068 PyObject
* obj1
= 0 ;
24069 PyObject
* obj2
= 0 ;
24070 char * kwnames
[] = {
24071 (char *) "self",(char *) "self",(char *) "_class", NULL
24074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24076 if (!SWIG_IsOK(res1
)) {
24077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24079 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24088 resultobj
= SWIG_Py_Void();
24095 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
= 0;
24097 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24098 wxDC
*arg2
= (wxDC
*) 0 ;
24104 PyObject
* obj0
= 0 ;
24105 PyObject
* obj1
= 0 ;
24106 char * kwnames
[] = {
24107 (char *) "self",(char *) "dc", NULL
24110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24112 if (!SWIG_IsOK(res1
)) {
24113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24115 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24116 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
24117 if (!SWIG_IsOK(res2
)) {
24118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24120 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24136 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
= 0;
24138 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 PyObject
* obj2
= 0 ;
24156 PyObject
* obj3
= 0 ;
24157 PyObject
* obj4
= 0 ;
24158 char * kwnames
[] = {
24159 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24164 if (!SWIG_IsOK(res1
)) {
24165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24167 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24169 if (!SWIG_IsOK(ecode2
)) {
24170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24172 arg2
= static_cast< int >(val2
);
24173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24174 if (!SWIG_IsOK(ecode3
)) {
24175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24177 arg3
= static_cast< int >(val3
);
24178 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24179 if (!SWIG_IsOK(ecode4
)) {
24180 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24182 arg4
= static_cast< int >(val4
);
24183 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24184 if (!SWIG_IsOK(ecode5
)) {
24185 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24187 arg5
= static_cast< int >(val5
);
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= SWIG_Py_Void();
24201 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24202 PyObject
*resultobj
= 0;
24203 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24208 int arg6
= (int) wxSIZE_AUTO
;
24221 PyObject
* obj0
= 0 ;
24222 PyObject
* obj1
= 0 ;
24223 PyObject
* obj2
= 0 ;
24224 PyObject
* obj3
= 0 ;
24225 PyObject
* obj4
= 0 ;
24226 PyObject
* obj5
= 0 ;
24227 char * kwnames
[] = {
24228 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24233 if (!SWIG_IsOK(res1
)) {
24234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24236 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24238 if (!SWIG_IsOK(ecode2
)) {
24239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24241 arg2
= static_cast< int >(val2
);
24242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24243 if (!SWIG_IsOK(ecode3
)) {
24244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24246 arg3
= static_cast< int >(val3
);
24247 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24248 if (!SWIG_IsOK(ecode4
)) {
24249 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24251 arg4
= static_cast< int >(val4
);
24252 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24253 if (!SWIG_IsOK(ecode5
)) {
24254 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24256 arg5
= static_cast< int >(val5
);
24258 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24259 if (!SWIG_IsOK(ecode6
)) {
24260 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24262 arg6
= static_cast< int >(val6
);
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= SWIG_Py_Void();
24277 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
= 0;
24279 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24288 PyObject
* obj0
= 0 ;
24289 PyObject
* obj1
= 0 ;
24290 PyObject
* obj2
= 0 ;
24291 char * kwnames
[] = {
24292 (char *) "self",(char *) "width",(char *) "height", NULL
24295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24297 if (!SWIG_IsOK(res1
)) {
24298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24300 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24302 if (!SWIG_IsOK(ecode2
)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24305 arg2
= static_cast< int >(val2
);
24306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24307 if (!SWIG_IsOK(ecode3
)) {
24308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24310 arg3
= static_cast< int >(val3
);
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 (arg1
)->DoSetClientSize(arg2
,arg3
);
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24317 resultobj
= SWIG_Py_Void();
24324 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
= 0;
24326 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24335 PyObject
* obj0
= 0 ;
24336 PyObject
* obj1
= 0 ;
24337 PyObject
* obj2
= 0 ;
24338 char * kwnames
[] = {
24339 (char *) "self",(char *) "x",(char *) "y", NULL
24342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24344 if (!SWIG_IsOK(res1
)) {
24345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24347 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24349 if (!SWIG_IsOK(ecode2
)) {
24350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24352 arg2
= static_cast< int >(val2
);
24353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24354 if (!SWIG_IsOK(ecode3
)) {
24355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24357 arg3
= static_cast< int >(val3
);
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= SWIG_Py_Void();
24371 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24372 PyObject
*resultobj
= 0;
24373 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24374 int *arg2
= (int *) 0 ;
24375 int *arg3
= (int *) 0 ;
24379 int res2
= SWIG_TMPOBJ
;
24381 int res3
= SWIG_TMPOBJ
;
24382 PyObject
*swig_obj
[1] ;
24386 if (!args
) SWIG_fail
;
24387 swig_obj
[0] = args
;
24388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24389 if (!SWIG_IsOK(res1
)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24392 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24399 resultobj
= SWIG_Py_Void();
24400 if (SWIG_IsTmpObj(res2
)) {
24401 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24403 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24404 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24406 if (SWIG_IsTmpObj(res3
)) {
24407 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24409 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24410 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24418 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24419 PyObject
*resultobj
= 0;
24420 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24421 int *arg2
= (int *) 0 ;
24422 int *arg3
= (int *) 0 ;
24426 int res2
= SWIG_TMPOBJ
;
24428 int res3
= SWIG_TMPOBJ
;
24429 PyObject
*swig_obj
[1] ;
24433 if (!args
) SWIG_fail
;
24434 swig_obj
[0] = args
;
24435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24436 if (!SWIG_IsOK(res1
)) {
24437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24439 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= SWIG_Py_Void();
24447 if (SWIG_IsTmpObj(res2
)) {
24448 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24450 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24451 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24453 if (SWIG_IsTmpObj(res3
)) {
24454 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24456 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24457 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24465 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24466 PyObject
*resultobj
= 0;
24467 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24468 int *arg2
= (int *) 0 ;
24469 int *arg3
= (int *) 0 ;
24473 int res2
= SWIG_TMPOBJ
;
24475 int res3
= SWIG_TMPOBJ
;
24476 PyObject
*swig_obj
[1] ;
24480 if (!args
) SWIG_fail
;
24481 swig_obj
[0] = args
;
24482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24483 if (!SWIG_IsOK(res1
)) {
24484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24486 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= SWIG_Py_Void();
24494 if (SWIG_IsTmpObj(res2
)) {
24495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24497 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24500 if (SWIG_IsTmpObj(res3
)) {
24501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24503 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24512 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24513 PyObject
*resultobj
= 0;
24514 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24518 PyObject
*swig_obj
[1] ;
24520 if (!args
) SWIG_fail
;
24521 swig_obj
[0] = args
;
24522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24523 if (!SWIG_IsOK(res1
)) {
24524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24526 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24540 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24541 PyObject
*resultobj
= 0;
24542 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24546 PyObject
*swig_obj
[1] ;
24548 if (!args
) SWIG_fail
;
24549 swig_obj
[0] = args
;
24550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24551 if (!SWIG_IsOK(res1
)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24554 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24568 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24569 PyObject
*resultobj
= 0;
24570 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24571 SwigValueWrapper
<wxVisualAttributes
> result
;
24574 PyObject
*swig_obj
[1] ;
24576 if (!args
) SWIG_fail
;
24577 swig_obj
[0] = args
;
24578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24582 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (arg1
)->GetDefaultAttributes();
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
24596 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24597 PyObject
*resultobj
= 0;
24598 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24601 PyObject
*swig_obj
[1] ;
24603 if (!args
) SWIG_fail
;
24604 swig_obj
[0] = args
;
24605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24606 if (!SWIG_IsOK(res1
)) {
24607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24609 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 (arg1
)->OnInternalIdle();
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= SWIG_Py_Void();
24623 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24626 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
24627 return SWIG_Py_Void();
24630 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24631 return SWIG_Python_InitShadowInstance(args
);
24634 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
= 0;
24636 wxWindow
*arg1
= (wxWindow
*) 0 ;
24637 int arg2
= (int) (int)-1 ;
24638 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24639 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24640 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24641 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24642 long arg5
= (long) 0 ;
24643 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24644 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24645 wxPyPanel
*result
= 0 ;
24654 bool temp6
= false ;
24655 PyObject
* obj0
= 0 ;
24656 PyObject
* obj1
= 0 ;
24657 PyObject
* obj2
= 0 ;
24658 PyObject
* obj3
= 0 ;
24659 PyObject
* obj4
= 0 ;
24660 PyObject
* obj5
= 0 ;
24661 char * kwnames
[] = {
24662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24667 if (!SWIG_IsOK(res1
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
24670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24673 if (!SWIG_IsOK(ecode2
)) {
24674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
24676 arg2
= static_cast< int >(val2
);
24681 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24687 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24691 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
24692 if (!SWIG_IsOK(ecode5
)) {
24693 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
24695 arg5
= static_cast< long >(val5
);
24699 arg6
= wxString_in_helper(obj5
);
24700 if (arg6
== NULL
) SWIG_fail
;
24705 if (!wxPyCheckForApp()) SWIG_fail
;
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
24726 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24727 PyObject
*resultobj
= 0;
24728 wxPyPanel
*result
= 0 ;
24730 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
24732 if (!wxPyCheckForApp()) SWIG_fail
;
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 result
= (wxPyPanel
*)new wxPyPanel();
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
24745 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
= 0;
24747 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24748 PyObject
*arg2
= (PyObject
*) 0 ;
24749 PyObject
*arg3
= (PyObject
*) 0 ;
24752 PyObject
* obj0
= 0 ;
24753 PyObject
* obj1
= 0 ;
24754 PyObject
* obj2
= 0 ;
24755 char * kwnames
[] = {
24756 (char *) "self",(char *) "self",(char *) "_class", NULL
24759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24761 if (!SWIG_IsOK(res1
)) {
24762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24764 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 resultobj
= SWIG_Py_Void();
24780 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
= 0;
24782 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24783 wxDC
*arg2
= (wxDC
*) 0 ;
24789 PyObject
* obj0
= 0 ;
24790 PyObject
* obj1
= 0 ;
24791 char * kwnames
[] = {
24792 (char *) "self",(char *) "dc", NULL
24795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24800 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24801 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
24802 if (!SWIG_IsOK(res2
)) {
24803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24805 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
24809 wxPyEndAllowThreads(__tstate
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24821 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
= 0;
24823 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24838 PyObject
* obj0
= 0 ;
24839 PyObject
* obj1
= 0 ;
24840 PyObject
* obj2
= 0 ;
24841 PyObject
* obj3
= 0 ;
24842 PyObject
* obj4
= 0 ;
24843 char * kwnames
[] = {
24844 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24849 if (!SWIG_IsOK(res1
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24852 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24854 if (!SWIG_IsOK(ecode2
)) {
24855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24857 arg2
= static_cast< int >(val2
);
24858 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24859 if (!SWIG_IsOK(ecode3
)) {
24860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24862 arg3
= static_cast< int >(val3
);
24863 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24864 if (!SWIG_IsOK(ecode4
)) {
24865 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24867 arg4
= static_cast< int >(val4
);
24868 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24869 if (!SWIG_IsOK(ecode5
)) {
24870 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24872 arg5
= static_cast< int >(val5
);
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= SWIG_Py_Void();
24886 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
= 0;
24888 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24893 int arg6
= (int) wxSIZE_AUTO
;
24906 PyObject
* obj0
= 0 ;
24907 PyObject
* obj1
= 0 ;
24908 PyObject
* obj2
= 0 ;
24909 PyObject
* obj3
= 0 ;
24910 PyObject
* obj4
= 0 ;
24911 PyObject
* obj5
= 0 ;
24912 char * kwnames
[] = {
24913 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24918 if (!SWIG_IsOK(res1
)) {
24919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24921 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24923 if (!SWIG_IsOK(ecode2
)) {
24924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24926 arg2
= static_cast< int >(val2
);
24927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24928 if (!SWIG_IsOK(ecode3
)) {
24929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24931 arg3
= static_cast< int >(val3
);
24932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24933 if (!SWIG_IsOK(ecode4
)) {
24934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24936 arg4
= static_cast< int >(val4
);
24937 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24938 if (!SWIG_IsOK(ecode5
)) {
24939 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24941 arg5
= static_cast< int >(val5
);
24943 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24944 if (!SWIG_IsOK(ecode6
)) {
24945 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24947 arg6
= static_cast< int >(val6
);
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= SWIG_Py_Void();
24962 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
= 0;
24964 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 PyObject
* obj2
= 0 ;
24976 char * kwnames
[] = {
24977 (char *) "self",(char *) "width",(char *) "height", NULL
24980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24982 if (!SWIG_IsOK(res1
)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24985 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24987 if (!SWIG_IsOK(ecode2
)) {
24988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24990 arg2
= static_cast< int >(val2
);
24991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24992 if (!SWIG_IsOK(ecode3
)) {
24993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24995 arg3
= static_cast< int >(val3
);
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 (arg1
)->DoSetClientSize(arg2
,arg3
);
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= SWIG_Py_Void();
25009 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
= 0;
25011 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25020 PyObject
* obj0
= 0 ;
25021 PyObject
* obj1
= 0 ;
25022 PyObject
* obj2
= 0 ;
25023 char * kwnames
[] = {
25024 (char *) "self",(char *) "x",(char *) "y", NULL
25027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25029 if (!SWIG_IsOK(res1
)) {
25030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25032 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25034 if (!SWIG_IsOK(ecode2
)) {
25035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25037 arg2
= static_cast< int >(val2
);
25038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25039 if (!SWIG_IsOK(ecode3
)) {
25040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25042 arg3
= static_cast< int >(val3
);
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
25046 wxPyEndAllowThreads(__tstate
);
25047 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= SWIG_Py_Void();
25056 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25057 PyObject
*resultobj
= 0;
25058 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25059 int *arg2
= (int *) 0 ;
25060 int *arg3
= (int *) 0 ;
25064 int res2
= SWIG_TMPOBJ
;
25066 int res3
= SWIG_TMPOBJ
;
25067 PyObject
*swig_obj
[1] ;
25071 if (!args
) SWIG_fail
;
25072 swig_obj
[0] = args
;
25073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25074 if (!SWIG_IsOK(res1
)) {
25075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25077 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25080 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25084 resultobj
= SWIG_Py_Void();
25085 if (SWIG_IsTmpObj(res2
)) {
25086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25088 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25091 if (SWIG_IsTmpObj(res3
)) {
25092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25094 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25103 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25104 PyObject
*resultobj
= 0;
25105 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25106 int *arg2
= (int *) 0 ;
25107 int *arg3
= (int *) 0 ;
25111 int res2
= SWIG_TMPOBJ
;
25113 int res3
= SWIG_TMPOBJ
;
25114 PyObject
*swig_obj
[1] ;
25118 if (!args
) SWIG_fail
;
25119 swig_obj
[0] = args
;
25120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25121 if (!SWIG_IsOK(res1
)) {
25122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25124 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= SWIG_Py_Void();
25132 if (SWIG_IsTmpObj(res2
)) {
25133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25135 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25138 if (SWIG_IsTmpObj(res3
)) {
25139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25141 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25150 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25151 PyObject
*resultobj
= 0;
25152 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25153 int *arg2
= (int *) 0 ;
25154 int *arg3
= (int *) 0 ;
25158 int res2
= SWIG_TMPOBJ
;
25160 int res3
= SWIG_TMPOBJ
;
25161 PyObject
*swig_obj
[1] ;
25165 if (!args
) SWIG_fail
;
25166 swig_obj
[0] = args
;
25167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25168 if (!SWIG_IsOK(res1
)) {
25169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25171 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_Py_Void();
25179 if (SWIG_IsTmpObj(res2
)) {
25180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25182 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25185 if (SWIG_IsTmpObj(res3
)) {
25186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25188 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25197 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25198 PyObject
*resultobj
= 0;
25199 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25203 PyObject
*swig_obj
[1] ;
25205 if (!args
) SWIG_fail
;
25206 swig_obj
[0] = args
;
25207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25208 if (!SWIG_IsOK(res1
)) {
25209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25211 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25225 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25226 PyObject
*resultobj
= 0;
25227 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25231 PyObject
*swig_obj
[1] ;
25233 if (!args
) SWIG_fail
;
25234 swig_obj
[0] = args
;
25235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25236 if (!SWIG_IsOK(res1
)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25239 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25246 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25253 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25254 PyObject
*resultobj
= 0;
25255 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25256 SwigValueWrapper
<wxVisualAttributes
> result
;
25259 PyObject
*swig_obj
[1] ;
25261 if (!args
) SWIG_fail
;
25262 swig_obj
[0] = args
;
25263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25264 if (!SWIG_IsOK(res1
)) {
25265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25267 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 result
= (arg1
)->GetDefaultAttributes();
25271 wxPyEndAllowThreads(__tstate
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25274 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25281 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25282 PyObject
*resultobj
= 0;
25283 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25286 PyObject
*swig_obj
[1] ;
25288 if (!args
) SWIG_fail
;
25289 swig_obj
[0] = args
;
25290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25291 if (!SWIG_IsOK(res1
)) {
25292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25294 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 (arg1
)->OnInternalIdle();
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= SWIG_Py_Void();
25308 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25311 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
25312 return SWIG_Py_Void();
25315 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25316 return SWIG_Python_InitShadowInstance(args
);
25319 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
= 0;
25321 wxWindow
*arg1
= (wxWindow
*) 0 ;
25322 int arg2
= (int) (int)-1 ;
25323 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25324 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25325 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25326 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25327 long arg5
= (long) 0 ;
25328 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25329 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25330 wxPyScrolledWindow
*result
= 0 ;
25339 bool temp6
= false ;
25340 PyObject
* obj0
= 0 ;
25341 PyObject
* obj1
= 0 ;
25342 PyObject
* obj2
= 0 ;
25343 PyObject
* obj3
= 0 ;
25344 PyObject
* obj4
= 0 ;
25345 PyObject
* obj5
= 0 ;
25346 char * kwnames
[] = {
25347 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25352 if (!SWIG_IsOK(res1
)) {
25353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
25355 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25358 if (!SWIG_IsOK(ecode2
)) {
25359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
25361 arg2
= static_cast< int >(val2
);
25366 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25372 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25376 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25377 if (!SWIG_IsOK(ecode5
)) {
25378 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
25380 arg5
= static_cast< long >(val5
);
25384 arg6
= wxString_in_helper(obj5
);
25385 if (arg6
== NULL
) SWIG_fail
;
25390 if (!wxPyCheckForApp()) SWIG_fail
;
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25393 wxPyEndAllowThreads(__tstate
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
25411 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25412 PyObject
*resultobj
= 0;
25413 wxPyScrolledWindow
*result
= 0 ;
25415 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
25417 if (!wxPyCheckForApp()) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
25430 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
= 0;
25432 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25433 PyObject
*arg2
= (PyObject
*) 0 ;
25434 PyObject
*arg3
= (PyObject
*) 0 ;
25437 PyObject
* obj0
= 0 ;
25438 PyObject
* obj1
= 0 ;
25439 PyObject
* obj2
= 0 ;
25440 char * kwnames
[] = {
25441 (char *) "self",(char *) "self",(char *) "_class", NULL
25444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25446 if (!SWIG_IsOK(res1
)) {
25447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25449 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25454 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25458 resultobj
= SWIG_Py_Void();
25465 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25466 PyObject
*resultobj
= 0;
25467 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25468 wxDC
*arg2
= (wxDC
*) 0 ;
25474 PyObject
* obj0
= 0 ;
25475 PyObject
* obj1
= 0 ;
25476 char * kwnames
[] = {
25477 (char *) "self",(char *) "dc", NULL
25480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25482 if (!SWIG_IsOK(res1
)) {
25483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25485 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25486 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
25487 if (!SWIG_IsOK(res2
)) {
25488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
25490 arg2
= reinterpret_cast< wxDC
* >(argp2
);
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25506 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
= 0;
25508 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25523 PyObject
* obj0
= 0 ;
25524 PyObject
* obj1
= 0 ;
25525 PyObject
* obj2
= 0 ;
25526 PyObject
* obj3
= 0 ;
25527 PyObject
* obj4
= 0 ;
25528 char * kwnames
[] = {
25529 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25534 if (!SWIG_IsOK(res1
)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25537 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25539 if (!SWIG_IsOK(ecode2
)) {
25540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
25542 arg2
= static_cast< int >(val2
);
25543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25544 if (!SWIG_IsOK(ecode3
)) {
25545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
25547 arg3
= static_cast< int >(val3
);
25548 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25549 if (!SWIG_IsOK(ecode4
)) {
25550 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
25552 arg4
= static_cast< int >(val4
);
25553 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25554 if (!SWIG_IsOK(ecode5
)) {
25555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
25557 arg5
= static_cast< int >(val5
);
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25564 resultobj
= SWIG_Py_Void();
25571 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
= 0;
25573 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25578 int arg6
= (int) wxSIZE_AUTO
;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 PyObject
* obj2
= 0 ;
25594 PyObject
* obj3
= 0 ;
25595 PyObject
* obj4
= 0 ;
25596 PyObject
* obj5
= 0 ;
25597 char * kwnames
[] = {
25598 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25603 if (!SWIG_IsOK(res1
)) {
25604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25606 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25608 if (!SWIG_IsOK(ecode2
)) {
25609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
25611 arg2
= static_cast< int >(val2
);
25612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25613 if (!SWIG_IsOK(ecode3
)) {
25614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
25616 arg3
= static_cast< int >(val3
);
25617 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25618 if (!SWIG_IsOK(ecode4
)) {
25619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
25621 arg4
= static_cast< int >(val4
);
25622 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25623 if (!SWIG_IsOK(ecode5
)) {
25624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
25626 arg5
= static_cast< int >(val5
);
25628 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25629 if (!SWIG_IsOK(ecode6
)) {
25630 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
25632 arg6
= static_cast< int >(val6
);
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_Py_Void();
25647 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
= 0;
25649 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25658 PyObject
* obj0
= 0 ;
25659 PyObject
* obj1
= 0 ;
25660 PyObject
* obj2
= 0 ;
25661 char * kwnames
[] = {
25662 (char *) "self",(char *) "width",(char *) "height", NULL
25665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25667 if (!SWIG_IsOK(res1
)) {
25668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25670 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25672 if (!SWIG_IsOK(ecode2
)) {
25673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25675 arg2
= static_cast< int >(val2
);
25676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25677 if (!SWIG_IsOK(ecode3
)) {
25678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25680 arg3
= static_cast< int >(val3
);
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 (arg1
)->DoSetClientSize(arg2
,arg3
);
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= SWIG_Py_Void();
25694 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
= 0;
25696 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25705 PyObject
* obj0
= 0 ;
25706 PyObject
* obj1
= 0 ;
25707 PyObject
* obj2
= 0 ;
25708 char * kwnames
[] = {
25709 (char *) "self",(char *) "x",(char *) "y", NULL
25712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25714 if (!SWIG_IsOK(res1
)) {
25715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25717 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25719 if (!SWIG_IsOK(ecode2
)) {
25720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25722 arg2
= static_cast< int >(val2
);
25723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25724 if (!SWIG_IsOK(ecode3
)) {
25725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25727 arg3
= static_cast< int >(val3
);
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= SWIG_Py_Void();
25741 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25742 PyObject
*resultobj
= 0;
25743 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25744 int *arg2
= (int *) 0 ;
25745 int *arg3
= (int *) 0 ;
25749 int res2
= SWIG_TMPOBJ
;
25751 int res3
= SWIG_TMPOBJ
;
25752 PyObject
*swig_obj
[1] ;
25756 if (!args
) SWIG_fail
;
25757 swig_obj
[0] = args
;
25758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25759 if (!SWIG_IsOK(res1
)) {
25760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25762 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 resultobj
= SWIG_Py_Void();
25770 if (SWIG_IsTmpObj(res2
)) {
25771 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25773 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25774 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25776 if (SWIG_IsTmpObj(res3
)) {
25777 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25779 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25780 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25788 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25789 PyObject
*resultobj
= 0;
25790 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25791 int *arg2
= (int *) 0 ;
25792 int *arg3
= (int *) 0 ;
25796 int res2
= SWIG_TMPOBJ
;
25798 int res3
= SWIG_TMPOBJ
;
25799 PyObject
*swig_obj
[1] ;
25803 if (!args
) SWIG_fail
;
25804 swig_obj
[0] = args
;
25805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25806 if (!SWIG_IsOK(res1
)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25809 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= SWIG_Py_Void();
25817 if (SWIG_IsTmpObj(res2
)) {
25818 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25820 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25821 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25823 if (SWIG_IsTmpObj(res3
)) {
25824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25826 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25835 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25836 PyObject
*resultobj
= 0;
25837 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25838 int *arg2
= (int *) 0 ;
25839 int *arg3
= (int *) 0 ;
25843 int res2
= SWIG_TMPOBJ
;
25845 int res3
= SWIG_TMPOBJ
;
25846 PyObject
*swig_obj
[1] ;
25850 if (!args
) SWIG_fail
;
25851 swig_obj
[0] = args
;
25852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25853 if (!SWIG_IsOK(res1
)) {
25854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25856 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
25860 wxPyEndAllowThreads(__tstate
);
25861 if (PyErr_Occurred()) SWIG_fail
;
25863 resultobj
= SWIG_Py_Void();
25864 if (SWIG_IsTmpObj(res2
)) {
25865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25867 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25870 if (SWIG_IsTmpObj(res3
)) {
25871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25873 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25882 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25883 PyObject
*resultobj
= 0;
25884 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25888 PyObject
*swig_obj
[1] ;
25890 if (!args
) SWIG_fail
;
25891 swig_obj
[0] = args
;
25892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25893 if (!SWIG_IsOK(res1
)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25896 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25910 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25911 PyObject
*resultobj
= 0;
25912 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25916 PyObject
*swig_obj
[1] ;
25918 if (!args
) SWIG_fail
;
25919 swig_obj
[0] = args
;
25920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25921 if (!SWIG_IsOK(res1
)) {
25922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25924 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25938 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25939 PyObject
*resultobj
= 0;
25940 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25941 SwigValueWrapper
<wxVisualAttributes
> result
;
25944 PyObject
*swig_obj
[1] ;
25946 if (!args
) SWIG_fail
;
25947 swig_obj
[0] = args
;
25948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25949 if (!SWIG_IsOK(res1
)) {
25950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25952 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25955 result
= (arg1
)->GetDefaultAttributes();
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25966 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25967 PyObject
*resultobj
= 0;
25968 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25971 PyObject
*swig_obj
[1] ;
25973 if (!args
) SWIG_fail
;
25974 swig_obj
[0] = args
;
25975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25976 if (!SWIG_IsOK(res1
)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25979 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 (arg1
)->OnInternalIdle();
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= SWIG_Py_Void();
25993 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25996 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
25997 return SWIG_Py_Void();
26000 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26001 return SWIG_Python_InitShadowInstance(args
);
26004 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
26005 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
26010 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
26011 PyObject
*pyobj
= 0;
26015 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
26017 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
26024 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
26025 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
26030 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
26031 PyObject
*pyobj
= 0;
26035 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
26037 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
26044 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26045 PyObject
*resultobj
= 0;
26046 wxPrintData
*result
= 0 ;
26048 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26051 result
= (wxPrintData
*)new wxPrintData();
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
26062 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26063 PyObject
*resultobj
= 0;
26064 wxPrintData
*arg1
= 0 ;
26065 wxPrintData
*result
= 0 ;
26069 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26071 if (!SWIG_IsOK(res1
)) {
26072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26077 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
26091 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
26095 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
26098 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
26101 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
26105 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
26110 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26111 PyObject
*resultobj
= 0;
26112 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26115 PyObject
*swig_obj
[1] ;
26117 if (!args
) SWIG_fail
;
26118 swig_obj
[0] = args
;
26119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
26120 if (!SWIG_IsOK(res1
)) {
26121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
26123 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26131 resultobj
= SWIG_Py_Void();
26138 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26139 PyObject
*resultobj
= 0;
26140 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26144 PyObject
*swig_obj
[1] ;
26146 if (!args
) SWIG_fail
;
26147 swig_obj
[0] = args
;
26148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26149 if (!SWIG_IsOK(res1
)) {
26150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26152 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 result
= (int)(arg1
)->GetNoCopies();
26156 wxPyEndAllowThreads(__tstate
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26159 resultobj
= SWIG_From_int(static_cast< int >(result
));
26166 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26167 PyObject
*resultobj
= 0;
26168 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26172 PyObject
*swig_obj
[1] ;
26174 if (!args
) SWIG_fail
;
26175 swig_obj
[0] = args
;
26176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26177 if (!SWIG_IsOK(res1
)) {
26178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26180 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 result
= (bool)(arg1
)->GetCollate();
26184 wxPyEndAllowThreads(__tstate
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26196 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26197 PyObject
*resultobj
= 0;
26198 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26202 PyObject
*swig_obj
[1] ;
26204 if (!args
) SWIG_fail
;
26205 swig_obj
[0] = args
;
26206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26207 if (!SWIG_IsOK(res1
)) {
26208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26210 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (int)(arg1
)->GetOrientation();
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= SWIG_From_int(static_cast< int >(result
));
26224 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26225 PyObject
*resultobj
= 0;
26226 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26230 PyObject
*swig_obj
[1] ;
26232 if (!args
) SWIG_fail
;
26233 swig_obj
[0] = args
;
26234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26235 if (!SWIG_IsOK(res1
)) {
26236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26238 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26254 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26255 PyObject
*resultobj
= 0;
26256 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26260 PyObject
*swig_obj
[1] ;
26262 if (!args
) SWIG_fail
;
26263 swig_obj
[0] = args
;
26264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26265 if (!SWIG_IsOK(res1
)) {
26266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
26268 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26271 result
= (bool)(arg1
)->IsOk();
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26284 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26285 PyObject
*resultobj
= 0;
26286 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26287 wxString
*result
= 0 ;
26290 PyObject
*swig_obj
[1] ;
26292 if (!args
) SWIG_fail
;
26293 swig_obj
[0] = args
;
26294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26295 if (!SWIG_IsOK(res1
)) {
26296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26298 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
26303 result
= (wxString
*) &_result_ref
;
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26310 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26312 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26321 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26322 PyObject
*resultobj
= 0;
26323 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26327 PyObject
*swig_obj
[1] ;
26329 if (!args
) SWIG_fail
;
26330 swig_obj
[0] = args
;
26331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26332 if (!SWIG_IsOK(res1
)) {
26333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26335 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= (bool)(arg1
)->GetColour();
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26351 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26352 PyObject
*resultobj
= 0;
26353 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26354 wxDuplexMode result
;
26357 PyObject
*swig_obj
[1] ;
26359 if (!args
) SWIG_fail
;
26360 swig_obj
[0] = args
;
26361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26362 if (!SWIG_IsOK(res1
)) {
26363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26365 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26372 resultobj
= SWIG_From_int(static_cast< int >(result
));
26379 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26380 PyObject
*resultobj
= 0;
26381 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26382 wxPaperSize result
;
26385 PyObject
*swig_obj
[1] ;
26387 if (!args
) SWIG_fail
;
26388 swig_obj
[0] = args
;
26389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26390 if (!SWIG_IsOK(res1
)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26393 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 result
= (wxPaperSize
)(arg1
)->GetPaperId();
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= SWIG_From_int(static_cast< int >(result
));
26407 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26408 PyObject
*resultobj
= 0;
26409 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26410 wxSize
*result
= 0 ;
26413 PyObject
*swig_obj
[1] ;
26415 if (!args
) SWIG_fail
;
26416 swig_obj
[0] = args
;
26417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26418 if (!SWIG_IsOK(res1
)) {
26419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26421 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
26426 result
= (wxSize
*) &_result_ref
;
26428 wxPyEndAllowThreads(__tstate
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
26438 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26439 PyObject
*resultobj
= 0;
26440 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26444 PyObject
*swig_obj
[1] ;
26446 if (!args
) SWIG_fail
;
26447 swig_obj
[0] = args
;
26448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26449 if (!SWIG_IsOK(res1
)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26452 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 result
= (int)(arg1
)->GetQuality();
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= SWIG_From_int(static_cast< int >(result
));
26466 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26467 PyObject
*resultobj
= 0;
26468 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26472 PyObject
*swig_obj
[1] ;
26474 if (!args
) SWIG_fail
;
26475 swig_obj
[0] = args
;
26476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26477 if (!SWIG_IsOK(res1
)) {
26478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26480 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26483 result
= (wxPrintBin
)(arg1
)->GetBin();
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 resultobj
= SWIG_From_int(static_cast< int >(result
));
26494 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26495 PyObject
*resultobj
= 0;
26496 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26497 wxPrintMode result
;
26500 PyObject
*swig_obj
[1] ;
26502 if (!args
) SWIG_fail
;
26503 swig_obj
[0] = args
;
26504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26505 if (!SWIG_IsOK(res1
)) {
26506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26508 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_From_int(static_cast< int >(result
));
26522 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26523 PyObject
*resultobj
= 0;
26524 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26528 PyObject
*swig_obj
[1] ;
26530 if (!args
) SWIG_fail
;
26531 swig_obj
[0] = args
;
26532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26533 if (!SWIG_IsOK(res1
)) {
26534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26536 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26539 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
26540 wxPyEndAllowThreads(__tstate
);
26541 if (PyErr_Occurred()) SWIG_fail
;
26543 resultobj
= SWIG_From_int(static_cast< int >(result
));
26550 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
= 0;
26552 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26558 PyObject
* obj0
= 0 ;
26559 PyObject
* obj1
= 0 ;
26560 char * kwnames
[] = {
26561 (char *) "self",(char *) "v", NULL
26564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26566 if (!SWIG_IsOK(res1
)) {
26567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26569 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26571 if (!SWIG_IsOK(ecode2
)) {
26572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26574 arg2
= static_cast< int >(val2
);
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 (arg1
)->SetNoCopies(arg2
);
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 resultobj
= SWIG_Py_Void();
26588 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
= 0;
26590 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26596 PyObject
* obj0
= 0 ;
26597 PyObject
* obj1
= 0 ;
26598 char * kwnames
[] = {
26599 (char *) "self",(char *) "flag", NULL
26602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26604 if (!SWIG_IsOK(res1
)) {
26605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26607 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26608 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26609 if (!SWIG_IsOK(ecode2
)) {
26610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26612 arg2
= static_cast< bool >(val2
);
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 (arg1
)->SetCollate(arg2
);
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_Py_Void();
26626 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26627 PyObject
*resultobj
= 0;
26628 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26634 PyObject
* obj0
= 0 ;
26635 PyObject
* obj1
= 0 ;
26636 char * kwnames
[] = {
26637 (char *) "self",(char *) "orient", NULL
26640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26642 if (!SWIG_IsOK(res1
)) {
26643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26645 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26647 if (!SWIG_IsOK(ecode2
)) {
26648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
26650 arg2
= static_cast< int >(val2
);
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 (arg1
)->SetOrientation(arg2
);
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= SWIG_Py_Void();
26664 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
= 0;
26666 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26672 PyObject
* obj0
= 0 ;
26673 PyObject
* obj1
= 0 ;
26674 char * kwnames
[] = {
26675 (char *) "self",(char *) "reversed", NULL
26678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26680 if (!SWIG_IsOK(res1
)) {
26681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
26683 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26684 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26685 if (!SWIG_IsOK(ecode2
)) {
26686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
26688 arg2
= static_cast< bool >(val2
);
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 (arg1
)->SetOrientationReversed(arg2
);
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= SWIG_Py_Void();
26702 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26703 PyObject
*resultobj
= 0;
26704 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26705 wxString
*arg2
= 0 ;
26708 bool temp2
= false ;
26709 PyObject
* obj0
= 0 ;
26710 PyObject
* obj1
= 0 ;
26711 char * kwnames
[] = {
26712 (char *) "self",(char *) "name", NULL
26715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26717 if (!SWIG_IsOK(res1
)) {
26718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26720 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26722 arg2
= wxString_in_helper(obj1
);
26723 if (arg2
== NULL
) SWIG_fail
;
26727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26728 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
26729 wxPyEndAllowThreads(__tstate
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26732 resultobj
= SWIG_Py_Void();
26747 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
= 0;
26749 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 char * kwnames
[] = {
26758 (char *) "self",(char *) "colour", NULL
26761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26763 if (!SWIG_IsOK(res1
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26766 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26767 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26768 if (!SWIG_IsOK(ecode2
)) {
26769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
26771 arg2
= static_cast< bool >(val2
);
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 (arg1
)->SetColour(arg2
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_Py_Void();
26785 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
= 0;
26787 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26788 wxDuplexMode arg2
;
26793 PyObject
* obj0
= 0 ;
26794 PyObject
* obj1
= 0 ;
26795 char * kwnames
[] = {
26796 (char *) "self",(char *) "duplex", NULL
26799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26801 if (!SWIG_IsOK(res1
)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26804 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26806 if (!SWIG_IsOK(ecode2
)) {
26807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
26809 arg2
= static_cast< wxDuplexMode
>(val2
);
26811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26812 (arg1
)->SetDuplex(arg2
);
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_Py_Void();
26823 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
= 0;
26825 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26831 PyObject
* obj0
= 0 ;
26832 PyObject
* obj1
= 0 ;
26833 char * kwnames
[] = {
26834 (char *) "self",(char *) "sizeId", NULL
26837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26839 if (!SWIG_IsOK(res1
)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26842 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26844 if (!SWIG_IsOK(ecode2
)) {
26845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26847 arg2
= static_cast< wxPaperSize
>(val2
);
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 (arg1
)->SetPaperId(arg2
);
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= SWIG_Py_Void();
26861 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
= 0;
26863 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char * kwnames
[] = {
26871 (char *) "self",(char *) "sz", NULL
26874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26876 if (!SWIG_IsOK(res1
)) {
26877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26879 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26882 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_Py_Void();
26897 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
= 0;
26899 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char * kwnames
[] = {
26908 (char *) "self",(char *) "quality", NULL
26911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26913 if (!SWIG_IsOK(res1
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26916 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26918 if (!SWIG_IsOK(ecode2
)) {
26919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
26921 arg2
= static_cast< int >(val2
);
26923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26924 (arg1
)->SetQuality(arg2
);
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26928 resultobj
= SWIG_Py_Void();
26935 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
= 0;
26937 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26943 PyObject
* obj0
= 0 ;
26944 PyObject
* obj1
= 0 ;
26945 char * kwnames
[] = {
26946 (char *) "self",(char *) "bin", NULL
26949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26951 if (!SWIG_IsOK(res1
)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26954 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26956 if (!SWIG_IsOK(ecode2
)) {
26957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
26959 arg2
= static_cast< wxPrintBin
>(val2
);
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 (arg1
)->SetBin(arg2
);
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= SWIG_Py_Void();
26973 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
= 0;
26975 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 char * kwnames
[] = {
26984 (char *) "self",(char *) "printMode", NULL
26987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26989 if (!SWIG_IsOK(res1
)) {
26990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
26992 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26994 if (!SWIG_IsOK(ecode2
)) {
26995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
26997 arg2
= static_cast< wxPrintMode
>(val2
);
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 (arg1
)->SetPrintMode(arg2
);
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 resultobj
= SWIG_Py_Void();
27011 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
= 0;
27013 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27019 PyObject
* obj0
= 0 ;
27020 PyObject
* obj1
= 0 ;
27021 char * kwnames
[] = {
27022 (char *) "self",(char *) "media", NULL
27025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27027 if (!SWIG_IsOK(res1
)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
27030 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27032 if (!SWIG_IsOK(ecode2
)) {
27033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
27035 arg2
= static_cast< int >(val2
);
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 (arg1
)->SetMedia(arg2
);
27039 wxPyEndAllowThreads(__tstate
);
27040 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= SWIG_Py_Void();
27049 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27050 PyObject
*resultobj
= 0;
27051 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27055 PyObject
*swig_obj
[1] ;
27057 if (!args
) SWIG_fail
;
27058 swig_obj
[0] = args
;
27059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27060 if (!SWIG_IsOK(res1
)) {
27061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
27063 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 result
= ((wxPrintData
const *)arg1
)->GetFilename();
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27083 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
= 0;
27085 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27086 wxString
*arg2
= 0 ;
27089 bool temp2
= false ;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 char * kwnames
[] = {
27093 (char *) "self",(char *) "filename", NULL
27096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27098 if (!SWIG_IsOK(res1
)) {
27099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
27101 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27103 arg2
= wxString_in_helper(obj1
);
27104 if (arg2
== NULL
) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 (arg1
)->SetFilename((wxString
const &)*arg2
);
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_Py_Void();
27128 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27129 PyObject
*resultobj
= 0;
27130 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27131 PyObject
*result
= 0 ;
27134 PyObject
*swig_obj
[1] ;
27136 if (!args
) SWIG_fail
;
27137 swig_obj
[0] = args
;
27138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27139 if (!SWIG_IsOK(res1
)) {
27140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27142 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= result
;
27156 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27157 PyObject
*resultobj
= 0;
27158 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27159 PyObject
*arg2
= (PyObject
*) 0 ;
27162 PyObject
* obj0
= 0 ;
27163 PyObject
* obj1
= 0 ;
27164 char * kwnames
[] = {
27165 (char *) "self",(char *) "data", NULL
27168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27170 if (!SWIG_IsOK(res1
)) {
27171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27173 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27177 wxPrintData_SetPrivData(arg1
,arg2
);
27178 wxPyEndAllowThreads(__tstate
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= SWIG_Py_Void();
27188 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27191 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
27192 return SWIG_Py_Void();
27195 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27196 return SWIG_Python_InitShadowInstance(args
);
27199 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
27200 PyObject
*resultobj
= 0;
27201 wxPageSetupDialogData
*result
= 0 ;
27203 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27217 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27218 PyObject
*resultobj
= 0;
27219 wxPageSetupDialogData
*arg1
= 0 ;
27220 wxPageSetupDialogData
*result
= 0 ;
27224 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
27226 if (!SWIG_IsOK(res1
)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27232 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27235 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27246 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27247 PyObject
*resultobj
= 0;
27248 wxPrintData
*arg1
= 0 ;
27249 wxPageSetupDialogData
*result
= 0 ;
27253 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27261 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27275 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
27279 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
27282 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
27287 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
27288 _v
= SWIG_CheckState(res
);
27290 if (!_v
) goto check_2
;
27291 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
27296 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
27300 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
27305 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27306 PyObject
*resultobj
= 0;
27307 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27310 PyObject
*swig_obj
[1] ;
27312 if (!args
) SWIG_fail
;
27313 swig_obj
[0] = args
;
27314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
27315 if (!SWIG_IsOK(res1
)) {
27316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27318 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= SWIG_Py_Void();
27333 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27334 PyObject
*resultobj
= 0;
27335 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27341 PyObject
* obj0
= 0 ;
27342 PyObject
* obj1
= 0 ;
27343 char * kwnames
[] = {
27344 (char *) "self",(char *) "flag", NULL
27347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27349 if (!SWIG_IsOK(res1
)) {
27350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27352 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27353 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27354 if (!SWIG_IsOK(ecode2
)) {
27355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27357 arg2
= static_cast< bool >(val2
);
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 (arg1
)->EnableHelp(arg2
);
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27364 resultobj
= SWIG_Py_Void();
27371 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27372 PyObject
*resultobj
= 0;
27373 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27379 PyObject
* obj0
= 0 ;
27380 PyObject
* obj1
= 0 ;
27381 char * kwnames
[] = {
27382 (char *) "self",(char *) "flag", NULL
27385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27387 if (!SWIG_IsOK(res1
)) {
27388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27390 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27391 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27392 if (!SWIG_IsOK(ecode2
)) {
27393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
27395 arg2
= static_cast< bool >(val2
);
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 (arg1
)->EnableMargins(arg2
);
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= SWIG_Py_Void();
27409 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
= 0;
27411 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27417 PyObject
* obj0
= 0 ;
27418 PyObject
* obj1
= 0 ;
27419 char * kwnames
[] = {
27420 (char *) "self",(char *) "flag", NULL
27423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27425 if (!SWIG_IsOK(res1
)) {
27426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27428 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27429 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27430 if (!SWIG_IsOK(ecode2
)) {
27431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
27433 arg2
= static_cast< bool >(val2
);
27435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27436 (arg1
)->EnableOrientation(arg2
);
27437 wxPyEndAllowThreads(__tstate
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= SWIG_Py_Void();
27447 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
= 0;
27449 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27455 PyObject
* obj0
= 0 ;
27456 PyObject
* obj1
= 0 ;
27457 char * kwnames
[] = {
27458 (char *) "self",(char *) "flag", NULL
27461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27463 if (!SWIG_IsOK(res1
)) {
27464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27466 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27467 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27468 if (!SWIG_IsOK(ecode2
)) {
27469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
27471 arg2
= static_cast< bool >(val2
);
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 (arg1
)->EnablePaper(arg2
);
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= SWIG_Py_Void();
27485 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
= 0;
27487 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 PyObject
* obj1
= 0 ;
27495 char * kwnames
[] = {
27496 (char *) "self",(char *) "flag", NULL
27499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27501 if (!SWIG_IsOK(res1
)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27504 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27505 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27506 if (!SWIG_IsOK(ecode2
)) {
27507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
27509 arg2
= static_cast< bool >(val2
);
27511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27512 (arg1
)->EnablePrinter(arg2
);
27513 wxPyEndAllowThreads(__tstate
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27516 resultobj
= SWIG_Py_Void();
27523 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27524 PyObject
*resultobj
= 0;
27525 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27529 PyObject
*swig_obj
[1] ;
27531 if (!args
) SWIG_fail
;
27532 swig_obj
[0] = args
;
27533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27534 if (!SWIG_IsOK(res1
)) {
27535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27537 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27540 result
= (bool)(arg1
)->GetDefaultMinMargins();
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27553 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27554 PyObject
*resultobj
= 0;
27555 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27559 PyObject
*swig_obj
[1] ;
27561 if (!args
) SWIG_fail
;
27562 swig_obj
[0] = args
;
27563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27564 if (!SWIG_IsOK(res1
)) {
27565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27567 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27570 result
= (bool)(arg1
)->GetEnableMargins();
27571 wxPyEndAllowThreads(__tstate
);
27572 if (PyErr_Occurred()) SWIG_fail
;
27575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27583 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27584 PyObject
*resultobj
= 0;
27585 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27589 PyObject
*swig_obj
[1] ;
27591 if (!args
) SWIG_fail
;
27592 swig_obj
[0] = args
;
27593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27594 if (!SWIG_IsOK(res1
)) {
27595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27597 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27600 result
= (bool)(arg1
)->GetEnableOrientation();
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27613 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27614 PyObject
*resultobj
= 0;
27615 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27619 PyObject
*swig_obj
[1] ;
27621 if (!args
) SWIG_fail
;
27622 swig_obj
[0] = args
;
27623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27624 if (!SWIG_IsOK(res1
)) {
27625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27627 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 result
= (bool)(arg1
)->GetEnablePaper();
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27643 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27644 PyObject
*resultobj
= 0;
27645 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27649 PyObject
*swig_obj
[1] ;
27651 if (!args
) SWIG_fail
;
27652 swig_obj
[0] = args
;
27653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27654 if (!SWIG_IsOK(res1
)) {
27655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27657 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 result
= (bool)(arg1
)->GetEnablePrinter();
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27673 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27674 PyObject
*resultobj
= 0;
27675 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27679 PyObject
*swig_obj
[1] ;
27681 if (!args
) SWIG_fail
;
27682 swig_obj
[0] = args
;
27683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27684 if (!SWIG_IsOK(res1
)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27687 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 result
= (bool)(arg1
)->GetEnableHelp();
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27703 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27704 PyObject
*resultobj
= 0;
27705 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27709 PyObject
*swig_obj
[1] ;
27711 if (!args
) SWIG_fail
;
27712 swig_obj
[0] = args
;
27713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27714 if (!SWIG_IsOK(res1
)) {
27715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27717 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27720 result
= (bool)(arg1
)->GetDefaultInfo();
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27733 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27734 PyObject
*resultobj
= 0;
27735 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27739 PyObject
*swig_obj
[1] ;
27741 if (!args
) SWIG_fail
;
27742 swig_obj
[0] = args
;
27743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27744 if (!SWIG_IsOK(res1
)) {
27745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27747 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 result
= (arg1
)->GetMarginTopLeft();
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27761 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27762 PyObject
*resultobj
= 0;
27763 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27767 PyObject
*swig_obj
[1] ;
27769 if (!args
) SWIG_fail
;
27770 swig_obj
[0] = args
;
27771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27772 if (!SWIG_IsOK(res1
)) {
27773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27775 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27778 result
= (arg1
)->GetMarginBottomRight();
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27782 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27789 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27790 PyObject
*resultobj
= 0;
27791 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27795 PyObject
*swig_obj
[1] ;
27797 if (!args
) SWIG_fail
;
27798 swig_obj
[0] = args
;
27799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27800 if (!SWIG_IsOK(res1
)) {
27801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27803 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 result
= (arg1
)->GetMinMarginTopLeft();
27807 wxPyEndAllowThreads(__tstate
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27817 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27818 PyObject
*resultobj
= 0;
27819 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27823 PyObject
*swig_obj
[1] ;
27825 if (!args
) SWIG_fail
;
27826 swig_obj
[0] = args
;
27827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27828 if (!SWIG_IsOK(res1
)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27831 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27834 result
= (arg1
)->GetMinMarginBottomRight();
27835 wxPyEndAllowThreads(__tstate
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27838 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27845 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27846 PyObject
*resultobj
= 0;
27847 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27848 wxPaperSize result
;
27851 PyObject
*swig_obj
[1] ;
27853 if (!args
) SWIG_fail
;
27854 swig_obj
[0] = args
;
27855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27856 if (!SWIG_IsOK(res1
)) {
27857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27859 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 result
= (wxPaperSize
)(arg1
)->GetPaperId();
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27866 resultobj
= SWIG_From_int(static_cast< int >(result
));
27873 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27874 PyObject
*resultobj
= 0;
27875 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27879 PyObject
*swig_obj
[1] ;
27881 if (!args
) SWIG_fail
;
27882 swig_obj
[0] = args
;
27883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27884 if (!SWIG_IsOK(res1
)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27887 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 result
= (arg1
)->GetPaperSize();
27891 wxPyEndAllowThreads(__tstate
);
27892 if (PyErr_Occurred()) SWIG_fail
;
27894 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
27901 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27902 PyObject
*resultobj
= 0;
27903 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27904 wxPrintData
*result
= 0 ;
27907 PyObject
*swig_obj
[1] ;
27909 if (!args
) SWIG_fail
;
27910 swig_obj
[0] = args
;
27911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27912 if (!SWIG_IsOK(res1
)) {
27913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27915 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27920 result
= (wxPrintData
*) &_result_ref
;
27922 wxPyEndAllowThreads(__tstate
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27932 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27933 PyObject
*resultobj
= 0;
27934 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27938 PyObject
*swig_obj
[1] ;
27940 if (!args
) SWIG_fail
;
27941 swig_obj
[0] = args
;
27942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27943 if (!SWIG_IsOK(res1
)) {
27944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27946 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27949 result
= (bool)(arg1
)->IsOk();
27950 wxPyEndAllowThreads(__tstate
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27962 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27963 PyObject
*resultobj
= 0;
27964 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27970 PyObject
* obj0
= 0 ;
27971 PyObject
* obj1
= 0 ;
27972 char * kwnames
[] = {
27973 (char *) "self",(char *) "flag", NULL
27976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27978 if (!SWIG_IsOK(res1
)) {
27979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27981 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27982 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27983 if (!SWIG_IsOK(ecode2
)) {
27984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
27986 arg2
= static_cast< bool >(val2
);
27988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27989 (arg1
)->SetDefaultInfo(arg2
);
27990 wxPyEndAllowThreads(__tstate
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27993 resultobj
= SWIG_Py_Void();
28000 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28001 PyObject
*resultobj
= 0;
28002 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28008 PyObject
* obj0
= 0 ;
28009 PyObject
* obj1
= 0 ;
28010 char * kwnames
[] = {
28011 (char *) "self",(char *) "flag", NULL
28014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28016 if (!SWIG_IsOK(res1
)) {
28017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28019 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28020 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28021 if (!SWIG_IsOK(ecode2
)) {
28022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
28024 arg2
= static_cast< bool >(val2
);
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 (arg1
)->SetDefaultMinMargins(arg2
);
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= SWIG_Py_Void();
28038 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
= 0;
28040 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28041 wxPoint
*arg2
= 0 ;
28045 PyObject
* obj0
= 0 ;
28046 PyObject
* obj1
= 0 ;
28047 char * kwnames
[] = {
28048 (char *) "self",(char *) "pt", NULL
28051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28053 if (!SWIG_IsOK(res1
)) {
28054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28056 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28059 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
28064 wxPyEndAllowThreads(__tstate
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28067 resultobj
= SWIG_Py_Void();
28074 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
= 0;
28076 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28077 wxPoint
*arg2
= 0 ;
28081 PyObject
* obj0
= 0 ;
28082 PyObject
* obj1
= 0 ;
28083 char * kwnames
[] = {
28084 (char *) "self",(char *) "pt", NULL
28087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28089 if (!SWIG_IsOK(res1
)) {
28090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28092 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28099 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
28100 wxPyEndAllowThreads(__tstate
);
28101 if (PyErr_Occurred()) SWIG_fail
;
28103 resultobj
= SWIG_Py_Void();
28110 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28111 PyObject
*resultobj
= 0;
28112 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28113 wxPoint
*arg2
= 0 ;
28117 PyObject
* obj0
= 0 ;
28118 PyObject
* obj1
= 0 ;
28119 char * kwnames
[] = {
28120 (char *) "self",(char *) "pt", NULL
28123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28125 if (!SWIG_IsOK(res1
)) {
28126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28128 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28131 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28135 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= SWIG_Py_Void();
28146 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28147 PyObject
*resultobj
= 0;
28148 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28149 wxPoint
*arg2
= 0 ;
28153 PyObject
* obj0
= 0 ;
28154 PyObject
* obj1
= 0 ;
28155 char * kwnames
[] = {
28156 (char *) "self",(char *) "pt", NULL
28159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28161 if (!SWIG_IsOK(res1
)) {
28162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28164 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
28172 wxPyEndAllowThreads(__tstate
);
28173 if (PyErr_Occurred()) SWIG_fail
;
28175 resultobj
= SWIG_Py_Void();
28182 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28183 PyObject
*resultobj
= 0;
28184 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28190 PyObject
* obj0
= 0 ;
28191 PyObject
* obj1
= 0 ;
28192 char * kwnames
[] = {
28193 (char *) "self",(char *) "id", NULL
28196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28198 if (!SWIG_IsOK(res1
)) {
28199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28201 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28203 if (!SWIG_IsOK(ecode2
)) {
28204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
28206 arg2
= static_cast< wxPaperSize
>(val2
);
28208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28209 (arg1
)->SetPaperId(arg2
);
28210 wxPyEndAllowThreads(__tstate
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28213 resultobj
= SWIG_Py_Void();
28220 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28221 PyObject
*resultobj
= 0;
28222 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28227 PyObject
* obj0
= 0 ;
28228 PyObject
* obj1
= 0 ;
28229 char * kwnames
[] = {
28230 (char *) "self",(char *) "size", NULL
28233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28235 if (!SWIG_IsOK(res1
)) {
28236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28238 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28241 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28245 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28249 resultobj
= SWIG_Py_Void();
28256 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
= 0;
28258 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28259 wxPrintData
*arg2
= 0 ;
28264 PyObject
* obj0
= 0 ;
28265 PyObject
* obj1
= 0 ;
28266 char * kwnames
[] = {
28267 (char *) "self",(char *) "printData", NULL
28270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28272 if (!SWIG_IsOK(res1
)) {
28273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28275 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
28277 if (!SWIG_IsOK(res2
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28283 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
28287 wxPyEndAllowThreads(__tstate
);
28288 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= SWIG_Py_Void();
28297 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28298 PyObject
*resultobj
= 0;
28299 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28302 PyObject
*swig_obj
[1] ;
28304 if (!args
) SWIG_fail
;
28305 swig_obj
[0] = args
;
28306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28307 if (!SWIG_IsOK(res1
)) {
28308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28310 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 (arg1
)->CalculateIdFromPaperSize();
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= SWIG_Py_Void();
28324 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28325 PyObject
*resultobj
= 0;
28326 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28329 PyObject
*swig_obj
[1] ;
28331 if (!args
) SWIG_fail
;
28332 swig_obj
[0] = args
;
28333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28334 if (!SWIG_IsOK(res1
)) {
28335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28337 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 (arg1
)->CalculatePaperSizeFromId();
28341 wxPyEndAllowThreads(__tstate
);
28342 if (PyErr_Occurred()) SWIG_fail
;
28344 resultobj
= SWIG_Py_Void();
28351 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28354 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
28355 return SWIG_Py_Void();
28358 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28359 return SWIG_Python_InitShadowInstance(args
);
28362 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
= 0;
28364 wxWindow
*arg1
= (wxWindow
*) 0 ;
28365 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
28366 wxPageSetupDialog
*result
= 0 ;
28371 PyObject
* obj0
= 0 ;
28372 PyObject
* obj1
= 0 ;
28373 char * kwnames
[] = {
28374 (char *) "parent",(char *) "data", NULL
28377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28379 if (!SWIG_IsOK(res1
)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
28382 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28385 if (!SWIG_IsOK(res2
)) {
28386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
28388 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28391 if (!wxPyCheckForApp()) SWIG_fail
;
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28393 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
28394 wxPyEndAllowThreads(__tstate
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
28404 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28405 PyObject
*resultobj
= 0;
28406 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28409 PyObject
*swig_obj
[1] ;
28411 if (!args
) SWIG_fail
;
28412 swig_obj
[0] = args
;
28413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
28414 if (!SWIG_IsOK(res1
)) {
28415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28417 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28422 wxPyEndAllowThreads(__tstate
);
28423 if (PyErr_Occurred()) SWIG_fail
;
28425 resultobj
= SWIG_Py_Void();
28432 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28433 PyObject
*resultobj
= 0;
28434 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28435 wxPageSetupDialogData
*result
= 0 ;
28438 PyObject
*swig_obj
[1] ;
28440 if (!args
) SWIG_fail
;
28441 swig_obj
[0] = args
;
28442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28443 if (!SWIG_IsOK(res1
)) {
28444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28446 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28450 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
28451 result
= (wxPageSetupDialogData
*) &_result_ref
;
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28463 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28464 PyObject
*resultobj
= 0;
28465 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28466 wxPageSetupDialogData
*result
= 0 ;
28469 PyObject
*swig_obj
[1] ;
28471 if (!args
) SWIG_fail
;
28472 swig_obj
[0] = args
;
28473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28474 if (!SWIG_IsOK(res1
)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28477 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
28482 result
= (wxPageSetupDialogData
*) &_result_ref
;
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28494 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28495 PyObject
*resultobj
= 0;
28496 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28500 PyObject
*swig_obj
[1] ;
28502 if (!args
) SWIG_fail
;
28503 swig_obj
[0] = args
;
28504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28505 if (!SWIG_IsOK(res1
)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28508 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 result
= (int)(arg1
)->ShowModal();
28512 wxPyEndAllowThreads(__tstate
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28515 resultobj
= SWIG_From_int(static_cast< int >(result
));
28522 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28525 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
28526 return SWIG_Py_Void();
28529 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28530 return SWIG_Python_InitShadowInstance(args
);
28533 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
28534 PyObject
*resultobj
= 0;
28535 wxPrintDialogData
*result
= 0 ;
28537 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
28539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28540 result
= (wxPrintDialogData
*)new wxPrintDialogData();
28541 wxPyEndAllowThreads(__tstate
);
28542 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28551 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28552 PyObject
*resultobj
= 0;
28553 wxPrintData
*arg1
= 0 ;
28554 wxPrintDialogData
*result
= 0 ;
28558 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
28560 if (!SWIG_IsOK(res1
)) {
28561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28566 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
28568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28569 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28580 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28581 PyObject
*resultobj
= 0;
28582 wxPrintDialogData
*arg1
= 0 ;
28583 wxPrintDialogData
*result
= 0 ;
28587 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
28589 if (!SWIG_IsOK(res1
)) {
28590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28595 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28609 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
28613 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
28616 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
28621 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
28622 _v
= SWIG_CheckState(res
);
28624 if (!_v
) goto check_2
;
28625 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
28630 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
28634 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
28639 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28640 PyObject
*resultobj
= 0;
28641 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28644 PyObject
*swig_obj
[1] ;
28646 if (!args
) SWIG_fail
;
28647 swig_obj
[0] = args
;
28648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
28649 if (!SWIG_IsOK(res1
)) {
28650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28652 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28660 resultobj
= SWIG_Py_Void();
28667 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28668 PyObject
*resultobj
= 0;
28669 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28673 PyObject
*swig_obj
[1] ;
28675 if (!args
) SWIG_fail
;
28676 swig_obj
[0] = args
;
28677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28678 if (!SWIG_IsOK(res1
)) {
28679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28681 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28688 resultobj
= SWIG_From_int(static_cast< int >(result
));
28695 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28696 PyObject
*resultobj
= 0;
28697 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28701 PyObject
*swig_obj
[1] ;
28703 if (!args
) SWIG_fail
;
28704 swig_obj
[0] = args
;
28705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28706 if (!SWIG_IsOK(res1
)) {
28707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28709 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28712 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
28713 wxPyEndAllowThreads(__tstate
);
28714 if (PyErr_Occurred()) SWIG_fail
;
28716 resultobj
= SWIG_From_int(static_cast< int >(result
));
28723 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28724 PyObject
*resultobj
= 0;
28725 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28729 PyObject
*swig_obj
[1] ;
28731 if (!args
) SWIG_fail
;
28732 swig_obj
[0] = args
;
28733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28734 if (!SWIG_IsOK(res1
)) {
28735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28737 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28740 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
28741 wxPyEndAllowThreads(__tstate
);
28742 if (PyErr_Occurred()) SWIG_fail
;
28744 resultobj
= SWIG_From_int(static_cast< int >(result
));
28751 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28752 PyObject
*resultobj
= 0;
28753 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28757 PyObject
*swig_obj
[1] ;
28759 if (!args
) SWIG_fail
;
28760 swig_obj
[0] = args
;
28761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28762 if (!SWIG_IsOK(res1
)) {
28763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28765 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28768 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
28769 wxPyEndAllowThreads(__tstate
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28772 resultobj
= SWIG_From_int(static_cast< int >(result
));
28779 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28780 PyObject
*resultobj
= 0;
28781 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28785 PyObject
*swig_obj
[1] ;
28787 if (!args
) SWIG_fail
;
28788 swig_obj
[0] = args
;
28789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28790 if (!SWIG_IsOK(res1
)) {
28791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28793 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28796 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= SWIG_From_int(static_cast< int >(result
));
28807 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28808 PyObject
*resultobj
= 0;
28809 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28813 PyObject
*swig_obj
[1] ;
28815 if (!args
) SWIG_fail
;
28816 swig_obj
[0] = args
;
28817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28818 if (!SWIG_IsOK(res1
)) {
28819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28821 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28824 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
28825 wxPyEndAllowThreads(__tstate
);
28826 if (PyErr_Occurred()) SWIG_fail
;
28829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28837 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28838 PyObject
*resultobj
= 0;
28839 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28843 PyObject
*swig_obj
[1] ;
28845 if (!args
) SWIG_fail
;
28846 swig_obj
[0] = args
;
28847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28848 if (!SWIG_IsOK(res1
)) {
28849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28851 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
28855 wxPyEndAllowThreads(__tstate
);
28856 if (PyErr_Occurred()) SWIG_fail
;
28859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28867 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28868 PyObject
*resultobj
= 0;
28869 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28873 PyObject
*swig_obj
[1] ;
28875 if (!args
) SWIG_fail
;
28876 swig_obj
[0] = args
;
28877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28878 if (!SWIG_IsOK(res1
)) {
28879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28881 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28884 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
28885 wxPyEndAllowThreads(__tstate
);
28886 if (PyErr_Occurred()) SWIG_fail
;
28889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28897 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28898 PyObject
*resultobj
= 0;
28899 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28903 PyObject
*swig_obj
[1] ;
28905 if (!args
) SWIG_fail
;
28906 swig_obj
[0] = args
;
28907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28908 if (!SWIG_IsOK(res1
)) {
28909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28911 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
28915 wxPyEndAllowThreads(__tstate
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28927 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28928 PyObject
*resultobj
= 0;
28929 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28935 PyObject
* obj0
= 0 ;
28936 PyObject
* obj1
= 0 ;
28937 char * kwnames
[] = {
28938 (char *) "self",(char *) "v", NULL
28941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28943 if (!SWIG_IsOK(res1
)) {
28944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28946 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28948 if (!SWIG_IsOK(ecode2
)) {
28949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
28951 arg2
= static_cast< int >(val2
);
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 (arg1
)->SetFromPage(arg2
);
28955 wxPyEndAllowThreads(__tstate
);
28956 if (PyErr_Occurred()) SWIG_fail
;
28958 resultobj
= SWIG_Py_Void();
28965 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28966 PyObject
*resultobj
= 0;
28967 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28973 PyObject
* obj0
= 0 ;
28974 PyObject
* obj1
= 0 ;
28975 char * kwnames
[] = {
28976 (char *) "self",(char *) "v", NULL
28979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28981 if (!SWIG_IsOK(res1
)) {
28982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28984 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28986 if (!SWIG_IsOK(ecode2
)) {
28987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
28989 arg2
= static_cast< int >(val2
);
28991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 (arg1
)->SetToPage(arg2
);
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28996 resultobj
= SWIG_Py_Void();
29003 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29004 PyObject
*resultobj
= 0;
29005 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 char * kwnames
[] = {
29014 (char *) "self",(char *) "v", NULL
29017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29019 if (!SWIG_IsOK(res1
)) {
29020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29022 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29024 if (!SWIG_IsOK(ecode2
)) {
29025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
29027 arg2
= static_cast< int >(val2
);
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 (arg1
)->SetMinPage(arg2
);
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 resultobj
= SWIG_Py_Void();
29041 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
= 0;
29043 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29049 PyObject
* obj0
= 0 ;
29050 PyObject
* obj1
= 0 ;
29051 char * kwnames
[] = {
29052 (char *) "self",(char *) "v", NULL
29055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29057 if (!SWIG_IsOK(res1
)) {
29058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29060 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29062 if (!SWIG_IsOK(ecode2
)) {
29063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
29065 arg2
= static_cast< int >(val2
);
29067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29068 (arg1
)->SetMaxPage(arg2
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= SWIG_Py_Void();
29079 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
= 0;
29081 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 char * kwnames
[] = {
29090 (char *) "self",(char *) "v", NULL
29093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29095 if (!SWIG_IsOK(res1
)) {
29096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29098 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29100 if (!SWIG_IsOK(ecode2
)) {
29101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
29103 arg2
= static_cast< int >(val2
);
29105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29106 (arg1
)->SetNoCopies(arg2
);
29107 wxPyEndAllowThreads(__tstate
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29110 resultobj
= SWIG_Py_Void();
29117 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29118 PyObject
*resultobj
= 0;
29119 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29125 PyObject
* obj0
= 0 ;
29126 PyObject
* obj1
= 0 ;
29127 char * kwnames
[] = {
29128 (char *) "self",(char *) "flag", NULL
29131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29133 if (!SWIG_IsOK(res1
)) {
29134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29136 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29137 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29138 if (!SWIG_IsOK(ecode2
)) {
29139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
29141 arg2
= static_cast< bool >(val2
);
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 (arg1
)->SetAllPages(arg2
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= SWIG_Py_Void();
29155 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
= 0;
29157 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29163 PyObject
* obj0
= 0 ;
29164 PyObject
* obj1
= 0 ;
29165 char * kwnames
[] = {
29166 (char *) "self",(char *) "flag", NULL
29169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29171 if (!SWIG_IsOK(res1
)) {
29172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29174 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29175 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29176 if (!SWIG_IsOK(ecode2
)) {
29177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
29179 arg2
= static_cast< bool >(val2
);
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 (arg1
)->SetSelection(arg2
);
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29186 resultobj
= SWIG_Py_Void();
29193 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
= 0;
29195 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29201 PyObject
* obj0
= 0 ;
29202 PyObject
* obj1
= 0 ;
29203 char * kwnames
[] = {
29204 (char *) "self",(char *) "flag", NULL
29207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29209 if (!SWIG_IsOK(res1
)) {
29210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29212 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29213 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29214 if (!SWIG_IsOK(ecode2
)) {
29215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
29217 arg2
= static_cast< bool >(val2
);
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 (arg1
)->SetCollate(arg2
);
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= SWIG_Py_Void();
29231 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
= 0;
29233 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29239 PyObject
* obj0
= 0 ;
29240 PyObject
* obj1
= 0 ;
29241 char * kwnames
[] = {
29242 (char *) "self",(char *) "flag", NULL
29245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29247 if (!SWIG_IsOK(res1
)) {
29248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29250 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29251 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29252 if (!SWIG_IsOK(ecode2
)) {
29253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
29255 arg2
= static_cast< bool >(val2
);
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 (arg1
)->SetPrintToFile(arg2
);
29259 wxPyEndAllowThreads(__tstate
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= SWIG_Py_Void();
29269 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
= 0;
29271 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29277 PyObject
* obj0
= 0 ;
29278 PyObject
* obj1
= 0 ;
29279 char * kwnames
[] = {
29280 (char *) "self",(char *) "flag", NULL
29283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29285 if (!SWIG_IsOK(res1
)) {
29286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29288 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29289 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29290 if (!SWIG_IsOK(ecode2
)) {
29291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
29293 arg2
= static_cast< bool >(val2
);
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 (arg1
)->EnablePrintToFile(arg2
);
29297 wxPyEndAllowThreads(__tstate
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= SWIG_Py_Void();
29307 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
= 0;
29309 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29315 PyObject
* obj0
= 0 ;
29316 PyObject
* obj1
= 0 ;
29317 char * kwnames
[] = {
29318 (char *) "self",(char *) "flag", NULL
29321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29323 if (!SWIG_IsOK(res1
)) {
29324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29326 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29327 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29328 if (!SWIG_IsOK(ecode2
)) {
29329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
29331 arg2
= static_cast< bool >(val2
);
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 (arg1
)->EnableSelection(arg2
);
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= SWIG_Py_Void();
29345 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29346 PyObject
*resultobj
= 0;
29347 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29353 PyObject
* obj0
= 0 ;
29354 PyObject
* obj1
= 0 ;
29355 char * kwnames
[] = {
29356 (char *) "self",(char *) "flag", NULL
29359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29361 if (!SWIG_IsOK(res1
)) {
29362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29364 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29365 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29366 if (!SWIG_IsOK(ecode2
)) {
29367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
29369 arg2
= static_cast< bool >(val2
);
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 (arg1
)->EnablePageNumbers(arg2
);
29373 wxPyEndAllowThreads(__tstate
);
29374 if (PyErr_Occurred()) SWIG_fail
;
29376 resultobj
= SWIG_Py_Void();
29383 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29384 PyObject
*resultobj
= 0;
29385 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29391 PyObject
* obj0
= 0 ;
29392 PyObject
* obj1
= 0 ;
29393 char * kwnames
[] = {
29394 (char *) "self",(char *) "flag", NULL
29397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29399 if (!SWIG_IsOK(res1
)) {
29400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29402 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29403 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29404 if (!SWIG_IsOK(ecode2
)) {
29405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
29407 arg2
= static_cast< bool >(val2
);
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 (arg1
)->EnableHelp(arg2
);
29411 wxPyEndAllowThreads(__tstate
);
29412 if (PyErr_Occurred()) SWIG_fail
;
29414 resultobj
= SWIG_Py_Void();
29421 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29422 PyObject
*resultobj
= 0;
29423 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29427 PyObject
*swig_obj
[1] ;
29429 if (!args
) SWIG_fail
;
29430 swig_obj
[0] = args
;
29431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29432 if (!SWIG_IsOK(res1
)) {
29433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29435 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29438 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29451 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29452 PyObject
*resultobj
= 0;
29453 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29457 PyObject
*swig_obj
[1] ;
29459 if (!args
) SWIG_fail
;
29460 swig_obj
[0] = args
;
29461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29462 if (!SWIG_IsOK(res1
)) {
29463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29465 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
29469 wxPyEndAllowThreads(__tstate
);
29470 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29481 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29482 PyObject
*resultobj
= 0;
29483 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29487 PyObject
*swig_obj
[1] ;
29489 if (!args
) SWIG_fail
;
29490 swig_obj
[0] = args
;
29491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29492 if (!SWIG_IsOK(res1
)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29495 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
29499 wxPyEndAllowThreads(__tstate
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29511 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29512 PyObject
*resultobj
= 0;
29513 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29517 PyObject
*swig_obj
[1] ;
29519 if (!args
) SWIG_fail
;
29520 swig_obj
[0] = args
;
29521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29522 if (!SWIG_IsOK(res1
)) {
29523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29525 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29528 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
29529 wxPyEndAllowThreads(__tstate
);
29530 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29541 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29542 PyObject
*resultobj
= 0;
29543 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29547 PyObject
*swig_obj
[1] ;
29549 if (!args
) SWIG_fail
;
29550 swig_obj
[0] = args
;
29551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29552 if (!SWIG_IsOK(res1
)) {
29553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29555 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29558 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
29559 wxPyEndAllowThreads(__tstate
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29571 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29572 PyObject
*resultobj
= 0;
29573 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29574 wxPrintData
*result
= 0 ;
29577 PyObject
*swig_obj
[1] ;
29579 if (!args
) SWIG_fail
;
29580 swig_obj
[0] = args
;
29581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29582 if (!SWIG_IsOK(res1
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29585 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29589 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
29590 result
= (wxPrintData
*) &_result_ref
;
29592 wxPyEndAllowThreads(__tstate
);
29593 if (PyErr_Occurred()) SWIG_fail
;
29595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
29602 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29603 PyObject
*resultobj
= 0;
29604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29605 wxPrintData
*arg2
= 0 ;
29610 PyObject
* obj0
= 0 ;
29611 PyObject
* obj1
= 0 ;
29612 char * kwnames
[] = {
29613 (char *) "self",(char *) "printData", NULL
29616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29618 if (!SWIG_IsOK(res1
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29621 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
29623 if (!SWIG_IsOK(res2
)) {
29624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29629 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
29631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
29633 wxPyEndAllowThreads(__tstate
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 resultobj
= SWIG_Py_Void();
29643 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29646 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
29647 return SWIG_Py_Void();
29650 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29651 return SWIG_Python_InitShadowInstance(args
);
29654 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29655 PyObject
*resultobj
= 0;
29656 wxWindow
*arg1
= (wxWindow
*) 0 ;
29657 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
29658 wxPrintDialog
*result
= 0 ;
29663 PyObject
* obj0
= 0 ;
29664 PyObject
* obj1
= 0 ;
29665 char * kwnames
[] = {
29666 (char *) "parent",(char *) "data", NULL
29669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29671 if (!SWIG_IsOK(res1
)) {
29672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
29674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29677 if (!SWIG_IsOK(res2
)) {
29678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
29680 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
29683 if (!wxPyCheckForApp()) SWIG_fail
;
29684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
29686 wxPyEndAllowThreads(__tstate
);
29687 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
29696 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29697 PyObject
*resultobj
= 0;
29698 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29701 PyObject
*swig_obj
[1] ;
29703 if (!args
) SWIG_fail
;
29704 swig_obj
[0] = args
;
29705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
29706 if (!SWIG_IsOK(res1
)) {
29707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29709 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29717 resultobj
= SWIG_Py_Void();
29724 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29725 PyObject
*resultobj
= 0;
29726 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29730 PyObject
*swig_obj
[1] ;
29732 if (!args
) SWIG_fail
;
29733 swig_obj
[0] = args
;
29734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29735 if (!SWIG_IsOK(res1
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29738 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 result
= (int)(arg1
)->ShowModal();
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= SWIG_From_int(static_cast< int >(result
));
29752 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29753 PyObject
*resultobj
= 0;
29754 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29755 wxPrintDialogData
*result
= 0 ;
29758 PyObject
*swig_obj
[1] ;
29760 if (!args
) SWIG_fail
;
29761 swig_obj
[0] = args
;
29762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29763 if (!SWIG_IsOK(res1
)) {
29764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29766 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29771 result
= (wxPrintDialogData
*) &_result_ref
;
29773 wxPyEndAllowThreads(__tstate
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29783 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29784 PyObject
*resultobj
= 0;
29785 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29786 wxPrintData
*result
= 0 ;
29789 PyObject
*swig_obj
[1] ;
29791 if (!args
) SWIG_fail
;
29792 swig_obj
[0] = args
;
29793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29794 if (!SWIG_IsOK(res1
)) {
29795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29797 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29801 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
29802 result
= (wxPrintData
*) &_result_ref
;
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
29814 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29815 PyObject
*resultobj
= 0;
29816 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29820 PyObject
*swig_obj
[1] ;
29822 if (!args
) SWIG_fail
;
29823 swig_obj
[0] = args
;
29824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29825 if (!SWIG_IsOK(res1
)) {
29826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29828 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29831 result
= (wxDC
*)(arg1
)->GetPrintDC();
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29836 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
29844 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29847 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
29848 return SWIG_Py_Void();
29851 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29852 return SWIG_Python_InitShadowInstance(args
);
29855 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29856 PyObject
*resultobj
= 0;
29857 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
29858 wxPrinter
*result
= 0 ;
29861 PyObject
* obj0
= 0 ;
29862 char * kwnames
[] = {
29863 (char *) "data", NULL
29866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
29868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29869 if (!SWIG_IsOK(res1
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29872 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29875 if (!wxPyCheckForApp()) SWIG_fail
;
29876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29877 result
= (wxPrinter
*)new wxPrinter(arg1
);
29878 wxPyEndAllowThreads(__tstate
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
29888 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29889 PyObject
*resultobj
= 0;
29890 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29893 PyObject
*swig_obj
[1] ;
29895 if (!args
) SWIG_fail
;
29896 swig_obj
[0] = args
;
29897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
29898 if (!SWIG_IsOK(res1
)) {
29899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
29901 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 resultobj
= SWIG_Py_Void();
29916 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29917 PyObject
*resultobj
= 0;
29918 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29919 wxWindow
*arg2
= (wxWindow
*) 0 ;
29920 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
29921 wxWindow
*result
= 0 ;
29928 PyObject
* obj0
= 0 ;
29929 PyObject
* obj1
= 0 ;
29930 PyObject
* obj2
= 0 ;
29931 char * kwnames
[] = {
29932 (char *) "self",(char *) "parent",(char *) "printout", NULL
29935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29937 if (!SWIG_IsOK(res1
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
29940 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29941 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29942 if (!SWIG_IsOK(res2
)) {
29943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
29945 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29946 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29947 if (!SWIG_IsOK(res3
)) {
29948 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29950 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
29954 wxPyEndAllowThreads(__tstate
);
29955 if (PyErr_Occurred()) SWIG_fail
;
29958 resultobj
= wxPyMake_wxObject(result
, 0);
29966 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29967 PyObject
*resultobj
= 0;
29968 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29969 wxWindow
*arg2
= (wxWindow
*) 0 ;
29970 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
29971 wxString
*arg4
= 0 ;
29978 bool temp4
= false ;
29979 PyObject
* obj0
= 0 ;
29980 PyObject
* obj1
= 0 ;
29981 PyObject
* obj2
= 0 ;
29982 PyObject
* obj3
= 0 ;
29983 char * kwnames
[] = {
29984 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
29987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29989 if (!SWIG_IsOK(res1
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
29992 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29994 if (!SWIG_IsOK(res2
)) {
29995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
29997 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29998 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29999 if (!SWIG_IsOK(res3
)) {
30000 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
30002 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
30004 arg4
= wxString_in_helper(obj3
);
30005 if (arg4
== NULL
) SWIG_fail
;
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
30011 wxPyEndAllowThreads(__tstate
);
30012 if (PyErr_Occurred()) SWIG_fail
;
30014 resultobj
= SWIG_Py_Void();
30029 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30030 PyObject
*resultobj
= 0;
30031 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30032 wxWindow
*arg2
= (wxWindow
*) 0 ;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 char * kwnames
[] = {
30041 (char *) "self",(char *) "parent", NULL
30044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30046 if (!SWIG_IsOK(res1
)) {
30047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
30049 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30050 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30051 if (!SWIG_IsOK(res2
)) {
30052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
30054 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30057 result
= (bool)(arg1
)->Setup(arg2
);
30058 wxPyEndAllowThreads(__tstate
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30070 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30071 PyObject
*resultobj
= 0;
30072 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30073 wxWindow
*arg2
= (wxWindow
*) 0 ;
30074 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
30075 bool arg4
= (bool) true ;
30085 PyObject
* obj0
= 0 ;
30086 PyObject
* obj1
= 0 ;
30087 PyObject
* obj2
= 0 ;
30088 PyObject
* obj3
= 0 ;
30089 char * kwnames
[] = {
30090 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
30093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30095 if (!SWIG_IsOK(res1
)) {
30096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
30098 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30099 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30100 if (!SWIG_IsOK(res2
)) {
30101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
30103 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30104 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30105 if (!SWIG_IsOK(res3
)) {
30106 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
30108 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
30110 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30111 if (!SWIG_IsOK(ecode4
)) {
30112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
30114 arg4
= static_cast< bool >(val4
);
30117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30118 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30131 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
= 0;
30133 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30134 wxWindow
*arg2
= (wxWindow
*) 0 ;
30140 PyObject
* obj0
= 0 ;
30141 PyObject
* obj1
= 0 ;
30142 char * kwnames
[] = {
30143 (char *) "self",(char *) "parent", NULL
30146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30148 if (!SWIG_IsOK(res1
)) {
30149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
30151 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30153 if (!SWIG_IsOK(res2
)) {
30154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
30156 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30159 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
30160 wxPyEndAllowThreads(__tstate
);
30161 if (PyErr_Occurred()) SWIG_fail
;
30164 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30172 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30173 PyObject
*resultobj
= 0;
30174 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30175 wxPrintDialogData
*result
= 0 ;
30178 PyObject
*swig_obj
[1] ;
30180 if (!args
) SWIG_fail
;
30181 swig_obj
[0] = args
;
30182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30183 if (!SWIG_IsOK(res1
)) {
30184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
30186 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30190 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
30191 result
= (wxPrintDialogData
*) &_result_ref
;
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30203 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30204 PyObject
*resultobj
= 0;
30205 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30209 PyObject
*swig_obj
[1] ;
30211 if (!args
) SWIG_fail
;
30212 swig_obj
[0] = args
;
30213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30214 if (!SWIG_IsOK(res1
)) {
30215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
30217 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 result
= (bool)(arg1
)->GetAbort();
30221 wxPyEndAllowThreads(__tstate
);
30222 if (PyErr_Occurred()) SWIG_fail
;
30225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30233 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30234 PyObject
*resultobj
= 0;
30235 wxPrinterError result
;
30237 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 result
= (wxPrinterError
)wxPrinter::GetLastError();
30241 wxPyEndAllowThreads(__tstate
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= SWIG_From_int(static_cast< int >(result
));
30251 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30254 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
30255 return SWIG_Py_Void();
30258 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30259 return SWIG_Python_InitShadowInstance(args
);
30262 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30263 PyObject
*resultobj
= 0;
30264 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
30265 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
30266 wxPyPrintout
*result
= 0 ;
30267 bool temp1
= false ;
30268 PyObject
* obj0
= 0 ;
30269 char * kwnames
[] = {
30270 (char *) "title", NULL
30273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
30276 arg1
= wxString_in_helper(obj0
);
30277 if (arg1
== NULL
) SWIG_fail
;
30282 if (!wxPyCheckForApp()) SWIG_fail
;
30283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30284 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
30285 wxPyEndAllowThreads(__tstate
);
30286 if (PyErr_Occurred()) SWIG_fail
;
30288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
30303 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30304 PyObject
*resultobj
= 0;
30305 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30308 PyObject
*swig_obj
[1] ;
30310 if (!args
) SWIG_fail
;
30311 swig_obj
[0] = args
;
30312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30313 if (!SWIG_IsOK(res1
)) {
30314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30316 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30321 wxPyEndAllowThreads(__tstate
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30324 resultobj
= SWIG_Py_Void();
30331 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30332 PyObject
*resultobj
= 0;
30333 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30334 PyObject
*arg2
= (PyObject
*) 0 ;
30335 PyObject
*arg3
= (PyObject
*) 0 ;
30338 PyObject
* obj0
= 0 ;
30339 PyObject
* obj1
= 0 ;
30340 PyObject
* obj2
= 0 ;
30341 char * kwnames
[] = {
30342 (char *) "self",(char *) "self",(char *) "_class", NULL
30345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30347 if (!SWIG_IsOK(res1
)) {
30348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30350 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30359 resultobj
= SWIG_Py_Void();
30366 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30367 PyObject
*resultobj
= 0;
30368 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30372 PyObject
*swig_obj
[1] ;
30374 if (!args
) SWIG_fail
;
30375 swig_obj
[0] = args
;
30376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30377 if (!SWIG_IsOK(res1
)) {
30378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30380 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30383 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30400 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30401 PyObject
*resultobj
= 0;
30402 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30406 PyObject
*swig_obj
[1] ;
30408 if (!args
) SWIG_fail
;
30409 swig_obj
[0] = args
;
30410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30411 if (!SWIG_IsOK(res1
)) {
30412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30414 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30417 result
= (wxDC
*)(arg1
)->GetDC();
30418 wxPyEndAllowThreads(__tstate
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30422 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30430 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
= 0;
30432 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30433 wxDC
*arg2
= (wxDC
*) 0 ;
30438 PyObject
* obj0
= 0 ;
30439 PyObject
* obj1
= 0 ;
30440 char * kwnames
[] = {
30441 (char *) "self",(char *) "dc", NULL
30444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30446 if (!SWIG_IsOK(res1
)) {
30447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30449 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
30451 if (!SWIG_IsOK(res2
)) {
30452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
30454 arg2
= reinterpret_cast< wxDC
* >(argp2
);
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 (arg1
)->SetDC(arg2
);
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 resultobj
= SWIG_Py_Void();
30468 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30469 PyObject
*resultobj
= 0;
30470 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30475 PyObject
* obj0
= 0 ;
30476 PyObject
* obj1
= 0 ;
30477 char * kwnames
[] = {
30478 (char *) "self",(char *) "imageSize", NULL
30481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30483 if (!SWIG_IsOK(res1
)) {
30484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30486 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30489 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30493 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
30494 wxPyEndAllowThreads(__tstate
);
30495 if (PyErr_Occurred()) SWIG_fail
;
30497 resultobj
= SWIG_Py_Void();
30504 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
= 0;
30506 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30511 PyObject
* obj0
= 0 ;
30512 PyObject
* obj1
= 0 ;
30513 char * kwnames
[] = {
30514 (char *) "self",(char *) "imageSize", NULL
30517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30519 if (!SWIG_IsOK(res1
)) {
30520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30522 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30525 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= SWIG_Py_Void();
30540 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30541 PyObject
*resultobj
= 0;
30542 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30544 wxPageSetupDialogData
*arg3
= 0 ;
30550 PyObject
* obj0
= 0 ;
30551 PyObject
* obj1
= 0 ;
30552 PyObject
* obj2
= 0 ;
30553 char * kwnames
[] = {
30554 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
30557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30559 if (!SWIG_IsOK(res1
)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30562 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30565 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30567 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30568 if (!SWIG_IsOK(res3
)) {
30569 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30574 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
30578 wxPyEndAllowThreads(__tstate
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30581 resultobj
= SWIG_Py_Void();
30588 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30589 PyObject
*resultobj
= 0;
30590 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30593 PyObject
*swig_obj
[1] ;
30595 if (!args
) SWIG_fail
;
30596 swig_obj
[0] = args
;
30597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30598 if (!SWIG_IsOK(res1
)) {
30599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30601 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30604 (arg1
)->MapScreenSizeToPaper();
30605 wxPyEndAllowThreads(__tstate
);
30606 if (PyErr_Occurred()) SWIG_fail
;
30608 resultobj
= SWIG_Py_Void();
30615 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30616 PyObject
*resultobj
= 0;
30617 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30620 PyObject
*swig_obj
[1] ;
30622 if (!args
) SWIG_fail
;
30623 swig_obj
[0] = args
;
30624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30625 if (!SWIG_IsOK(res1
)) {
30626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30628 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 (arg1
)->MapScreenSizeToPage();
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= SWIG_Py_Void();
30642 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
= 0;
30644 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30645 wxPageSetupDialogData
*arg2
= 0 ;
30650 PyObject
* obj0
= 0 ;
30651 PyObject
* obj1
= 0 ;
30652 char * kwnames
[] = {
30653 (char *) "self",(char *) "pageSetupData", NULL
30656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30658 if (!SWIG_IsOK(res1
)) {
30659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30661 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30663 if (!SWIG_IsOK(res2
)) {
30664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30669 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
30671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30672 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
30673 wxPyEndAllowThreads(__tstate
);
30674 if (PyErr_Occurred()) SWIG_fail
;
30676 resultobj
= SWIG_Py_Void();
30683 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30684 PyObject
*resultobj
= 0;
30685 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30688 PyObject
*swig_obj
[1] ;
30690 if (!args
) SWIG_fail
;
30691 swig_obj
[0] = args
;
30692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30696 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 (arg1
)->MapScreenSizeToDevice();
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_Py_Void();
30710 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30711 PyObject
*resultobj
= 0;
30712 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30716 PyObject
*swig_obj
[1] ;
30718 if (!args
) SWIG_fail
;
30719 swig_obj
[0] = args
;
30720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30721 if (!SWIG_IsOK(res1
)) {
30722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30724 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30731 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30738 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30739 PyObject
*resultobj
= 0;
30740 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30744 PyObject
*swig_obj
[1] ;
30746 if (!args
) SWIG_fail
;
30747 swig_obj
[0] = args
;
30748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30749 if (!SWIG_IsOK(res1
)) {
30750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30752 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30766 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
= 0;
30768 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30769 wxPageSetupDialogData
*arg2
= 0 ;
30775 PyObject
* obj0
= 0 ;
30776 PyObject
* obj1
= 0 ;
30777 char * kwnames
[] = {
30778 (char *) "self",(char *) "pageSetupData", NULL
30781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30783 if (!SWIG_IsOK(res1
)) {
30784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30786 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30787 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30788 if (!SWIG_IsOK(res2
)) {
30789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30794 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
30796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30797 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
30798 wxPyEndAllowThreads(__tstate
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30801 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30808 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30809 PyObject
*resultobj
= 0;
30810 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30819 PyObject
* obj0
= 0 ;
30820 PyObject
* obj1
= 0 ;
30821 PyObject
* obj2
= 0 ;
30822 char * kwnames
[] = {
30823 (char *) "self",(char *) "x",(char *) "y", NULL
30826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30828 if (!SWIG_IsOK(res1
)) {
30829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30831 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30833 if (!SWIG_IsOK(ecode2
)) {
30834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30836 arg2
= static_cast< int >(val2
);
30837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30838 if (!SWIG_IsOK(ecode3
)) {
30839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30841 arg3
= static_cast< int >(val3
);
30843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30844 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
30845 wxPyEndAllowThreads(__tstate
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30848 resultobj
= SWIG_Py_Void();
30855 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30856 PyObject
*resultobj
= 0;
30857 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30866 PyObject
* obj0
= 0 ;
30867 PyObject
* obj1
= 0 ;
30868 PyObject
* obj2
= 0 ;
30869 char * kwnames
[] = {
30870 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
30873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30875 if (!SWIG_IsOK(res1
)) {
30876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30878 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30880 if (!SWIG_IsOK(ecode2
)) {
30881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30883 arg2
= static_cast< int >(val2
);
30884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30885 if (!SWIG_IsOK(ecode3
)) {
30886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30888 arg3
= static_cast< int >(val3
);
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
30892 wxPyEndAllowThreads(__tstate
);
30893 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= SWIG_Py_Void();
30902 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
= 0;
30904 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30913 PyObject
* obj0
= 0 ;
30914 PyObject
* obj1
= 0 ;
30915 PyObject
* obj2
= 0 ;
30916 char * kwnames
[] = {
30917 (char *) "self",(char *) "w",(char *) "h", NULL
30920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30922 if (!SWIG_IsOK(res1
)) {
30923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30925 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30927 if (!SWIG_IsOK(ecode2
)) {
30928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
30930 arg2
= static_cast< int >(val2
);
30931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30932 if (!SWIG_IsOK(ecode3
)) {
30933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
30935 arg3
= static_cast< int >(val3
);
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 (arg1
)->SetPageSizePixels(arg2
,arg3
);
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30942 resultobj
= SWIG_Py_Void();
30949 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30950 PyObject
*resultobj
= 0;
30951 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30952 int *arg2
= (int *) 0 ;
30953 int *arg3
= (int *) 0 ;
30957 int res2
= SWIG_TMPOBJ
;
30959 int res3
= SWIG_TMPOBJ
;
30960 PyObject
*swig_obj
[1] ;
30964 if (!args
) SWIG_fail
;
30965 swig_obj
[0] = args
;
30966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30967 if (!SWIG_IsOK(res1
)) {
30968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30970 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30973 (arg1
)->GetPageSizePixels(arg2
,arg3
);
30974 wxPyEndAllowThreads(__tstate
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30977 resultobj
= SWIG_Py_Void();
30978 if (SWIG_IsTmpObj(res2
)) {
30979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30981 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30984 if (SWIG_IsTmpObj(res3
)) {
30985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30987 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30996 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30997 PyObject
*resultobj
= 0;
30998 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31007 PyObject
* obj0
= 0 ;
31008 PyObject
* obj1
= 0 ;
31009 PyObject
* obj2
= 0 ;
31010 char * kwnames
[] = {
31011 (char *) "self",(char *) "w",(char *) "h", NULL
31014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31016 if (!SWIG_IsOK(res1
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31019 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31021 if (!SWIG_IsOK(ecode2
)) {
31022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
31024 arg2
= static_cast< int >(val2
);
31025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31026 if (!SWIG_IsOK(ecode3
)) {
31027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
31029 arg3
= static_cast< int >(val3
);
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 (arg1
)->SetPageSizeMM(arg2
,arg3
);
31033 wxPyEndAllowThreads(__tstate
);
31034 if (PyErr_Occurred()) SWIG_fail
;
31036 resultobj
= SWIG_Py_Void();
31043 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31044 PyObject
*resultobj
= 0;
31045 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31046 int *arg2
= (int *) 0 ;
31047 int *arg3
= (int *) 0 ;
31051 int res2
= SWIG_TMPOBJ
;
31053 int res3
= SWIG_TMPOBJ
;
31054 PyObject
*swig_obj
[1] ;
31058 if (!args
) SWIG_fail
;
31059 swig_obj
[0] = args
;
31060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31061 if (!SWIG_IsOK(res1
)) {
31062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31064 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31067 (arg1
)->GetPageSizeMM(arg2
,arg3
);
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31071 resultobj
= SWIG_Py_Void();
31072 if (SWIG_IsTmpObj(res2
)) {
31073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31075 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31078 if (SWIG_IsTmpObj(res3
)) {
31079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31081 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31090 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31091 PyObject
*resultobj
= 0;
31092 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31101 PyObject
* obj0
= 0 ;
31102 PyObject
* obj1
= 0 ;
31103 PyObject
* obj2
= 0 ;
31104 char * kwnames
[] = {
31105 (char *) "self",(char *) "x",(char *) "y", NULL
31108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31110 if (!SWIG_IsOK(res1
)) {
31111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31113 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31115 if (!SWIG_IsOK(ecode2
)) {
31116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
31118 arg2
= static_cast< int >(val2
);
31119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31120 if (!SWIG_IsOK(ecode3
)) {
31121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
31123 arg3
= static_cast< int >(val3
);
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 (arg1
)->SetPPIScreen(arg2
,arg3
);
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31130 resultobj
= SWIG_Py_Void();
31137 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31138 PyObject
*resultobj
= 0;
31139 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31140 int *arg2
= (int *) 0 ;
31141 int *arg3
= (int *) 0 ;
31145 int res2
= SWIG_TMPOBJ
;
31147 int res3
= SWIG_TMPOBJ
;
31148 PyObject
*swig_obj
[1] ;
31152 if (!args
) SWIG_fail
;
31153 swig_obj
[0] = args
;
31154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31155 if (!SWIG_IsOK(res1
)) {
31156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31158 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 (arg1
)->GetPPIScreen(arg2
,arg3
);
31162 wxPyEndAllowThreads(__tstate
);
31163 if (PyErr_Occurred()) SWIG_fail
;
31165 resultobj
= SWIG_Py_Void();
31166 if (SWIG_IsTmpObj(res2
)) {
31167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31169 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31172 if (SWIG_IsTmpObj(res3
)) {
31173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31175 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31184 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31185 PyObject
*resultobj
= 0;
31186 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31195 PyObject
* obj0
= 0 ;
31196 PyObject
* obj1
= 0 ;
31197 PyObject
* obj2
= 0 ;
31198 char * kwnames
[] = {
31199 (char *) "self",(char *) "x",(char *) "y", NULL
31202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31204 if (!SWIG_IsOK(res1
)) {
31205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31207 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31209 if (!SWIG_IsOK(ecode2
)) {
31210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
31212 arg2
= static_cast< int >(val2
);
31213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31214 if (!SWIG_IsOK(ecode3
)) {
31215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
31217 arg3
= static_cast< int >(val3
);
31219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31220 (arg1
)->SetPPIPrinter(arg2
,arg3
);
31221 wxPyEndAllowThreads(__tstate
);
31222 if (PyErr_Occurred()) SWIG_fail
;
31224 resultobj
= SWIG_Py_Void();
31231 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31232 PyObject
*resultobj
= 0;
31233 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31234 int *arg2
= (int *) 0 ;
31235 int *arg3
= (int *) 0 ;
31239 int res2
= SWIG_TMPOBJ
;
31241 int res3
= SWIG_TMPOBJ
;
31242 PyObject
*swig_obj
[1] ;
31246 if (!args
) SWIG_fail
;
31247 swig_obj
[0] = args
;
31248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31249 if (!SWIG_IsOK(res1
)) {
31250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31252 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31255 (arg1
)->GetPPIPrinter(arg2
,arg3
);
31256 wxPyEndAllowThreads(__tstate
);
31257 if (PyErr_Occurred()) SWIG_fail
;
31259 resultobj
= SWIG_Py_Void();
31260 if (SWIG_IsTmpObj(res2
)) {
31261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31263 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31266 if (SWIG_IsTmpObj(res3
)) {
31267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31269 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31278 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31279 PyObject
*resultobj
= 0;
31280 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31285 PyObject
* obj0
= 0 ;
31286 PyObject
* obj1
= 0 ;
31287 char * kwnames
[] = {
31288 (char *) "self",(char *) "paperRectPixels", NULL
31291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31293 if (!SWIG_IsOK(res1
)) {
31294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31296 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31299 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
31302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31303 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
31304 wxPyEndAllowThreads(__tstate
);
31305 if (PyErr_Occurred()) SWIG_fail
;
31307 resultobj
= SWIG_Py_Void();
31314 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31315 PyObject
*resultobj
= 0;
31316 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31320 PyObject
*swig_obj
[1] ;
31322 if (!args
) SWIG_fail
;
31323 swig_obj
[0] = args
;
31324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31325 if (!SWIG_IsOK(res1
)) {
31326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
31328 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31331 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
31332 wxPyEndAllowThreads(__tstate
);
31333 if (PyErr_Occurred()) SWIG_fail
;
31335 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31342 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31343 PyObject
*resultobj
= 0;
31344 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31348 PyObject
*swig_obj
[1] ;
31350 if (!args
) SWIG_fail
;
31351 swig_obj
[0] = args
;
31352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31353 if (!SWIG_IsOK(res1
)) {
31354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31356 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 result
= (bool)(arg1
)->IsPreview();
31360 wxPyEndAllowThreads(__tstate
);
31361 if (PyErr_Occurred()) SWIG_fail
;
31364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31372 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31373 PyObject
*resultobj
= 0;
31374 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31380 PyObject
* obj0
= 0 ;
31381 PyObject
* obj1
= 0 ;
31382 char * kwnames
[] = {
31383 (char *) "self",(char *) "p", NULL
31386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31388 if (!SWIG_IsOK(res1
)) {
31389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31391 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31392 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31393 if (!SWIG_IsOK(ecode2
)) {
31394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
31396 arg2
= static_cast< bool >(val2
);
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 (arg1
)->SetIsPreview(arg2
);
31400 wxPyEndAllowThreads(__tstate
);
31401 if (PyErr_Occurred()) SWIG_fail
;
31403 resultobj
= SWIG_Py_Void();
31410 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31411 PyObject
*resultobj
= 0;
31412 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31422 PyObject
* obj0
= 0 ;
31423 PyObject
* obj1
= 0 ;
31424 PyObject
* obj2
= 0 ;
31425 char * kwnames
[] = {
31426 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
31429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) 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_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31434 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31436 if (!SWIG_IsOK(ecode2
)) {
31437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
31439 arg2
= static_cast< int >(val2
);
31440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31441 if (!SWIG_IsOK(ecode3
)) {
31442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
31444 arg3
= static_cast< int >(val3
);
31446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31447 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
31448 wxPyEndAllowThreads(__tstate
);
31449 if (PyErr_Occurred()) SWIG_fail
;
31452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31460 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31461 PyObject
*resultobj
= 0;
31462 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31465 PyObject
*swig_obj
[1] ;
31467 if (!args
) SWIG_fail
;
31468 swig_obj
[0] = args
;
31469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31470 if (!SWIG_IsOK(res1
)) {
31471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31473 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31476 (arg1
)->OnEndDocument();
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 resultobj
= SWIG_Py_Void();
31487 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31488 PyObject
*resultobj
= 0;
31489 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31492 PyObject
*swig_obj
[1] ;
31494 if (!args
) SWIG_fail
;
31495 swig_obj
[0] = args
;
31496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31497 if (!SWIG_IsOK(res1
)) {
31498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31500 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31503 (arg1
)->OnBeginPrinting();
31504 wxPyEndAllowThreads(__tstate
);
31505 if (PyErr_Occurred()) SWIG_fail
;
31507 resultobj
= SWIG_Py_Void();
31514 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31515 PyObject
*resultobj
= 0;
31516 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31519 PyObject
*swig_obj
[1] ;
31521 if (!args
) SWIG_fail
;
31522 swig_obj
[0] = args
;
31523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31524 if (!SWIG_IsOK(res1
)) {
31525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31527 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31530 (arg1
)->OnEndPrinting();
31531 wxPyEndAllowThreads(__tstate
);
31532 if (PyErr_Occurred()) SWIG_fail
;
31534 resultobj
= SWIG_Py_Void();
31541 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31542 PyObject
*resultobj
= 0;
31543 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31546 PyObject
*swig_obj
[1] ;
31548 if (!args
) SWIG_fail
;
31549 swig_obj
[0] = args
;
31550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31551 if (!SWIG_IsOK(res1
)) {
31552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31554 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31557 (arg1
)->OnPreparePrinting();
31558 wxPyEndAllowThreads(__tstate
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31561 resultobj
= SWIG_Py_Void();
31568 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31569 PyObject
*resultobj
= 0;
31570 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31577 PyObject
* obj0
= 0 ;
31578 PyObject
* obj1
= 0 ;
31579 char * kwnames
[] = {
31580 (char *) "self",(char *) "page", NULL
31583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31585 if (!SWIG_IsOK(res1
)) {
31586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31588 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31590 if (!SWIG_IsOK(ecode2
)) {
31591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
31593 arg2
= static_cast< int >(val2
);
31595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31596 result
= (bool)(arg1
)->HasPage(arg2
);
31597 wxPyEndAllowThreads(__tstate
);
31598 if (PyErr_Occurred()) SWIG_fail
;
31601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31609 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31610 PyObject
*resultobj
= 0;
31611 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31612 int *arg2
= (int *) 0 ;
31613 int *arg3
= (int *) 0 ;
31614 int *arg4
= (int *) 0 ;
31615 int *arg5
= (int *) 0 ;
31619 int res2
= SWIG_TMPOBJ
;
31621 int res3
= SWIG_TMPOBJ
;
31623 int res4
= SWIG_TMPOBJ
;
31625 int res5
= SWIG_TMPOBJ
;
31626 PyObject
*swig_obj
[1] ;
31632 if (!args
) SWIG_fail
;
31633 swig_obj
[0] = args
;
31634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31635 if (!SWIG_IsOK(res1
)) {
31636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31638 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31641 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31645 resultobj
= SWIG_Py_Void();
31646 if (SWIG_IsTmpObj(res2
)) {
31647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31649 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31652 if (SWIG_IsTmpObj(res3
)) {
31653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31655 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31658 if (SWIG_IsTmpObj(res4
)) {
31659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31661 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31664 if (SWIG_IsTmpObj(res5
)) {
31665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
31667 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
31676 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31679 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
31680 return SWIG_Py_Void();
31683 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31684 return SWIG_Python_InitShadowInstance(args
);
31687 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31688 PyObject
*resultobj
= 0;
31689 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31690 wxWindow
*arg2
= (wxWindow
*) 0 ;
31691 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31692 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31693 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31694 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31695 long arg5
= (long) 0 ;
31696 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
31697 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31698 wxPreviewCanvas
*result
= 0 ;
31707 bool temp6
= false ;
31708 PyObject
* obj0
= 0 ;
31709 PyObject
* obj1
= 0 ;
31710 PyObject
* obj2
= 0 ;
31711 PyObject
* obj3
= 0 ;
31712 PyObject
* obj4
= 0 ;
31713 PyObject
* obj5
= 0 ;
31714 char * kwnames
[] = {
31715 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
31719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31720 if (!SWIG_IsOK(res1
)) {
31721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31723 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31725 if (!SWIG_IsOK(res2
)) {
31726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
31728 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31732 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31738 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31742 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31743 if (!SWIG_IsOK(ecode5
)) {
31744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
31746 arg5
= static_cast< long >(val5
);
31750 arg6
= wxString_in_helper(obj5
);
31751 if (arg6
== NULL
) SWIG_fail
;
31756 if (!wxPyCheckForApp()) SWIG_fail
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
31777 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31780 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
31781 return SWIG_Py_Void();
31784 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31785 return SWIG_Python_InitShadowInstance(args
);
31788 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31789 PyObject
*resultobj
= 0;
31790 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31791 wxFrame
*arg2
= (wxFrame
*) 0 ;
31792 wxString
*arg3
= 0 ;
31793 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31794 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31795 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31796 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31797 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31798 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31799 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31800 wxPreviewFrame
*result
= 0 ;
31804 bool temp3
= false ;
31809 bool temp7
= false ;
31810 PyObject
* obj0
= 0 ;
31811 PyObject
* obj1
= 0 ;
31812 PyObject
* obj2
= 0 ;
31813 PyObject
* obj3
= 0 ;
31814 PyObject
* obj4
= 0 ;
31815 PyObject
* obj5
= 0 ;
31816 PyObject
* obj6
= 0 ;
31817 char * kwnames
[] = {
31818 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31822 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31823 if (!SWIG_IsOK(res1
)) {
31824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31827 if (!SWIG_IsOK(res2
)) {
31828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31830 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31832 arg3
= wxString_in_helper(obj2
);
31833 if (arg3
== NULL
) SWIG_fail
;
31839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31849 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31850 if (!SWIG_IsOK(ecode6
)) {
31851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
31853 arg6
= static_cast< long >(val6
);
31857 arg7
= wxString_in_helper(obj6
);
31858 if (arg7
== NULL
) SWIG_fail
;
31863 if (!wxPyCheckForApp()) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31866 wxPyEndAllowThreads(__tstate
);
31867 if (PyErr_Occurred()) SWIG_fail
;
31869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31892 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31893 PyObject
*resultobj
= 0;
31894 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31897 PyObject
*swig_obj
[1] ;
31899 if (!args
) SWIG_fail
;
31900 swig_obj
[0] = args
;
31901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31902 if (!SWIG_IsOK(res1
)) {
31903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31905 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 (arg1
)->Initialize();
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31912 resultobj
= SWIG_Py_Void();
31919 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31920 PyObject
*resultobj
= 0;
31921 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31924 PyObject
*swig_obj
[1] ;
31926 if (!args
) SWIG_fail
;
31927 swig_obj
[0] = args
;
31928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31929 if (!SWIG_IsOK(res1
)) {
31930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31932 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31935 (arg1
)->CreateControlBar();
31936 wxPyEndAllowThreads(__tstate
);
31937 if (PyErr_Occurred()) SWIG_fail
;
31939 resultobj
= SWIG_Py_Void();
31946 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31947 PyObject
*resultobj
= 0;
31948 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31951 PyObject
*swig_obj
[1] ;
31953 if (!args
) SWIG_fail
;
31954 swig_obj
[0] = args
;
31955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31956 if (!SWIG_IsOK(res1
)) {
31957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31959 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31962 (arg1
)->CreateCanvas();
31963 wxPyEndAllowThreads(__tstate
);
31964 if (PyErr_Occurred()) SWIG_fail
;
31966 resultobj
= SWIG_Py_Void();
31973 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31974 PyObject
*resultobj
= 0;
31975 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31976 wxPreviewControlBar
*result
= 0 ;
31979 PyObject
*swig_obj
[1] ;
31981 if (!args
) SWIG_fail
;
31982 swig_obj
[0] = args
;
31983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31984 if (!SWIG_IsOK(res1
)) {
31985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
31987 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31990 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
31991 wxPyEndAllowThreads(__tstate
);
31992 if (PyErr_Occurred()) SWIG_fail
;
31994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32001 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32004 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
32005 return SWIG_Py_Void();
32008 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32009 return SWIG_Python_InitShadowInstance(args
);
32012 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32013 PyObject
*resultobj
= 0;
32014 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32016 wxWindow
*arg3
= (wxWindow
*) 0 ;
32017 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32018 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32019 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32020 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32021 long arg6
= (long) wxTAB_TRAVERSAL
;
32022 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
32023 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32024 wxPreviewControlBar
*result
= 0 ;
32035 bool temp7
= false ;
32036 PyObject
* obj0
= 0 ;
32037 PyObject
* obj1
= 0 ;
32038 PyObject
* obj2
= 0 ;
32039 PyObject
* obj3
= 0 ;
32040 PyObject
* obj4
= 0 ;
32041 PyObject
* obj5
= 0 ;
32042 PyObject
* obj6
= 0 ;
32043 char * kwnames
[] = {
32044 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32049 if (!SWIG_IsOK(res1
)) {
32050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32052 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32053 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32054 if (!SWIG_IsOK(ecode2
)) {
32055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
32057 arg2
= static_cast< long >(val2
);
32058 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32059 if (!SWIG_IsOK(res3
)) {
32060 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
32062 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
32066 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32072 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32076 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32077 if (!SWIG_IsOK(ecode6
)) {
32078 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
32080 arg6
= static_cast< long >(val6
);
32084 arg7
= wxString_in_helper(obj6
);
32085 if (arg7
== NULL
) SWIG_fail
;
32090 if (!wxPyCheckForApp()) SWIG_fail
;
32091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32092 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
32093 wxPyEndAllowThreads(__tstate
);
32094 if (PyErr_Occurred()) SWIG_fail
;
32096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
32111 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32112 PyObject
*resultobj
= 0;
32113 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32117 PyObject
*swig_obj
[1] ;
32119 if (!args
) SWIG_fail
;
32120 swig_obj
[0] = args
;
32121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32122 if (!SWIG_IsOK(res1
)) {
32123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32125 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32128 result
= (int)(arg1
)->GetZoomControl();
32129 wxPyEndAllowThreads(__tstate
);
32130 if (PyErr_Occurred()) SWIG_fail
;
32132 resultobj
= SWIG_From_int(static_cast< int >(result
));
32139 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32140 PyObject
*resultobj
= 0;
32141 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32147 PyObject
* obj0
= 0 ;
32148 PyObject
* obj1
= 0 ;
32149 char * kwnames
[] = {
32150 (char *) "self",(char *) "zoom", NULL
32153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32155 if (!SWIG_IsOK(res1
)) {
32156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32158 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32160 if (!SWIG_IsOK(ecode2
)) {
32161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
32163 arg2
= static_cast< int >(val2
);
32165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32166 (arg1
)->SetZoomControl(arg2
);
32167 wxPyEndAllowThreads(__tstate
);
32168 if (PyErr_Occurred()) SWIG_fail
;
32170 resultobj
= SWIG_Py_Void();
32177 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32178 PyObject
*resultobj
= 0;
32179 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32180 wxPrintPreview
*result
= 0 ;
32183 PyObject
*swig_obj
[1] ;
32185 if (!args
) SWIG_fail
;
32186 swig_obj
[0] = args
;
32187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32188 if (!SWIG_IsOK(res1
)) {
32189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32191 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32194 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
32195 wxPyEndAllowThreads(__tstate
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32205 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32206 PyObject
*resultobj
= 0;
32207 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32210 PyObject
*swig_obj
[1] ;
32212 if (!args
) SWIG_fail
;
32213 swig_obj
[0] = args
;
32214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32215 if (!SWIG_IsOK(res1
)) {
32216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32218 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32222 wxPyEndAllowThreads(__tstate
);
32223 if (PyErr_Occurred()) SWIG_fail
;
32225 resultobj
= SWIG_Py_Void();
32232 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32233 PyObject
*resultobj
= 0;
32234 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32237 PyObject
*swig_obj
[1] ;
32239 if (!args
) SWIG_fail
;
32240 swig_obj
[0] = args
;
32241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32242 if (!SWIG_IsOK(res1
)) {
32243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32245 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32248 (arg1
)->OnPrevious();
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= SWIG_Py_Void();
32259 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32260 PyObject
*resultobj
= 0;
32261 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32264 PyObject
*swig_obj
[1] ;
32266 if (!args
) SWIG_fail
;
32267 swig_obj
[0] = args
;
32268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32269 if (!SWIG_IsOK(res1
)) {
32270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32272 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32276 wxPyEndAllowThreads(__tstate
);
32277 if (PyErr_Occurred()) SWIG_fail
;
32279 resultobj
= SWIG_Py_Void();
32286 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32287 PyObject
*resultobj
= 0;
32288 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32291 PyObject
*swig_obj
[1] ;
32293 if (!args
) SWIG_fail
;
32294 swig_obj
[0] = args
;
32295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32296 if (!SWIG_IsOK(res1
)) {
32297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32299 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 wxPyEndAllowThreads(__tstate
);
32304 if (PyErr_Occurred()) SWIG_fail
;
32306 resultobj
= SWIG_Py_Void();
32313 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32314 PyObject
*resultobj
= 0;
32315 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32318 PyObject
*swig_obj
[1] ;
32320 if (!args
) SWIG_fail
;
32321 swig_obj
[0] = args
;
32322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32323 if (!SWIG_IsOK(res1
)) {
32324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32326 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32330 wxPyEndAllowThreads(__tstate
);
32331 if (PyErr_Occurred()) SWIG_fail
;
32333 resultobj
= SWIG_Py_Void();
32340 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32343 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
32344 return SWIG_Py_Void();
32347 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32348 return SWIG_Python_InitShadowInstance(args
);
32351 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32352 PyObject
*resultobj
= 0;
32353 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
32354 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32355 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
32356 wxPrintPreview
*result
= 0 ;
32362 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32363 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32364 if (!SWIG_IsOK(res1
)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32367 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32368 if (!SWIG_IsOK(res2
)) {
32369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32372 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
32373 if (!SWIG_IsOK(res3
)) {
32374 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
32376 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
32379 if (!wxPyCheckForApp()) SWIG_fail
;
32380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32381 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
32382 wxPyEndAllowThreads(__tstate
);
32383 if (PyErr_Occurred()) SWIG_fail
;
32385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
32392 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32393 PyObject
*resultobj
= 0;
32394 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
32395 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32396 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
32397 wxPrintPreview
*result
= 0 ;
32403 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
32404 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32405 if (!SWIG_IsOK(res1
)) {
32406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32408 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32409 if (!SWIG_IsOK(res2
)) {
32410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32412 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
32413 if (!SWIG_IsOK(res3
)) {
32414 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
32416 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
32418 if (!wxPyCheckForApp()) SWIG_fail
;
32419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32420 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
32421 wxPyEndAllowThreads(__tstate
);
32422 if (PyErr_Occurred()) SWIG_fail
;
32424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
32431 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
32435 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
32437 if ((argc
>= 2) && (argc
<= 3)) {
32442 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
32443 _v
= SWIG_CheckState(res
);
32445 if (!_v
) goto check_1
;
32447 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
32452 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
32456 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
32461 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32462 PyObject
*resultobj
= 0;
32463 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32466 PyObject
*swig_obj
[1] ;
32468 if (!args
) SWIG_fail
;
32469 swig_obj
[0] = args
;
32470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
32471 if (!SWIG_IsOK(res1
)) {
32472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32474 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 wxPyEndAllowThreads(__tstate
);
32480 if (PyErr_Occurred()) SWIG_fail
;
32482 resultobj
= SWIG_Py_Void();
32489 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32490 PyObject
*resultobj
= 0;
32491 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32498 PyObject
* obj0
= 0 ;
32499 PyObject
* obj1
= 0 ;
32500 char * kwnames
[] = {
32501 (char *) "self",(char *) "pageNum", NULL
32504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32506 if (!SWIG_IsOK(res1
)) {
32507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32509 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32511 if (!SWIG_IsOK(ecode2
)) {
32512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
32514 arg2
= static_cast< int >(val2
);
32516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32517 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
32518 wxPyEndAllowThreads(__tstate
);
32519 if (PyErr_Occurred()) SWIG_fail
;
32522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32530 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32531 PyObject
*resultobj
= 0;
32532 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32536 PyObject
*swig_obj
[1] ;
32538 if (!args
) SWIG_fail
;
32539 swig_obj
[0] = args
;
32540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32541 if (!SWIG_IsOK(res1
)) {
32542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32544 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32547 result
= (int)(arg1
)->GetCurrentPage();
32548 wxPyEndAllowThreads(__tstate
);
32549 if (PyErr_Occurred()) SWIG_fail
;
32551 resultobj
= SWIG_From_int(static_cast< int >(result
));
32558 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32559 PyObject
*resultobj
= 0;
32560 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32561 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32565 PyObject
* obj0
= 0 ;
32566 PyObject
* obj1
= 0 ;
32567 char * kwnames
[] = {
32568 (char *) "self",(char *) "printout", NULL
32571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32573 if (!SWIG_IsOK(res1
)) {
32574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32576 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32577 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32578 if (!SWIG_IsOK(res2
)) {
32579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32583 (arg1
)->SetPrintout(arg2
);
32584 wxPyEndAllowThreads(__tstate
);
32585 if (PyErr_Occurred()) SWIG_fail
;
32587 resultobj
= SWIG_Py_Void();
32594 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32595 PyObject
*resultobj
= 0;
32596 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32597 wxPyPrintout
*result
= 0 ;
32600 PyObject
*swig_obj
[1] ;
32602 if (!args
) SWIG_fail
;
32603 swig_obj
[0] = args
;
32604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32605 if (!SWIG_IsOK(res1
)) {
32606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32608 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32611 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
32612 wxPyEndAllowThreads(__tstate
);
32613 if (PyErr_Occurred()) SWIG_fail
;
32616 resultobj
= wxPyMake_wxObject(result
, 0);
32624 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32625 PyObject
*resultobj
= 0;
32626 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32627 wxPyPrintout
*result
= 0 ;
32630 PyObject
*swig_obj
[1] ;
32632 if (!args
) SWIG_fail
;
32633 swig_obj
[0] = args
;
32634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32635 if (!SWIG_IsOK(res1
)) {
32636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32638 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
32642 wxPyEndAllowThreads(__tstate
);
32643 if (PyErr_Occurred()) SWIG_fail
;
32646 resultobj
= wxPyMake_wxObject(result
, 0);
32654 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32655 PyObject
*resultobj
= 0;
32656 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32657 wxFrame
*arg2
= (wxFrame
*) 0 ;
32662 PyObject
* obj0
= 0 ;
32663 PyObject
* obj1
= 0 ;
32664 char * kwnames
[] = {
32665 (char *) "self",(char *) "frame", NULL
32668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32670 if (!SWIG_IsOK(res1
)) {
32671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32673 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
32675 if (!SWIG_IsOK(res2
)) {
32676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
32678 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
32680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 (arg1
)->SetFrame(arg2
);
32682 wxPyEndAllowThreads(__tstate
);
32683 if (PyErr_Occurred()) SWIG_fail
;
32685 resultobj
= SWIG_Py_Void();
32692 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32693 PyObject
*resultobj
= 0;
32694 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32695 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32700 PyObject
* obj0
= 0 ;
32701 PyObject
* obj1
= 0 ;
32702 char * kwnames
[] = {
32703 (char *) "self",(char *) "canvas", NULL
32706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32708 if (!SWIG_IsOK(res1
)) {
32709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32711 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32713 if (!SWIG_IsOK(res2
)) {
32714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32716 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32719 (arg1
)->SetCanvas(arg2
);
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32723 resultobj
= SWIG_Py_Void();
32730 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32731 PyObject
*resultobj
= 0;
32732 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32733 wxFrame
*result
= 0 ;
32736 PyObject
*swig_obj
[1] ;
32738 if (!args
) SWIG_fail
;
32739 swig_obj
[0] = args
;
32740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32741 if (!SWIG_IsOK(res1
)) {
32742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32744 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32747 result
= (wxFrame
*)(arg1
)->GetFrame();
32748 wxPyEndAllowThreads(__tstate
);
32749 if (PyErr_Occurred()) SWIG_fail
;
32752 resultobj
= wxPyMake_wxObject(result
, 0);
32760 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32761 PyObject
*resultobj
= 0;
32762 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32763 wxPreviewCanvas
*result
= 0 ;
32766 PyObject
*swig_obj
[1] ;
32768 if (!args
) SWIG_fail
;
32769 swig_obj
[0] = args
;
32770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32771 if (!SWIG_IsOK(res1
)) {
32772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32774 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
32778 wxPyEndAllowThreads(__tstate
);
32779 if (PyErr_Occurred()) SWIG_fail
;
32781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32788 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32789 PyObject
*resultobj
= 0;
32790 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32791 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32800 PyObject
* obj0
= 0 ;
32801 PyObject
* obj1
= 0 ;
32802 PyObject
* obj2
= 0 ;
32803 char * kwnames
[] = {
32804 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32809 if (!SWIG_IsOK(res1
)) {
32810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32812 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32814 if (!SWIG_IsOK(res2
)) {
32815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32817 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32818 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32819 if (!SWIG_IsOK(res3
)) {
32820 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32825 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32828 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32841 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32842 PyObject
*resultobj
= 0;
32843 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32844 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32853 PyObject
* obj0
= 0 ;
32854 PyObject
* obj1
= 0 ;
32855 PyObject
* obj2
= 0 ;
32856 char * kwnames
[] = {
32857 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32862 if (!SWIG_IsOK(res1
)) {
32863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32865 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32867 if (!SWIG_IsOK(res2
)) {
32868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32870 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32871 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32872 if (!SWIG_IsOK(res3
)) {
32873 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32878 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32881 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
32882 wxPyEndAllowThreads(__tstate
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32894 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32895 PyObject
*resultobj
= 0;
32896 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32903 PyObject
* obj0
= 0 ;
32904 PyObject
* obj1
= 0 ;
32905 char * kwnames
[] = {
32906 (char *) "self",(char *) "pageNum", NULL
32909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32911 if (!SWIG_IsOK(res1
)) {
32912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32914 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32916 if (!SWIG_IsOK(ecode2
)) {
32917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
32919 arg2
= static_cast< int >(val2
);
32921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32922 result
= (bool)(arg1
)->RenderPage(arg2
);
32923 wxPyEndAllowThreads(__tstate
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32935 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32936 PyObject
*resultobj
= 0;
32937 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32938 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32943 PyObject
* obj0
= 0 ;
32944 PyObject
* obj1
= 0 ;
32945 char * kwnames
[] = {
32946 (char *) "self",(char *) "canvas", NULL
32949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32951 if (!SWIG_IsOK(res1
)) {
32952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32954 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32956 if (!SWIG_IsOK(res2
)) {
32957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32959 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32962 (arg1
)->AdjustScrollbars(arg2
);
32963 wxPyEndAllowThreads(__tstate
);
32964 if (PyErr_Occurred()) SWIG_fail
;
32966 resultobj
= SWIG_Py_Void();
32973 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32974 PyObject
*resultobj
= 0;
32975 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32976 wxPrintDialogData
*result
= 0 ;
32979 PyObject
*swig_obj
[1] ;
32981 if (!args
) SWIG_fail
;
32982 swig_obj
[0] = args
;
32983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32984 if (!SWIG_IsOK(res1
)) {
32985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32987 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32991 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
32992 result
= (wxPrintDialogData
*) &_result_ref
;
32994 wxPyEndAllowThreads(__tstate
);
32995 if (PyErr_Occurred()) SWIG_fail
;
32997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
33004 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33005 PyObject
*resultobj
= 0;
33006 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33012 PyObject
* obj0
= 0 ;
33013 PyObject
* obj1
= 0 ;
33014 char * kwnames
[] = {
33015 (char *) "self",(char *) "percent", NULL
33018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33020 if (!SWIG_IsOK(res1
)) {
33021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33023 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33025 if (!SWIG_IsOK(ecode2
)) {
33026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
33028 arg2
= static_cast< int >(val2
);
33030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33031 (arg1
)->SetZoom(arg2
);
33032 wxPyEndAllowThreads(__tstate
);
33033 if (PyErr_Occurred()) SWIG_fail
;
33035 resultobj
= SWIG_Py_Void();
33042 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33043 PyObject
*resultobj
= 0;
33044 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33048 PyObject
*swig_obj
[1] ;
33050 if (!args
) SWIG_fail
;
33051 swig_obj
[0] = args
;
33052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33053 if (!SWIG_IsOK(res1
)) {
33054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33056 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33059 result
= (int)(arg1
)->GetZoom();
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33063 resultobj
= SWIG_From_int(static_cast< int >(result
));
33070 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33071 PyObject
*resultobj
= 0;
33072 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33076 PyObject
*swig_obj
[1] ;
33078 if (!args
) SWIG_fail
;
33079 swig_obj
[0] = args
;
33080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33081 if (!SWIG_IsOK(res1
)) {
33082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33084 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33087 result
= (int)(arg1
)->GetMaxPage();
33088 wxPyEndAllowThreads(__tstate
);
33089 if (PyErr_Occurred()) SWIG_fail
;
33091 resultobj
= SWIG_From_int(static_cast< int >(result
));
33098 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33099 PyObject
*resultobj
= 0;
33100 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33104 PyObject
*swig_obj
[1] ;
33106 if (!args
) SWIG_fail
;
33107 swig_obj
[0] = args
;
33108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33109 if (!SWIG_IsOK(res1
)) {
33110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33112 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33115 result
= (int)(arg1
)->GetMinPage();
33116 wxPyEndAllowThreads(__tstate
);
33117 if (PyErr_Occurred()) SWIG_fail
;
33119 resultobj
= SWIG_From_int(static_cast< int >(result
));
33126 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33127 PyObject
*resultobj
= 0;
33128 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33132 PyObject
*swig_obj
[1] ;
33134 if (!args
) SWIG_fail
;
33135 swig_obj
[0] = args
;
33136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33137 if (!SWIG_IsOK(res1
)) {
33138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33140 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33143 result
= (bool)(arg1
)->IsOk();
33144 wxPyEndAllowThreads(__tstate
);
33145 if (PyErr_Occurred()) SWIG_fail
;
33148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33156 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33157 PyObject
*resultobj
= 0;
33158 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33164 PyObject
* obj0
= 0 ;
33165 PyObject
* obj1
= 0 ;
33166 char * kwnames
[] = {
33167 (char *) "self",(char *) "ok", NULL
33170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33172 if (!SWIG_IsOK(res1
)) {
33173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33175 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33176 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33177 if (!SWIG_IsOK(ecode2
)) {
33178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
33180 arg2
= static_cast< bool >(val2
);
33182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33183 (arg1
)->SetOk(arg2
);
33184 wxPyEndAllowThreads(__tstate
);
33185 if (PyErr_Occurred()) SWIG_fail
;
33187 resultobj
= SWIG_Py_Void();
33194 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33195 PyObject
*resultobj
= 0;
33196 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33203 PyObject
* obj0
= 0 ;
33204 PyObject
* obj1
= 0 ;
33205 char * kwnames
[] = {
33206 (char *) "self",(char *) "interactive", NULL
33209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33211 if (!SWIG_IsOK(res1
)) {
33212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33214 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33215 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33216 if (!SWIG_IsOK(ecode2
)) {
33217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
33219 arg2
= static_cast< bool >(val2
);
33221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33222 result
= (bool)(arg1
)->Print(arg2
);
33223 wxPyEndAllowThreads(__tstate
);
33224 if (PyErr_Occurred()) SWIG_fail
;
33227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33235 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33236 PyObject
*resultobj
= 0;
33237 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33240 PyObject
*swig_obj
[1] ;
33242 if (!args
) SWIG_fail
;
33243 swig_obj
[0] = args
;
33244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33245 if (!SWIG_IsOK(res1
)) {
33246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33248 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33251 (arg1
)->DetermineScaling();
33252 wxPyEndAllowThreads(__tstate
);
33253 if (PyErr_Occurred()) SWIG_fail
;
33255 resultobj
= SWIG_Py_Void();
33262 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33265 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
33266 return SWIG_Py_Void();
33269 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33270 return SWIG_Python_InitShadowInstance(args
);
33273 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33274 PyObject
*resultobj
= 0;
33275 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
33276 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
33277 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
33278 wxPyPrintPreview
*result
= 0 ;
33284 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33285 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33286 if (!SWIG_IsOK(res1
)) {
33287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33289 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33290 if (!SWIG_IsOK(res2
)) {
33291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33294 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
33295 if (!SWIG_IsOK(res3
)) {
33296 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
33298 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
33301 if (!wxPyCheckForApp()) SWIG_fail
;
33302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33303 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
33304 wxPyEndAllowThreads(__tstate
);
33305 if (PyErr_Occurred()) SWIG_fail
;
33307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
33314 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33315 PyObject
*resultobj
= 0;
33316 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
33317 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
33318 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
33319 wxPyPrintPreview
*result
= 0 ;
33325 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
33326 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33327 if (!SWIG_IsOK(res1
)) {
33328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33330 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33331 if (!SWIG_IsOK(res2
)) {
33332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33334 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
33335 if (!SWIG_IsOK(res3
)) {
33336 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
33338 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
33340 if (!wxPyCheckForApp()) SWIG_fail
;
33341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33342 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
33343 wxPyEndAllowThreads(__tstate
);
33344 if (PyErr_Occurred()) SWIG_fail
;
33346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
33353 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
33357 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
33359 if ((argc
>= 2) && (argc
<= 3)) {
33364 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
33365 _v
= SWIG_CheckState(res
);
33367 if (!_v
) goto check_1
;
33369 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
33374 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
33378 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
33383 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33384 PyObject
*resultobj
= 0;
33385 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
33386 PyObject
*arg2
= (PyObject
*) 0 ;
33387 PyObject
*arg3
= (PyObject
*) 0 ;
33390 PyObject
* obj0
= 0 ;
33391 PyObject
* obj1
= 0 ;
33392 PyObject
* obj2
= 0 ;
33393 char * kwnames
[] = {
33394 (char *) "self",(char *) "self",(char *) "_class", NULL
33397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
33399 if (!SWIG_IsOK(res1
)) {
33400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
33402 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
33406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33407 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33408 wxPyEndAllowThreads(__tstate
);
33409 if (PyErr_Occurred()) SWIG_fail
;
33411 resultobj
= SWIG_Py_Void();
33418 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33421 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
33422 return SWIG_Py_Void();
33425 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33426 return SWIG_Python_InitShadowInstance(args
);
33429 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33430 PyObject
*resultobj
= 0;
33431 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33432 wxFrame
*arg2
= (wxFrame
*) 0 ;
33433 wxString
*arg3
= 0 ;
33434 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33435 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33436 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33437 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33438 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
33439 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
33440 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33441 wxPyPreviewFrame
*result
= 0 ;
33445 bool temp3
= false ;
33450 bool temp7
= false ;
33451 PyObject
* obj0
= 0 ;
33452 PyObject
* obj1
= 0 ;
33453 PyObject
* obj2
= 0 ;
33454 PyObject
* obj3
= 0 ;
33455 PyObject
* obj4
= 0 ;
33456 PyObject
* obj5
= 0 ;
33457 PyObject
* obj6
= 0 ;
33458 char * kwnames
[] = {
33459 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33463 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33464 if (!SWIG_IsOK(res1
)) {
33465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
33468 if (!SWIG_IsOK(res2
)) {
33469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
33471 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
33473 arg3
= wxString_in_helper(obj2
);
33474 if (arg3
== NULL
) SWIG_fail
;
33480 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33486 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33490 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33491 if (!SWIG_IsOK(ecode6
)) {
33492 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
33494 arg6
= static_cast< long >(val6
);
33498 arg7
= wxString_in_helper(obj6
);
33499 if (arg7
== NULL
) SWIG_fail
;
33504 if (!wxPyCheckForApp()) SWIG_fail
;
33505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33506 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
33507 wxPyEndAllowThreads(__tstate
);
33508 if (PyErr_Occurred()) SWIG_fail
;
33510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
33533 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33534 PyObject
*resultobj
= 0;
33535 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33536 PyObject
*arg2
= (PyObject
*) 0 ;
33537 PyObject
*arg3
= (PyObject
*) 0 ;
33540 PyObject
* obj0
= 0 ;
33541 PyObject
* obj1
= 0 ;
33542 PyObject
* obj2
= 0 ;
33543 char * kwnames
[] = {
33544 (char *) "self",(char *) "self",(char *) "_class", NULL
33547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33549 if (!SWIG_IsOK(res1
)) {
33550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33552 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33557 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33558 wxPyEndAllowThreads(__tstate
);
33559 if (PyErr_Occurred()) SWIG_fail
;
33561 resultobj
= SWIG_Py_Void();
33568 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33569 PyObject
*resultobj
= 0;
33570 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33571 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
33576 PyObject
* obj0
= 0 ;
33577 PyObject
* obj1
= 0 ;
33578 char * kwnames
[] = {
33579 (char *) "self",(char *) "canvas", NULL
33582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33584 if (!SWIG_IsOK(res1
)) {
33585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33587 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
33589 if (!SWIG_IsOK(res2
)) {
33590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33592 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
33594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33595 (arg1
)->SetPreviewCanvas(arg2
);
33596 wxPyEndAllowThreads(__tstate
);
33597 if (PyErr_Occurred()) SWIG_fail
;
33599 resultobj
= SWIG_Py_Void();
33606 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33607 PyObject
*resultobj
= 0;
33608 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33609 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
33614 PyObject
* obj0
= 0 ;
33615 PyObject
* obj1
= 0 ;
33616 char * kwnames
[] = {
33617 (char *) "self",(char *) "bar", NULL
33620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33622 if (!SWIG_IsOK(res1
)) {
33623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33625 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
33627 if (!SWIG_IsOK(res2
)) {
33628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
33630 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
33632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33633 (arg1
)->SetControlBar(arg2
);
33634 wxPyEndAllowThreads(__tstate
);
33635 if (PyErr_Occurred()) SWIG_fail
;
33637 resultobj
= SWIG_Py_Void();
33644 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33645 PyObject
*resultobj
= 0;
33646 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33649 PyObject
*swig_obj
[1] ;
33651 if (!args
) SWIG_fail
;
33652 swig_obj
[0] = args
;
33653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33654 if (!SWIG_IsOK(res1
)) {
33655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33657 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33660 (arg1
)->Initialize();
33661 wxPyEndAllowThreads(__tstate
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33664 resultobj
= SWIG_Py_Void();
33671 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33672 PyObject
*resultobj
= 0;
33673 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33676 PyObject
*swig_obj
[1] ;
33678 if (!args
) SWIG_fail
;
33679 swig_obj
[0] = args
;
33680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33681 if (!SWIG_IsOK(res1
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33684 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33687 (arg1
)->CreateCanvas();
33688 wxPyEndAllowThreads(__tstate
);
33689 if (PyErr_Occurred()) SWIG_fail
;
33691 resultobj
= SWIG_Py_Void();
33698 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33699 PyObject
*resultobj
= 0;
33700 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33703 PyObject
*swig_obj
[1] ;
33705 if (!args
) SWIG_fail
;
33706 swig_obj
[0] = args
;
33707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33708 if (!SWIG_IsOK(res1
)) {
33709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33711 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33714 (arg1
)->CreateControlBar();
33715 wxPyEndAllowThreads(__tstate
);
33716 if (PyErr_Occurred()) SWIG_fail
;
33718 resultobj
= SWIG_Py_Void();
33725 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33728 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
33729 return SWIG_Py_Void();
33732 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33733 return SWIG_Python_InitShadowInstance(args
);
33736 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33737 PyObject
*resultobj
= 0;
33738 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33740 wxWindow
*arg3
= (wxWindow
*) 0 ;
33741 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33742 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33743 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33744 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33745 long arg6
= (long) 0 ;
33746 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
33747 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33748 wxPyPreviewControlBar
*result
= 0 ;
33758 bool temp7
= false ;
33759 PyObject
* obj0
= 0 ;
33760 PyObject
* obj1
= 0 ;
33761 PyObject
* obj2
= 0 ;
33762 PyObject
* obj3
= 0 ;
33763 PyObject
* obj4
= 0 ;
33764 PyObject
* obj5
= 0 ;
33765 PyObject
* obj6
= 0 ;
33766 char * kwnames
[] = {
33767 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33771 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33772 if (!SWIG_IsOK(res1
)) {
33773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33775 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33776 if (!SWIG_IsOK(ecode2
)) {
33777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
33779 arg2
= static_cast< long >(val2
);
33780 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33781 if (!SWIG_IsOK(res3
)) {
33782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
33784 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
33788 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33794 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33798 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33799 if (!SWIG_IsOK(ecode6
)) {
33800 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
33802 arg6
= static_cast< long >(val6
);
33806 arg7
= wxString_in_helper(obj6
);
33807 if (arg7
== NULL
) SWIG_fail
;
33812 if (!wxPyCheckForApp()) SWIG_fail
;
33813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33814 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
33815 wxPyEndAllowThreads(__tstate
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
33833 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33834 PyObject
*resultobj
= 0;
33835 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33836 PyObject
*arg2
= (PyObject
*) 0 ;
33837 PyObject
*arg3
= (PyObject
*) 0 ;
33840 PyObject
* obj0
= 0 ;
33841 PyObject
* obj1
= 0 ;
33842 PyObject
* obj2
= 0 ;
33843 char * kwnames
[] = {
33844 (char *) "self",(char *) "self",(char *) "_class", NULL
33847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33849 if (!SWIG_IsOK(res1
)) {
33850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33852 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33857 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33858 wxPyEndAllowThreads(__tstate
);
33859 if (PyErr_Occurred()) SWIG_fail
;
33861 resultobj
= SWIG_Py_Void();
33868 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33869 PyObject
*resultobj
= 0;
33870 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33871 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
33875 PyObject
* obj0
= 0 ;
33876 PyObject
* obj1
= 0 ;
33877 char * kwnames
[] = {
33878 (char *) "self",(char *) "preview", NULL
33881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33883 if (!SWIG_IsOK(res1
)) {
33884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33886 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33887 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33888 if (!SWIG_IsOK(res2
)) {
33889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
33892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33893 (arg1
)->SetPrintPreview(arg2
);
33894 wxPyEndAllowThreads(__tstate
);
33895 if (PyErr_Occurred()) SWIG_fail
;
33897 resultobj
= SWIG_Py_Void();
33904 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33905 PyObject
*resultobj
= 0;
33906 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33909 PyObject
*swig_obj
[1] ;
33911 if (!args
) SWIG_fail
;
33912 swig_obj
[0] = args
;
33913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33914 if (!SWIG_IsOK(res1
)) {
33915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33917 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33920 (arg1
)->CreateButtons();
33921 wxPyEndAllowThreads(__tstate
);
33922 if (PyErr_Occurred()) SWIG_fail
;
33924 resultobj
= SWIG_Py_Void();
33931 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33932 PyObject
*resultobj
= 0;
33933 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33939 PyObject
* obj0
= 0 ;
33940 PyObject
* obj1
= 0 ;
33941 char * kwnames
[] = {
33942 (char *) "self",(char *) "zoom", NULL
33945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33947 if (!SWIG_IsOK(res1
)) {
33948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33950 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33952 if (!SWIG_IsOK(ecode2
)) {
33953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
33955 arg2
= static_cast< int >(val2
);
33957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33958 (arg1
)->SetZoomControl(arg2
);
33959 wxPyEndAllowThreads(__tstate
);
33960 if (PyErr_Occurred()) SWIG_fail
;
33962 resultobj
= SWIG_Py_Void();
33969 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33972 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
33973 return SWIG_Py_Void();
33976 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33977 return SWIG_Python_InitShadowInstance(args
);
33980 static PyMethodDef SwigMethods
[] = {
33981 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33982 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
33983 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33984 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
33985 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33986 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
33987 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
33988 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33989 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
33990 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33991 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33992 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33993 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33994 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33995 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33996 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
33997 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33998 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
33999 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34000 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
34001 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
34002 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
34003 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
34004 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
34005 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34006 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34007 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
34008 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34009 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
34010 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34011 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34012 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34013 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34014 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34015 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
34016 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34017 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
34018 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
34019 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
34020 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
34021 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34022 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34023 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34024 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
34025 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34026 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
34027 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34028 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34029 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34030 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
34031 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34032 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
34033 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34034 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
34035 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34036 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34037 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
34038 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
34039 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34040 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
34041 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34042 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
34043 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34044 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
34045 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34046 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34047 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
34048 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34049 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34050 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34051 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34052 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34053 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34054 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
34055 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34056 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
34057 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34058 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34059 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34060 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34061 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
34062 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
34063 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34064 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
34065 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34066 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34067 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
34068 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34069 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
34070 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34071 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
34072 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34073 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34074 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34075 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34076 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
34077 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
34078 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34079 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34080 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
34081 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
34082 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34083 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
34084 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34085 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
34086 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
34087 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34088 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34089 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
34090 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
34091 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
34092 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34093 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
34094 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
34095 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
34096 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
34097 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
34098 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34099 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
34100 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34101 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34102 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
34103 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34104 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34105 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34106 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34107 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34108 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34109 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34110 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34111 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
34112 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
34113 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34114 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
34115 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
34116 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34117 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
34118 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34119 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
34120 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
34121 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34122 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
34123 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34124 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34125 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34126 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34127 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34128 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
34129 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
34130 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34131 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34132 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
34133 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
34134 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34135 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
34136 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34137 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
34138 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34139 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
34140 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34141 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
34142 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34143 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
34144 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34145 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
34146 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
34147 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34148 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34149 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
34150 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
34151 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
34152 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
34153 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
34154 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
34155 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34156 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
34157 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34158 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34159 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34160 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34161 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34162 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
34163 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34164 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
34165 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34166 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34167 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
34168 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
34169 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34170 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34171 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
34172 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
34173 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34174 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
34175 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
34176 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
34177 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34178 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34179 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
34180 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34181 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
34182 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34183 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
34184 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
34185 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
34186 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34187 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34188 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
34189 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34190 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
34191 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34192 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
34193 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34194 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
34195 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34196 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
34197 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
34198 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
34199 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34200 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34201 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
34202 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34203 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
34204 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
34205 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
34206 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34207 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
34208 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34209 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
34210 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
34211 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34212 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34213 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34214 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
34215 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
34216 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
34217 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
34218 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34219 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34220 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34221 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
34222 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
34223 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34224 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
34225 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34226 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34227 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
34228 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
34229 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34230 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
34231 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34232 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34233 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
34234 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
34235 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
34236 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34237 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34238 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
34239 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
34240 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
34241 { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction
) _wrap_VarScrollHelperBase_EnablePhysicalScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34242 { (char *)"VarScrollHelperBase_HitTest", (PyCFunction
) _wrap_VarScrollHelperBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34243 { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction
)_wrap_VarScrollHelperBase_RefreshAll
, METH_O
, NULL
},
34244 { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction
)_wrap_VarScrollHelperBase_GetVisibleBegin
, METH_O
, NULL
},
34245 { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction
)_wrap_VarScrollHelperBase_GetVisibleEnd
, METH_O
, NULL
},
34246 { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction
) _wrap_VarScrollHelperBase_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34247 { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction
) _wrap_VarScrollHelperBase_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34248 { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction
) _wrap_VarScrollHelperBase_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34249 { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction
)_wrap_VarScrollHelperBase_UpdateScrollbar
, METH_O
, NULL
},
34250 { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction
)_wrap_VarScrollHelperBase_RemoveScrollbar
, METH_O
, NULL
},
34251 { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction
) _wrap_VarScrollHelperBase_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34252 { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction
)_wrap_VarScrollHelperBase_GetTargetWindow
, METH_O
, NULL
},
34253 { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction
)_wrap_VarScrollHelperBase_GetOrientationTargetSize
, METH_O
, NULL
},
34254 { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction
)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize
, METH_O
, NULL
},
34255 { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction
)_wrap_VarScrollHelperBase_GetOrientation
, METH_O
, NULL
},
34256 { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister
, METH_VARARGS
, NULL
},
34257 { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction
) _wrap_VarVScrollHelper_SetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34258 { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction
) _wrap_VarVScrollHelper_ScrollToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34259 { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction
) _wrap_VarVScrollHelper_ScrollRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34260 { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction
) _wrap_VarVScrollHelper_ScrollRowPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34261 { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction
) _wrap_VarVScrollHelper_RefreshRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34262 { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction
) _wrap_VarVScrollHelper_RefreshRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34263 { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction
)_wrap_VarVScrollHelper_GetRowCount
, METH_O
, NULL
},
34264 { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction
)_wrap_VarVScrollHelper_GetVisibleRowsBegin
, METH_O
, NULL
},
34265 { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction
)_wrap_VarVScrollHelper_GetVisibleRowsEnd
, METH_O
, NULL
},
34266 { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction
) _wrap_VarVScrollHelper_IsRowVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34267 { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34268 { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction
) _wrap_VarHScrollHelper_SetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34269 { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction
) _wrap_VarHScrollHelper_ScrollToColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34270 { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction
) _wrap_VarHScrollHelper_ScrollColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34271 { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction
) _wrap_VarHScrollHelper_ScrollColumnPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34272 { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction
) _wrap_VarHScrollHelper_RefreshColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34273 { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction
) _wrap_VarHScrollHelper_RefreshColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34274 { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction
)_wrap_VarHScrollHelper_GetColumnCount
, METH_O
, NULL
},
34275 { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction
)_wrap_VarHScrollHelper_GetVisibleColumnsBegin
, METH_O
, NULL
},
34276 { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction
)_wrap_VarHScrollHelper_GetVisibleColumnsEnd
, METH_O
, NULL
},
34277 { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction
) _wrap_VarHScrollHelper_IsColumnVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34278 { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34279 { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction
) _wrap_VarHVScrollHelper_SetRowColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34280 { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction
) _wrap_VarHVScrollHelper_EnablePhysicalScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34281 { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction
) _wrap_VarHVScrollHelper_ScrollToRowColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34282 { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction
) _wrap_VarHVScrollHelper_RefreshRowColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34283 { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction
) _wrap_VarHVScrollHelper_RefreshRowsColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34284 { (char *)"VarHVScrollHelper_HitTest", (PyCFunction
) _wrap_VarHVScrollHelper_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34285 { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction
)_wrap_VarHVScrollHelper_ScrollLayout
, METH_O
, NULL
},
34286 { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction
)_wrap_VarHVScrollHelper_GetRowColumnCount
, METH_O
, NULL
},
34287 { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction
)_wrap_VarHVScrollHelper_GetVisibleBegin
, METH_O
, NULL
},
34288 { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction
)_wrap_VarHVScrollHelper_GetVisibleEnd
, METH_O
, NULL
},
34289 { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction
) _wrap_VarHVScrollHelper_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34290 { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34291 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34292 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
34293 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34294 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34295 { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction
) _wrap_VScrolledWindow_GetRowsHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34296 { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction
)_wrap_VScrolledWindow_EstimateTotalHeight
, METH_O
, NULL
},
34297 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34298 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34299 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34300 { (char *)"new_HScrolledWindow", (PyCFunction
) _wrap_new_HScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34301 { (char *)"new_PreHScrolledWindow", (PyCFunction
)_wrap_new_PreHScrolledWindow
, METH_NOARGS
, NULL
},
34302 { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_HScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34303 { (char *)"HScrolledWindow_Create", (PyCFunction
) _wrap_HScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34304 { (char *)"HScrolledWindow_HitTest", (PyCFunction
) _wrap_HScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34305 { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction
) _wrap_HScrolledWindow_GetColumnsWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34306 { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction
)_wrap_HScrolledWindow_EstimateTotalWidth
, METH_O
, NULL
},
34307 { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34308 { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34309 { (char *)"new_HVScrolledWindow", (PyCFunction
) _wrap_new_HVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34310 { (char *)"new_PreHVScrolledWindow", (PyCFunction
)_wrap_new_PreHVScrolledWindow
, METH_NOARGS
, NULL
},
34311 { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_HVScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34312 { (char *)"HVScrolledWindow_Create", (PyCFunction
) _wrap_HVScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34313 { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction
) _wrap_HVScrolledWindow_GetRowsHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34314 { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction
)_wrap_HVScrolledWindow_EstimateTotalHeight
, METH_O
, NULL
},
34315 { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction
) _wrap_HVScrolledWindow_GetColumnsWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34316 { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction
)_wrap_HVScrolledWindow_EstimateTotalWidth
, METH_O
, NULL
},
34317 { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34318 { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34319 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34320 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
34321 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34322 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34323 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
34324 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
34325 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
34326 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34327 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34328 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
34329 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
34330 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34331 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
34332 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
34333 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34334 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
34335 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34336 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34337 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34338 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34339 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
34340 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
34341 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34342 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34343 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34344 { (char *)"VListBox_RefreshSelected", (PyCFunction
)_wrap_VListBox_RefreshSelected
, METH_O
, NULL
},
34345 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34346 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34347 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
34348 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
34349 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34350 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
34351 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34352 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34353 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34354 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
34355 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34356 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
34357 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
34358 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34359 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
34360 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34361 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
34362 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
34363 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
34364 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
34365 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34366 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
34367 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
34368 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
34369 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34370 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
34371 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34372 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
34373 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
34374 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34375 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
34376 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
34377 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
34378 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
34379 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
34380 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
34381 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34382 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34383 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34384 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34385 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
34386 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
34387 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34388 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
34389 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
34390 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
34391 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34392 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34393 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
34394 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
34395 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34396 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34397 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
34398 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
34399 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34400 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34401 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34402 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34403 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34404 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34405 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34406 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
34407 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
34408 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
34409 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
34410 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
34411 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
34412 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
34413 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
34414 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
34415 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
34416 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34417 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34418 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
34419 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
34420 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
34421 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34422 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
34423 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
34424 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34425 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
34426 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
34427 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34428 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
34429 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34430 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34431 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34432 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34433 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34434 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34435 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34436 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
34437 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34438 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34439 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
34440 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
34441 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
34443 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
34444 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
34445 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
34446 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
34447 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
34448 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34449 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34450 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34451 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34452 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34453 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34454 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
34455 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
34456 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34457 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
34458 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
34459 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
34460 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34461 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34462 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
34463 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
34464 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34465 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34466 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34467 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
34468 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
34469 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
34470 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
34472 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
34473 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
34474 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
34475 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34476 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34477 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34478 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
34479 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
34480 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34481 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
34482 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
34483 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
34484 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
34485 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34487 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
34489 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
34490 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34491 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
34492 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34493 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
34494 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34495 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
34496 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
34497 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
34499 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
34501 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
34502 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
34503 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
34504 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
34505 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
34506 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
34507 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34509 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
34510 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
34511 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
34513 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
34515 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
34516 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
34517 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34518 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
34519 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
34521 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
34522 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34523 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
34524 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34525 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34526 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34527 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34528 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34529 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34530 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
34531 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
34532 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
34533 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
34534 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
34535 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
34536 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
34537 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
34538 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
34539 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34540 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
34541 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34542 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34543 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34546 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34547 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
34548 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
34549 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
34550 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
34551 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
34552 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
34553 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
34554 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
34555 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
34556 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34557 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
34558 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34559 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34563 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34564 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
34565 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
34566 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
34567 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
34568 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
34569 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
34570 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
34571 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34572 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34573 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
34574 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
34575 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
34576 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
34577 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
34578 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
34579 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
34580 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
34581 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
34582 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
34583 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
34584 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
34585 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
34586 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
34587 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
34588 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
34589 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34590 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34591 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34594 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34595 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34597 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34599 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34600 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34602 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
34603 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
34605 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
34607 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
34608 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
34609 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
34610 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34612 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34613 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
34616 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
34617 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
34618 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
34619 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
34620 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
34621 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
34622 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
34623 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
34624 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
34625 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
34626 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
34627 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
34628 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
34629 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
34630 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34631 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34632 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34633 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34634 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34636 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34637 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
34640 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
34641 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
34642 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
34643 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34644 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
34645 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
34646 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
34647 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
34648 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
34649 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
34650 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
34651 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
34652 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
34653 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
34654 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
34655 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
34656 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
34657 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
34658 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
34659 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
34660 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
34661 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34662 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34663 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34664 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34665 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34666 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34668 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34670 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34671 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34672 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34673 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34674 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
34675 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
34676 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
34677 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
34678 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
34679 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
34680 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
34682 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
34683 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34684 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
34685 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
34686 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
34687 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
34688 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
34689 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
34690 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
34691 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34692 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
34693 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34696 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34697 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34698 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
34699 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
34700 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
34701 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
34702 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
34703 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34704 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
34705 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34706 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
34707 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
34708 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
34713 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
34714 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
34716 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
34717 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
34718 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34719 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34720 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
34723 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34724 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
34725 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34726 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
34727 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
34729 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34730 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
34731 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
34732 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34734 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
34735 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
34736 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
34737 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
34738 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
34740 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
34741 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
34742 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34743 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
34744 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
34745 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
34747 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
34748 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
34749 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
34750 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
34751 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
34752 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
34754 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
34756 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
34757 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
34758 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
34759 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
34760 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
34761 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
34762 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
34763 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
34764 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
34765 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
34767 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
34769 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
34770 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
34773 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
34774 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
34779 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
34781 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
34782 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
34783 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
34784 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
34787 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
34788 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
34789 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
34790 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
34792 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
34793 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
34798 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
34799 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
34800 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
34801 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
34802 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
34806 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
34808 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
34809 { NULL
, NULL
, 0, NULL
}
34813 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34815 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
34816 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34818 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
34819 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34821 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
34822 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
34824 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
34825 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
34827 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
34828 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
34830 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
34831 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
34833 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
34834 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
34836 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
34837 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
34839 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
34840 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
34842 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
34843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
34845 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
34846 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
34848 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
34849 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
34851 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
34852 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
34854 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
34855 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
34857 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
34858 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
34860 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
34861 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
34863 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
34864 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
34866 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
34867 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
34869 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
34870 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
34872 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
34873 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
34875 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
34876 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
34878 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
34879 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
34881 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
34882 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
34884 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
34885 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
34887 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
34888 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
34890 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
34891 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
34893 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
34894 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
34896 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
34897 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
34899 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
34900 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
34902 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
34903 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
34905 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
34906 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
34908 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
34909 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
34911 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
34912 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
34914 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
34915 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
34917 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
34918 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34920 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
34921 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
34923 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
34924 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
34926 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
34927 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
34929 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
34930 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
34932 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
34933 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34935 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
34936 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34938 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
34939 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34941 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
34942 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
34944 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
34945 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
34947 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
34948 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
34950 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
34951 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
34953 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
34954 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
34956 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
34957 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
34959 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
34960 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
34962 static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x
) {
34963 return (void *)((wxVarVScrollHelper
*) ((wxPyVScrolledWindow
*) x
));
34965 static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x
) {
34966 return (void *)((wxVarVScrollHelper
*) (wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
34968 static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x
) {
34969 return (void *)((wxVarVScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
34971 static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x
) {
34972 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34974 static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x
) {
34975 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34977 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x
) {
34978 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
34980 static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x
) {
34981 return (void *)((wxVarHScrollHelper
*) ((wxPyHScrolledWindow
*) x
));
34983 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x
) {
34984 return (void *)((wxVarHScrollHelper
*) (wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
34986 static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x
) {
34987 return (void *)((wxVarHScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
34989 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x
) {
34990 return (void *)((wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
34992 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34993 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34995 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34996 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34998 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
34999 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
35001 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
35002 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
35004 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
35005 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
35007 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
35008 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
35010 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
35011 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
35013 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
35014 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
35016 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
35017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
35019 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
35020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35022 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
35023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35025 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
35026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
35028 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
35029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35031 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
35032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
35034 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
35035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
35037 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
35038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
35040 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
35041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
35043 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
35044 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
35046 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
35047 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
35049 static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x
) {
35050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35052 static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x
) {
35053 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35055 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
35056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35058 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
35059 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35061 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
35062 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35064 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
35065 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
35067 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
35068 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35070 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
35071 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
35073 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
35074 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
35076 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
35077 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
35079 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
35080 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
35082 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
35083 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
35085 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
35086 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
35088 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
35089 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
35091 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
35092 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35094 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
35095 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
35097 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
35098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
35100 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
35101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35103 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
35104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35106 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
35107 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
35109 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
35110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35112 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
35113 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
35115 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
35116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35118 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
35119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35121 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
35122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35124 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
35125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35127 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
35128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
35130 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
35131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35133 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
35134 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
35136 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
35137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
35139 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
35140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35142 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
35143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35145 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
35146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
35148 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
35149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35151 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
35152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35154 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
35155 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35157 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
35158 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35160 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
35161 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35163 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
35164 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
35166 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
35167 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
35169 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
35170 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
35172 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
35173 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35175 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
35176 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
35178 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
35179 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
35181 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
35182 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
35184 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35185 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35187 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
35188 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
35190 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
35191 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
35193 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
35194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
35196 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
35197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35199 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35200 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35202 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35203 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35205 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35206 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35208 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35209 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35211 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35212 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35214 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35215 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35217 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35218 return (void *)((wxObject
*) ((wxSizer
*) x
));
35220 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35221 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35223 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35226 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
35227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
35229 static void *_p_wxEventTo_p_wxObject(void *x
) {
35230 return (void *)((wxObject
*) ((wxEvent
*) x
));
35232 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
35233 return (void *)((wxObject
*) ((wxFontData
*) x
));
35235 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
35236 return (void *)((wxObject
*) ((wxPrintData
*) x
));
35238 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35239 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35241 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35242 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35244 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35245 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35247 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
35248 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
35250 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
35251 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
35253 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
35254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
35256 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35259 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35260 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35262 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35263 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35265 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35266 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35268 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35269 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35271 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35272 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35274 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35275 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35277 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
35278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35280 static void *_p_wxControlTo_p_wxObject(void *x
) {
35281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35283 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35284 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35286 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
35287 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
35289 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35290 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35292 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
35293 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
35295 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35296 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35298 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
35299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35301 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
35302 return (void *)((wxObject
*) ((wxColourData
*) x
));
35304 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35305 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35307 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35308 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35310 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
35311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
35313 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
35314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
35316 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
35317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
35319 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
35320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35322 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
35323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35325 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
35326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
35328 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
35329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35331 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
35332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
35334 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
35335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
35337 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
35338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
35340 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
35341 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
35343 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35344 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35346 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
35347 return (void *)((wxObject
*) ((wxPrinter
*) x
));
35349 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35350 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35352 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35355 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35356 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35358 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35359 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35361 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35362 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35364 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35365 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35367 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35368 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35370 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35371 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35373 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35374 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35376 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35377 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35379 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35380 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35382 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35383 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35385 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35386 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35388 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35389 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35391 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35392 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35394 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35395 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35397 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35398 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35400 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35401 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35403 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35404 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35406 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35407 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35409 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35410 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35412 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35413 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35415 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35416 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35418 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
35419 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
35421 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35422 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35424 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35425 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35427 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
35428 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
35430 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
35431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35433 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
35434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35436 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
35437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35439 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35440 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35442 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35443 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35445 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
35446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
35448 static void *_p_wxImageTo_p_wxObject(void *x
) {
35449 return (void *)((wxObject
*) ((wxImage
*) x
));
35451 static void *_p_wxFrameTo_p_wxObject(void *x
) {
35452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
35454 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
35455 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
35457 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35458 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35460 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
35461 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
35463 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
35464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
35466 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
35467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35469 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35470 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35472 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35473 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35475 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35476 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35478 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35479 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35481 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35482 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35484 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35487 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
35488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
35490 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
35491 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
35493 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
35494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
35496 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
35497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
35499 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
35500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
35502 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
35503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35505 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
35506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
35508 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
35509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35511 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
35512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35514 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
35515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35517 static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x
) {
35518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35520 static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x
) {
35521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35523 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
35524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
35526 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
35527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35529 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
35530 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
35532 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
35533 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
35535 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
35536 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
35538 static void *_p_wxPanelTo_p_wxObject(void *x
) {
35539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
35541 static void *_p_wxDialogTo_p_wxObject(void *x
) {
35542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
35544 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
35545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35547 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
35548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35550 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
35551 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35553 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
35554 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
35556 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
35557 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
35559 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35560 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35562 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35565 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35566 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35568 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35569 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35571 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35572 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35574 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35575 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35577 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35578 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35580 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35583 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35584 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35586 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
35587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
35589 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
35590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35592 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35593 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35595 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35596 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35598 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35601 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35604 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
35605 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
35607 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
35608 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
35610 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35613 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35614 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35616 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
35617 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35619 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
35620 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35622 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
35623 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35625 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
35626 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35628 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
35629 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
35631 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
35632 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
35634 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
35635 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
35637 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
35638 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
35640 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
35641 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
35643 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
35644 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
35646 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
35647 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
35649 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
35650 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
35652 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
35653 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
35655 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
35656 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
35658 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35659 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
35661 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35662 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35664 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35665 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
35667 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
35668 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35670 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
35671 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35673 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
35674 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
35676 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
35677 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
35679 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
35680 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
35682 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
35683 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
35685 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
35686 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35688 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
35689 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
35691 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
35692 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
35694 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
35695 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
35697 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35698 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35700 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
35701 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
35703 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
35704 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
35706 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
35707 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35709 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
35710 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
35712 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
35713 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35715 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
35716 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35718 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
35719 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
35721 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
35722 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
35724 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
35725 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
35727 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
35728 return (void *)((wxWindow
*) ((wxPanel
*) x
));
35730 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
35731 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
35733 static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x
) {
35734 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35736 static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x
) {
35737 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35739 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
35740 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35742 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
35743 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35745 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
35746 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35748 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
35749 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
35751 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
35752 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35754 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
35755 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
35757 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
35758 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
35760 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
35761 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
35763 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
35764 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
35766 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
35767 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
35769 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
35770 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
35772 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
35773 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35775 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35776 return (void *)((wxWindow
*) ((wxControl
*) x
));
35778 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
35779 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
35781 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
35782 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35784 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
35785 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35787 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35788 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35790 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
35791 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
35793 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
35794 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35796 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
35797 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35799 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
35800 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35802 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
35803 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35805 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
35806 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
35808 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
35809 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35811 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
35812 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
35814 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
35815 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35817 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
35818 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35820 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
35821 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35823 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
35824 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
35826 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
35827 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35829 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35830 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35832 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35833 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35835 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35836 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35838 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
35839 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35841 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
35842 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35844 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
35845 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
35847 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
35848 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
35850 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
35851 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
35853 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
35854 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
35856 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
35857 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
35859 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
35860 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35862 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
35863 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35865 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
35866 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
35868 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
35869 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35871 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
35872 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
35874 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
35875 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
35877 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
35878 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
35880 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
35881 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
35883 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
35884 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35886 static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x
) {
35887 return (void *)((wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35889 static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x
) {
35890 return (void *)((wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35892 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
35893 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35895 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
35896 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35898 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
35899 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35901 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
35902 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35904 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
35905 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
35907 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
35908 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35910 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
35911 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
35913 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
35914 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35916 static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35917 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*) ((wxPyVScrolledWindow
*) x
));
35919 static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35920 return (void *)((wxVarScrollHelperBase
*) (wxVarHScrollHelper
*) ((wxPyHScrolledWindow
*) x
));
35922 static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35923 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
35925 static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35926 return (void *)((wxVarScrollHelperBase
*) ((wxVarVScrollHelper
*) x
));
35928 static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35929 return (void *)((wxVarScrollHelperBase
*) ((wxVarHScrollHelper
*) x
));
35931 static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35932 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
35934 static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35935 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35937 static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35938 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35940 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35941 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35943 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
35944 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35946 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
35947 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
35949 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
35950 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35952 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
35953 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
35955 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
35956 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35958 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
35959 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35961 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
35962 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
35964 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
35965 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35967 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
35968 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35970 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
35971 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
35973 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
35974 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35976 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
35977 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35979 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
35980 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
35982 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
35983 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35985 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
35986 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
35988 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
35989 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35990 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};
35991 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35992 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35993 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35994 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35995 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
35996 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
35997 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35998 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
35999 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
36000 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
36001 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
36002 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
36003 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36004 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
36005 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
36006 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36007 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36008 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36009 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36010 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
36011 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
36012 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
36013 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
36014 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
36015 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
36016 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
36017 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36018 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36019 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36020 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36021 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
36022 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
36023 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
36024 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36025 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
36026 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36027 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36028 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36029 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36030 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36031 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36032 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
36033 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
36034 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
36035 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
36036 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
36037 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
36038 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36039 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36040 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
36041 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36042 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36043 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
36044 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
36045 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36046 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
36047 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
36048 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36049 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
36050 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
36051 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
36052 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
36053 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
36054 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
36055 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
36056 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
36057 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
36058 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
36059 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
36060 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
36061 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
36062 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
36063 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
36064 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
36065 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
36066 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
36067 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
36068 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
36069 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
36070 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
36071 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
36072 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
36073 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
36074 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
36075 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
36076 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
36077 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
36078 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
36079 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
36080 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
36081 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
36082 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
36083 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
36084 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
36085 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
36086 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
36087 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36088 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36089 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36090 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36091 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36092 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36093 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36094 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36095 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36096 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36097 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36098 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36099 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36100 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
36101 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36102 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
36103 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
36104 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
36105 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
36106 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36107 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
36108 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36109 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
36110 static swig_type_info _swigt__p_wxPosition
= {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0};
36111 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
36112 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
36113 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
36114 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36115 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
36116 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
36117 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
36118 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
36119 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
36120 static swig_type_info _swigt__p_wxPyHScrolledWindow
= {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0};
36121 static swig_type_info _swigt__p_wxPyHVScrolledWindow
= {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0};
36122 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
36123 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
36124 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
36125 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
36126 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
36127 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
36128 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
36129 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
36130 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
36131 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
36132 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
36133 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
36134 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
36135 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36136 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36137 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
36138 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
36139 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
36140 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
36141 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
36142 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
36143 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
36144 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36145 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
36146 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
36147 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
36148 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
36149 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
36150 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
36151 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36152 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
36153 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
36154 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
36155 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
36156 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
36157 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
36158 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
36159 static swig_type_info _swigt__p_wxVarHScrollHelper
= {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0};
36160 static swig_type_info _swigt__p_wxVarHVScrollHelper
= {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0};
36161 static swig_type_info _swigt__p_wxVarScrollHelperBase
= {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0};
36162 static swig_type_info _swigt__p_wxVarVScrollHelper
= {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0};
36163 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
36164 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36166 static swig_type_info
*swig_type_initial
[] = {
36169 &_swigt__p_form_ops_t
,
36171 &_swigt__p_unsigned_char
,
36172 &_swigt__p_unsigned_int
,
36173 &_swigt__p_unsigned_long
,
36174 &_swigt__p_wxANIHandler
,
36175 &_swigt__p_wxAcceleratorTable
,
36176 &_swigt__p_wxActivateEvent
,
36177 &_swigt__p_wxArrayInt
,
36178 &_swigt__p_wxArrayString
,
36179 &_swigt__p_wxBMPHandler
,
36180 &_swigt__p_wxBitmap
,
36181 &_swigt__p_wxBoxSizer
,
36182 &_swigt__p_wxCURHandler
,
36183 &_swigt__p_wxCalculateLayoutEvent
,
36184 &_swigt__p_wxChildFocusEvent
,
36185 &_swigt__p_wxClipboardTextEvent
,
36186 &_swigt__p_wxCloseEvent
,
36187 &_swigt__p_wxColour
,
36188 &_swigt__p_wxColourData
,
36189 &_swigt__p_wxColourDialog
,
36190 &_swigt__p_wxCommandEvent
,
36191 &_swigt__p_wxContextMenuEvent
,
36192 &_swigt__p_wxControl
,
36193 &_swigt__p_wxControlWithItems
,
36195 &_swigt__p_wxDateEvent
,
36196 &_swigt__p_wxDialog
,
36197 &_swigt__p_wxDirDialog
,
36198 &_swigt__p_wxDisplayChangedEvent
,
36199 &_swigt__p_wxDropFilesEvent
,
36200 &_swigt__p_wxDuplexMode
,
36201 &_swigt__p_wxEraseEvent
,
36202 &_swigt__p_wxEvent
,
36203 &_swigt__p_wxEventBlocker
,
36204 &_swigt__p_wxEvtHandler
,
36205 &_swigt__p_wxFSFile
,
36206 &_swigt__p_wxFileDialog
,
36207 &_swigt__p_wxFileSystem
,
36208 &_swigt__p_wxFindDialogEvent
,
36209 &_swigt__p_wxFindReplaceData
,
36210 &_swigt__p_wxFindReplaceDialog
,
36211 &_swigt__p_wxFlexGridSizer
,
36212 &_swigt__p_wxFocusEvent
,
36214 &_swigt__p_wxFontData
,
36215 &_swigt__p_wxFontDialog
,
36216 &_swigt__p_wxFrame
,
36217 &_swigt__p_wxGBSizerItem
,
36218 &_swigt__p_wxGIFHandler
,
36219 &_swigt__p_wxGridBagSizer
,
36220 &_swigt__p_wxGridSizer
,
36221 &_swigt__p_wxHtmlLinkInfo
,
36222 &_swigt__p_wxICOHandler
,
36224 &_swigt__p_wxIconBundle
,
36225 &_swigt__p_wxIconizeEvent
,
36226 &_swigt__p_wxIdleEvent
,
36227 &_swigt__p_wxImage
,
36228 &_swigt__p_wxImageHandler
,
36229 &_swigt__p_wxIndividualLayoutConstraint
,
36230 &_swigt__p_wxInitDialogEvent
,
36231 &_swigt__p_wxItemContainer
,
36232 &_swigt__p_wxJPEGHandler
,
36233 &_swigt__p_wxKeyEvent
,
36234 &_swigt__p_wxLayoutAlgorithm
,
36235 &_swigt__p_wxLayoutConstraints
,
36236 &_swigt__p_wxMDIChildFrame
,
36237 &_swigt__p_wxMDIClientWindow
,
36238 &_swigt__p_wxMDIParentFrame
,
36239 &_swigt__p_wxMaximizeEvent
,
36241 &_swigt__p_wxMenuBar
,
36242 &_swigt__p_wxMenuEvent
,
36243 &_swigt__p_wxMenuItem
,
36244 &_swigt__p_wxMessageDialog
,
36245 &_swigt__p_wxMiniFrame
,
36246 &_swigt__p_wxMouseCaptureChangedEvent
,
36247 &_swigt__p_wxMouseCaptureLostEvent
,
36248 &_swigt__p_wxMouseEvent
,
36249 &_swigt__p_wxMoveEvent
,
36250 &_swigt__p_wxMultiChoiceDialog
,
36251 &_swigt__p_wxNavigationKeyEvent
,
36252 &_swigt__p_wxNcPaintEvent
,
36253 &_swigt__p_wxNotifyEvent
,
36254 &_swigt__p_wxNumberEntryDialog
,
36255 &_swigt__p_wxObject
,
36256 &_swigt__p_wxPCXHandler
,
36257 &_swigt__p_wxPNGHandler
,
36258 &_swigt__p_wxPNMHandler
,
36259 &_swigt__p_wxPageSetupDialog
,
36260 &_swigt__p_wxPageSetupDialogData
,
36261 &_swigt__p_wxPaintEvent
,
36262 &_swigt__p_wxPaletteChangedEvent
,
36263 &_swigt__p_wxPanel
,
36264 &_swigt__p_wxPaperSize
,
36265 &_swigt__p_wxPasswordEntryDialog
,
36266 &_swigt__p_wxPoint
,
36267 &_swigt__p_wxPopupWindow
,
36268 &_swigt__p_wxPosition
,
36269 &_swigt__p_wxPreviewCanvas
,
36270 &_swigt__p_wxPreviewControlBar
,
36271 &_swigt__p_wxPreviewFrame
,
36272 &_swigt__p_wxPrintData
,
36273 &_swigt__p_wxPrintDialog
,
36274 &_swigt__p_wxPrintDialogData
,
36275 &_swigt__p_wxPrintPreview
,
36276 &_swigt__p_wxPrinter
,
36277 &_swigt__p_wxProgressDialog
,
36278 &_swigt__p_wxPyApp
,
36279 &_swigt__p_wxPyCommandEvent
,
36280 &_swigt__p_wxPyEvent
,
36281 &_swigt__p_wxPyHScrolledWindow
,
36282 &_swigt__p_wxPyHVScrolledWindow
,
36283 &_swigt__p_wxPyHtmlListBox
,
36284 &_swigt__p_wxPyImageHandler
,
36285 &_swigt__p_wxPyPanel
,
36286 &_swigt__p_wxPyPopupTransientWindow
,
36287 &_swigt__p_wxPyPreviewControlBar
,
36288 &_swigt__p_wxPyPreviewFrame
,
36289 &_swigt__p_wxPyPrintPreview
,
36290 &_swigt__p_wxPyPrintout
,
36291 &_swigt__p_wxPyScrolledWindow
,
36292 &_swigt__p_wxPySizer
,
36293 &_swigt__p_wxPyTaskBarIcon
,
36294 &_swigt__p_wxPyVListBox
,
36295 &_swigt__p_wxPyVScrolledWindow
,
36296 &_swigt__p_wxPyValidator
,
36297 &_swigt__p_wxPyWindow
,
36298 &_swigt__p_wxQueryLayoutInfoEvent
,
36299 &_swigt__p_wxQueryNewPaletteEvent
,
36301 &_swigt__p_wxRegion
,
36302 &_swigt__p_wxSashEvent
,
36303 &_swigt__p_wxSashLayoutWindow
,
36304 &_swigt__p_wxSashWindow
,
36305 &_swigt__p_wxScrollEvent
,
36306 &_swigt__p_wxScrollWinEvent
,
36307 &_swigt__p_wxScrolledWindow
,
36308 &_swigt__p_wxSetCursorEvent
,
36309 &_swigt__p_wxShowEvent
,
36310 &_swigt__p_wxSimpleHtmlListBox
,
36311 &_swigt__p_wxSingleChoiceDialog
,
36313 &_swigt__p_wxSizeEvent
,
36314 &_swigt__p_wxSizer
,
36315 &_swigt__p_wxSizerItem
,
36316 &_swigt__p_wxSplashScreen
,
36317 &_swigt__p_wxSplashScreenWindow
,
36318 &_swigt__p_wxSplitterEvent
,
36319 &_swigt__p_wxSplitterWindow
,
36320 &_swigt__p_wxStaticBoxSizer
,
36321 &_swigt__p_wxStatusBar
,
36322 &_swigt__p_wxStdDialogButtonSizer
,
36323 &_swigt__p_wxString
,
36324 &_swigt__p_wxSysColourChangedEvent
,
36325 &_swigt__p_wxTGAHandler
,
36326 &_swigt__p_wxTIFFHandler
,
36327 &_swigt__p_wxTaskBarIcon
,
36328 &_swigt__p_wxTaskBarIconEvent
,
36329 &_swigt__p_wxTextEntryDialog
,
36330 &_swigt__p_wxTipWindow
,
36331 &_swigt__p_wxToolBar
,
36332 &_swigt__p_wxTopLevelWindow
,
36333 &_swigt__p_wxUpdateUIEvent
,
36334 &_swigt__p_wxValidator
,
36335 &_swigt__p_wxVarHScrollHelper
,
36336 &_swigt__p_wxVarHVScrollHelper
,
36337 &_swigt__p_wxVarScrollHelperBase
,
36338 &_swigt__p_wxVarVScrollHelper
,
36339 &_swigt__p_wxVisualAttributes
,
36340 &_swigt__p_wxWindow
,
36341 &_swigt__p_wxWindowCreateEvent
,
36342 &_swigt__p_wxWindowDestroyEvent
,
36343 &_swigt__p_wxXPMHandler
,
36346 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
36347 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36348 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36349 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36350 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36351 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36352 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36353 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
36354 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
36355 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36356 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
36357 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36358 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
36359 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
36360 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36361 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36362 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36363 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36364 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36365 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36366 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36367 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36368 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36369 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}};
36370 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
36371 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}};
36372 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
36373 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36374 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36375 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36376 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36377 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36378 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36379 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36380 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36381 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36382 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36383 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36384 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36385 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36386 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36387 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36388 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36389 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36390 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36391 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36392 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36393 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36394 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36395 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36396 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36397 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36398 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36399 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36400 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}};
36401 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
36402 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36403 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36404 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36405 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36406 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}};
36407 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
36408 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36409 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36410 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
36411 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36412 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36413 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
36414 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
36415 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}};
36416 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
36417 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36418 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36419 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}};
36420 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
36421 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
36422 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
36423 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
36424 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36425 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36426 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
36427 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
36428 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36429 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}};
36430 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
36431 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36432 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36433 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36434 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36435 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36436 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36437 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36438 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36439 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36440 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36441 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36442 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36443 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36444 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36445 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36446 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36447 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36448 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36449 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36450 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36451 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36452 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36453 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36454 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36455 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36456 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36457 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
36458 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36459 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36460 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}};
36461 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
36462 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
36463 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}};
36464 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36465 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
36466 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36467 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}};
36468 static swig_cast_info _swigc__p_wxPosition
[] = { {&_swigt__p_wxPosition
, 0, 0, 0},{0, 0, 0, 0}};
36469 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
36470 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}};
36471 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}};
36472 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36473 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
36474 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
36475 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}};
36476 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
36477 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
36478 static swig_cast_info _swigc__p_wxPyHScrolledWindow
[] = { {&_swigt__p_wxPyHScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36479 static swig_cast_info _swigc__p_wxPyHVScrolledWindow
[] = { {&_swigt__p_wxPyHVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36480 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}};
36481 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
36482 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}};
36483 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
36484 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
36485 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
36486 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
36487 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36488 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
36489 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}};
36490 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}};
36491 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
36492 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
36493 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36494 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36495 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
36496 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
36497 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}};
36498 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36499 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}};
36500 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
36501 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36502 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36503 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
36504 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
36505 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
36506 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
36507 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
36508 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36509 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36510 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
36511 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
36512 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}};
36513 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
36514 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
36515 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}};
36516 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}};
36517 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}};
36518 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}};
36519 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}};
36520 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}};
36521 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
36522 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}};
36524 static swig_cast_info
*swig_cast_initial
[] = {
36527 _swigc__p_form_ops_t
,
36529 _swigc__p_unsigned_char
,
36530 _swigc__p_unsigned_int
,
36531 _swigc__p_unsigned_long
,
36532 _swigc__p_wxANIHandler
,
36533 _swigc__p_wxAcceleratorTable
,
36534 _swigc__p_wxActivateEvent
,
36535 _swigc__p_wxArrayInt
,
36536 _swigc__p_wxArrayString
,
36537 _swigc__p_wxBMPHandler
,
36538 _swigc__p_wxBitmap
,
36539 _swigc__p_wxBoxSizer
,
36540 _swigc__p_wxCURHandler
,
36541 _swigc__p_wxCalculateLayoutEvent
,
36542 _swigc__p_wxChildFocusEvent
,
36543 _swigc__p_wxClipboardTextEvent
,
36544 _swigc__p_wxCloseEvent
,
36545 _swigc__p_wxColour
,
36546 _swigc__p_wxColourData
,
36547 _swigc__p_wxColourDialog
,
36548 _swigc__p_wxCommandEvent
,
36549 _swigc__p_wxContextMenuEvent
,
36550 _swigc__p_wxControl
,
36551 _swigc__p_wxControlWithItems
,
36553 _swigc__p_wxDateEvent
,
36554 _swigc__p_wxDialog
,
36555 _swigc__p_wxDirDialog
,
36556 _swigc__p_wxDisplayChangedEvent
,
36557 _swigc__p_wxDropFilesEvent
,
36558 _swigc__p_wxDuplexMode
,
36559 _swigc__p_wxEraseEvent
,
36561 _swigc__p_wxEventBlocker
,
36562 _swigc__p_wxEvtHandler
,
36563 _swigc__p_wxFSFile
,
36564 _swigc__p_wxFileDialog
,
36565 _swigc__p_wxFileSystem
,
36566 _swigc__p_wxFindDialogEvent
,
36567 _swigc__p_wxFindReplaceData
,
36568 _swigc__p_wxFindReplaceDialog
,
36569 _swigc__p_wxFlexGridSizer
,
36570 _swigc__p_wxFocusEvent
,
36572 _swigc__p_wxFontData
,
36573 _swigc__p_wxFontDialog
,
36575 _swigc__p_wxGBSizerItem
,
36576 _swigc__p_wxGIFHandler
,
36577 _swigc__p_wxGridBagSizer
,
36578 _swigc__p_wxGridSizer
,
36579 _swigc__p_wxHtmlLinkInfo
,
36580 _swigc__p_wxICOHandler
,
36582 _swigc__p_wxIconBundle
,
36583 _swigc__p_wxIconizeEvent
,
36584 _swigc__p_wxIdleEvent
,
36586 _swigc__p_wxImageHandler
,
36587 _swigc__p_wxIndividualLayoutConstraint
,
36588 _swigc__p_wxInitDialogEvent
,
36589 _swigc__p_wxItemContainer
,
36590 _swigc__p_wxJPEGHandler
,
36591 _swigc__p_wxKeyEvent
,
36592 _swigc__p_wxLayoutAlgorithm
,
36593 _swigc__p_wxLayoutConstraints
,
36594 _swigc__p_wxMDIChildFrame
,
36595 _swigc__p_wxMDIClientWindow
,
36596 _swigc__p_wxMDIParentFrame
,
36597 _swigc__p_wxMaximizeEvent
,
36599 _swigc__p_wxMenuBar
,
36600 _swigc__p_wxMenuEvent
,
36601 _swigc__p_wxMenuItem
,
36602 _swigc__p_wxMessageDialog
,
36603 _swigc__p_wxMiniFrame
,
36604 _swigc__p_wxMouseCaptureChangedEvent
,
36605 _swigc__p_wxMouseCaptureLostEvent
,
36606 _swigc__p_wxMouseEvent
,
36607 _swigc__p_wxMoveEvent
,
36608 _swigc__p_wxMultiChoiceDialog
,
36609 _swigc__p_wxNavigationKeyEvent
,
36610 _swigc__p_wxNcPaintEvent
,
36611 _swigc__p_wxNotifyEvent
,
36612 _swigc__p_wxNumberEntryDialog
,
36613 _swigc__p_wxObject
,
36614 _swigc__p_wxPCXHandler
,
36615 _swigc__p_wxPNGHandler
,
36616 _swigc__p_wxPNMHandler
,
36617 _swigc__p_wxPageSetupDialog
,
36618 _swigc__p_wxPageSetupDialogData
,
36619 _swigc__p_wxPaintEvent
,
36620 _swigc__p_wxPaletteChangedEvent
,
36622 _swigc__p_wxPaperSize
,
36623 _swigc__p_wxPasswordEntryDialog
,
36625 _swigc__p_wxPopupWindow
,
36626 _swigc__p_wxPosition
,
36627 _swigc__p_wxPreviewCanvas
,
36628 _swigc__p_wxPreviewControlBar
,
36629 _swigc__p_wxPreviewFrame
,
36630 _swigc__p_wxPrintData
,
36631 _swigc__p_wxPrintDialog
,
36632 _swigc__p_wxPrintDialogData
,
36633 _swigc__p_wxPrintPreview
,
36634 _swigc__p_wxPrinter
,
36635 _swigc__p_wxProgressDialog
,
36637 _swigc__p_wxPyCommandEvent
,
36638 _swigc__p_wxPyEvent
,
36639 _swigc__p_wxPyHScrolledWindow
,
36640 _swigc__p_wxPyHVScrolledWindow
,
36641 _swigc__p_wxPyHtmlListBox
,
36642 _swigc__p_wxPyImageHandler
,
36643 _swigc__p_wxPyPanel
,
36644 _swigc__p_wxPyPopupTransientWindow
,
36645 _swigc__p_wxPyPreviewControlBar
,
36646 _swigc__p_wxPyPreviewFrame
,
36647 _swigc__p_wxPyPrintPreview
,
36648 _swigc__p_wxPyPrintout
,
36649 _swigc__p_wxPyScrolledWindow
,
36650 _swigc__p_wxPySizer
,
36651 _swigc__p_wxPyTaskBarIcon
,
36652 _swigc__p_wxPyVListBox
,
36653 _swigc__p_wxPyVScrolledWindow
,
36654 _swigc__p_wxPyValidator
,
36655 _swigc__p_wxPyWindow
,
36656 _swigc__p_wxQueryLayoutInfoEvent
,
36657 _swigc__p_wxQueryNewPaletteEvent
,
36659 _swigc__p_wxRegion
,
36660 _swigc__p_wxSashEvent
,
36661 _swigc__p_wxSashLayoutWindow
,
36662 _swigc__p_wxSashWindow
,
36663 _swigc__p_wxScrollEvent
,
36664 _swigc__p_wxScrollWinEvent
,
36665 _swigc__p_wxScrolledWindow
,
36666 _swigc__p_wxSetCursorEvent
,
36667 _swigc__p_wxShowEvent
,
36668 _swigc__p_wxSimpleHtmlListBox
,
36669 _swigc__p_wxSingleChoiceDialog
,
36671 _swigc__p_wxSizeEvent
,
36673 _swigc__p_wxSizerItem
,
36674 _swigc__p_wxSplashScreen
,
36675 _swigc__p_wxSplashScreenWindow
,
36676 _swigc__p_wxSplitterEvent
,
36677 _swigc__p_wxSplitterWindow
,
36678 _swigc__p_wxStaticBoxSizer
,
36679 _swigc__p_wxStatusBar
,
36680 _swigc__p_wxStdDialogButtonSizer
,
36681 _swigc__p_wxString
,
36682 _swigc__p_wxSysColourChangedEvent
,
36683 _swigc__p_wxTGAHandler
,
36684 _swigc__p_wxTIFFHandler
,
36685 _swigc__p_wxTaskBarIcon
,
36686 _swigc__p_wxTaskBarIconEvent
,
36687 _swigc__p_wxTextEntryDialog
,
36688 _swigc__p_wxTipWindow
,
36689 _swigc__p_wxToolBar
,
36690 _swigc__p_wxTopLevelWindow
,
36691 _swigc__p_wxUpdateUIEvent
,
36692 _swigc__p_wxValidator
,
36693 _swigc__p_wxVarHScrollHelper
,
36694 _swigc__p_wxVarHVScrollHelper
,
36695 _swigc__p_wxVarScrollHelperBase
,
36696 _swigc__p_wxVarVScrollHelper
,
36697 _swigc__p_wxVisualAttributes
,
36698 _swigc__p_wxWindow
,
36699 _swigc__p_wxWindowCreateEvent
,
36700 _swigc__p_wxWindowDestroyEvent
,
36701 _swigc__p_wxXPMHandler
,
36705 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36707 static swig_const_info swig_const_table
[] = {
36708 {0, 0, 0, 0.0, 0, 0}};
36713 /* -----------------------------------------------------------------------------
36714 * Type initialization:
36715 * This problem is tough by the requirement that no dynamic
36716 * memory is used. Also, since swig_type_info structures store pointers to
36717 * swig_cast_info structures and swig_cast_info structures store pointers back
36718 * to swig_type_info structures, we need some lookup code at initialization.
36719 * The idea is that swig generates all the structures that are needed.
36720 * The runtime then collects these partially filled structures.
36721 * The SWIG_InitializeModule function takes these initial arrays out of
36722 * swig_module, and does all the lookup, filling in the swig_module.types
36723 * array with the correct data and linking the correct swig_cast_info
36724 * structures together.
36726 * The generated swig_type_info structures are assigned staticly to an initial
36727 * array. We just loop though that array, and handle each type individually.
36728 * First we lookup if this type has been already loaded, and if so, use the
36729 * loaded structure instead of the generated one. Then we have to fill in the
36730 * cast linked list. The cast data is initially stored in something like a
36731 * two-dimensional array. Each row corresponds to a type (there are the same
36732 * number of rows as there are in the swig_type_initial array). Each entry in
36733 * a column is one of the swig_cast_info structures for that type.
36734 * The cast_initial array is actually an array of arrays, because each row has
36735 * a variable number of columns. So to actually build the cast linked list,
36736 * we find the array of casts associated with the type, and loop through it
36737 * adding the casts to the list. The one last trick we need to do is making
36738 * sure the type pointer in the swig_cast_info struct is correct.
36740 * First off, we lookup the cast->type name to see if it is already loaded.
36741 * There are three cases to handle:
36742 * 1) If the cast->type has already been loaded AND the type we are adding
36743 * casting info to has not been loaded (it is in this module), THEN we
36744 * replace the cast->type pointer with the type pointer that has already
36746 * 2) If BOTH types (the one we are adding casting info to, and the
36747 * cast->type) are loaded, THEN the cast info has already been loaded by
36748 * the previous module so we just ignore it.
36749 * 3) Finally, if cast->type has not already been loaded, then we add that
36750 * swig_cast_info to the linked list (because the cast->type) pointer will
36752 * ----------------------------------------------------------------------------- */
36762 #define SWIGRUNTIME_DEBUG
36766 SWIG_InitializeModule(void *clientdata
) {
36768 swig_module_info
*module_head
;
36769 static int init_run
= 0;
36771 clientdata
= clientdata
;
36773 if (init_run
) return;
36776 /* Initialize the swig_module */
36777 swig_module
.type_initial
= swig_type_initial
;
36778 swig_module
.cast_initial
= swig_cast_initial
;
36780 /* Try and load any already created modules */
36781 module_head
= SWIG_GetModule(clientdata
);
36783 swig_module
.next
= module_head
->next
;
36784 module_head
->next
= &swig_module
;
36786 /* This is the first module loaded */
36787 swig_module
.next
= &swig_module
;
36788 SWIG_SetModule(clientdata
, &swig_module
);
36791 /* Now work on filling in swig_module.types */
36792 #ifdef SWIGRUNTIME_DEBUG
36793 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36795 for (i
= 0; i
< swig_module
.size
; ++i
) {
36796 swig_type_info
*type
= 0;
36797 swig_type_info
*ret
;
36798 swig_cast_info
*cast
;
36800 #ifdef SWIGRUNTIME_DEBUG
36801 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36804 /* if there is another module already loaded */
36805 if (swig_module
.next
!= &swig_module
) {
36806 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36809 /* Overwrite clientdata field */
36810 #ifdef SWIGRUNTIME_DEBUG
36811 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36813 if (swig_module
.type_initial
[i
]->clientdata
) {
36814 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36815 #ifdef SWIGRUNTIME_DEBUG
36816 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36820 type
= swig_module
.type_initial
[i
];
36823 /* Insert casting types */
36824 cast
= swig_module
.cast_initial
[i
];
36825 while (cast
->type
) {
36826 /* Don't need to add information already in the list */
36828 #ifdef SWIGRUNTIME_DEBUG
36829 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36831 if (swig_module
.next
!= &swig_module
) {
36832 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36833 #ifdef SWIGRUNTIME_DEBUG
36834 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36838 if (type
== swig_module
.type_initial
[i
]) {
36839 #ifdef SWIGRUNTIME_DEBUG
36840 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36845 /* Check for casting already in the list */
36846 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36847 #ifdef SWIGRUNTIME_DEBUG
36848 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36850 if (!ocast
) ret
= 0;
36855 #ifdef SWIGRUNTIME_DEBUG
36856 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36859 type
->cast
->prev
= cast
;
36860 cast
->next
= type
->cast
;
36866 /* Set entry in modules->types array equal to the type */
36867 swig_module
.types
[i
] = type
;
36869 swig_module
.types
[i
] = 0;
36871 #ifdef SWIGRUNTIME_DEBUG
36872 printf("**** SWIG_InitializeModule: Cast List ******\n");
36873 for (i
= 0; i
< swig_module
.size
; ++i
) {
36875 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36876 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36877 while (cast
->type
) {
36878 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36882 printf("---- Total casts: %d\n",j
);
36884 printf("**** SWIG_InitializeModule: Cast List ******\n");
36888 /* This function will propagate the clientdata field of type to
36889 * any new swig_type_info structures that have been added into the list
36890 * of equivalent types. It is like calling
36891 * SWIG_TypeClientData(type, clientdata) a second time.
36894 SWIG_PropagateClientData(void) {
36896 swig_cast_info
*equiv
;
36897 static int init_run
= 0;
36899 if (init_run
) return;
36902 for (i
= 0; i
< swig_module
.size
; i
++) {
36903 if (swig_module
.types
[i
]->clientdata
) {
36904 equiv
= swig_module
.types
[i
]->cast
;
36906 if (!equiv
->converter
) {
36907 if (equiv
->type
&& !equiv
->type
->clientdata
)
36908 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36910 equiv
= equiv
->next
;
36930 /* Python-specific SWIG API */
36931 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36932 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36933 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36935 /* -----------------------------------------------------------------------------
36936 * global variable support code.
36937 * ----------------------------------------------------------------------------- */
36939 typedef struct swig_globalvar
{
36940 char *name
; /* Name of global variable */
36941 PyObject
*(*get_attr
)(void); /* Return the current value */
36942 int (*set_attr
)(PyObject
*); /* Set the value */
36943 struct swig_globalvar
*next
;
36946 typedef struct swig_varlinkobject
{
36948 swig_globalvar
*vars
;
36949 } swig_varlinkobject
;
36951 SWIGINTERN PyObject
*
36952 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36953 return PyString_FromString("<Swig global variables>");
36956 SWIGINTERN PyObject
*
36957 swig_varlink_str(swig_varlinkobject
*v
) {
36958 PyObject
*str
= PyString_FromString("(");
36959 swig_globalvar
*var
;
36960 for (var
= v
->vars
; var
; var
=var
->next
) {
36961 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36962 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36964 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36969 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36970 PyObject
*str
= swig_varlink_str(v
);
36971 fprintf(fp
,"Swig global variables ");
36972 fprintf(fp
,"%s\n", PyString_AsString(str
));
36978 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36979 swig_globalvar
*var
= v
->vars
;
36981 swig_globalvar
*n
= var
->next
;
36988 SWIGINTERN PyObject
*
36989 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36990 PyObject
*res
= NULL
;
36991 swig_globalvar
*var
= v
->vars
;
36993 if (strcmp(var
->name
,n
) == 0) {
36994 res
= (*var
->get_attr
)();
36999 if (res
== NULL
&& !PyErr_Occurred()) {
37000 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37006 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37008 swig_globalvar
*var
= v
->vars
;
37010 if (strcmp(var
->name
,n
) == 0) {
37011 res
= (*var
->set_attr
)(p
);
37016 if (res
== 1 && !PyErr_Occurred()) {
37017 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37022 SWIGINTERN PyTypeObject
*
37023 swig_varlink_type(void) {
37024 static char varlink__doc__
[] = "Swig var link object";
37025 static PyTypeObject varlink_type
;
37026 static int type_init
= 0;
37028 const PyTypeObject tmp
37030 PyObject_HEAD_INIT(NULL
)
37031 0, /* Number of items in variable part (ob_size) */
37032 (char *)"swigvarlink", /* Type name (tp_name) */
37033 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37034 0, /* Itemsize (tp_itemsize) */
37035 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
37036 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37037 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37038 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37039 0, /* tp_compare */
37040 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37041 0, /* tp_as_number */
37042 0, /* tp_as_sequence */
37043 0, /* tp_as_mapping */
37046 (reprfunc
)swig_varlink_str
, /* tp_str */
37047 0, /* tp_getattro */
37048 0, /* tp_setattro */
37049 0, /* tp_as_buffer */
37051 varlink__doc__
, /* tp_doc */
37052 0, /* tp_traverse */
37054 0, /* tp_richcompare */
37055 0, /* tp_weaklistoffset */
37056 #if PY_VERSION_HEX >= 0x02020000
37057 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37059 #if PY_VERSION_HEX >= 0x02030000
37062 #ifdef COUNT_ALLOCS
37063 0,0,0,0 /* tp_alloc -> tp_next */
37066 varlink_type
= tmp
;
37067 varlink_type
.ob_type
= &PyType_Type
;
37070 return &varlink_type
;
37073 /* Create a variable linking object for use later */
37074 SWIGINTERN PyObject
*
37075 SWIG_Python_newvarlink(void) {
37076 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
37080 return ((PyObject
*) result
);
37084 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37085 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
37086 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37088 size_t size
= strlen(name
)+1;
37089 gv
->name
= (char *)malloc(size
);
37091 strncpy(gv
->name
,name
,size
);
37092 gv
->get_attr
= get_attr
;
37093 gv
->set_attr
= set_attr
;
37094 gv
->next
= v
->vars
;
37100 SWIGINTERN PyObject
*
37102 static PyObject
*_SWIG_globals
= 0;
37103 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
37104 return _SWIG_globals
;
37107 /* -----------------------------------------------------------------------------
37108 * constants/methods manipulation
37109 * ----------------------------------------------------------------------------- */
37111 /* Install Constants */
37113 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37116 for (i
= 0; constants
[i
].type
; ++i
) {
37117 switch(constants
[i
].type
) {
37118 case SWIG_PY_POINTER
:
37119 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37121 case SWIG_PY_BINARY
:
37122 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37129 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
37135 /* -----------------------------------------------------------------------------*/
37136 /* Fix SwigMethods to carry the callback ptrs when needed */
37137 /* -----------------------------------------------------------------------------*/
37140 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37141 swig_const_info
*const_table
,
37142 swig_type_info
**types
,
37143 swig_type_info
**types_initial
) {
37145 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37146 const char *c
= methods
[i
].ml_doc
;
37147 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37149 swig_const_info
*ci
= 0;
37150 const char *name
= c
+ 10;
37151 for (j
= 0; const_table
[j
].type
; ++j
) {
37152 if (strncmp(const_table
[j
].name
, name
,
37153 strlen(const_table
[j
].name
)) == 0) {
37154 ci
= &(const_table
[j
]);
37159 size_t shift
= (ci
->ptype
) - types
;
37160 swig_type_info
*ty
= types_initial
[shift
];
37161 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37162 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37163 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37166 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37168 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37170 strncpy(buff
, "swig_ptr: ", 10);
37172 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37173 methods
[i
].ml_doc
= ndoc
;
37185 /* -----------------------------------------------------------------------------*
37186 * Partial Init method
37187 * -----------------------------------------------------------------------------*/
37192 SWIGEXPORT
void SWIG_init(void) {
37195 /* Fix SwigMethods to carry the callback ptrs when needed */
37196 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37198 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37199 d
= PyModule_GetDict(m
);
37201 SWIG_InitializeModule(0);
37202 SWIG_InstallConstants(d
,swig_const_table
);
37205 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37206 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
37207 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
37208 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
37209 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
37210 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
37211 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
37212 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
37213 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
37214 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
37215 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
37216 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
37217 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
37218 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
37219 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
37220 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
37221 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
37222 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
37223 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
37224 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
37225 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
37226 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
37227 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
37228 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
37229 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
37230 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
37231 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
37232 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
37233 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
37234 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
37235 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
37236 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
37237 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
37238 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
37239 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
37240 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
37241 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
37242 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
37243 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
37244 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
37245 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
37246 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
37247 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
37248 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
37249 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
37250 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
37251 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
37252 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
37253 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
37254 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
37255 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
37256 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
37257 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
37258 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
37259 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
37260 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
37261 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
37262 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
37263 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
37264 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
37265 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
37266 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
37267 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
37268 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
37269 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
37270 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
37271 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
37272 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
37273 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
37274 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
37275 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
37276 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
37277 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
37278 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
37279 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
37280 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
37281 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
37282 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
37283 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
37284 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
37285 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
37286 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
37287 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
37288 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
37289 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
37290 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
37291 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
37292 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
37293 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
37294 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
37295 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
37296 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
37297 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
37298 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
37299 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
37300 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
37301 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
37302 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
37303 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
37304 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
37305 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
37306 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
37307 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
37309 // Map renamed classes back to their common name for OOR
37310 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
37311 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
37312 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
37314 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
37315 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
37316 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
37317 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
37318 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
37319 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
37320 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
37321 PyDict_SetItemString(d
, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK
));
37322 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
37323 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
37324 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
37325 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
37326 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
37327 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
37328 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
37329 SWIG_Python_SetConstant(d
, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST
)));
37330 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
37331 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
37332 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
37333 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
37334 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
37335 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
37336 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
37337 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
37338 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
37339 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
37340 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
37341 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
37342 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
37343 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
37344 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
37345 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
37346 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
37347 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
37348 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
37349 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
37350 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
37351 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
37352 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
37353 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
37354 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
37355 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
37356 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
37357 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
37358 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
37359 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
37360 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
37361 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
37362 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
37363 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
37364 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
37365 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
37366 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
37367 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
37368 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
37369 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
37370 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
37371 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
37372 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
37373 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
37374 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
37375 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
37376 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
37377 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
37378 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
37379 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
37380 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
37381 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
37382 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
37383 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
37384 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
37385 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
37386 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
37387 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
37388 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
37389 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
37390 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
37391 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
37392 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
37393 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
37394 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
37395 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
37396 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
37397 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
37398 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
37399 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
37400 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
37401 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
37402 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
37403 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
37404 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
37405 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
37406 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
37407 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
37408 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
37409 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
37410 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
37411 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
37412 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
37414 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");