1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPosition swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewCanvas swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewControlBar swig_types[103]
2570 #define SWIGTYPE_p_wxPreviewFrame swig_types[104]
2571 #define SWIGTYPE_p_wxPrintData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPrintDialogData swig_types[107]
2574 #define SWIGTYPE_p_wxPrintPreview swig_types[108]
2575 #define SWIGTYPE_p_wxPrinter swig_types[109]
2576 #define SWIGTYPE_p_wxProgressDialog swig_types[110]
2577 #define SWIGTYPE_p_wxPyApp swig_types[111]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyHScrolledWindow swig_types[114]
2581 #define SWIGTYPE_p_wxPyHVScrolledWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[116]
2583 #define SWIGTYPE_p_wxPyImageHandler swig_types[117]
2584 #define SWIGTYPE_p_wxPyPanel swig_types[118]
2585 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[119]
2586 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[120]
2587 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[121]
2588 #define SWIGTYPE_p_wxPyPrintPreview swig_types[122]
2589 #define SWIGTYPE_p_wxPyPrintout swig_types[123]
2590 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[126]
2593 #define SWIGTYPE_p_wxPyVListBox swig_types[127]
2594 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxPyWindow swig_types[130]
2597 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[131]
2598 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxRegion swig_types[134]
2601 #define SWIGTYPE_p_wxSashEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSashWindow swig_types[137]
2604 #define SWIGTYPE_p_wxScrollEvent swig_types[138]
2605 #define SWIGTYPE_p_wxScrollWinEvent swig_types[139]
2606 #define SWIGTYPE_p_wxScrolledWindow swig_types[140]
2607 #define SWIGTYPE_p_wxSetCursorEvent swig_types[141]
2608 #define SWIGTYPE_p_wxShowEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[143]
2610 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[144]
2611 #define SWIGTYPE_p_wxSize swig_types[145]
2612 #define SWIGTYPE_p_wxSizeEvent swig_types[146]
2613 #define SWIGTYPE_p_wxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxSizerItem swig_types[148]
2615 #define SWIGTYPE_p_wxSplashScreen swig_types[149]
2616 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[150]
2617 #define SWIGTYPE_p_wxSplitterEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSplitterWindow swig_types[152]
2619 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxStatusBar swig_types[154]
2621 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[155]
2622 #define SWIGTYPE_p_wxString swig_types[156]
2623 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTGAHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTIFFHandler swig_types[159]
2626 #define SWIGTYPE_p_wxTaskBarIcon swig_types[160]
2627 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTextEntryDialog swig_types[162]
2629 #define SWIGTYPE_p_wxTipWindow swig_types[163]
2630 #define SWIGTYPE_p_wxToolBar swig_types[164]
2631 #define SWIGTYPE_p_wxTopLevelWindow swig_types[165]
2632 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
2633 #define SWIGTYPE_p_wxValidator swig_types[167]
2634 #define SWIGTYPE_p_wxVarHScrollHelper swig_types[168]
2635 #define SWIGTYPE_p_wxVarHVScrollHelper swig_types[169]
2636 #define SWIGTYPE_p_wxVarScrollHelperBase swig_types[170]
2637 #define SWIGTYPE_p_wxVarVScrollHelper swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[174]
2641 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175]
2642 #define SWIGTYPE_p_wxXPMHandler swig_types[176]
2643 static swig_type_info
*swig_types
[178];
2644 static swig_module_info swig_module
= {swig_types
, 177, 0, 0, 0, 0};
2645 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2646 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2648 /* -------- TYPES TABLE (END) -------- */
2650 #if (PY_VERSION_HEX <= 0x02000000)
2651 # if !defined(SWIG_PYTHON_CLASSIC)
2652 # error "This python version requires to use swig with the '-classic' option"
2655 #if (PY_VERSION_HEX <= 0x02020000)
2656 # error "This python version requires to use swig with the '-nomodern' option"
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodernargs' option"
2662 # error "This python version requires to use swig with the '-nofastunpack' option"
2665 /*-----------------------------------------------
2666 @(target):= _windows_.so
2667 ------------------------------------------------*/
2668 #define SWIG_init init_windows_
2670 #define SWIG_name "_windows_"
2672 #define SWIGVERSION 0x010329
2675 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2676 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2679 #include <stdexcept>
2683 class PyObject_ptr
{
2688 PyObject_ptr() :_obj(0)
2692 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2697 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2699 if (initial_ref
) Py_XINCREF(_obj
);
2702 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2704 Py_XINCREF(item
._obj
);
2715 operator PyObject
*() const
2720 PyObject
*operator->() const
2729 struct PyObject_var
: PyObject_ptr
{
2730 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2732 PyObject_var
& operator = (PyObject
* obj
)
2742 #include "wx/wxPython/wxPython.h"
2743 #include "wx/wxPython/pyclasses.h"
2746 static const wxString
wxPyEmptyString(wxEmptyString
);
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2778 int res
= SWIG_AsVal_long (obj
, &v
);
2779 if (SWIG_IsOK(res
)) {
2780 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2781 return SWIG_OverflowError
;
2783 if (val
) *val
= static_cast< int >(v
);
2791 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2793 if (obj
== Py_True
) {
2794 if (val
) *val
= true;
2796 } else if (obj
== Py_False
) {
2797 if (val
) *val
= false;
2801 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2802 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2808 #define SWIG_From_long PyInt_FromLong
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_int (int value
)
2814 return SWIG_From_long (value
);
2819 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2821 if (PyNumber_Check(obj
)) {
2822 if (val
) *val
= PyFloat_AsDouble(obj
);
2825 return SWIG_TypeError
;
2829 #define SWIG_From_double PyFloat_FromDouble
2831 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2832 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2833 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2834 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2835 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2836 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2838 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2842 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2844 self
->GetFieldRect(i
, r
);
2847 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2848 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2849 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2851 #include <wx/popupwin.h>
2854 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2857 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2858 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2859 : wxPopupTransientWindow(parent
, style
) {}
2861 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2862 DEC_PYCALLBACK__(OnDismiss
);
2863 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2868 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2869 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2870 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2873 #include <wx/tipwin.h>
2875 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2876 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2879 #include <wx/tipwin.h>
2880 #include <wx/vscroll.h>
2883 SWIGINTERNINLINE PyObject
*
2884 SWIG_From_unsigned_SS_long (unsigned long value
)
2886 return (value
> LONG_MAX
) ?
2887 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2891 SWIGINTERNINLINE PyObject
*
2892 SWIG_From_size_t (size_t value
)
2894 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2899 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2902 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2903 return SWIG_TypeError
;
2906 *val
= (unsigned long)v
;
2911 SWIGINTERNINLINE
int
2912 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2915 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2916 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2921 class wxPyVScrolledWindow
: public wxVScrolledWindow
2923 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2925 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2927 wxPyVScrolledWindow(wxWindow
*parent
,
2928 wxWindowID id
= wxID_ANY
,
2929 const wxPoint
& pos
= wxDefaultPosition
,
2930 const wxSize
& size
= wxDefaultSize
,
2932 const wxString
& name
= wxPyPanelNameStr
)
2933 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2936 // Overridable virtuals
2938 // this function must be overridden in the derived class and it should
2939 // return the height of the given line in pixels
2940 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight
);
2941 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
); // old name
2943 // this function doesn't have to be overridden but it may be useful to do
2944 // it if calculating the lines heights is a relatively expensive operation
2945 // as it gives the user code a possibility to calculate several of them at
2948 // OnGetLinesHint() is normally called just before OnGetRowHeight() but you
2949 // shouldn't rely on the latter being called for all lines in the interval
2950 // specified here. It is also possible that OnGetRowHeight() will be
2951 // called for the lines outside of this interval, so this is really just a
2952 // hint, not a promise.
2954 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2956 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint
);
2957 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
); // old name
2959 // when the number of lines changes, we try to estimate the total height
2960 // of all lines which is a rather expensive operation in terms of lines
2961 // access, so if the user code may estimate the average height
2962 // better/faster than we do, it should override this function to implement
2965 // this function should return the best guess for the total height it may
2967 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2970 // Also expose some other interesting protected methods
2973 // get the total height of the lines between lineMin (inclusive) and
2974 // lineMax (exclusive)
2975 wxCoord
GetRowsHeight(size_t lineMin
, size_t lineMax
) const
2976 { return wxVScrolledWindow::GetRowsHeight(lineMin
, lineMax
); }
2982 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2984 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetRowHeight
);
2985 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2986 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetRowsHeightHint
);
2987 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2989 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2992 class wxPyHScrolledWindow
: public wxHScrolledWindow
2994 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow
)
2996 wxPyHScrolledWindow() : wxHScrolledWindow() {}
2998 wxPyHScrolledWindow(wxWindow
*parent
,
2999 wxWindowID id
= wxID_ANY
,
3000 const wxPoint
& pos
= wxDefaultPosition
,
3001 const wxSize
& size
= wxDefaultSize
,
3003 const wxString
& name
= wxPyPanelNameStr
)
3004 : wxHScrolledWindow(parent
, id
, pos
, size
, style
, name
)
3007 // Overridable virtuals
3008 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth
);
3009 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint
);
3010 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth
);
3012 wxCoord
GetColumnsWidth(size_t columnMin
, size_t columnMax
) const
3013 { return wxHScrolledWindow::GetColumnsWidth(columnMin
, columnMax
); }
3018 IMPLEMENT_ABSTRACT_CLASS(wxPyHScrolledWindow
, wxHScrolledWindow
);
3020 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHScrolledWindow
, wxHScrolledWindow
, OnGetColumnWidth
);
3021 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHScrolledWindow
, wxHScrolledWindow
, OnGetColumnsWidthHint
);
3022 IMP_PYCALLBACK_COORD_const (wxPyHScrolledWindow
, wxHScrolledWindow
, EstimateTotalWidth
);
3026 class wxPyHVScrolledWindow
: public wxHVScrolledWindow
3028 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow
)
3030 wxPyHVScrolledWindow() : wxHVScrolledWindow() {}
3032 wxPyHVScrolledWindow(wxWindow
*parent
,
3033 wxWindowID id
= wxID_ANY
,
3034 const wxPoint
& pos
= wxDefaultPosition
,
3035 const wxSize
& size
= wxDefaultSize
,
3037 const wxString
& name
= wxPyPanelNameStr
)
3038 : wxHVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
3041 // Overridable virtuals
3042 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight
);
3043 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint
);
3044 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
3046 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth
);
3047 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint
);
3048 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth
);
3050 wxCoord
GetRowsHeight(size_t lineMin
, size_t lineMax
) const
3051 { return wxHVScrolledWindow::GetRowsHeight(lineMin
, lineMax
); }
3053 wxCoord
GetColumnsWidth(size_t columnMin
, size_t columnMax
) const
3054 { return wxHVScrolledWindow::GetColumnsWidth(columnMin
, columnMax
); }
3059 IMPLEMENT_ABSTRACT_CLASS(wxPyHVScrolledWindow
, wxHVScrolledWindow
);
3061 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow
, wxHVScrolledWindow
, OnGetRowHeight
);
3062 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow
, wxHVScrolledWindow
, OnGetRowsHeightHint
);
3063 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow
, wxHVScrolledWindow
, EstimateTotalHeight
);
3065 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow
, wxHVScrolledWindow
, OnGetColumnWidth
);
3066 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow
, wxHVScrolledWindow
, OnGetColumnsWidthHint
);
3067 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow
, wxHVScrolledWindow
, EstimateTotalWidth
);
3071 #include <wx/vlbox.h>
3073 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
3075 class wxPyVListBox
: public wxVListBox
3077 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3079 wxPyVListBox() : wxVListBox() {}
3081 wxPyVListBox(wxWindow
*parent
,
3082 wxWindowID id
= wxID_ANY
,
3083 const wxPoint
& pos
= wxDefaultPosition
,
3084 const wxSize
& size
= wxDefaultSize
,
3086 const wxString
& name
= wxPyVListBoxNameStr
)
3087 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3090 // Overridable virtuals
3092 // the derived class must implement this function to actually draw the item
3093 // with the given index on the provided DC
3094 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3095 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3098 // the derived class must implement this method to return the height of the
3100 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3101 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3104 // this method may be used to draw separators between the lines; note that
3105 // the rectangle may be modified, typically to deflate it a bit before
3106 // passing to OnDrawItem()
3108 // the base class version doesn't do anything
3109 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3110 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3113 // this method is used to draw the items background and, maybe, a border
3116 // the base class version implements a reasonable default behaviour which
3117 // consists in drawing the selected item with the standard background
3118 // colour and drawing a border around the item if it is either selected or
3120 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3121 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3127 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3129 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3130 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3131 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3132 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3135 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3136 unsigned long cookie
= 0;
3137 int selected
= self
->GetFirstSelected(cookie
);
3138 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3139 PyObject
* tup
= PyTuple_New(2);
3140 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3141 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3142 wxPyEndBlockThreads(blocked
);
3145 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3146 int selected
= self
->GetNextSelected(cookie
);
3147 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3148 PyObject
* tup
= PyTuple_New(2);
3149 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3150 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3151 wxPyEndBlockThreads(blocked
);
3155 #include <wx/htmllbox.h>
3158 class wxPyHtmlListBox
: public wxHtmlListBox
3160 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3162 wxPyHtmlListBox() : wxHtmlListBox() {}
3164 wxPyHtmlListBox(wxWindow
*parent
,
3165 wxWindowID id
= wxID_ANY
,
3166 const wxPoint
& pos
= wxDefaultPosition
,
3167 const wxSize
& size
= wxDefaultSize
,
3169 const wxString
& name
= wxPyVListBoxNameStr
)
3170 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3173 // Overridable virtuals
3175 // this method must be implemented in the derived class and should return
3176 // the body (i.e. without <html>) of the HTML for the given item
3177 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3179 // this function may be overridden to decorate HTML returned by OnGetItem()
3180 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3182 // These are from wxVListBox
3183 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3184 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3187 // // this method allows to customize the selection appearance: it may be used
3188 // // to specify the colour of the text which normally has the given colour
3189 // // colFg when it is inside the selection
3191 // // by default, the original colour is not used at all and all text has the
3192 // // same (default for this system) colour inside selection
3193 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3195 // // this is the same as GetSelectedTextColour() but allows to customize the
3196 // // background colour -- this is even more rarely used as you can change it
3197 // // globally using SetSelectionBackground()
3198 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3201 // This method may be overriden to handle clicking on a link in
3202 // the listbox. By default, clicking links is ignored.
3203 virtual void OnLinkClicked(size_t n
,
3204 const wxHtmlLinkInfo
& link
);
3210 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3212 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3213 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3214 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3215 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3218 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3219 const wxHtmlLinkInfo
& link
) {
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3223 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3224 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3227 wxPyEndBlockThreads(blocked
);
3229 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3234 const wxArrayString wxPyEmptyStringArray
;
3236 static const wxString
wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr
);
3240 #ifndef wxHAS_TASK_BAR_ICON
3241 // implement dummy classes for platforms that don't have it
3243 class wxTaskBarIcon
: public wxEvtHandler
3246 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3250 class wxTaskBarIconEvent
: public wxEvent
3253 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3254 { wxPyRaiseNotImplemented(); }
3255 virtual wxEvent
* Clone() const { return NULL
; }
3256 bool IsOk() const { return false; }
3257 bool IsIconInstalled() const { return false; }
3258 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3259 bool RemoveIcon() { return false; }
3260 bool PopupMenu(wxMenu
*menu
) { return false; }
3264 wxEVT_TASKBAR_MOVE
= 0,
3265 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3266 wxEVT_TASKBAR_LEFT_UP
= 0,
3267 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3268 wxEVT_TASKBAR_RIGHT_UP
= 0,
3269 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3270 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3275 // Otherwise make a class that can virtualize CreatePopupMenu
3276 class wxPyTaskBarIcon
: public wxTaskBarIcon
3278 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3280 wxPyTaskBarIcon() : wxTaskBarIcon()
3283 wxMenu
* CreatePopupMenu() {
3284 wxMenu
*rval
= NULL
;
3286 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3287 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3290 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3292 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3297 wxPyEndBlockThreads(blocked
);
3299 rval
= wxTaskBarIcon::CreatePopupMenu();
3306 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3310 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3314 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3315 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3316 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3317 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3318 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3319 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3321 // for compatibility only
3322 #define wxHIDE_READONLY 0
3324 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3326 self
->GetFilenames(arr
);
3327 return wxArrayString2PyList_helper(arr
);
3329 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3331 self
->GetPaths(arr
);
3332 return wxArrayString2PyList_helper(arr
);
3334 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3335 return wxArrayInt2PyList_helper(self
->GetSelections());
3337 SWIGINTERN wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
3338 return new wxSingleChoiceDialog(parent
, message
, caption
,
3339 choices
, choices_array
, NULL
, style
, pos
);
3341 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3343 SWIGINTERNINLINE PyObject
*
3344 SWIG_From_bool (bool value
)
3346 return PyBool_FromLong(value
? 1 : 0);
3352 // C++ version of Python aware wxWindow
3353 class wxPyWindow
: public wxWindow
3355 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3357 wxPyWindow() : wxWindow() {}
3358 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3359 const wxPoint
& pos
= wxDefaultPosition
,
3360 const wxSize
& size
= wxDefaultSize
,
3362 const wxString
& name
= wxPyPanelNameStr
)
3363 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3366 bool DoEraseBackground(wxDC
* dc
) {
3368 return wxWindow::DoEraseBackground(dc
->GetHDC());
3370 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3376 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3377 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3378 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3379 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3381 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3382 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3385 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3386 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3388 DEC_PYCALLBACK__(InitDialog
);
3389 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3390 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3391 DEC_PYCALLBACK_BOOL_(Validate
);
3393 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3394 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3395 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3397 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3398 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3400 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3401 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3403 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3405 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3410 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3412 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3413 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3414 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3415 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3417 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3418 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3419 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3421 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3422 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3424 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3425 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3426 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3427 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3429 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3430 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3431 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3433 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3434 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3436 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3437 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3439 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3441 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3443 // C++ version of Python aware wxPanel
3444 class wxPyPanel
: public wxPanel
3446 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3448 wxPyPanel() : wxPanel() {}
3449 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3450 const wxPoint
& pos
= wxDefaultPosition
,
3451 const wxSize
& size
= wxDefaultSize
,
3453 const wxString
& name
= wxPyPanelNameStr
)
3454 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3456 bool DoEraseBackground(wxDC
* dc
) {
3458 return wxWindow::DoEraseBackground(dc
->GetHDC());
3460 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3467 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3468 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3469 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3470 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3472 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3473 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3476 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3477 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3479 DEC_PYCALLBACK__(InitDialog
);
3480 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3481 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3482 DEC_PYCALLBACK_BOOL_(Validate
);
3484 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3485 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3486 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3488 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3489 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3491 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3492 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3494 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3496 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3501 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3503 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3504 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3505 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3506 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3508 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3509 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3512 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3513 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3515 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3516 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3517 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3518 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3520 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3521 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3522 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3524 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3525 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3527 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3528 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3530 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3532 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3534 // C++ version of Python aware wxScrolledWindow
3535 class wxPyScrolledWindow
: public wxScrolledWindow
3537 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3539 wxPyScrolledWindow() : wxScrolledWindow() {}
3540 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3541 const wxPoint
& pos
= wxDefaultPosition
,
3542 const wxSize
& size
= wxDefaultSize
,
3544 const wxString
& name
= wxPyPanelNameStr
)
3545 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3547 bool DoEraseBackground(wxDC
* dc
) {
3549 return wxWindow::DoEraseBackground(dc
->GetHDC());
3551 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3557 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3558 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3559 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3560 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3562 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3563 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3564 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3566 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3567 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3569 DEC_PYCALLBACK__(InitDialog
);
3570 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3571 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3572 DEC_PYCALLBACK_BOOL_(Validate
);
3574 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3575 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3576 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3578 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3579 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3581 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3582 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3584 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3586 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3591 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3593 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3594 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3595 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3596 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3598 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3599 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3600 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3602 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3603 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3605 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3606 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3607 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3608 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3610 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3611 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3612 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3614 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3615 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3617 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3618 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3620 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3622 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3625 #include "wx/wxPython/printfw.h"
3628 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3629 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3630 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3632 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3633 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3634 self
->GetPrivDataLen());
3635 wxPyEndBlockThreads(blocked
);
3638 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3639 if (! PyString_Check(data
)) {
3640 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3641 "Expected string object"));
3645 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3646 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3647 wxPyEndBlockThreads(blocked
);
3651 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3653 // Since this one would be tough and ugly to do with the Macros...
3654 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3655 bool hadErr
= false;
3658 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3659 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3660 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3661 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3664 val
= PyTuple_GetItem(result
, 0);
3665 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3668 val
= PyTuple_GetItem(result
, 1);
3669 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3672 val
= PyTuple_GetItem(result
, 2);
3673 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3676 val
= PyTuple_GetItem(result
, 3);
3677 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3684 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3689 wxPyEndBlockThreads(blocked
);
3691 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3696 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3697 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3698 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3699 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3700 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3701 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3702 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3708 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3709 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3712 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3713 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3716 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3717 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3718 PyObject* win = wxPyMake_wxObject(a,false); \
3719 PyObject* dc = wxPyMake_wxObject(&b,false); \
3720 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3724 wxPyEndBlockThreads(blocked); \
3726 rval = PCLASS::CBNAME(a, b); \
3733 class wxPyPrintPreview
: public wxPrintPreview
3735 DECLARE_CLASS(wxPyPrintPreview
)
3737 wxPyPrintPreview(wxPyPrintout
* printout
,
3738 wxPyPrintout
* printoutForPrinting
,
3739 wxPrintDialogData
* data
=NULL
)
3740 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3742 wxPyPrintPreview(wxPyPrintout
* printout
,
3743 wxPyPrintout
* printoutForPrinting
,
3745 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3748 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3749 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3750 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3751 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3752 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3753 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3754 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3759 // Stupid renamed classes... Fix this in 2.5...
3760 #if defined(__WXMSW__)
3761 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3762 #elif defined(__WXMAC__)
3763 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3765 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3768 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3769 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3770 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3771 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3772 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3773 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3774 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3777 class wxPyPreviewFrame
: public wxPreviewFrame
3779 DECLARE_CLASS(wxPyPreviewFrame
)
3781 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3782 const wxString
& title
,
3783 const wxPoint
& pos
= wxDefaultPosition
,
3784 const wxSize
& size
= wxDefaultSize
,
3785 long style
= wxDEFAULT_FRAME_STYLE
,
3786 const wxString
& name
= wxPyFrameNameStr
)
3787 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3790 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3791 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3793 DEC_PYCALLBACK_VOID_(Initialize
);
3794 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3795 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3800 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3802 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3803 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3804 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3807 class wxPyPreviewControlBar
: public wxPreviewControlBar
3809 DECLARE_CLASS(wxPyPreviewControlBar
)
3811 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3814 const wxPoint
& pos
= wxDefaultPosition
,
3815 const wxSize
& size
= wxDefaultSize
,
3817 const wxString
& name
= wxPyPanelNameStr
)
3818 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3821 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3823 DEC_PYCALLBACK_VOID_(CreateButtons
);
3824 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3829 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3830 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3831 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3836 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
= 0;
3838 wxWindow
*arg1
= (wxWindow
*) 0 ;
3839 int arg2
= (int) (int)-1 ;
3840 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3841 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3842 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3843 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3844 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3845 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3846 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3847 wxPanel
*result
= 0 ;
3856 bool temp6
= false ;
3857 PyObject
* obj0
= 0 ;
3858 PyObject
* obj1
= 0 ;
3859 PyObject
* obj2
= 0 ;
3860 PyObject
* obj3
= 0 ;
3861 PyObject
* obj4
= 0 ;
3862 PyObject
* obj5
= 0 ;
3863 char * kwnames
[] = {
3864 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3869 if (!SWIG_IsOK(res1
)) {
3870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3872 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3875 if (!SWIG_IsOK(ecode2
)) {
3876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3878 arg2
= static_cast< int >(val2
);
3883 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3889 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3893 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3894 if (!SWIG_IsOK(ecode5
)) {
3895 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3897 arg5
= static_cast< long >(val5
);
3901 arg6
= wxString_in_helper(obj5
);
3902 if (arg6
== NULL
) SWIG_fail
;
3907 if (!wxPyCheckForApp()) SWIG_fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3928 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3929 PyObject
*resultobj
= 0;
3930 wxPanel
*result
= 0 ;
3932 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3934 if (!wxPyCheckForApp()) SWIG_fail
;
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 result
= (wxPanel
*)new wxPanel();
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3947 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
= 0;
3949 wxPanel
*arg1
= (wxPanel
*) 0 ;
3950 wxWindow
*arg2
= (wxWindow
*) 0 ;
3951 int arg3
= (int) (int)-1 ;
3952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3956 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3957 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3958 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3970 bool temp7
= false ;
3971 PyObject
* obj0
= 0 ;
3972 PyObject
* obj1
= 0 ;
3973 PyObject
* obj2
= 0 ;
3974 PyObject
* obj3
= 0 ;
3975 PyObject
* obj4
= 0 ;
3976 PyObject
* obj5
= 0 ;
3977 PyObject
* obj6
= 0 ;
3978 char * kwnames
[] = {
3979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3984 if (!SWIG_IsOK(res1
)) {
3985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3987 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3988 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3989 if (!SWIG_IsOK(res2
)) {
3990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3992 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3995 if (!SWIG_IsOK(ecode3
)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3998 arg3
= static_cast< int >(val3
);
4003 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4009 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4013 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4014 if (!SWIG_IsOK(ecode6
)) {
4015 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
4017 arg6
= static_cast< long >(val6
);
4021 arg7
= wxString_in_helper(obj6
);
4022 if (arg7
== NULL
) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4049 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4050 PyObject
*resultobj
= 0;
4051 wxPanel
*arg1
= (wxPanel
*) 0 ;
4054 PyObject
*swig_obj
[1] ;
4056 if (!args
) SWIG_fail
;
4058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
4059 if (!SWIG_IsOK(res1
)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
4062 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 (arg1
)->SetFocusIgnoringChildren();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= SWIG_Py_Void();
4076 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
= 0;
4078 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4079 SwigValueWrapper
<wxVisualAttributes
> result
;
4082 PyObject
* obj0
= 0 ;
4083 char * kwnames
[] = {
4084 (char *) "variant", NULL
4087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4089 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4090 if (!SWIG_IsOK(ecode1
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4093 arg1
= static_cast< wxWindowVariant
>(val1
);
4096 if (!wxPyCheckForApp()) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4109 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4112 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4113 return SWIG_Py_Void();
4116 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4117 return SWIG_Python_InitShadowInstance(args
);
4120 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
= 0;
4122 wxWindow
*arg1
= (wxWindow
*) 0 ;
4123 int arg2
= (int) (int)-1 ;
4124 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4125 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4126 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4127 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4128 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4129 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4130 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4131 wxScrolledWindow
*result
= 0 ;
4140 bool temp6
= false ;
4141 PyObject
* obj0
= 0 ;
4142 PyObject
* obj1
= 0 ;
4143 PyObject
* obj2
= 0 ;
4144 PyObject
* obj3
= 0 ;
4145 PyObject
* obj4
= 0 ;
4146 PyObject
* obj5
= 0 ;
4147 char * kwnames
[] = {
4148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4153 if (!SWIG_IsOK(res1
)) {
4154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4156 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4159 if (!SWIG_IsOK(ecode2
)) {
4160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4162 arg2
= static_cast< int >(val2
);
4167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4173 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4177 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4178 if (!SWIG_IsOK(ecode5
)) {
4179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4181 arg5
= static_cast< long >(val5
);
4185 arg6
= wxString_in_helper(obj5
);
4186 if (arg6
== NULL
) SWIG_fail
;
4191 if (!wxPyCheckForApp()) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4212 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4213 PyObject
*resultobj
= 0;
4214 wxScrolledWindow
*result
= 0 ;
4216 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4218 if (!wxPyCheckForApp()) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4231 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
= 0;
4233 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4234 wxWindow
*arg2
= (wxWindow
*) 0 ;
4235 int arg3
= (int) (int)-1 ;
4236 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4237 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4238 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4239 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4240 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4241 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4242 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4254 bool temp7
= false ;
4255 PyObject
* obj0
= 0 ;
4256 PyObject
* obj1
= 0 ;
4257 PyObject
* obj2
= 0 ;
4258 PyObject
* obj3
= 0 ;
4259 PyObject
* obj4
= 0 ;
4260 PyObject
* obj5
= 0 ;
4261 PyObject
* obj6
= 0 ;
4262 char * kwnames
[] = {
4263 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4268 if (!SWIG_IsOK(res1
)) {
4269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4271 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4273 if (!SWIG_IsOK(res2
)) {
4274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4276 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4279 if (!SWIG_IsOK(ecode3
)) {
4280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4282 arg3
= static_cast< int >(val3
);
4287 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4293 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4297 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4298 if (!SWIG_IsOK(ecode6
)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4301 arg6
= static_cast< long >(val6
);
4305 arg7
= wxString_in_helper(obj6
);
4306 if (arg7
== NULL
) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4333 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
= 0;
4335 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4340 int arg6
= (int) 0 ;
4341 int arg7
= (int) 0 ;
4342 bool arg8
= (bool) false ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4361 PyObject
* obj2
= 0 ;
4362 PyObject
* obj3
= 0 ;
4363 PyObject
* obj4
= 0 ;
4364 PyObject
* obj5
= 0 ;
4365 PyObject
* obj6
= 0 ;
4366 PyObject
* obj7
= 0 ;
4367 char * kwnames
[] = {
4368 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4373 if (!SWIG_IsOK(res1
)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4376 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4378 if (!SWIG_IsOK(ecode2
)) {
4379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4381 arg2
= static_cast< int >(val2
);
4382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4383 if (!SWIG_IsOK(ecode3
)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4386 arg3
= static_cast< int >(val3
);
4387 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4388 if (!SWIG_IsOK(ecode4
)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4391 arg4
= static_cast< int >(val4
);
4392 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4393 if (!SWIG_IsOK(ecode5
)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4396 arg5
= static_cast< int >(val5
);
4398 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4399 if (!SWIG_IsOK(ecode6
)) {
4400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4402 arg6
= static_cast< int >(val6
);
4405 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4406 if (!SWIG_IsOK(ecode7
)) {
4407 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4409 arg7
= static_cast< int >(val7
);
4412 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4413 if (!SWIG_IsOK(ecode8
)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4416 arg8
= static_cast< bool >(val8
);
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_Py_Void();
4431 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
= 0;
4433 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 char * kwnames
[] = {
4446 (char *) "self",(char *) "x",(char *) "y", NULL
4449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4451 if (!SWIG_IsOK(res1
)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4456 if (!SWIG_IsOK(ecode2
)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4459 arg2
= static_cast< int >(val2
);
4460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4461 if (!SWIG_IsOK(ecode3
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4464 arg3
= static_cast< int >(val3
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->Scroll(arg2
,arg3
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_Py_Void();
4478 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4489 char * kwnames
[] = {
4490 (char *) "self",(char *) "orient", NULL
4493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4495 if (!SWIG_IsOK(res1
)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4498 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4500 if (!SWIG_IsOK(ecode2
)) {
4501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4503 arg2
= static_cast< int >(val2
);
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= SWIG_From_int(static_cast< int >(result
));
4517 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
= 0;
4519 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4529 PyObject
* obj1
= 0 ;
4530 PyObject
* obj2
= 0 ;
4531 char * kwnames
[] = {
4532 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4537 if (!SWIG_IsOK(res1
)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4540 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4542 if (!SWIG_IsOK(ecode2
)) {
4543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4545 arg2
= static_cast< int >(val2
);
4546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4547 if (!SWIG_IsOK(ecode3
)) {
4548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4550 arg3
= static_cast< int >(val3
);
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= SWIG_Py_Void();
4564 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
*resultobj
= 0;
4566 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4575 PyObject
* obj0
= 0 ;
4576 PyObject
* obj1
= 0 ;
4577 PyObject
* obj2
= 0 ;
4578 char * kwnames
[] = {
4579 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4584 if (!SWIG_IsOK(res1
)) {
4585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4587 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4589 if (!SWIG_IsOK(ecode2
)) {
4590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4592 arg2
= static_cast< int >(val2
);
4593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4594 if (!SWIG_IsOK(ecode3
)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4597 arg3
= static_cast< int >(val3
);
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 (arg1
)->SetScrollRate(arg2
,arg3
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= SWIG_Py_Void();
4611 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4612 PyObject
*resultobj
= 0;
4613 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4614 int *arg2
= (int *) 0 ;
4615 int *arg3
= (int *) 0 ;
4619 int res2
= SWIG_TMPOBJ
;
4621 int res3
= SWIG_TMPOBJ
;
4622 PyObject
*swig_obj
[1] ;
4626 if (!args
) SWIG_fail
;
4628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4629 if (!SWIG_IsOK(res1
)) {
4630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4632 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_Py_Void();
4640 if (SWIG_IsTmpObj(res2
)) {
4641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4643 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4646 if (SWIG_IsTmpObj(res3
)) {
4647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4649 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4658 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
= 0;
4660 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 PyObject
* obj2
= 0 ;
4672 char * kwnames
[] = {
4673 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4678 if (!SWIG_IsOK(res1
)) {
4679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4681 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4682 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4683 if (!SWIG_IsOK(ecode2
)) {
4684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4686 arg2
= static_cast< bool >(val2
);
4687 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4688 if (!SWIG_IsOK(ecode3
)) {
4689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4691 arg3
= static_cast< bool >(val3
);
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 (arg1
)->EnableScrolling(arg2
,arg3
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= SWIG_Py_Void();
4705 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4706 PyObject
*resultobj
= 0;
4707 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4708 int *arg2
= (int *) 0 ;
4709 int *arg3
= (int *) 0 ;
4713 int res2
= SWIG_TMPOBJ
;
4715 int res3
= SWIG_TMPOBJ
;
4716 PyObject
*swig_obj
[1] ;
4720 if (!args
) SWIG_fail
;
4722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4723 if (!SWIG_IsOK(res1
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4726 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= SWIG_Py_Void();
4734 if (SWIG_IsTmpObj(res2
)) {
4735 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4737 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4738 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4740 if (SWIG_IsTmpObj(res3
)) {
4741 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4743 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4752 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
= 0;
4754 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4763 PyObject
* obj0
= 0 ;
4764 PyObject
* obj1
= 0 ;
4765 PyObject
* obj2
= 0 ;
4766 char * kwnames
[] = {
4767 (char *) "self",(char *) "xs",(char *) "ys", NULL
4770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4772 if (!SWIG_IsOK(res1
)) {
4773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4775 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4776 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4777 if (!SWIG_IsOK(ecode2
)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4780 arg2
= static_cast< double >(val2
);
4781 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4782 if (!SWIG_IsOK(ecode3
)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4785 arg3
= static_cast< double >(val3
);
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 (arg1
)->SetScale(arg2
,arg3
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_Py_Void();
4799 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4800 PyObject
*resultobj
= 0;
4801 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4805 PyObject
*swig_obj
[1] ;
4807 if (!args
) SWIG_fail
;
4809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4810 if (!SWIG_IsOK(res1
)) {
4811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4813 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_From_double(static_cast< double >(result
));
4827 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4828 PyObject
*resultobj
= 0;
4829 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4833 PyObject
*swig_obj
[1] ;
4835 if (!args
) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4841 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= SWIG_From_double(static_cast< double >(result
));
4855 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4856 PyObject
*resultobj
= 0;
4857 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4864 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4866 if (!SWIG_IsOK(res1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4869 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4872 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4887 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4888 PyObject
*resultobj
= 0;
4889 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4892 int *arg4
= (int *) 0 ;
4893 int *arg5
= (int *) 0 ;
4901 int res4
= SWIG_TMPOBJ
;
4903 int res5
= SWIG_TMPOBJ
;
4907 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4912 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4913 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4914 if (!SWIG_IsOK(ecode2
)) {
4915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4917 arg2
= static_cast< int >(val2
);
4918 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4919 if (!SWIG_IsOK(ecode3
)) {
4920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4922 arg3
= static_cast< int >(val3
);
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 resultobj
= SWIG_Py_Void();
4930 if (SWIG_IsTmpObj(res4
)) {
4931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4933 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4936 if (SWIG_IsTmpObj(res5
)) {
4937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4939 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4948 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4952 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4955 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4958 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4962 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4967 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4968 PyObject
*resultobj
= 0;
4969 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4976 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4978 if (!SWIG_IsOK(res1
)) {
4979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4981 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4984 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4999 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
5000 PyObject
*resultobj
= 0;
5001 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5004 int *arg4
= (int *) 0 ;
5005 int *arg5
= (int *) 0 ;
5013 int res4
= SWIG_TMPOBJ
;
5015 int res5
= SWIG_TMPOBJ
;
5019 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
5020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5021 if (!SWIG_IsOK(res1
)) {
5022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5024 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5025 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5026 if (!SWIG_IsOK(ecode2
)) {
5027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
5029 arg2
= static_cast< int >(val2
);
5030 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
5031 if (!SWIG_IsOK(ecode3
)) {
5032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
5034 arg3
= static_cast< int >(val3
);
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= SWIG_Py_Void();
5042 if (SWIG_IsTmpObj(res4
)) {
5043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
5045 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
5048 if (SWIG_IsTmpObj(res5
)) {
5049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
5051 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
5060 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
5064 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
5067 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
5070 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
5074 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5079 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5080 PyObject
*resultobj
= 0;
5081 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5084 PyObject
*swig_obj
[1] ;
5086 if (!args
) SWIG_fail
;
5088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5089 if (!SWIG_IsOK(res1
)) {
5090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5092 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 (arg1
)->AdjustScrollbars();
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 resultobj
= SWIG_Py_Void();
5106 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
= 0;
5108 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5109 wxScrollWinEvent
*arg2
= 0 ;
5115 PyObject
* obj0
= 0 ;
5116 PyObject
* obj1
= 0 ;
5117 char * kwnames
[] = {
5118 (char *) "self",(char *) "event", NULL
5121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5123 if (!SWIG_IsOK(res1
)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5126 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5128 if (!SWIG_IsOK(res2
)) {
5129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5134 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_From_int(static_cast< int >(result
));
5148 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
= 0;
5150 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5151 wxWindow
*arg2
= (wxWindow
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5158 char * kwnames
[] = {
5159 (char *) "self",(char *) "target", NULL
5162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5164 if (!SWIG_IsOK(res1
)) {
5165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5167 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5169 if (!SWIG_IsOK(res2
)) {
5170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5172 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 (arg1
)->SetTargetWindow(arg2
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= SWIG_Py_Void();
5186 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5187 PyObject
*resultobj
= 0;
5188 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5189 wxWindow
*result
= 0 ;
5192 PyObject
*swig_obj
[1] ;
5194 if (!args
) SWIG_fail
;
5196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5197 if (!SWIG_IsOK(res1
)) {
5198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5200 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= wxPyMake_wxObject(result
, 0);
5216 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
= 0;
5218 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5225 PyObject
* obj1
= 0 ;
5226 char * kwnames
[] = {
5227 (char *) "self",(char *) "dc", NULL
5230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5232 if (!SWIG_IsOK(res1
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5235 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5237 if (!SWIG_IsOK(res2
)) {
5238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5243 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 (arg1
)->DoPrepareDC(*arg2
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= SWIG_Py_Void();
5257 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
= 0;
5259 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5260 SwigValueWrapper
<wxVisualAttributes
> result
;
5263 PyObject
* obj0
= 0 ;
5264 char * kwnames
[] = {
5265 (char *) "variant", NULL
5268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5270 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5271 if (!SWIG_IsOK(ecode1
)) {
5272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5274 arg1
= static_cast< wxWindowVariant
>(val1
);
5277 if (!wxPyCheckForApp()) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5290 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5293 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5294 return SWIG_Py_Void();
5297 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5298 return SWIG_Python_InitShadowInstance(args
);
5301 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5302 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5307 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5308 PyObject
*pyobj
= 0;
5312 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5314 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5321 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5322 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5327 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5328 PyObject
*pyobj
= 0;
5332 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5334 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5341 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5342 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5347 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5348 PyObject
*pyobj
= 0;
5352 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5354 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5361 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5362 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5367 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5368 PyObject
*pyobj
= 0;
5372 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5374 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5381 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
= 0;
5383 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5384 bool arg2
= (bool) true ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 char * kwnames
[] = {
5392 (char *) "self",(char *) "maximize", NULL
5395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5400 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5402 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5403 if (!SWIG_IsOK(ecode2
)) {
5404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5406 arg2
= static_cast< bool >(val2
);
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 (arg1
)->Maximize(arg2
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_Py_Void();
5421 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5422 PyObject
*resultobj
= 0;
5423 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5426 PyObject
*swig_obj
[1] ;
5428 if (!args
) SWIG_fail
;
5430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5431 if (!SWIG_IsOK(res1
)) {
5432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5434 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= SWIG_Py_Void();
5448 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
= 0;
5450 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5451 bool arg2
= (bool) true ;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5458 char * kwnames
[] = {
5459 (char *) "self",(char *) "iconize", NULL
5462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5464 if (!SWIG_IsOK(res1
)) {
5465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5467 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5469 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5470 if (!SWIG_IsOK(ecode2
)) {
5471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5473 arg2
= static_cast< bool >(val2
);
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 (arg1
)->Iconize(arg2
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_Py_Void();
5488 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5489 PyObject
*resultobj
= 0;
5490 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5494 PyObject
*swig_obj
[1] ;
5496 if (!args
) SWIG_fail
;
5498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5499 if (!SWIG_IsOK(res1
)) {
5500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5502 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5518 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5519 PyObject
*resultobj
= 0;
5520 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5524 PyObject
*swig_obj
[1] ;
5526 if (!args
) SWIG_fail
;
5528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5529 if (!SWIG_IsOK(res1
)) {
5530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5532 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5548 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5549 PyObject
*resultobj
= 0;
5550 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5554 PyObject
*swig_obj
[1] ;
5556 if (!args
) SWIG_fail
;
5558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5559 if (!SWIG_IsOK(res1
)) {
5560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5562 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5578 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5579 PyObject
*resultobj
= 0;
5580 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5584 PyObject
*swig_obj
[1] ;
5586 if (!args
) SWIG_fail
;
5588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5589 if (!SWIG_IsOK(res1
)) {
5590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5592 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5599 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5606 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
*resultobj
= 0;
5608 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5616 char * kwnames
[] = {
5617 (char *) "self",(char *) "icon", NULL
5620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5625 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5627 if (!SWIG_IsOK(res2
)) {
5628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5633 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= SWIG_Py_Void();
5647 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
= 0;
5649 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5650 wxIconBundle
*arg2
= 0 ;
5655 PyObject
* obj0
= 0 ;
5656 PyObject
* obj1
= 0 ;
5657 char * kwnames
[] = {
5658 (char *) "self",(char *) "icons", NULL
5661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5663 if (!SWIG_IsOK(res1
)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5666 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5667 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5668 if (!SWIG_IsOK(res2
)) {
5669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5674 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5681 resultobj
= SWIG_Py_Void();
5688 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
= 0;
5690 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5692 long arg3
= (long) wxFULLSCREEN_ALL
;
5700 PyObject
* obj0
= 0 ;
5701 PyObject
* obj1
= 0 ;
5702 PyObject
* obj2
= 0 ;
5703 char * kwnames
[] = {
5704 (char *) "self",(char *) "show",(char *) "style", NULL
5707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5709 if (!SWIG_IsOK(res1
)) {
5710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5712 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5713 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5714 if (!SWIG_IsOK(ecode2
)) {
5715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5717 arg2
= static_cast< bool >(val2
);
5719 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5720 if (!SWIG_IsOK(ecode3
)) {
5721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5723 arg3
= static_cast< long >(val3
);
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5740 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5741 PyObject
*resultobj
= 0;
5742 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5746 PyObject
*swig_obj
[1] ;
5748 if (!args
) SWIG_fail
;
5750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5751 if (!SWIG_IsOK(res1
)) {
5752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5754 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5770 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
= 0;
5772 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5773 wxString
*arg2
= 0 ;
5776 bool temp2
= false ;
5777 PyObject
* obj0
= 0 ;
5778 PyObject
* obj1
= 0 ;
5779 char * kwnames
[] = {
5780 (char *) "self",(char *) "title", NULL
5783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5785 if (!SWIG_IsOK(res1
)) {
5786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5788 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5790 arg2
= wxString_in_helper(obj1
);
5791 if (arg2
== NULL
) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 (arg1
)->SetTitle((wxString
const &)*arg2
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= SWIG_Py_Void();
5815 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5816 PyObject
*resultobj
= 0;
5817 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5821 PyObject
*swig_obj
[1] ;
5823 if (!args
) SWIG_fail
;
5825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5826 if (!SWIG_IsOK(res1
)) {
5827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5829 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5849 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
= 0;
5851 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5858 PyObject
* obj0
= 0 ;
5859 PyObject
* obj1
= 0 ;
5860 char * kwnames
[] = {
5861 (char *) "self",(char *) "enable", NULL
5864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5866 if (!SWIG_IsOK(res1
)) {
5867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5869 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5870 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5871 if (!SWIG_IsOK(ecode2
)) {
5872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5874 arg2
= static_cast< bool >(val2
);
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5890 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
= 0;
5892 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5893 wxRegion
*arg2
= 0 ;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5901 char * kwnames
[] = {
5902 (char *) "self",(char *) "region", NULL
5905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5907 if (!SWIG_IsOK(res1
)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5910 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5911 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5912 if (!SWIG_IsOK(res2
)) {
5913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5918 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5934 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
= 0;
5936 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5937 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5942 PyObject
* obj0
= 0 ;
5943 PyObject
* obj1
= 0 ;
5944 char * kwnames
[] = {
5945 (char *) "self",(char *) "flags", NULL
5948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5950 if (!SWIG_IsOK(res1
)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5953 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5956 if (!SWIG_IsOK(ecode2
)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5959 arg2
= static_cast< int >(val2
);
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 (arg1
)->RequestUserAttention(arg2
);
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= SWIG_Py_Void();
5974 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5975 PyObject
*resultobj
= 0;
5976 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5980 PyObject
*swig_obj
[1] ;
5982 if (!args
) SWIG_fail
;
5984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5985 if (!SWIG_IsOK(res1
)) {
5986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5988 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (bool)(arg1
)->IsActive();
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6004 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
= 0;
6006 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6014 char * kwnames
[] = {
6015 (char *) "self",(char *) "on", NULL
6018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6020 if (!SWIG_IsOK(res1
)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6023 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6024 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6025 if (!SWIG_IsOK(ecode2
)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6028 arg2
= static_cast< bool >(val2
);
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= SWIG_Py_Void();
6042 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6043 PyObject
*resultobj
= 0;
6044 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6048 PyObject
*swig_obj
[1] ;
6050 if (!args
) SWIG_fail
;
6052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6053 if (!SWIG_IsOK(res1
)) {
6054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6056 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6072 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
= 0;
6074 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6075 int arg2
= (int) wxBOTH
;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6082 char * kwnames
[] = {
6083 (char *) "self",(char *) "dir", NULL
6086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6088 if (!SWIG_IsOK(res1
)) {
6089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6091 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6094 if (!SWIG_IsOK(ecode2
)) {
6095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6097 arg2
= static_cast< int >(val2
);
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 (arg1
)->CenterOnScreen(arg2
);
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= SWIG_Py_Void();
6112 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6113 PyObject
*resultobj
= 0;
6114 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6115 wxWindow
*result
= 0 ;
6118 PyObject
*swig_obj
[1] ;
6120 if (!args
) SWIG_fail
;
6122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6123 if (!SWIG_IsOK(res1
)) {
6124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6126 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6134 resultobj
= wxPyMake_wxObject(result
, 0);
6142 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
= 0;
6144 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6145 wxWindow
*arg2
= (wxWindow
*) 0 ;
6146 wxWindow
*result
= 0 ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6153 char * kwnames
[] = {
6154 (char *) "self",(char *) "child", NULL
6157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6159 if (!SWIG_IsOK(res1
)) {
6160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6162 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6164 if (!SWIG_IsOK(res2
)) {
6165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6167 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= wxPyMake_wxObject(result
, 0);
6183 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
= 0;
6185 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6186 wxWindow
*arg2
= (wxWindow
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6193 char * kwnames
[] = {
6194 (char *) "self",(char *) "win", NULL
6197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6202 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6204 if (!SWIG_IsOK(res2
)) {
6205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6207 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 (arg1
)->SetTmpDefaultItem(arg2
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= SWIG_Py_Void();
6221 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6222 PyObject
*resultobj
= 0;
6223 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6224 wxWindow
*result
= 0 ;
6227 PyObject
*swig_obj
[1] ;
6229 if (!args
) SWIG_fail
;
6231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6232 if (!SWIG_IsOK(res1
)) {
6233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6235 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= wxPyMake_wxObject(result
, 0);
6251 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6254 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6255 return SWIG_Py_Void();
6258 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
= 0;
6260 wxWindow
*arg1
= (wxWindow
*) 0 ;
6261 int arg2
= (int) (int)-1 ;
6262 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6263 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6264 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6265 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6266 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6267 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6268 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6269 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6270 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6271 wxFrame
*result
= 0 ;
6276 bool temp3
= false ;
6281 bool temp7
= false ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6284 PyObject
* obj2
= 0 ;
6285 PyObject
* obj3
= 0 ;
6286 PyObject
* obj4
= 0 ;
6287 PyObject
* obj5
= 0 ;
6288 PyObject
* obj6
= 0 ;
6289 char * kwnames
[] = {
6290 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6295 if (!SWIG_IsOK(res1
)) {
6296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6298 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6301 if (!SWIG_IsOK(ecode2
)) {
6302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6304 arg2
= static_cast< int >(val2
);
6308 arg3
= wxString_in_helper(obj2
);
6309 if (arg3
== NULL
) SWIG_fail
;
6316 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6322 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6326 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6327 if (!SWIG_IsOK(ecode6
)) {
6328 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6330 arg6
= static_cast< long >(val6
);
6334 arg7
= wxString_in_helper(obj6
);
6335 if (arg7
== NULL
) SWIG_fail
;
6340 if (!wxPyCheckForApp()) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6369 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6370 PyObject
*resultobj
= 0;
6371 wxFrame
*result
= 0 ;
6373 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6375 if (!wxPyCheckForApp()) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (wxFrame
*)new wxFrame();
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6388 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
= 0;
6390 wxFrame
*arg1
= (wxFrame
*) 0 ;
6391 wxWindow
*arg2
= (wxWindow
*) 0 ;
6392 int arg3
= (int) (int)-1 ;
6393 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6394 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6395 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6396 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6397 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6398 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6399 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6400 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6401 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6409 bool temp4
= false ;
6414 bool temp8
= false ;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6417 PyObject
* obj2
= 0 ;
6418 PyObject
* obj3
= 0 ;
6419 PyObject
* obj4
= 0 ;
6420 PyObject
* obj5
= 0 ;
6421 PyObject
* obj6
= 0 ;
6422 PyObject
* obj7
= 0 ;
6423 char * kwnames
[] = {
6424 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6429 if (!SWIG_IsOK(res1
)) {
6430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6432 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6433 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6434 if (!SWIG_IsOK(res2
)) {
6435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6437 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6440 if (!SWIG_IsOK(ecode3
)) {
6441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6443 arg3
= static_cast< int >(val3
);
6447 arg4
= wxString_in_helper(obj3
);
6448 if (arg4
== NULL
) SWIG_fail
;
6455 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6461 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6465 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6466 if (!SWIG_IsOK(ecode7
)) {
6467 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6469 arg7
= static_cast< long >(val7
);
6473 arg8
= wxString_in_helper(obj7
);
6474 if (arg8
== NULL
) SWIG_fail
;
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6509 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6510 PyObject
*resultobj
= 0;
6511 wxFrame
*arg1
= (wxFrame
*) 0 ;
6514 PyObject
*swig_obj
[1] ;
6516 if (!args
) SWIG_fail
;
6518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6519 if (!SWIG_IsOK(res1
)) {
6520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6522 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 (arg1
)->SendSizeEvent();
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= SWIG_Py_Void();
6536 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
= 0;
6538 wxFrame
*arg1
= (wxFrame
*) 0 ;
6539 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6544 PyObject
* obj0
= 0 ;
6545 PyObject
* obj1
= 0 ;
6546 char * kwnames
[] = {
6547 (char *) "self",(char *) "menubar", NULL
6550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6552 if (!SWIG_IsOK(res1
)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6555 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6556 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6557 if (!SWIG_IsOK(res2
)) {
6558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6560 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 (arg1
)->SetMenuBar(arg2
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= SWIG_Py_Void();
6574 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6575 PyObject
*resultobj
= 0;
6576 wxFrame
*arg1
= (wxFrame
*) 0 ;
6577 wxMenuBar
*result
= 0 ;
6580 PyObject
*swig_obj
[1] ;
6582 if (!args
) SWIG_fail
;
6584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6585 if (!SWIG_IsOK(res1
)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6588 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= wxPyMake_wxObject(result
, 0);
6604 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
= 0;
6606 wxFrame
*arg1
= (wxFrame
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 char * kwnames
[] = {
6616 (char *) "self",(char *) "winid", NULL
6619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6621 if (!SWIG_IsOK(res1
)) {
6622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6624 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6626 if (!SWIG_IsOK(ecode2
)) {
6627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6629 arg2
= static_cast< int >(val2
);
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6645 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
= 0;
6647 wxFrame
*arg1
= (wxFrame
*) 0 ;
6648 int arg2
= (int) 1 ;
6649 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6650 int arg4
= (int) 0 ;
6651 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6652 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6653 wxStatusBar
*result
= 0 ;
6662 bool temp5
= false ;
6663 PyObject
* obj0
= 0 ;
6664 PyObject
* obj1
= 0 ;
6665 PyObject
* obj2
= 0 ;
6666 PyObject
* obj3
= 0 ;
6667 PyObject
* obj4
= 0 ;
6668 char * kwnames
[] = {
6669 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6674 if (!SWIG_IsOK(res1
)) {
6675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6677 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6680 if (!SWIG_IsOK(ecode2
)) {
6681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6683 arg2
= static_cast< int >(val2
);
6686 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6687 if (!SWIG_IsOK(ecode3
)) {
6688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6690 arg3
= static_cast< long >(val3
);
6693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6694 if (!SWIG_IsOK(ecode4
)) {
6695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6697 arg4
= static_cast< int >(val4
);
6701 arg5
= wxString_in_helper(obj4
);
6702 if (arg5
== NULL
) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6729 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6730 PyObject
*resultobj
= 0;
6731 wxFrame
*arg1
= (wxFrame
*) 0 ;
6732 wxStatusBar
*result
= 0 ;
6735 PyObject
*swig_obj
[1] ;
6737 if (!args
) SWIG_fail
;
6739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6740 if (!SWIG_IsOK(res1
)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6743 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6751 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6759 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
= 0;
6761 wxFrame
*arg1
= (wxFrame
*) 0 ;
6762 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6767 PyObject
* obj0
= 0 ;
6768 PyObject
* obj1
= 0 ;
6769 char * kwnames
[] = {
6770 (char *) "self",(char *) "statBar", NULL
6773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6775 if (!SWIG_IsOK(res1
)) {
6776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6778 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6780 if (!SWIG_IsOK(res2
)) {
6781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6783 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 (arg1
)->SetStatusBar(arg2
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 resultobj
= SWIG_Py_Void();
6797 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
= 0;
6799 wxFrame
*arg1
= (wxFrame
*) 0 ;
6800 wxString
*arg2
= 0 ;
6801 int arg3
= (int) 0 ;
6804 bool temp2
= false ;
6807 PyObject
* obj0
= 0 ;
6808 PyObject
* obj1
= 0 ;
6809 PyObject
* obj2
= 0 ;
6810 char * kwnames
[] = {
6811 (char *) "self",(char *) "text",(char *) "number", NULL
6814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6816 if (!SWIG_IsOK(res1
)) {
6817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6819 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6821 arg2
= wxString_in_helper(obj1
);
6822 if (arg2
== NULL
) SWIG_fail
;
6826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6827 if (!SWIG_IsOK(ecode3
)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6830 arg3
= static_cast< int >(val3
);
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_Py_Void();
6853 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
= 0;
6855 wxFrame
*arg1
= (wxFrame
*) 0 ;
6857 int *arg3
= (int *) 0 ;
6860 PyObject
* obj0
= 0 ;
6861 PyObject
* obj1
= 0 ;
6862 char * kwnames
[] = {
6863 (char *) "self",(char *) "widths", NULL
6866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6868 if (!SWIG_IsOK(res1
)) {
6869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6871 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6873 arg2
= PyList_Size(obj1
);
6874 arg3
= int_LIST_helper(obj1
);
6875 if (arg3
== NULL
) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_Py_Void();
6885 if (arg3
) delete [] arg3
;
6890 if (arg3
) delete [] arg3
;
6896 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
= 0;
6898 wxFrame
*arg1
= (wxFrame
*) 0 ;
6899 wxString
*arg2
= 0 ;
6900 int arg3
= (int) 0 ;
6903 bool temp2
= false ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6908 PyObject
* obj2
= 0 ;
6909 char * kwnames
[] = {
6910 (char *) "self",(char *) "text",(char *) "number", NULL
6913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6915 if (!SWIG_IsOK(res1
)) {
6916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6918 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6920 arg2
= wxString_in_helper(obj1
);
6921 if (arg2
== NULL
) SWIG_fail
;
6925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6926 if (!SWIG_IsOK(ecode3
)) {
6927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6929 arg3
= static_cast< int >(val3
);
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_Py_Void();
6952 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
= 0;
6954 wxFrame
*arg1
= (wxFrame
*) 0 ;
6955 int arg2
= (int) 0 ;
6960 PyObject
* obj0
= 0 ;
6961 PyObject
* obj1
= 0 ;
6962 char * kwnames
[] = {
6963 (char *) "self",(char *) "number", NULL
6966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6968 if (!SWIG_IsOK(res1
)) {
6969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6971 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6974 if (!SWIG_IsOK(ecode2
)) {
6975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6977 arg2
= static_cast< int >(val2
);
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 (arg1
)->PopStatusText(arg2
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= SWIG_Py_Void();
6992 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
= 0;
6994 wxFrame
*arg1
= (wxFrame
*) 0 ;
7000 PyObject
* obj0
= 0 ;
7001 PyObject
* obj1
= 0 ;
7002 char * kwnames
[] = {
7003 (char *) "self",(char *) "n", NULL
7006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7008 if (!SWIG_IsOK(res1
)) {
7009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7011 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7013 if (!SWIG_IsOK(ecode2
)) {
7014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7016 arg2
= static_cast< int >(val2
);
7018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 (arg1
)->SetStatusBarPane(arg2
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 resultobj
= SWIG_Py_Void();
7030 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7031 PyObject
*resultobj
= 0;
7032 wxFrame
*arg1
= (wxFrame
*) 0 ;
7036 PyObject
*swig_obj
[1] ;
7038 if (!args
) SWIG_fail
;
7040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7041 if (!SWIG_IsOK(res1
)) {
7042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7044 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_From_int(static_cast< int >(result
));
7058 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
= 0;
7060 wxFrame
*arg1
= (wxFrame
*) 0 ;
7061 long arg2
= (long) -1 ;
7062 int arg3
= (int) -1 ;
7063 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7064 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7065 wxToolBar
*result
= 0 ;
7072 bool temp4
= false ;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7075 PyObject
* obj2
= 0 ;
7076 PyObject
* obj3
= 0 ;
7077 char * kwnames
[] = {
7078 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7083 if (!SWIG_IsOK(res1
)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7086 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7088 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7089 if (!SWIG_IsOK(ecode2
)) {
7090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7092 arg2
= static_cast< long >(val2
);
7095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7096 if (!SWIG_IsOK(ecode3
)) {
7097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7099 arg3
= static_cast< int >(val3
);
7103 arg4
= wxString_in_helper(obj3
);
7104 if (arg4
== NULL
) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7131 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7132 PyObject
*resultobj
= 0;
7133 wxFrame
*arg1
= (wxFrame
*) 0 ;
7134 wxToolBar
*result
= 0 ;
7137 PyObject
*swig_obj
[1] ;
7139 if (!args
) SWIG_fail
;
7141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7142 if (!SWIG_IsOK(res1
)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7145 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7161 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
= 0;
7163 wxFrame
*arg1
= (wxFrame
*) 0 ;
7164 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7169 PyObject
* obj0
= 0 ;
7170 PyObject
* obj1
= 0 ;
7171 char * kwnames
[] = {
7172 (char *) "self",(char *) "toolbar", NULL
7175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7177 if (!SWIG_IsOK(res1
)) {
7178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7180 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7182 if (!SWIG_IsOK(res2
)) {
7183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7185 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 (arg1
)->SetToolBar(arg2
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_Py_Void();
7199 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
= 0;
7201 wxFrame
*arg1
= (wxFrame
*) 0 ;
7202 wxString
*arg2
= 0 ;
7206 bool temp2
= false ;
7209 PyObject
* obj0
= 0 ;
7210 PyObject
* obj1
= 0 ;
7211 PyObject
* obj2
= 0 ;
7212 char * kwnames
[] = {
7213 (char *) "self",(char *) "text",(char *) "show", NULL
7216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7218 if (!SWIG_IsOK(res1
)) {
7219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7221 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7223 arg2
= wxString_in_helper(obj1
);
7224 if (arg2
== NULL
) SWIG_fail
;
7227 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7228 if (!SWIG_IsOK(ecode3
)) {
7229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7231 arg3
= static_cast< bool >(val3
);
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= SWIG_Py_Void();
7253 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
= 0;
7255 wxFrame
*arg1
= (wxFrame
*) 0 ;
7256 wxMenu
*arg2
= (wxMenu
*) NULL
;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7263 char * kwnames
[] = {
7264 (char *) "self",(char *) "menu", NULL
7267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7269 if (!SWIG_IsOK(res1
)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7272 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7275 if (!SWIG_IsOK(res2
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7278 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 (arg1
)->DoMenuUpdates(arg2
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_Py_Void();
7293 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
= 0;
7295 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7296 SwigValueWrapper
<wxVisualAttributes
> result
;
7299 PyObject
* obj0
= 0 ;
7300 char * kwnames
[] = {
7301 (char *) "variant", NULL
7304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7306 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7307 if (!SWIG_IsOK(ecode1
)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7310 arg1
= static_cast< wxWindowVariant
>(val1
);
7313 if (!wxPyCheckForApp()) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7326 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7329 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7330 return SWIG_Py_Void();
7333 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7334 return SWIG_Python_InitShadowInstance(args
);
7337 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
= 0;
7339 wxWindow
*arg1
= (wxWindow
*) 0 ;
7340 int arg2
= (int) (int)-1 ;
7341 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7342 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7343 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7344 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7345 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7346 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7347 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7348 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7349 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7350 wxDialog
*result
= 0 ;
7355 bool temp3
= false ;
7360 bool temp7
= false ;
7361 PyObject
* obj0
= 0 ;
7362 PyObject
* obj1
= 0 ;
7363 PyObject
* obj2
= 0 ;
7364 PyObject
* obj3
= 0 ;
7365 PyObject
* obj4
= 0 ;
7366 PyObject
* obj5
= 0 ;
7367 PyObject
* obj6
= 0 ;
7368 char * kwnames
[] = {
7369 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7374 if (!SWIG_IsOK(res1
)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7377 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7380 if (!SWIG_IsOK(ecode2
)) {
7381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7383 arg2
= static_cast< int >(val2
);
7387 arg3
= wxString_in_helper(obj2
);
7388 if (arg3
== NULL
) SWIG_fail
;
7395 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7401 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7405 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7406 if (!SWIG_IsOK(ecode6
)) {
7407 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7409 arg6
= static_cast< long >(val6
);
7413 arg7
= wxString_in_helper(obj6
);
7414 if (arg7
== NULL
) SWIG_fail
;
7419 if (!wxPyCheckForApp()) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7448 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7449 PyObject
*resultobj
= 0;
7450 wxDialog
*result
= 0 ;
7452 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7454 if (!wxPyCheckForApp()) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 result
= (wxDialog
*)new wxDialog();
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7467 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
= 0;
7469 wxDialog
*arg1
= (wxDialog
*) 0 ;
7470 wxWindow
*arg2
= (wxWindow
*) 0 ;
7471 int arg3
= (int) (int)-1 ;
7472 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7473 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7474 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7475 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7476 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7477 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7478 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7479 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7480 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7488 bool temp4
= false ;
7493 bool temp8
= false ;
7494 PyObject
* obj0
= 0 ;
7495 PyObject
* obj1
= 0 ;
7496 PyObject
* obj2
= 0 ;
7497 PyObject
* obj3
= 0 ;
7498 PyObject
* obj4
= 0 ;
7499 PyObject
* obj5
= 0 ;
7500 PyObject
* obj6
= 0 ;
7501 PyObject
* obj7
= 0 ;
7502 char * kwnames
[] = {
7503 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7508 if (!SWIG_IsOK(res1
)) {
7509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7511 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7512 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7513 if (!SWIG_IsOK(res2
)) {
7514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7516 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7519 if (!SWIG_IsOK(ecode3
)) {
7520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7522 arg3
= static_cast< int >(val3
);
7526 arg4
= wxString_in_helper(obj3
);
7527 if (arg4
== NULL
) SWIG_fail
;
7534 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7540 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7544 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7545 if (!SWIG_IsOK(ecode7
)) {
7546 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7548 arg7
= static_cast< long >(val7
);
7552 arg8
= wxString_in_helper(obj7
);
7553 if (arg8
== NULL
) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7588 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
= 0;
7590 wxDialog
*arg1
= (wxDialog
*) 0 ;
7596 PyObject
* obj0
= 0 ;
7597 PyObject
* obj1
= 0 ;
7598 char * kwnames
[] = {
7599 (char *) "self",(char *) "returnCode", NULL
7602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7604 if (!SWIG_IsOK(res1
)) {
7605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7607 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7609 if (!SWIG_IsOK(ecode2
)) {
7610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7612 arg2
= static_cast< int >(val2
);
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->SetReturnCode(arg2
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_Py_Void();
7626 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7627 PyObject
*resultobj
= 0;
7628 wxDialog
*arg1
= (wxDialog
*) 0 ;
7632 PyObject
*swig_obj
[1] ;
7634 if (!args
) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7640 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_From_int(static_cast< int >(result
));
7654 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
= 0;
7656 wxDialog
*arg1
= (wxDialog
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7663 PyObject
* obj1
= 0 ;
7664 char * kwnames
[] = {
7665 (char *) "self",(char *) "affirmativeId", NULL
7668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7670 if (!SWIG_IsOK(res1
)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7673 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7675 if (!SWIG_IsOK(ecode2
)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7678 arg2
= static_cast< int >(val2
);
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 (arg1
)->SetAffirmativeId(arg2
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_Py_Void();
7692 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7693 PyObject
*resultobj
= 0;
7694 wxDialog
*arg1
= (wxDialog
*) 0 ;
7698 PyObject
*swig_obj
[1] ;
7700 if (!args
) SWIG_fail
;
7702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7703 if (!SWIG_IsOK(res1
)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7706 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= SWIG_From_int(static_cast< int >(result
));
7720 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
= 0;
7722 wxDialog
*arg1
= (wxDialog
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7730 char * kwnames
[] = {
7731 (char *) "self",(char *) "escapeId", NULL
7734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7736 if (!SWIG_IsOK(res1
)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7739 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7741 if (!SWIG_IsOK(ecode2
)) {
7742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7744 arg2
= static_cast< int >(val2
);
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 (arg1
)->SetEscapeId(arg2
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_Py_Void();
7758 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7759 PyObject
*resultobj
= 0;
7760 wxDialog
*arg1
= (wxDialog
*) 0 ;
7764 PyObject
*swig_obj
[1] ;
7766 if (!args
) SWIG_fail
;
7768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7769 if (!SWIG_IsOK(res1
)) {
7770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7772 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_From_int(static_cast< int >(result
));
7786 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
= 0;
7788 wxDialog
*arg1
= (wxDialog
*) 0 ;
7789 wxString
*arg2
= 0 ;
7790 wxSizer
*result
= 0 ;
7793 bool temp2
= false ;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7796 char * kwnames
[] = {
7797 (char *) "self",(char *) "message", NULL
7800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7802 if (!SWIG_IsOK(res1
)) {
7803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7805 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7807 arg2
= wxString_in_helper(obj1
);
7808 if (arg2
== NULL
) SWIG_fail
;
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7818 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7834 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
= 0;
7836 wxDialog
*arg1
= (wxDialog
*) 0 ;
7838 wxSizer
*result
= 0 ;
7843 PyObject
* obj0
= 0 ;
7844 PyObject
* obj1
= 0 ;
7845 char * kwnames
[] = {
7846 (char *) "self",(char *) "flags", NULL
7849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7851 if (!SWIG_IsOK(res1
)) {
7852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7854 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7855 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7856 if (!SWIG_IsOK(ecode2
)) {
7857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7859 arg2
= static_cast< long >(val2
);
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7867 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7875 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
= 0;
7877 wxDialog
*arg1
= (wxDialog
*) 0 ;
7879 wxSizer
*result
= 0 ;
7884 PyObject
* obj0
= 0 ;
7885 PyObject
* obj1
= 0 ;
7886 char * kwnames
[] = {
7887 (char *) "self",(char *) "flags", NULL
7890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7892 if (!SWIG_IsOK(res1
)) {
7893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7895 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7896 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7897 if (!SWIG_IsOK(ecode2
)) {
7898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7900 arg2
= static_cast< long >(val2
);
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7916 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7917 PyObject
*resultobj
= 0;
7918 wxDialog
*arg1
= (wxDialog
*) 0 ;
7920 wxStdDialogButtonSizer
*result
= 0 ;
7925 PyObject
* obj0
= 0 ;
7926 PyObject
* obj1
= 0 ;
7927 char * kwnames
[] = {
7928 (char *) "self",(char *) "flags", NULL
7931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7933 if (!SWIG_IsOK(res1
)) {
7934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7936 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7937 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7938 if (!SWIG_IsOK(ecode2
)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7941 arg2
= static_cast< long >(val2
);
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7955 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7956 PyObject
*resultobj
= 0;
7957 wxDialog
*arg1
= (wxDialog
*) 0 ;
7961 PyObject
*swig_obj
[1] ;
7963 if (!args
) SWIG_fail
;
7965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7966 if (!SWIG_IsOK(res1
)) {
7967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7969 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7985 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7986 PyObject
*resultobj
= 0;
7987 wxDialog
*arg1
= (wxDialog
*) 0 ;
7991 PyObject
*swig_obj
[1] ;
7993 if (!args
) SWIG_fail
;
7995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7996 if (!SWIG_IsOK(res1
)) {
7997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7999 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 result
= (int)(arg1
)->ShowModal();
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8006 resultobj
= SWIG_From_int(static_cast< int >(result
));
8013 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
= 0;
8015 wxDialog
*arg1
= (wxDialog
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8023 char * kwnames
[] = {
8024 (char *) "self",(char *) "retCode", NULL
8027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8029 if (!SWIG_IsOK(res1
)) {
8030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8032 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8034 if (!SWIG_IsOK(ecode2
)) {
8035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8037 arg2
= static_cast< int >(val2
);
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 (arg1
)->EndModal(arg2
);
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_Py_Void();
8051 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
= 0;
8053 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8054 SwigValueWrapper
<wxVisualAttributes
> result
;
8057 PyObject
* obj0
= 0 ;
8058 char * kwnames
[] = {
8059 (char *) "variant", NULL
8062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8064 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8065 if (!SWIG_IsOK(ecode1
)) {
8066 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8068 arg1
= static_cast< wxWindowVariant
>(val1
);
8071 if (!wxPyCheckForApp()) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8084 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8087 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8088 return SWIG_Py_Void();
8091 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8092 return SWIG_Python_InitShadowInstance(args
);
8095 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
*resultobj
= 0;
8097 wxWindow
*arg1
= (wxWindow
*) 0 ;
8098 int arg2
= (int) (int)-1 ;
8099 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8100 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8105 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8106 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8107 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8108 wxMiniFrame
*result
= 0 ;
8113 bool temp3
= false ;
8118 bool temp7
= false ;
8119 PyObject
* obj0
= 0 ;
8120 PyObject
* obj1
= 0 ;
8121 PyObject
* obj2
= 0 ;
8122 PyObject
* obj3
= 0 ;
8123 PyObject
* obj4
= 0 ;
8124 PyObject
* obj5
= 0 ;
8125 PyObject
* obj6
= 0 ;
8126 char * kwnames
[] = {
8127 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8132 if (!SWIG_IsOK(res1
)) {
8133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8135 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8138 if (!SWIG_IsOK(ecode2
)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8141 arg2
= static_cast< int >(val2
);
8145 arg3
= wxString_in_helper(obj2
);
8146 if (arg3
== NULL
) SWIG_fail
;
8153 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8159 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8163 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8164 if (!SWIG_IsOK(ecode6
)) {
8165 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8167 arg6
= static_cast< long >(val6
);
8171 arg7
= wxString_in_helper(obj6
);
8172 if (arg7
== NULL
) SWIG_fail
;
8177 if (!wxPyCheckForApp()) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8206 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8207 PyObject
*resultobj
= 0;
8208 wxMiniFrame
*result
= 0 ;
8210 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8212 if (!wxPyCheckForApp()) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 result
= (wxMiniFrame
*)new wxMiniFrame();
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8225 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
= 0;
8227 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8228 wxWindow
*arg2
= (wxWindow
*) 0 ;
8229 int arg3
= (int) (int)-1 ;
8230 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8231 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8232 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8233 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8234 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8235 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8236 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8237 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8238 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8246 bool temp4
= false ;
8251 bool temp8
= false ;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8254 PyObject
* obj2
= 0 ;
8255 PyObject
* obj3
= 0 ;
8256 PyObject
* obj4
= 0 ;
8257 PyObject
* obj5
= 0 ;
8258 PyObject
* obj6
= 0 ;
8259 PyObject
* obj7
= 0 ;
8260 char * kwnames
[] = {
8261 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8269 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8270 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8271 if (!SWIG_IsOK(res2
)) {
8272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8274 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8277 if (!SWIG_IsOK(ecode3
)) {
8278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8280 arg3
= static_cast< int >(val3
);
8284 arg4
= wxString_in_helper(obj3
);
8285 if (arg4
== NULL
) SWIG_fail
;
8292 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8298 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8302 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8303 if (!SWIG_IsOK(ecode7
)) {
8304 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8306 arg7
= static_cast< long >(val7
);
8310 arg8
= wxString_in_helper(obj7
);
8311 if (arg8
== NULL
) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8346 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8349 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8350 return SWIG_Py_Void();
8353 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8354 return SWIG_Python_InitShadowInstance(args
);
8357 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
*resultobj
= 0;
8359 wxBitmap
*arg1
= 0 ;
8360 wxWindow
*arg2
= (wxWindow
*) 0 ;
8362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8366 long arg6
= (long) wxNO_BORDER
;
8367 wxSplashScreenWindow
*result
= 0 ;
8378 PyObject
* obj0
= 0 ;
8379 PyObject
* obj1
= 0 ;
8380 PyObject
* obj2
= 0 ;
8381 PyObject
* obj3
= 0 ;
8382 PyObject
* obj4
= 0 ;
8383 PyObject
* obj5
= 0 ;
8384 char * kwnames
[] = {
8385 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8389 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8390 if (!SWIG_IsOK(res1
)) {
8391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8396 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8397 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8398 if (!SWIG_IsOK(res2
)) {
8399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8401 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8403 if (!SWIG_IsOK(ecode3
)) {
8404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8406 arg3
= static_cast< int >(val3
);
8410 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8416 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8420 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8421 if (!SWIG_IsOK(ecode6
)) {
8422 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8424 arg6
= static_cast< long >(val6
);
8427 if (!wxPyCheckForApp()) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8440 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
*resultobj
= 0;
8442 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8443 wxBitmap
*arg2
= 0 ;
8448 PyObject
* obj0
= 0 ;
8449 PyObject
* obj1
= 0 ;
8450 char * kwnames
[] = {
8451 (char *) "self",(char *) "bitmap", NULL
8454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8456 if (!SWIG_IsOK(res1
)) {
8457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8459 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8461 if (!SWIG_IsOK(res2
)) {
8462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8467 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= SWIG_Py_Void();
8481 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8482 PyObject
*resultobj
= 0;
8483 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8484 wxBitmap
*result
= 0 ;
8487 PyObject
*swig_obj
[1] ;
8489 if (!args
) SWIG_fail
;
8491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8492 if (!SWIG_IsOK(res1
)) {
8493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8495 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8500 result
= (wxBitmap
*) &_result_ref
;
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8506 wxBitmap
* resultptr
= new wxBitmap(*result
);
8507 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8515 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8518 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8519 return SWIG_Py_Void();
8522 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8523 return SWIG_Python_InitShadowInstance(args
);
8526 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
= 0;
8528 wxBitmap
*arg1
= 0 ;
8531 wxWindow
*arg4
= (wxWindow
*) 0 ;
8532 int arg5
= (int) -1 ;
8533 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8534 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8535 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8536 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8537 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8538 wxSplashScreen
*result
= 0 ;
8553 PyObject
* obj0
= 0 ;
8554 PyObject
* obj1
= 0 ;
8555 PyObject
* obj2
= 0 ;
8556 PyObject
* obj3
= 0 ;
8557 PyObject
* obj4
= 0 ;
8558 PyObject
* obj5
= 0 ;
8559 PyObject
* obj6
= 0 ;
8560 PyObject
* obj7
= 0 ;
8561 char * kwnames
[] = {
8562 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8566 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8567 if (!SWIG_IsOK(res1
)) {
8568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8573 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8574 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8575 if (!SWIG_IsOK(ecode2
)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8578 arg2
= static_cast< long >(val2
);
8579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8580 if (!SWIG_IsOK(ecode3
)) {
8581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8583 arg3
= static_cast< int >(val3
);
8584 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8585 if (!SWIG_IsOK(res4
)) {
8586 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8588 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8590 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8591 if (!SWIG_IsOK(ecode5
)) {
8592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8594 arg5
= static_cast< int >(val5
);
8599 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8605 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8609 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8610 if (!SWIG_IsOK(ecode8
)) {
8611 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8613 arg8
= static_cast< long >(val8
);
8616 if (!wxPyCheckForApp()) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8629 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8630 PyObject
*resultobj
= 0;
8631 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8635 PyObject
*swig_obj
[1] ;
8637 if (!args
) SWIG_fail
;
8639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8640 if (!SWIG_IsOK(res1
)) {
8641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8643 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 resultobj
= SWIG_From_long(static_cast< long >(result
));
8657 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8658 PyObject
*resultobj
= 0;
8659 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8660 wxSplashScreenWindow
*result
= 0 ;
8663 PyObject
*swig_obj
[1] ;
8665 if (!args
) SWIG_fail
;
8667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8668 if (!SWIG_IsOK(res1
)) {
8669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8671 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8685 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8686 PyObject
*resultobj
= 0;
8687 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8691 PyObject
*swig_obj
[1] ;
8693 if (!args
) SWIG_fail
;
8695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8696 if (!SWIG_IsOK(res1
)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8699 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= SWIG_From_int(static_cast< int >(result
));
8713 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8715 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8716 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8717 return SWIG_Py_Void();
8720 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8721 return SWIG_Python_InitShadowInstance(args
);
8724 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
= 0;
8726 wxWindow
*arg1
= (wxWindow
*) 0 ;
8727 int arg2
= (int) -1 ;
8728 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8729 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8730 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8731 wxStatusBar
*result
= 0 ;
8738 bool temp4
= false ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8741 PyObject
* obj2
= 0 ;
8742 PyObject
* obj3
= 0 ;
8743 char * kwnames
[] = {
8744 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8749 if (!SWIG_IsOK(res1
)) {
8750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8752 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8755 if (!SWIG_IsOK(ecode2
)) {
8756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8758 arg2
= static_cast< int >(val2
);
8761 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8762 if (!SWIG_IsOK(ecode3
)) {
8763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8765 arg3
= static_cast< long >(val3
);
8769 arg4
= wxString_in_helper(obj3
);
8770 if (arg4
== NULL
) SWIG_fail
;
8775 if (!wxPyCheckForApp()) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8796 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8797 PyObject
*resultobj
= 0;
8798 wxStatusBar
*result
= 0 ;
8800 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8802 if (!wxPyCheckForApp()) SWIG_fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 result
= (wxStatusBar
*)new wxStatusBar();
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8815 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
= 0;
8817 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8818 wxWindow
*arg2
= (wxWindow
*) 0 ;
8819 int arg3
= (int) -1 ;
8820 long arg4
= (long) wxST_SIZEGRIP
;
8821 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8822 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8832 bool temp5
= false ;
8833 PyObject
* obj0
= 0 ;
8834 PyObject
* obj1
= 0 ;
8835 PyObject
* obj2
= 0 ;
8836 PyObject
* obj3
= 0 ;
8837 PyObject
* obj4
= 0 ;
8838 char * kwnames
[] = {
8839 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8844 if (!SWIG_IsOK(res1
)) {
8845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8847 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8849 if (!SWIG_IsOK(res2
)) {
8850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8852 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8855 if (!SWIG_IsOK(ecode3
)) {
8856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8858 arg3
= static_cast< int >(val3
);
8861 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8862 if (!SWIG_IsOK(ecode4
)) {
8863 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8865 arg4
= static_cast< long >(val4
);
8869 arg5
= wxString_in_helper(obj4
);
8870 if (arg5
== NULL
) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8897 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
= 0;
8899 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8900 int arg2
= (int) 1 ;
8905 PyObject
* obj0
= 0 ;
8906 PyObject
* obj1
= 0 ;
8907 char * kwnames
[] = {
8908 (char *) "self",(char *) "number", NULL
8911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8913 if (!SWIG_IsOK(res1
)) {
8914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8916 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8919 if (!SWIG_IsOK(ecode2
)) {
8920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8922 arg2
= static_cast< int >(val2
);
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 (arg1
)->SetFieldsCount(arg2
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= SWIG_Py_Void();
8937 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8938 PyObject
*resultobj
= 0;
8939 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8943 PyObject
*swig_obj
[1] ;
8945 if (!args
) SWIG_fail
;
8947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8948 if (!SWIG_IsOK(res1
)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8951 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= SWIG_From_int(static_cast< int >(result
));
8965 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
= 0;
8967 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8968 wxString
*arg2
= 0 ;
8969 int arg3
= (int) 0 ;
8972 bool temp2
= false ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8977 PyObject
* obj2
= 0 ;
8978 char * kwnames
[] = {
8979 (char *) "self",(char *) "text",(char *) "number", NULL
8982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8984 if (!SWIG_IsOK(res1
)) {
8985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8987 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8989 arg2
= wxString_in_helper(obj1
);
8990 if (arg2
== NULL
) SWIG_fail
;
8994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8995 if (!SWIG_IsOK(ecode3
)) {
8996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8998 arg3
= static_cast< int >(val3
);
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= SWIG_Py_Void();
9021 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
= 0;
9023 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9024 int arg2
= (int) 0 ;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9032 char * kwnames
[] = {
9033 (char *) "self",(char *) "number", NULL
9036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9038 if (!SWIG_IsOK(res1
)) {
9039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9041 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9044 if (!SWIG_IsOK(ecode2
)) {
9045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9047 arg2
= static_cast< int >(val2
);
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9068 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
= 0;
9070 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9071 wxString
*arg2
= 0 ;
9072 int arg3
= (int) 0 ;
9075 bool temp2
= false ;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9080 PyObject
* obj2
= 0 ;
9081 char * kwnames
[] = {
9082 (char *) "self",(char *) "text",(char *) "number", NULL
9085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9087 if (!SWIG_IsOK(res1
)) {
9088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9090 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9092 arg2
= wxString_in_helper(obj1
);
9093 if (arg2
== NULL
) SWIG_fail
;
9097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9098 if (!SWIG_IsOK(ecode3
)) {
9099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9101 arg3
= static_cast< int >(val3
);
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_Py_Void();
9124 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
= 0;
9126 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9127 int arg2
= (int) 0 ;
9132 PyObject
* obj0
= 0 ;
9133 PyObject
* obj1
= 0 ;
9134 char * kwnames
[] = {
9135 (char *) "self",(char *) "number", NULL
9138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9140 if (!SWIG_IsOK(res1
)) {
9141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9143 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9146 if (!SWIG_IsOK(ecode2
)) {
9147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9149 arg2
= static_cast< int >(val2
);
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 (arg1
)->PopStatusText(arg2
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_Py_Void();
9164 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
= 0;
9166 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9168 int *arg3
= (int *) 0 ;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9173 char * kwnames
[] = {
9174 (char *) "self",(char *) "widths", NULL
9177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9179 if (!SWIG_IsOK(res1
)) {
9180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9182 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9184 arg2
= PyList_Size(obj1
);
9185 arg3
= int_LIST_helper(obj1
);
9186 if (arg3
== NULL
) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 resultobj
= SWIG_Py_Void();
9196 if (arg3
) delete [] arg3
;
9201 if (arg3
) delete [] arg3
;
9207 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
= 0;
9209 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9211 int *arg3
= (int *) 0 ;
9214 PyObject
* obj0
= 0 ;
9215 PyObject
* obj1
= 0 ;
9216 char * kwnames
[] = {
9217 (char *) "self",(char *) "styles", NULL
9220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9222 if (!SWIG_IsOK(res1
)) {
9223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9225 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9227 arg2
= PyList_Size(obj1
);
9228 arg3
= int_LIST_helper(obj1
);
9229 if (arg3
== NULL
) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= SWIG_Py_Void();
9239 if (arg3
) delete [] arg3
;
9244 if (arg3
) delete [] arg3
;
9250 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
= 0;
9252 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9259 PyObject
* obj0
= 0 ;
9260 PyObject
* obj1
= 0 ;
9261 char * kwnames
[] = {
9262 (char *) "self",(char *) "i", NULL
9265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9267 if (!SWIG_IsOK(res1
)) {
9268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9270 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9272 if (!SWIG_IsOK(ecode2
)) {
9273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9275 arg2
= static_cast< int >(val2
);
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9289 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
= 0;
9291 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9299 char * kwnames
[] = {
9300 (char *) "self",(char *) "height", NULL
9303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9305 if (!SWIG_IsOK(res1
)) {
9306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9308 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9310 if (!SWIG_IsOK(ecode2
)) {
9311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9313 arg2
= static_cast< int >(val2
);
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 (arg1
)->SetMinHeight(arg2
);
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_Py_Void();
9327 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9328 PyObject
*resultobj
= 0;
9329 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9333 PyObject
*swig_obj
[1] ;
9335 if (!args
) SWIG_fail
;
9337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9338 if (!SWIG_IsOK(res1
)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9341 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_From_int(static_cast< int >(result
));
9355 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9356 PyObject
*resultobj
= 0;
9357 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9361 PyObject
*swig_obj
[1] ;
9363 if (!args
) SWIG_fail
;
9365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9366 if (!SWIG_IsOK(res1
)) {
9367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9369 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= SWIG_From_int(static_cast< int >(result
));
9383 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
= 0;
9385 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9386 SwigValueWrapper
<wxVisualAttributes
> result
;
9389 PyObject
* obj0
= 0 ;
9390 char * kwnames
[] = {
9391 (char *) "variant", NULL
9394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9396 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9397 if (!SWIG_IsOK(ecode1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9400 arg1
= static_cast< wxWindowVariant
>(val1
);
9403 if (!wxPyCheckForApp()) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9416 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9419 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9420 return SWIG_Py_Void();
9423 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9424 return SWIG_Python_InitShadowInstance(args
);
9427 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9428 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9433 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9434 PyObject
*pyobj
= 0;
9438 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9440 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9447 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
= 0;
9449 wxWindow
*arg1
= (wxWindow
*) 0 ;
9450 int arg2
= (int) -1 ;
9451 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9452 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9453 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9454 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9455 long arg5
= (long) wxSP_3D
;
9456 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9457 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9458 wxSplitterWindow
*result
= 0 ;
9467 bool temp6
= false ;
9468 PyObject
* obj0
= 0 ;
9469 PyObject
* obj1
= 0 ;
9470 PyObject
* obj2
= 0 ;
9471 PyObject
* obj3
= 0 ;
9472 PyObject
* obj4
= 0 ;
9473 PyObject
* obj5
= 0 ;
9474 char * kwnames
[] = {
9475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9480 if (!SWIG_IsOK(res1
)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9483 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9486 if (!SWIG_IsOK(ecode2
)) {
9487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9489 arg2
= static_cast< int >(val2
);
9494 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9500 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9504 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9505 if (!SWIG_IsOK(ecode5
)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9508 arg5
= static_cast< long >(val5
);
9512 arg6
= wxString_in_helper(obj5
);
9513 if (arg6
== NULL
) SWIG_fail
;
9518 if (!wxPyCheckForApp()) SWIG_fail
;
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9539 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9540 PyObject
*resultobj
= 0;
9541 wxSplitterWindow
*result
= 0 ;
9543 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9545 if (!wxPyCheckForApp()) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9558 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
= 0;
9560 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9561 wxWindow
*arg2
= (wxWindow
*) 0 ;
9562 int arg3
= (int) -1 ;
9563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9567 long arg6
= (long) wxSP_3D
;
9568 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9569 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9581 bool temp7
= false ;
9582 PyObject
* obj0
= 0 ;
9583 PyObject
* obj1
= 0 ;
9584 PyObject
* obj2
= 0 ;
9585 PyObject
* obj3
= 0 ;
9586 PyObject
* obj4
= 0 ;
9587 PyObject
* obj5
= 0 ;
9588 PyObject
* obj6
= 0 ;
9589 char * kwnames
[] = {
9590 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9595 if (!SWIG_IsOK(res1
)) {
9596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9598 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9599 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9600 if (!SWIG_IsOK(res2
)) {
9601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9603 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9605 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9606 if (!SWIG_IsOK(ecode3
)) {
9607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9609 arg3
= static_cast< int >(val3
);
9614 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9620 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9624 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9625 if (!SWIG_IsOK(ecode6
)) {
9626 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9628 arg6
= static_cast< long >(val6
);
9632 arg7
= wxString_in_helper(obj6
);
9633 if (arg7
== NULL
) SWIG_fail
;
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9660 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9661 PyObject
*resultobj
= 0;
9662 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9663 wxWindow
*result
= 0 ;
9666 PyObject
*swig_obj
[1] ;
9668 if (!args
) SWIG_fail
;
9670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9671 if (!SWIG_IsOK(res1
)) {
9672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9674 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= wxPyMake_wxObject(result
, 0);
9690 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9691 PyObject
*resultobj
= 0;
9692 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9693 wxWindow
*result
= 0 ;
9696 PyObject
*swig_obj
[1] ;
9698 if (!args
) SWIG_fail
;
9700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9701 if (!SWIG_IsOK(res1
)) {
9702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9704 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= wxPyMake_wxObject(result
, 0);
9720 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
= 0;
9722 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9730 char * kwnames
[] = {
9731 (char *) "self",(char *) "mode", NULL
9734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9736 if (!SWIG_IsOK(res1
)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9739 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9741 if (!SWIG_IsOK(ecode2
)) {
9742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9744 arg2
= static_cast< int >(val2
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->SetSplitMode(arg2
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_Py_Void();
9758 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9759 PyObject
*resultobj
= 0;
9760 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9764 PyObject
*swig_obj
[1] ;
9766 if (!args
) SWIG_fail
;
9768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9769 if (!SWIG_IsOK(res1
)) {
9770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9772 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= SWIG_From_int(static_cast< int >(result
));
9786 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
= 0;
9788 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9789 wxWindow
*arg2
= (wxWindow
*) 0 ;
9794 PyObject
* obj0
= 0 ;
9795 PyObject
* obj1
= 0 ;
9796 char * kwnames
[] = {
9797 (char *) "self",(char *) "window", NULL
9800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9802 if (!SWIG_IsOK(res1
)) {
9803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9805 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9806 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9807 if (!SWIG_IsOK(res2
)) {
9808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9810 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 (arg1
)->Initialize(arg2
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= SWIG_Py_Void();
9824 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
= 0;
9826 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9827 wxWindow
*arg2
= (wxWindow
*) 0 ;
9828 wxWindow
*arg3
= (wxWindow
*) 0 ;
9829 int arg4
= (int) 0 ;
9839 PyObject
* obj0
= 0 ;
9840 PyObject
* obj1
= 0 ;
9841 PyObject
* obj2
= 0 ;
9842 PyObject
* obj3
= 0 ;
9843 char * kwnames
[] = {
9844 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9849 if (!SWIG_IsOK(res1
)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9852 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9854 if (!SWIG_IsOK(res2
)) {
9855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9857 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9858 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9859 if (!SWIG_IsOK(res3
)) {
9860 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9862 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9864 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9865 if (!SWIG_IsOK(ecode4
)) {
9866 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9868 arg4
= static_cast< int >(val4
);
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9885 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
= 0;
9887 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9888 wxWindow
*arg2
= (wxWindow
*) 0 ;
9889 wxWindow
*arg3
= (wxWindow
*) 0 ;
9890 int arg4
= (int) 0 ;
9900 PyObject
* obj0
= 0 ;
9901 PyObject
* obj1
= 0 ;
9902 PyObject
* obj2
= 0 ;
9903 PyObject
* obj3
= 0 ;
9904 char * kwnames
[] = {
9905 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9910 if (!SWIG_IsOK(res1
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9913 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9914 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9915 if (!SWIG_IsOK(res2
)) {
9916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9918 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9919 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9920 if (!SWIG_IsOK(res3
)) {
9921 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9923 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9925 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9926 if (!SWIG_IsOK(ecode4
)) {
9927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9929 arg4
= static_cast< int >(val4
);
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9946 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
= 0;
9948 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9949 wxWindow
*arg2
= (wxWindow
*) NULL
;
9955 PyObject
* obj0
= 0 ;
9956 PyObject
* obj1
= 0 ;
9957 char * kwnames
[] = {
9958 (char *) "self",(char *) "toRemove", NULL
9961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9963 if (!SWIG_IsOK(res1
)) {
9964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9966 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9968 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9969 if (!SWIG_IsOK(res2
)) {
9970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9972 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 result
= (bool)(arg1
)->Unsplit(arg2
);
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9989 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
= 0;
9991 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9992 wxWindow
*arg2
= (wxWindow
*) 0 ;
9993 wxWindow
*arg3
= (wxWindow
*) 0 ;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 PyObject
* obj2
= 0 ;
10004 char * kwnames
[] = {
10005 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10010 if (!SWIG_IsOK(res1
)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10013 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10015 if (!SWIG_IsOK(res2
)) {
10016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10018 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10019 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10020 if (!SWIG_IsOK(res3
)) {
10021 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10023 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10039 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10040 PyObject
*resultobj
= 0;
10041 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10044 PyObject
*swig_obj
[1] ;
10046 if (!args
) SWIG_fail
;
10047 swig_obj
[0] = args
;
10048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10049 if (!SWIG_IsOK(res1
)) {
10050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10052 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 (arg1
)->UpdateSize();
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_Py_Void();
10066 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10067 PyObject
*resultobj
= 0;
10068 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10072 PyObject
*swig_obj
[1] ;
10074 if (!args
) SWIG_fail
;
10075 swig_obj
[0] = args
;
10076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10077 if (!SWIG_IsOK(res1
)) {
10078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10080 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10096 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
= 0;
10098 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10104 PyObject
* obj0
= 0 ;
10105 PyObject
* obj1
= 0 ;
10106 char * kwnames
[] = {
10107 (char *) "self",(char *) "width", NULL
10110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10112 if (!SWIG_IsOK(res1
)) {
10113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10115 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10117 if (!SWIG_IsOK(ecode2
)) {
10118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10120 arg2
= static_cast< int >(val2
);
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 (arg1
)->SetSashSize(arg2
);
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= SWIG_Py_Void();
10134 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
= 0;
10136 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10142 PyObject
* obj0
= 0 ;
10143 PyObject
* obj1
= 0 ;
10144 char * kwnames
[] = {
10145 (char *) "self",(char *) "width", NULL
10148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10150 if (!SWIG_IsOK(res1
)) {
10151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10153 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10155 if (!SWIG_IsOK(ecode2
)) {
10156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10158 arg2
= static_cast< int >(val2
);
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 (arg1
)->SetBorderSize(arg2
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= SWIG_Py_Void();
10172 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10173 PyObject
*resultobj
= 0;
10174 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10178 PyObject
*swig_obj
[1] ;
10180 if (!args
) SWIG_fail
;
10181 swig_obj
[0] = args
;
10182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10183 if (!SWIG_IsOK(res1
)) {
10184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10186 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 resultobj
= SWIG_From_int(static_cast< int >(result
));
10200 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10201 PyObject
*resultobj
= 0;
10202 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10206 PyObject
*swig_obj
[1] ;
10208 if (!args
) SWIG_fail
;
10209 swig_obj
[0] = args
;
10210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10211 if (!SWIG_IsOK(res1
)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10214 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_From_int(static_cast< int >(result
));
10228 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
= 0;
10230 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10232 bool arg3
= (bool) true ;
10239 PyObject
* obj0
= 0 ;
10240 PyObject
* obj1
= 0 ;
10241 PyObject
* obj2
= 0 ;
10242 char * kwnames
[] = {
10243 (char *) "self",(char *) "position",(char *) "redraw", NULL
10246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10248 if (!SWIG_IsOK(res1
)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10251 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10253 if (!SWIG_IsOK(ecode2
)) {
10254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10256 arg2
= static_cast< int >(val2
);
10258 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10259 if (!SWIG_IsOK(ecode3
)) {
10260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10262 arg3
= static_cast< bool >(val3
);
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 (arg1
)->SetSashPosition(arg2
,arg3
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10270 resultobj
= SWIG_Py_Void();
10277 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10278 PyObject
*resultobj
= 0;
10279 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10283 PyObject
*swig_obj
[1] ;
10285 if (!args
) SWIG_fail
;
10286 swig_obj
[0] = args
;
10287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10288 if (!SWIG_IsOK(res1
)) {
10289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10291 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= SWIG_From_int(static_cast< int >(result
));
10305 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
= 0;
10307 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10313 PyObject
* obj0
= 0 ;
10314 PyObject
* obj1
= 0 ;
10315 char * kwnames
[] = {
10316 (char *) "self",(char *) "gravity", NULL
10319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10321 if (!SWIG_IsOK(res1
)) {
10322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10324 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10325 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10326 if (!SWIG_IsOK(ecode2
)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10329 arg2
= static_cast< double >(val2
);
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 (arg1
)->SetSashGravity(arg2
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_Py_Void();
10343 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10344 PyObject
*resultobj
= 0;
10345 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10349 PyObject
*swig_obj
[1] ;
10351 if (!args
) SWIG_fail
;
10352 swig_obj
[0] = args
;
10353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10354 if (!SWIG_IsOK(res1
)) {
10355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10357 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= SWIG_From_double(static_cast< double >(result
));
10371 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
= 0;
10373 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 char * kwnames
[] = {
10382 (char *) "self",(char *) "min", NULL
10385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10387 if (!SWIG_IsOK(res1
)) {
10388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10390 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10392 if (!SWIG_IsOK(ecode2
)) {
10393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10395 arg2
= static_cast< int >(val2
);
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 (arg1
)->SetMinimumPaneSize(arg2
);
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= SWIG_Py_Void();
10409 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10410 PyObject
*resultobj
= 0;
10411 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10415 PyObject
*swig_obj
[1] ;
10417 if (!args
) SWIG_fail
;
10418 swig_obj
[0] = args
;
10419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10420 if (!SWIG_IsOK(res1
)) {
10421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10423 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= SWIG_From_int(static_cast< int >(result
));
10437 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
= 0;
10439 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10442 int arg4
= (int) 5 ;
10452 PyObject
* obj0
= 0 ;
10453 PyObject
* obj1
= 0 ;
10454 PyObject
* obj2
= 0 ;
10455 PyObject
* obj3
= 0 ;
10456 char * kwnames
[] = {
10457 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10465 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10467 if (!SWIG_IsOK(ecode2
)) {
10468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10470 arg2
= static_cast< int >(val2
);
10471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10472 if (!SWIG_IsOK(ecode3
)) {
10473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10475 arg3
= static_cast< int >(val3
);
10477 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10478 if (!SWIG_IsOK(ecode4
)) {
10479 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10481 arg4
= static_cast< int >(val4
);
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10498 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10499 PyObject
*resultobj
= 0;
10500 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10503 PyObject
*swig_obj
[1] ;
10505 if (!args
) SWIG_fail
;
10506 swig_obj
[0] = args
;
10507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10508 if (!SWIG_IsOK(res1
)) {
10509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10511 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 (arg1
)->SizeWindows();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_Py_Void();
10525 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
= 0;
10527 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 char * kwnames
[] = {
10536 (char *) "self",(char *) "needUpdating", NULL
10539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10541 if (!SWIG_IsOK(res1
)) {
10542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10544 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10545 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10546 if (!SWIG_IsOK(ecode2
)) {
10547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10549 arg2
= static_cast< bool >(val2
);
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 (arg1
)->SetNeedUpdating(arg2
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= SWIG_Py_Void();
10563 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10564 PyObject
*resultobj
= 0;
10565 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10569 PyObject
*swig_obj
[1] ;
10571 if (!args
) SWIG_fail
;
10572 swig_obj
[0] = args
;
10573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10574 if (!SWIG_IsOK(res1
)) {
10575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10577 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10593 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
= 0;
10595 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10596 SwigValueWrapper
<wxVisualAttributes
> result
;
10599 PyObject
* obj0
= 0 ;
10600 char * kwnames
[] = {
10601 (char *) "variant", NULL
10604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10606 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10607 if (!SWIG_IsOK(ecode1
)) {
10608 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10610 arg1
= static_cast< wxWindowVariant
>(val1
);
10613 if (!wxPyCheckForApp()) SWIG_fail
;
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10626 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10629 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10630 return SWIG_Py_Void();
10633 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10634 return SWIG_Python_InitShadowInstance(args
);
10637 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
= 0;
10639 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10640 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10641 wxSplitterEvent
*result
= 0 ;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 char * kwnames
[] = {
10649 (char *) "type",(char *) "splitter", NULL
10652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10654 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10655 if (!SWIG_IsOK(ecode1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10658 arg1
= static_cast< wxEventType
>(val1
);
10661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10662 if (!SWIG_IsOK(res2
)) {
10663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10665 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10680 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
= 0;
10682 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 char * kwnames
[] = {
10691 (char *) "self",(char *) "pos", NULL
10694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10696 if (!SWIG_IsOK(res1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10699 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10701 if (!SWIG_IsOK(ecode2
)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10704 arg2
= static_cast< int >(val2
);
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 (arg1
)->SetSashPosition(arg2
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 resultobj
= SWIG_Py_Void();
10718 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10719 PyObject
*resultobj
= 0;
10720 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10724 PyObject
*swig_obj
[1] ;
10726 if (!args
) SWIG_fail
;
10727 swig_obj
[0] = args
;
10728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10729 if (!SWIG_IsOK(res1
)) {
10730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10732 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= SWIG_From_int(static_cast< int >(result
));
10746 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10747 PyObject
*resultobj
= 0;
10748 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10749 wxWindow
*result
= 0 ;
10752 PyObject
*swig_obj
[1] ;
10754 if (!args
) SWIG_fail
;
10755 swig_obj
[0] = args
;
10756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10757 if (!SWIG_IsOK(res1
)) {
10758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10760 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= wxPyMake_wxObject(result
, 0);
10776 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10777 PyObject
*resultobj
= 0;
10778 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10782 PyObject
*swig_obj
[1] ;
10784 if (!args
) SWIG_fail
;
10785 swig_obj
[0] = args
;
10786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10787 if (!SWIG_IsOK(res1
)) {
10788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10790 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 resultobj
= SWIG_From_int(static_cast< int >(result
));
10804 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10805 PyObject
*resultobj
= 0;
10806 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10810 PyObject
*swig_obj
[1] ;
10812 if (!args
) SWIG_fail
;
10813 swig_obj
[0] = args
;
10814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10815 if (!SWIG_IsOK(res1
)) {
10816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10818 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= SWIG_From_int(static_cast< int >(result
));
10832 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10835 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10836 return SWIG_Py_Void();
10839 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10840 return SWIG_Python_InitShadowInstance(args
);
10843 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10844 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10849 SWIGINTERN PyObject
*SashNameStr_get(void) {
10850 PyObject
*pyobj
= 0;
10854 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10856 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10863 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10864 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10869 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10870 PyObject
*pyobj
= 0;
10874 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10876 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10883 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
= 0;
10885 wxWindow
*arg1
= (wxWindow
*) 0 ;
10886 int arg2
= (int) -1 ;
10887 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10888 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10889 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10890 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10891 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10892 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10893 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10894 wxSashWindow
*result
= 0 ;
10903 bool temp6
= false ;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 PyObject
* obj2
= 0 ;
10907 PyObject
* obj3
= 0 ;
10908 PyObject
* obj4
= 0 ;
10909 PyObject
* obj5
= 0 ;
10910 char * kwnames
[] = {
10911 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10916 if (!SWIG_IsOK(res1
)) {
10917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10919 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10922 if (!SWIG_IsOK(ecode2
)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10925 arg2
= static_cast< int >(val2
);
10930 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10936 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10940 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10941 if (!SWIG_IsOK(ecode5
)) {
10942 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10944 arg5
= static_cast< long >(val5
);
10948 arg6
= wxString_in_helper(obj5
);
10949 if (arg6
== NULL
) SWIG_fail
;
10954 if (!wxPyCheckForApp()) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10975 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10976 PyObject
*resultobj
= 0;
10977 wxSashWindow
*result
= 0 ;
10979 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10981 if (!wxPyCheckForApp()) SWIG_fail
;
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (wxSashWindow
*)new wxSashWindow();
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10994 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
= 0;
10996 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10997 wxWindow
*arg2
= (wxWindow
*) 0 ;
10998 int arg3
= (int) -1 ;
10999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11003 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
11004 wxString
const &arg7_defvalue
= wxPySashNameStr
;
11005 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11017 bool temp7
= false ;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 PyObject
* obj2
= 0 ;
11021 PyObject
* obj3
= 0 ;
11022 PyObject
* obj4
= 0 ;
11023 PyObject
* obj5
= 0 ;
11024 PyObject
* obj6
= 0 ;
11025 char * kwnames
[] = {
11026 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11031 if (!SWIG_IsOK(res1
)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11034 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11035 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11036 if (!SWIG_IsOK(res2
)) {
11037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11039 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11042 if (!SWIG_IsOK(ecode3
)) {
11043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11045 arg3
= static_cast< int >(val3
);
11050 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11056 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11060 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11061 if (!SWIG_IsOK(ecode6
)) {
11062 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11064 arg6
= static_cast< long >(val6
);
11068 arg7
= wxString_in_helper(obj6
);
11069 if (arg7
== NULL
) SWIG_fail
;
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11096 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
= 0;
11098 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11099 wxSashEdgePosition arg2
;
11107 PyObject
* obj0
= 0 ;
11108 PyObject
* obj1
= 0 ;
11109 PyObject
* obj2
= 0 ;
11110 char * kwnames
[] = {
11111 (char *) "self",(char *) "edge",(char *) "sash", NULL
11114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11116 if (!SWIG_IsOK(res1
)) {
11117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11119 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11121 if (!SWIG_IsOK(ecode2
)) {
11122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11124 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11125 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11126 if (!SWIG_IsOK(ecode3
)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11129 arg3
= static_cast< bool >(val3
);
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 (arg1
)->SetSashVisible(arg2
,arg3
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= SWIG_Py_Void();
11143 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
= 0;
11145 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11146 wxSashEdgePosition arg2
;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 char * kwnames
[] = {
11155 (char *) "self",(char *) "edge", NULL
11158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11160 if (!SWIG_IsOK(res1
)) {
11161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11163 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11165 if (!SWIG_IsOK(ecode2
)) {
11166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11168 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
= 0;
11186 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11187 wxSashEdgePosition arg2
;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 char * kwnames
[] = {
11196 (char *) "self",(char *) "edge", NULL
11199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11204 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11206 if (!SWIG_IsOK(ecode2
)) {
11207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11209 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= SWIG_From_int(static_cast< int >(result
));
11223 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
*resultobj
= 0;
11225 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11231 PyObject
* obj0
= 0 ;
11232 PyObject
* obj1
= 0 ;
11233 char * kwnames
[] = {
11234 (char *) "self",(char *) "width", NULL
11237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11239 if (!SWIG_IsOK(res1
)) {
11240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11242 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11244 if (!SWIG_IsOK(ecode2
)) {
11245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11247 arg2
= static_cast< int >(val2
);
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 (arg1
)->SetDefaultBorderSize(arg2
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 resultobj
= SWIG_Py_Void();
11261 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11262 PyObject
*resultobj
= 0;
11263 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11267 PyObject
*swig_obj
[1] ;
11269 if (!args
) SWIG_fail
;
11270 swig_obj
[0] = args
;
11271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11272 if (!SWIG_IsOK(res1
)) {
11273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11275 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= SWIG_From_int(static_cast< int >(result
));
11289 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
= 0;
11291 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 char * kwnames
[] = {
11300 (char *) "self",(char *) "width", NULL
11303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11305 if (!SWIG_IsOK(res1
)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11308 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11310 if (!SWIG_IsOK(ecode2
)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11313 arg2
= static_cast< int >(val2
);
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->SetExtraBorderSize(arg2
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= SWIG_Py_Void();
11327 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11328 PyObject
*resultobj
= 0;
11329 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11333 PyObject
*swig_obj
[1] ;
11335 if (!args
) SWIG_fail
;
11336 swig_obj
[0] = args
;
11337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11338 if (!SWIG_IsOK(res1
)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11341 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_From_int(static_cast< int >(result
));
11355 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
= 0;
11357 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 char * kwnames
[] = {
11366 (char *) "self",(char *) "min", NULL
11369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11371 if (!SWIG_IsOK(res1
)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11374 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11376 if (!SWIG_IsOK(ecode2
)) {
11377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11379 arg2
= static_cast< int >(val2
);
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 (arg1
)->SetMinimumSizeX(arg2
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= SWIG_Py_Void();
11393 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
= 0;
11395 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 char * kwnames
[] = {
11404 (char *) "self",(char *) "min", NULL
11407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11409 if (!SWIG_IsOK(res1
)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11412 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11414 if (!SWIG_IsOK(ecode2
)) {
11415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11417 arg2
= static_cast< int >(val2
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 (arg1
)->SetMinimumSizeY(arg2
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= SWIG_Py_Void();
11431 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11432 PyObject
*resultobj
= 0;
11433 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11437 PyObject
*swig_obj
[1] ;
11439 if (!args
) SWIG_fail
;
11440 swig_obj
[0] = args
;
11441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11442 if (!SWIG_IsOK(res1
)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11445 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_From_int(static_cast< int >(result
));
11459 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11460 PyObject
*resultobj
= 0;
11461 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11465 PyObject
*swig_obj
[1] ;
11467 if (!args
) SWIG_fail
;
11468 swig_obj
[0] = args
;
11469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11470 if (!SWIG_IsOK(res1
)) {
11471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11473 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= SWIG_From_int(static_cast< int >(result
));
11487 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
= 0;
11489 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 char * kwnames
[] = {
11498 (char *) "self",(char *) "max", NULL
11501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11503 if (!SWIG_IsOK(res1
)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11506 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11508 if (!SWIG_IsOK(ecode2
)) {
11509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11511 arg2
= static_cast< int >(val2
);
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 (arg1
)->SetMaximumSizeX(arg2
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= SWIG_Py_Void();
11525 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
= 0;
11527 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11533 PyObject
* obj0
= 0 ;
11534 PyObject
* obj1
= 0 ;
11535 char * kwnames
[] = {
11536 (char *) "self",(char *) "max", NULL
11539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11541 if (!SWIG_IsOK(res1
)) {
11542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11544 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11546 if (!SWIG_IsOK(ecode2
)) {
11547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11549 arg2
= static_cast< int >(val2
);
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 (arg1
)->SetMaximumSizeY(arg2
);
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= SWIG_Py_Void();
11563 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11564 PyObject
*resultobj
= 0;
11565 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11569 PyObject
*swig_obj
[1] ;
11571 if (!args
) SWIG_fail
;
11572 swig_obj
[0] = args
;
11573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11574 if (!SWIG_IsOK(res1
)) {
11575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11577 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 resultobj
= SWIG_From_int(static_cast< int >(result
));
11591 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11592 PyObject
*resultobj
= 0;
11593 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11597 PyObject
*swig_obj
[1] ;
11599 if (!args
) SWIG_fail
;
11600 swig_obj
[0] = args
;
11601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11602 if (!SWIG_IsOK(res1
)) {
11603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11605 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11612 resultobj
= SWIG_From_int(static_cast< int >(result
));
11619 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
= 0;
11621 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11624 int arg4
= (int) 2 ;
11625 wxSashEdgePosition result
;
11634 PyObject
* obj0
= 0 ;
11635 PyObject
* obj1
= 0 ;
11636 PyObject
* obj2
= 0 ;
11637 PyObject
* obj3
= 0 ;
11638 char * kwnames
[] = {
11639 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11644 if (!SWIG_IsOK(res1
)) {
11645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11647 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11649 if (!SWIG_IsOK(ecode2
)) {
11650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11652 arg2
= static_cast< int >(val2
);
11653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11654 if (!SWIG_IsOK(ecode3
)) {
11655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11657 arg3
= static_cast< int >(val3
);
11659 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11660 if (!SWIG_IsOK(ecode4
)) {
11661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11663 arg4
= static_cast< int >(val4
);
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_From_int(static_cast< int >(result
));
11678 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 PyObject
*resultobj
= 0;
11680 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11683 PyObject
*swig_obj
[1] ;
11685 if (!args
) SWIG_fail
;
11686 swig_obj
[0] = args
;
11687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11688 if (!SWIG_IsOK(res1
)) {
11689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11691 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 (arg1
)->SizeWindows();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_Py_Void();
11705 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11708 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11709 return SWIG_Py_Void();
11712 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11713 return SWIG_Python_InitShadowInstance(args
);
11716 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
= 0;
11718 int arg1
= (int) 0 ;
11719 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11720 wxSashEvent
*result
= 0 ;
11725 PyObject
* obj0
= 0 ;
11726 PyObject
* obj1
= 0 ;
11727 char * kwnames
[] = {
11728 (char *) "id",(char *) "edge", NULL
11731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11734 if (!SWIG_IsOK(ecode1
)) {
11735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11737 arg1
= static_cast< int >(val1
);
11740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11741 if (!SWIG_IsOK(ecode2
)) {
11742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11744 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11759 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
= 0;
11761 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11762 wxSashEdgePosition arg2
;
11767 PyObject
* obj0
= 0 ;
11768 PyObject
* obj1
= 0 ;
11769 char * kwnames
[] = {
11770 (char *) "self",(char *) "edge", NULL
11773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11775 if (!SWIG_IsOK(res1
)) {
11776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11778 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11780 if (!SWIG_IsOK(ecode2
)) {
11781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11783 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 (arg1
)->SetEdge(arg2
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= SWIG_Py_Void();
11797 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11798 PyObject
*resultobj
= 0;
11799 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11800 wxSashEdgePosition result
;
11803 PyObject
*swig_obj
[1] ;
11805 if (!args
) SWIG_fail
;
11806 swig_obj
[0] = args
;
11807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11808 if (!SWIG_IsOK(res1
)) {
11809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11811 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= SWIG_From_int(static_cast< int >(result
));
11825 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
= 0;
11827 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 char * kwnames
[] = {
11835 (char *) "self",(char *) "rect", NULL
11838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11840 if (!SWIG_IsOK(res1
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11843 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11846 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_Py_Void();
11861 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11862 PyObject
*resultobj
= 0;
11863 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
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_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11875 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11889 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
= 0;
11891 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11892 wxSashDragStatus arg2
;
11897 PyObject
* obj0
= 0 ;
11898 PyObject
* obj1
= 0 ;
11899 char * kwnames
[] = {
11900 (char *) "self",(char *) "status", NULL
11903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11905 if (!SWIG_IsOK(res1
)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11908 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11910 if (!SWIG_IsOK(ecode2
)) {
11911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11913 arg2
= static_cast< wxSashDragStatus
>(val2
);
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 (arg1
)->SetDragStatus(arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= SWIG_Py_Void();
11927 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11928 PyObject
*resultobj
= 0;
11929 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11930 wxSashDragStatus result
;
11933 PyObject
*swig_obj
[1] ;
11935 if (!args
) SWIG_fail
;
11936 swig_obj
[0] = args
;
11937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11941 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_From_int(static_cast< int >(result
));
11955 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11958 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11959 return SWIG_Py_Void();
11962 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11963 return SWIG_Python_InitShadowInstance(args
);
11966 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
= 0;
11968 int arg1
= (int) 0 ;
11969 wxQueryLayoutInfoEvent
*result
= 0 ;
11972 PyObject
* obj0
= 0 ;
11973 char * kwnames
[] = {
11974 (char *) "id", NULL
11977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11979 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11980 if (!SWIG_IsOK(ecode1
)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11983 arg1
= static_cast< int >(val1
);
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11998 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
= 0;
12000 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 char * kwnames
[] = {
12009 (char *) "self",(char *) "length", NULL
12012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12017 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12019 if (!SWIG_IsOK(ecode2
)) {
12020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12022 arg2
= static_cast< int >(val2
);
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 (arg1
)->SetRequestedLength(arg2
);
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= SWIG_Py_Void();
12036 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12037 PyObject
*resultobj
= 0;
12038 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12042 PyObject
*swig_obj
[1] ;
12044 if (!args
) SWIG_fail
;
12045 swig_obj
[0] = args
;
12046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12047 if (!SWIG_IsOK(res1
)) {
12048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12050 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_From_int(static_cast< int >(result
));
12064 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
= 0;
12066 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 char * kwnames
[] = {
12075 (char *) "self",(char *) "flags", NULL
12078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12080 if (!SWIG_IsOK(res1
)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12083 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12085 if (!SWIG_IsOK(ecode2
)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12088 arg2
= static_cast< int >(val2
);
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 (arg1
)->SetFlags(arg2
);
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_Py_Void();
12102 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12103 PyObject
*resultobj
= 0;
12104 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12108 PyObject
*swig_obj
[1] ;
12110 if (!args
) SWIG_fail
;
12111 swig_obj
[0] = args
;
12112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12113 if (!SWIG_IsOK(res1
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12116 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= SWIG_From_int(static_cast< int >(result
));
12130 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
= 0;
12132 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 char * kwnames
[] = {
12140 (char *) "self",(char *) "size", NULL
12143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12145 if (!SWIG_IsOK(res1
)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12148 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12151 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 (arg1
)->SetSize((wxSize
const &)*arg2
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_Py_Void();
12166 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(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_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12180 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12194 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
= 0;
12196 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12197 wxLayoutOrientation arg2
;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char * kwnames
[] = {
12205 (char *) "self",(char *) "orient", NULL
12208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12213 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12215 if (!SWIG_IsOK(ecode2
)) {
12216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12218 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 (arg1
)->SetOrientation(arg2
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_Py_Void();
12232 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12233 PyObject
*resultobj
= 0;
12234 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12235 wxLayoutOrientation result
;
12238 PyObject
*swig_obj
[1] ;
12240 if (!args
) SWIG_fail
;
12241 swig_obj
[0] = args
;
12242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12246 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= SWIG_From_int(static_cast< int >(result
));
12260 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
= 0;
12262 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12263 wxLayoutAlignment arg2
;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 char * kwnames
[] = {
12271 (char *) "self",(char *) "align", NULL
12274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12276 if (!SWIG_IsOK(res1
)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12279 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12281 if (!SWIG_IsOK(ecode2
)) {
12282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12284 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 (arg1
)->SetAlignment(arg2
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= SWIG_Py_Void();
12298 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12299 PyObject
*resultobj
= 0;
12300 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12301 wxLayoutAlignment result
;
12304 PyObject
*swig_obj
[1] ;
12306 if (!args
) SWIG_fail
;
12307 swig_obj
[0] = args
;
12308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12309 if (!SWIG_IsOK(res1
)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12312 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= SWIG_From_int(static_cast< int >(result
));
12326 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12329 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12330 return SWIG_Py_Void();
12333 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12334 return SWIG_Python_InitShadowInstance(args
);
12337 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
= 0;
12339 int arg1
= (int) 0 ;
12340 wxCalculateLayoutEvent
*result
= 0 ;
12343 PyObject
* obj0
= 0 ;
12344 char * kwnames
[] = {
12345 (char *) "id", NULL
12348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12350 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12351 if (!SWIG_IsOK(ecode1
)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12354 arg1
= static_cast< int >(val1
);
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12369 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
= 0;
12371 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 PyObject
* obj1
= 0 ;
12379 char * kwnames
[] = {
12380 (char *) "self",(char *) "flags", NULL
12383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12385 if (!SWIG_IsOK(res1
)) {
12386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12388 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12390 if (!SWIG_IsOK(ecode2
)) {
12391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12393 arg2
= static_cast< int >(val2
);
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->SetFlags(arg2
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_Py_Void();
12407 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12408 PyObject
*resultobj
= 0;
12409 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12413 PyObject
*swig_obj
[1] ;
12415 if (!args
) SWIG_fail
;
12416 swig_obj
[0] = args
;
12417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12418 if (!SWIG_IsOK(res1
)) {
12419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12421 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_From_int(static_cast< int >(result
));
12435 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
= 0;
12437 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 PyObject
* obj1
= 0 ;
12444 char * kwnames
[] = {
12445 (char *) "self",(char *) "rect", NULL
12448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12450 if (!SWIG_IsOK(res1
)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12453 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12456 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 (arg1
)->SetRect((wxRect
const &)*arg2
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= SWIG_Py_Void();
12471 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(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_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12485 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12499 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12502 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12503 return SWIG_Py_Void();
12506 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12507 return SWIG_Python_InitShadowInstance(args
);
12510 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
= 0;
12512 wxWindow
*arg1
= (wxWindow
*) 0 ;
12513 int arg2
= (int) -1 ;
12514 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12515 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12516 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12517 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12518 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12519 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12520 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12521 wxSashLayoutWindow
*result
= 0 ;
12530 bool temp6
= false ;
12531 PyObject
* obj0
= 0 ;
12532 PyObject
* obj1
= 0 ;
12533 PyObject
* obj2
= 0 ;
12534 PyObject
* obj3
= 0 ;
12535 PyObject
* obj4
= 0 ;
12536 PyObject
* obj5
= 0 ;
12537 char * kwnames
[] = {
12538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12543 if (!SWIG_IsOK(res1
)) {
12544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12546 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12549 if (!SWIG_IsOK(ecode2
)) {
12550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12552 arg2
= static_cast< int >(val2
);
12557 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12563 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12567 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12568 if (!SWIG_IsOK(ecode5
)) {
12569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12571 arg5
= static_cast< long >(val5
);
12575 arg6
= wxString_in_helper(obj5
);
12576 if (arg6
== NULL
) SWIG_fail
;
12581 if (!wxPyCheckForApp()) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12602 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12603 PyObject
*resultobj
= 0;
12604 wxSashLayoutWindow
*result
= 0 ;
12606 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12608 if (!wxPyCheckForApp()) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12621 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
= 0;
12623 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12624 wxWindow
*arg2
= (wxWindow
*) 0 ;
12625 int arg3
= (int) -1 ;
12626 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12627 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12628 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12629 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12630 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12631 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12632 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12644 bool temp7
= false ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 PyObject
* obj2
= 0 ;
12648 PyObject
* obj3
= 0 ;
12649 PyObject
* obj4
= 0 ;
12650 PyObject
* obj5
= 0 ;
12651 PyObject
* obj6
= 0 ;
12652 char * kwnames
[] = {
12653 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12658 if (!SWIG_IsOK(res1
)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12661 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12663 if (!SWIG_IsOK(res2
)) {
12664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12666 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12669 if (!SWIG_IsOK(ecode3
)) {
12670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12672 arg3
= static_cast< int >(val3
);
12677 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12683 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12687 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12688 if (!SWIG_IsOK(ecode6
)) {
12689 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12691 arg6
= static_cast< long >(val6
);
12695 arg7
= wxString_in_helper(obj6
);
12696 if (arg7
== NULL
) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12723 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12724 PyObject
*resultobj
= 0;
12725 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12726 wxLayoutAlignment result
;
12729 PyObject
*swig_obj
[1] ;
12731 if (!args
) SWIG_fail
;
12732 swig_obj
[0] = args
;
12733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12734 if (!SWIG_IsOK(res1
)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12737 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_From_int(static_cast< int >(result
));
12751 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12752 PyObject
*resultobj
= 0;
12753 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12754 wxLayoutOrientation result
;
12757 PyObject
*swig_obj
[1] ;
12759 if (!args
) SWIG_fail
;
12760 swig_obj
[0] = args
;
12761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12765 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= SWIG_From_int(static_cast< int >(result
));
12779 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
= 0;
12781 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12782 wxLayoutAlignment arg2
;
12787 PyObject
* obj0
= 0 ;
12788 PyObject
* obj1
= 0 ;
12789 char * kwnames
[] = {
12790 (char *) "self",(char *) "alignment", NULL
12793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12795 if (!SWIG_IsOK(res1
)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12798 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12800 if (!SWIG_IsOK(ecode2
)) {
12801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12803 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 (arg1
)->SetAlignment(arg2
);
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= SWIG_Py_Void();
12817 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12818 PyObject
*resultobj
= 0;
12819 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12824 PyObject
* obj0
= 0 ;
12825 PyObject
* obj1
= 0 ;
12826 char * kwnames
[] = {
12827 (char *) "self",(char *) "size", NULL
12830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12832 if (!SWIG_IsOK(res1
)) {
12833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12835 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12838 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= SWIG_Py_Void();
12853 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
= 0;
12855 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12856 wxLayoutOrientation arg2
;
12861 PyObject
* obj0
= 0 ;
12862 PyObject
* obj1
= 0 ;
12863 char * kwnames
[] = {
12864 (char *) "self",(char *) "orientation", NULL
12867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12869 if (!SWIG_IsOK(res1
)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12872 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12874 if (!SWIG_IsOK(ecode2
)) {
12875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12877 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 (arg1
)->SetOrientation(arg2
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_Py_Void();
12891 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12894 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12895 return SWIG_Py_Void();
12898 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12899 return SWIG_Python_InitShadowInstance(args
);
12902 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12903 PyObject
*resultobj
= 0;
12904 wxLayoutAlgorithm
*result
= 0 ;
12906 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12920 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12921 PyObject
*resultobj
= 0;
12922 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12925 PyObject
*swig_obj
[1] ;
12927 if (!args
) SWIG_fail
;
12928 swig_obj
[0] = args
;
12929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12930 if (!SWIG_IsOK(res1
)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12933 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= SWIG_Py_Void();
12948 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
= 0;
12950 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12951 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12952 wxRect
*arg3
= (wxRect
*) NULL
;
12960 PyObject
* obj0
= 0 ;
12961 PyObject
* obj1
= 0 ;
12962 PyObject
* obj2
= 0 ;
12963 char * kwnames
[] = {
12964 (char *) "self",(char *) "frame",(char *) "rect", NULL
12967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12969 if (!SWIG_IsOK(res1
)) {
12970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12972 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12974 if (!SWIG_IsOK(res2
)) {
12975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12977 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12979 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12980 if (!SWIG_IsOK(res3
)) {
12981 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12983 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13000 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
= 0;
13002 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13003 wxFrame
*arg2
= (wxFrame
*) 0 ;
13004 wxWindow
*arg3
= (wxWindow
*) NULL
;
13012 PyObject
* obj0
= 0 ;
13013 PyObject
* obj1
= 0 ;
13014 PyObject
* obj2
= 0 ;
13015 char * kwnames
[] = {
13016 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13021 if (!SWIG_IsOK(res1
)) {
13022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13024 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13025 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13026 if (!SWIG_IsOK(res2
)) {
13027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13029 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13031 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13032 if (!SWIG_IsOK(res3
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13035 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13052 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
= 0;
13054 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13055 wxWindow
*arg2
= (wxWindow
*) 0 ;
13056 wxWindow
*arg3
= (wxWindow
*) NULL
;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 PyObject
* obj2
= 0 ;
13067 char * kwnames
[] = {
13068 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13073 if (!SWIG_IsOK(res1
)) {
13074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13076 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13078 if (!SWIG_IsOK(res2
)) {
13079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13081 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13083 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13084 if (!SWIG_IsOK(res3
)) {
13085 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13087 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13104 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13107 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13108 return SWIG_Py_Void();
13111 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13112 return SWIG_Python_InitShadowInstance(args
);
13115 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
= 0;
13117 wxWindow
*arg1
= (wxWindow
*) 0 ;
13118 int arg2
= (int) wxBORDER_NONE
;
13119 wxPopupWindow
*result
= 0 ;
13124 PyObject
* obj0
= 0 ;
13125 PyObject
* obj1
= 0 ;
13126 char * kwnames
[] = {
13127 (char *) "parent",(char *) "flags", NULL
13130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13132 if (!SWIG_IsOK(res1
)) {
13133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13135 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13138 if (!SWIG_IsOK(ecode2
)) {
13139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13141 arg2
= static_cast< int >(val2
);
13144 if (!wxPyCheckForApp()) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13157 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13158 PyObject
*resultobj
= 0;
13159 wxPopupWindow
*result
= 0 ;
13161 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13163 if (!wxPyCheckForApp()) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (wxPopupWindow
*)new wxPopupWindow();
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13176 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
= 0;
13178 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13179 wxWindow
*arg2
= (wxWindow
*) 0 ;
13180 int arg3
= (int) wxBORDER_NONE
;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 PyObject
* obj2
= 0 ;
13191 char * kwnames
[] = {
13192 (char *) "self",(char *) "parent",(char *) "flags", NULL
13195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13197 if (!SWIG_IsOK(res1
)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13200 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13202 if (!SWIG_IsOK(res2
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13205 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13208 if (!SWIG_IsOK(ecode3
)) {
13209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13211 arg3
= static_cast< int >(val3
);
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13228 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
= 0;
13230 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13231 wxPoint
*arg2
= 0 ;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 PyObject
* obj2
= 0 ;
13240 char * kwnames
[] = {
13241 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13246 if (!SWIG_IsOK(res1
)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13249 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13252 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13256 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= SWIG_Py_Void();
13271 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13274 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13275 return SWIG_Py_Void();
13278 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13279 return SWIG_Python_InitShadowInstance(args
);
13282 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
= 0;
13284 wxWindow
*arg1
= (wxWindow
*) 0 ;
13285 int arg2
= (int) wxBORDER_NONE
;
13286 wxPyPopupTransientWindow
*result
= 0 ;
13291 PyObject
* obj0
= 0 ;
13292 PyObject
* obj1
= 0 ;
13293 char * kwnames
[] = {
13294 (char *) "parent",(char *) "style", NULL
13297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13299 if (!SWIG_IsOK(res1
)) {
13300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13302 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13305 if (!SWIG_IsOK(ecode2
)) {
13306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13308 arg2
= static_cast< int >(val2
);
13311 if (!wxPyCheckForApp()) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13314 wxPyEndAllowThreads(__tstate
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13324 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13325 PyObject
*resultobj
= 0;
13326 wxPyPopupTransientWindow
*result
= 0 ;
13328 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13330 if (!wxPyCheckForApp()) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13343 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
= 0;
13345 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13346 PyObject
*arg2
= (PyObject
*) 0 ;
13347 PyObject
*arg3
= (PyObject
*) 0 ;
13350 PyObject
* obj0
= 0 ;
13351 PyObject
* obj1
= 0 ;
13352 PyObject
* obj2
= 0 ;
13353 char * kwnames
[] = {
13354 (char *) "self",(char *) "self",(char *) "_class", NULL
13357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13359 if (!SWIG_IsOK(res1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13362 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_Py_Void();
13378 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
= 0;
13380 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13381 wxWindow
*arg2
= (wxWindow
*) NULL
;
13386 PyObject
* obj0
= 0 ;
13387 PyObject
* obj1
= 0 ;
13388 char * kwnames
[] = {
13389 (char *) "self",(char *) "focus", NULL
13392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13394 if (!SWIG_IsOK(res1
)) {
13395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13397 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13400 if (!SWIG_IsOK(res2
)) {
13401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13403 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 (arg1
)->Popup(arg2
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= SWIG_Py_Void();
13418 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13419 PyObject
*resultobj
= 0;
13420 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13423 PyObject
*swig_obj
[1] ;
13425 if (!args
) SWIG_fail
;
13426 swig_obj
[0] = args
;
13427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13428 if (!SWIG_IsOK(res1
)) {
13429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13431 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= SWIG_Py_Void();
13445 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13448 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13449 return SWIG_Py_Void();
13452 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13453 return SWIG_Python_InitShadowInstance(args
);
13456 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
= 0;
13458 wxWindow
*arg1
= (wxWindow
*) 0 ;
13459 wxString
*arg2
= 0 ;
13460 int arg3
= (int) 100 ;
13461 wxRect
*arg4
= (wxRect
*) NULL
;
13462 wxTipWindow
*result
= 0 ;
13465 bool temp2
= false ;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 PyObject
* obj2
= 0 ;
13473 PyObject
* obj3
= 0 ;
13474 char * kwnames
[] = {
13475 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13480 if (!SWIG_IsOK(res1
)) {
13481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13483 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13485 arg2
= wxString_in_helper(obj1
);
13486 if (arg2
== NULL
) SWIG_fail
;
13490 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13491 if (!SWIG_IsOK(ecode3
)) {
13492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13494 arg3
= static_cast< int >(val3
);
13497 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13498 if (!SWIG_IsOK(res4
)) {
13499 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13501 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13504 if (!wxPyCheckForApp()) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13525 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
= 0;
13527 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13532 PyObject
* obj0
= 0 ;
13533 PyObject
* obj1
= 0 ;
13534 char * kwnames
[] = {
13535 (char *) "self",(char *) "rectBound", NULL
13538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13540 if (!SWIG_IsOK(res1
)) {
13541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13543 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13546 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_Py_Void();
13561 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13562 PyObject
*resultobj
= 0;
13563 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13566 PyObject
*swig_obj
[1] ;
13568 if (!args
) SWIG_fail
;
13569 swig_obj
[0] = args
;
13570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13571 if (!SWIG_IsOK(res1
)) {
13572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13574 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_Py_Void();
13588 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13591 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13592 return SWIG_Py_Void();
13595 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13596 return SWIG_Python_InitShadowInstance(args
);
13599 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
= 0;
13601 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13602 bool arg2
= (bool) true ;
13607 PyObject
* obj0
= 0 ;
13608 PyObject
* obj1
= 0 ;
13609 char * kwnames
[] = {
13610 (char *) "self",(char *) "scrolling", NULL
13613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13615 if (!SWIG_IsOK(res1
)) {
13616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13618 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13620 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13621 if (!SWIG_IsOK(ecode2
)) {
13622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
13624 arg2
= static_cast< bool >(val2
);
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 (arg1
)->EnablePhysicalScrolling(arg2
);
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= SWIG_Py_Void();
13639 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
= 0;
13641 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char * kwnames
[] = {
13651 (char *) "self",(char *) "coord", NULL
13654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13656 if (!SWIG_IsOK(res1
)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13659 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13661 if (!SWIG_IsOK(ecode2
)) {
13662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'");
13664 arg2
= static_cast< int >(val2
);
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->HitTest(arg2
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_From_int(static_cast< int >(result
));
13678 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13679 PyObject
*resultobj
= 0;
13680 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13683 PyObject
*swig_obj
[1] ;
13685 if (!args
) SWIG_fail
;
13686 swig_obj
[0] = args
;
13687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13688 if (!SWIG_IsOK(res1
)) {
13689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13691 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 (arg1
)->RefreshAll();
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13698 resultobj
= SWIG_Py_Void();
13705 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13706 PyObject
*resultobj
= 0;
13707 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13711 PyObject
*swig_obj
[1] ;
13713 if (!args
) SWIG_fail
;
13714 swig_obj
[0] = args
;
13715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13716 if (!SWIG_IsOK(res1
)) {
13717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13719 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 result
= (size_t)((wxVarScrollHelperBase
const *)arg1
)->GetVisibleBegin();
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13733 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13734 PyObject
*resultobj
= 0;
13735 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13739 PyObject
*swig_obj
[1] ;
13741 if (!args
) SWIG_fail
;
13742 swig_obj
[0] = args
;
13743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13744 if (!SWIG_IsOK(res1
)) {
13745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13747 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 result
= (size_t)((wxVarScrollHelperBase
const *)arg1
)->GetVisibleEnd();
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13761 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
= 0;
13763 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13770 PyObject
* obj0
= 0 ;
13771 PyObject
* obj1
= 0 ;
13772 char * kwnames
[] = {
13773 (char *) "self",(char *) "unit", NULL
13776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13778 if (!SWIG_IsOK(res1
)) {
13779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13781 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13782 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13783 if (!SWIG_IsOK(ecode2
)) {
13784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13786 arg2
= static_cast< size_t >(val2
);
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (bool)((wxVarScrollHelperBase
const *)arg1
)->IsVisible(arg2
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13802 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
= 0;
13804 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13811 PyObject
* obj0
= 0 ;
13812 PyObject
* obj1
= 0 ;
13813 char * kwnames
[] = {
13814 (char *) "self",(char *) "coord", NULL
13817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13819 if (!SWIG_IsOK(res1
)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13822 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13824 if (!SWIG_IsOK(ecode2
)) {
13825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
13827 arg2
= static_cast< int >(val2
);
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->CalcScrolledPosition(arg2
);
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= SWIG_From_int(static_cast< int >(result
));
13841 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
= 0;
13843 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13850 PyObject
* obj0
= 0 ;
13851 PyObject
* obj1
= 0 ;
13852 char * kwnames
[] = {
13853 (char *) "self",(char *) "coord", NULL
13856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13858 if (!SWIG_IsOK(res1
)) {
13859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13861 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13863 if (!SWIG_IsOK(ecode2
)) {
13864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
13866 arg2
= static_cast< int >(val2
);
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->CalcUnscrolledPosition(arg2
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_From_int(static_cast< int >(result
));
13880 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13881 PyObject
*resultobj
= 0;
13882 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13885 PyObject
*swig_obj
[1] ;
13887 if (!args
) SWIG_fail
;
13888 swig_obj
[0] = args
;
13889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13890 if (!SWIG_IsOK(res1
)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13893 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 (arg1
)->UpdateScrollbar();
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= SWIG_Py_Void();
13907 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13908 PyObject
*resultobj
= 0;
13909 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13912 PyObject
*swig_obj
[1] ;
13914 if (!args
) SWIG_fail
;
13915 swig_obj
[0] = args
;
13916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13917 if (!SWIG_IsOK(res1
)) {
13918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13920 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 (arg1
)->RemoveScrollbar();
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_Py_Void();
13934 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
= 0;
13936 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13937 wxWindow
*arg2
= (wxWindow
*) 0 ;
13942 PyObject
* obj0
= 0 ;
13943 PyObject
* obj1
= 0 ;
13944 char * kwnames
[] = {
13945 (char *) "self",(char *) "target", NULL
13948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13950 if (!SWIG_IsOK(res1
)) {
13951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13953 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13955 if (!SWIG_IsOK(res2
)) {
13956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13958 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 (arg1
)->SetTargetWindow(arg2
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= SWIG_Py_Void();
13972 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13973 PyObject
*resultobj
= 0;
13974 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
13975 wxWindow
*result
= 0 ;
13978 PyObject
*swig_obj
[1] ;
13980 if (!args
) SWIG_fail
;
13981 swig_obj
[0] = args
;
13982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
13983 if (!SWIG_IsOK(res1
)) {
13984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13986 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (wxWindow
*)((wxVarScrollHelperBase
const *)arg1
)->GetTargetWindow();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= wxPyMake_wxObject(result
, 0);
14002 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14003 PyObject
*resultobj
= 0;
14004 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14008 PyObject
*swig_obj
[1] ;
14010 if (!args
) SWIG_fail
;
14011 swig_obj
[0] = args
;
14012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14013 if (!SWIG_IsOK(res1
)) {
14014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14016 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->GetOrientationTargetSize();
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= SWIG_From_int(static_cast< int >(result
));
14030 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14031 PyObject
*resultobj
= 0;
14032 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14036 PyObject
*swig_obj
[1] ;
14038 if (!args
) SWIG_fail
;
14039 swig_obj
[0] = args
;
14040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14041 if (!SWIG_IsOK(res1
)) {
14042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14044 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 result
= (int)((wxVarScrollHelperBase
const *)arg1
)->GetNonOrientationTargetSize();
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 resultobj
= SWIG_From_int(static_cast< int >(result
));
14058 SWIGINTERN PyObject
*_wrap_VarScrollHelperBase_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14059 PyObject
*resultobj
= 0;
14060 wxVarScrollHelperBase
*arg1
= (wxVarScrollHelperBase
*) 0 ;
14061 wxOrientation result
;
14064 PyObject
*swig_obj
[1] ;
14066 if (!args
) SWIG_fail
;
14067 swig_obj
[0] = args
;
14068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarScrollHelperBase
, 0 | 0 );
14069 if (!SWIG_IsOK(res1
)) {
14070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14072 arg1
= reinterpret_cast< wxVarScrollHelperBase
* >(argp1
);
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 result
= (wxOrientation
)((wxVarScrollHelperBase
const *)arg1
)->GetOrientation();
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= SWIG_From_int(static_cast< int >(result
));
14086 SWIGINTERN PyObject
*VarScrollHelperBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14089 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase
, SWIG_NewClientData(obj
));
14090 return SWIG_Py_Void();
14093 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_SetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
= 0;
14095 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 PyObject
* obj1
= 0 ;
14103 char * kwnames
[] = {
14104 (char *) "self",(char *) "rowCount", NULL
14107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14109 if (!SWIG_IsOK(res1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14112 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14113 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14114 if (!SWIG_IsOK(ecode2
)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'");
14117 arg2
= static_cast< size_t >(val2
);
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 (arg1
)->SetRowCount(arg2
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= SWIG_Py_Void();
14131 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollToRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
= 0;
14133 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14140 PyObject
* obj0
= 0 ;
14141 PyObject
* obj1
= 0 ;
14142 char * kwnames
[] = {
14143 (char *) "self",(char *) "row", NULL
14146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14148 if (!SWIG_IsOK(res1
)) {
14149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14151 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14152 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14153 if (!SWIG_IsOK(ecode2
)) {
14154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'");
14156 arg2
= static_cast< size_t >(val2
);
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 result
= (bool)(arg1
)->ScrollToRow(arg2
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14172 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
= 0;
14174 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 PyObject
* obj1
= 0 ;
14183 char * kwnames
[] = {
14184 (char *) "self",(char *) "rows", NULL
14187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14189 if (!SWIG_IsOK(res1
)) {
14190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14192 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14194 if (!SWIG_IsOK(ecode2
)) {
14195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'");
14197 arg2
= static_cast< int >(val2
);
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= (bool)(arg1
)->ScrollRows(arg2
);
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14213 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_ScrollRowPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
= 0;
14215 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 PyObject
* obj1
= 0 ;
14224 char * kwnames
[] = {
14225 (char *) "self",(char *) "pages", NULL
14228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14230 if (!SWIG_IsOK(res1
)) {
14231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14233 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14235 if (!SWIG_IsOK(ecode2
)) {
14236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'");
14238 arg2
= static_cast< int >(val2
);
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (bool)(arg1
)->ScrollRowPages(arg2
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14254 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_RefreshRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
= 0;
14256 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14262 PyObject
* obj0
= 0 ;
14263 PyObject
* obj1
= 0 ;
14264 char * kwnames
[] = {
14265 (char *) "self",(char *) "row", NULL
14268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14270 if (!SWIG_IsOK(res1
)) {
14271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14273 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14274 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14275 if (!SWIG_IsOK(ecode2
)) {
14276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'");
14278 arg2
= static_cast< size_t >(val2
);
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 (arg1
)->RefreshRow(arg2
);
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= SWIG_Py_Void();
14292 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_RefreshRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
= 0;
14294 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 PyObject
* obj2
= 0 ;
14306 char * kwnames
[] = {
14307 (char *) "self",(char *) "from",(char *) "to", NULL
14310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14312 if (!SWIG_IsOK(res1
)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14315 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14316 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14317 if (!SWIG_IsOK(ecode2
)) {
14318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'");
14320 arg2
= static_cast< size_t >(val2
);
14321 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14322 if (!SWIG_IsOK(ecode3
)) {
14323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'");
14325 arg3
= static_cast< size_t >(val3
);
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 (arg1
)->RefreshRows(arg2
,arg3
);
14329 wxPyEndAllowThreads(__tstate
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14332 resultobj
= SWIG_Py_Void();
14339 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14340 PyObject
*resultobj
= 0;
14341 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14345 PyObject
*swig_obj
[1] ;
14347 if (!args
) SWIG_fail
;
14348 swig_obj
[0] = args
;
14349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14350 if (!SWIG_IsOK(res1
)) {
14351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14353 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetRowCount();
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14367 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14368 PyObject
*resultobj
= 0;
14369 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14373 PyObject
*swig_obj
[1] ;
14375 if (!args
) SWIG_fail
;
14376 swig_obj
[0] = args
;
14377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14378 if (!SWIG_IsOK(res1
)) {
14379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14381 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetVisibleRowsBegin();
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14395 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14396 PyObject
*resultobj
= 0;
14397 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14401 PyObject
*swig_obj
[1] ;
14403 if (!args
) SWIG_fail
;
14404 swig_obj
[0] = args
;
14405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14406 if (!SWIG_IsOK(res1
)) {
14407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14409 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (size_t)((wxVarVScrollHelper
const *)arg1
)->GetVisibleRowsEnd();
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14423 SWIGINTERN PyObject
*_wrap_VarVScrollHelper_IsRowVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
= 0;
14425 wxVarVScrollHelper
*arg1
= (wxVarVScrollHelper
*) 0 ;
14432 PyObject
* obj0
= 0 ;
14433 PyObject
* obj1
= 0 ;
14434 char * kwnames
[] = {
14435 (char *) "self",(char *) "row", NULL
14438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarVScrollHelper
, 0 | 0 );
14440 if (!SWIG_IsOK(res1
)) {
14441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14443 arg1
= reinterpret_cast< wxVarVScrollHelper
* >(argp1
);
14444 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14445 if (!SWIG_IsOK(ecode2
)) {
14446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'");
14448 arg2
= static_cast< size_t >(val2
);
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 result
= (bool)((wxVarVScrollHelper
const *)arg1
)->IsRowVisible(arg2
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14464 SWIGINTERN PyObject
*VarVScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14467 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper
, SWIG_NewClientData(obj
));
14468 return SWIG_Py_Void();
14471 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_SetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
= 0;
14473 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 PyObject
* obj1
= 0 ;
14481 char * kwnames
[] = {
14482 (char *) "self",(char *) "columnCount", NULL
14485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14487 if (!SWIG_IsOK(res1
)) {
14488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14490 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14491 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14492 if (!SWIG_IsOK(ecode2
)) {
14493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14495 arg2
= static_cast< size_t >(val2
);
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 (arg1
)->SetColumnCount(arg2
);
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= SWIG_Py_Void();
14509 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollToColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
= 0;
14511 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14518 PyObject
* obj0
= 0 ;
14519 PyObject
* obj1
= 0 ;
14520 char * kwnames
[] = {
14521 (char *) "self",(char *) "column", NULL
14524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14526 if (!SWIG_IsOK(res1
)) {
14527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14529 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14530 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14531 if (!SWIG_IsOK(ecode2
)) {
14532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'");
14534 arg2
= static_cast< size_t >(val2
);
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 result
= (bool)(arg1
)->ScrollToColumn(arg2
);
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14550 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
= 0;
14552 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 PyObject
* obj1
= 0 ;
14561 char * kwnames
[] = {
14562 (char *) "self",(char *) "columns", NULL
14565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14567 if (!SWIG_IsOK(res1
)) {
14568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14570 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14572 if (!SWIG_IsOK(ecode2
)) {
14573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'");
14575 arg2
= static_cast< int >(val2
);
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (bool)(arg1
)->ScrollColumns(arg2
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14591 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_ScrollColumnPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
= 0;
14593 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14600 PyObject
* obj0
= 0 ;
14601 PyObject
* obj1
= 0 ;
14602 char * kwnames
[] = {
14603 (char *) "self",(char *) "pages", NULL
14606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14608 if (!SWIG_IsOK(res1
)) {
14609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14611 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14613 if (!SWIG_IsOK(ecode2
)) {
14614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'");
14616 arg2
= static_cast< int >(val2
);
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= (bool)(arg1
)->ScrollColumnPages(arg2
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14632 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_RefreshColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
= 0;
14634 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 PyObject
* obj1
= 0 ;
14642 char * kwnames
[] = {
14643 (char *) "self",(char *) "column", NULL
14646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14648 if (!SWIG_IsOK(res1
)) {
14649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14651 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14652 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14653 if (!SWIG_IsOK(ecode2
)) {
14654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'");
14656 arg2
= static_cast< size_t >(val2
);
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 (arg1
)->RefreshColumn(arg2
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= SWIG_Py_Void();
14670 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_RefreshColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
= 0;
14672 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 PyObject
* obj2
= 0 ;
14684 char * kwnames
[] = {
14685 (char *) "self",(char *) "from",(char *) "to", NULL
14688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14690 if (!SWIG_IsOK(res1
)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14693 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14694 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14695 if (!SWIG_IsOK(ecode2
)) {
14696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'");
14698 arg2
= static_cast< size_t >(val2
);
14699 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14700 if (!SWIG_IsOK(ecode3
)) {
14701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'");
14703 arg3
= static_cast< size_t >(val3
);
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 (arg1
)->RefreshColumns(arg2
,arg3
);
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= SWIG_Py_Void();
14717 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14718 PyObject
*resultobj
= 0;
14719 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14723 PyObject
*swig_obj
[1] ;
14725 if (!args
) SWIG_fail
;
14726 swig_obj
[0] = args
;
14727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14728 if (!SWIG_IsOK(res1
)) {
14729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14731 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetColumnCount();
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14745 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14746 PyObject
*resultobj
= 0;
14747 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14751 PyObject
*swig_obj
[1] ;
14753 if (!args
) SWIG_fail
;
14754 swig_obj
[0] = args
;
14755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14756 if (!SWIG_IsOK(res1
)) {
14757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14759 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetVisibleColumnsBegin();
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14773 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14774 PyObject
*resultobj
= 0;
14775 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14779 PyObject
*swig_obj
[1] ;
14781 if (!args
) SWIG_fail
;
14782 swig_obj
[0] = args
;
14783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14784 if (!SWIG_IsOK(res1
)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14787 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= (size_t)((wxVarHScrollHelper
const *)arg1
)->GetVisibleColumnsEnd();
14791 wxPyEndAllowThreads(__tstate
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14794 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14801 SWIGINTERN PyObject
*_wrap_VarHScrollHelper_IsColumnVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14802 PyObject
*resultobj
= 0;
14803 wxVarHScrollHelper
*arg1
= (wxVarHScrollHelper
*) 0 ;
14810 PyObject
* obj0
= 0 ;
14811 PyObject
* obj1
= 0 ;
14812 char * kwnames
[] = {
14813 (char *) "self",(char *) "column", NULL
14816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHScrollHelper
, 0 | 0 );
14818 if (!SWIG_IsOK(res1
)) {
14819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14821 arg1
= reinterpret_cast< wxVarHScrollHelper
* >(argp1
);
14822 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14823 if (!SWIG_IsOK(ecode2
)) {
14824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'");
14826 arg2
= static_cast< size_t >(val2
);
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (bool)((wxVarHScrollHelper
const *)arg1
)->IsColumnVisible(arg2
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14842 SWIGINTERN PyObject
*VarHScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14845 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper
, SWIG_NewClientData(obj
));
14846 return SWIG_Py_Void();
14849 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
= 0;
14851 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14860 PyObject
* obj0
= 0 ;
14861 PyObject
* obj1
= 0 ;
14862 PyObject
* obj2
= 0 ;
14863 char * kwnames
[] = {
14864 (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL
14867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14869 if (!SWIG_IsOK(res1
)) {
14870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14872 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14873 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14874 if (!SWIG_IsOK(ecode2
)) {
14875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14877 arg2
= static_cast< size_t >(val2
);
14878 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14879 if (!SWIG_IsOK(ecode3
)) {
14880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'");
14882 arg3
= static_cast< size_t >(val3
);
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 (arg1
)->SetRowColumnCount(arg2
,arg3
);
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 resultobj
= SWIG_Py_Void();
14896 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
= 0;
14898 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14899 bool arg2
= (bool) true ;
14900 bool arg3
= (bool) true ;
14907 PyObject
* obj0
= 0 ;
14908 PyObject
* obj1
= 0 ;
14909 PyObject
* obj2
= 0 ;
14910 char * kwnames
[] = {
14911 (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL
14914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14916 if (!SWIG_IsOK(res1
)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14919 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14921 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14922 if (!SWIG_IsOK(ecode2
)) {
14923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
14925 arg2
= static_cast< bool >(val2
);
14928 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14929 if (!SWIG_IsOK(ecode3
)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'");
14932 arg3
= static_cast< bool >(val3
);
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 (arg1
)->EnablePhysicalScrolling(arg2
,arg3
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_Py_Void();
14947 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
= 0;
14949 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14950 wxPosition
*arg2
= 0 ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 char * kwnames
[] = {
14959 (char *) "self",(char *) "pos", NULL
14962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
14964 if (!SWIG_IsOK(res1
)) {
14965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14967 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
14968 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
14969 if (!SWIG_IsOK(res2
)) {
14970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14975 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= (bool)(arg1
)->ScrollToRowColumn((wxPosition
const &)*arg2
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14991 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
= 0;
14993 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
14994 wxPosition
*arg2
= 0 ;
14999 PyObject
* obj0
= 0 ;
15000 PyObject
* obj1
= 0 ;
15001 char * kwnames
[] = {
15002 (char *) "self",(char *) "pos", NULL
15005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15007 if (!SWIG_IsOK(res1
)) {
15008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15010 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15012 if (!SWIG_IsOK(res2
)) {
15013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15018 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 (arg1
)->RefreshRowColumn((wxPosition
const &)*arg2
);
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= SWIG_Py_Void();
15032 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
= 0;
15034 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15035 wxPosition
*arg2
= 0 ;
15036 wxPosition
*arg3
= 0 ;
15043 PyObject
* obj0
= 0 ;
15044 PyObject
* obj1
= 0 ;
15045 PyObject
* obj2
= 0 ;
15046 char * kwnames
[] = {
15047 (char *) "self",(char *) "from",(char *) "to", NULL
15050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15052 if (!SWIG_IsOK(res1
)) {
15053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15055 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15057 if (!SWIG_IsOK(res2
)) {
15058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15063 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15064 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPosition
, 0 | 0);
15065 if (!SWIG_IsOK(res3
)) {
15066 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15071 arg3
= reinterpret_cast< wxPosition
* >(argp3
);
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 (arg1
)->RefreshRowsColumns((wxPosition
const &)*arg2
,(wxPosition
const &)*arg3
);
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= SWIG_Py_Void();
15085 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
= 0;
15087 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15088 wxPoint
*arg2
= 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char * kwnames
[] = {
15096 (char *) "self",(char *) "pos", NULL
15099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15101 if (!SWIG_IsOK(res1
)) {
15102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15104 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 result
= ((wxVarHVScrollHelper
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15122 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_ScrollLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15123 PyObject
*resultobj
= 0;
15124 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15128 PyObject
*swig_obj
[1] ;
15130 if (!args
) SWIG_fail
;
15131 swig_obj
[0] = args
;
15132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15133 if (!SWIG_IsOK(res1
)) {
15134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15136 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (bool)(arg1
)->ScrollLayout();
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15152 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15153 PyObject
*resultobj
= 0;
15154 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15158 PyObject
*swig_obj
[1] ;
15160 if (!args
) SWIG_fail
;
15161 swig_obj
[0] = args
;
15162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15163 if (!SWIG_IsOK(res1
)) {
15164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15166 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetRowColumnCount();
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15180 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15181 PyObject
*resultobj
= 0;
15182 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15186 PyObject
*swig_obj
[1] ;
15188 if (!args
) SWIG_fail
;
15189 swig_obj
[0] = args
;
15190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15191 if (!SWIG_IsOK(res1
)) {
15192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15194 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetVisibleBegin();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15208 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15209 PyObject
*resultobj
= 0;
15210 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15214 PyObject
*swig_obj
[1] ;
15216 if (!args
) SWIG_fail
;
15217 swig_obj
[0] = args
;
15218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15219 if (!SWIG_IsOK(res1
)) {
15220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15222 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= ((wxVarHVScrollHelper
const *)arg1
)->GetVisibleEnd();
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition
& >(result
))), SWIGTYPE_p_wxPosition
, SWIG_POINTER_OWN
| 0 );
15236 SWIGINTERN PyObject
*_wrap_VarHVScrollHelper_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
= 0;
15238 wxVarHVScrollHelper
*arg1
= (wxVarHVScrollHelper
*) 0 ;
15239 wxPosition
*arg2
= 0 ;
15245 PyObject
* obj0
= 0 ;
15246 PyObject
* obj1
= 0 ;
15247 char * kwnames
[] = {
15248 (char *) "self",(char *) "pos", NULL
15251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVarHVScrollHelper
, 0 | 0 );
15253 if (!SWIG_IsOK(res1
)) {
15254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15256 arg1
= reinterpret_cast< wxVarHVScrollHelper
* >(argp1
);
15257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPosition
, 0 | 0);
15258 if (!SWIG_IsOK(res2
)) {
15259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15264 arg2
= reinterpret_cast< wxPosition
* >(argp2
);
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (bool)((wxVarHVScrollHelper
const *)arg1
)->IsVisible((wxPosition
const &)*arg2
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15280 SWIGINTERN PyObject
*VarHVScrollHelper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15283 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper
, SWIG_NewClientData(obj
));
15284 return SWIG_Py_Void();
15287 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
= 0;
15289 wxWindow
*arg1
= (wxWindow
*) 0 ;
15290 int arg2
= (int) wxID_ANY
;
15291 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15292 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15293 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15294 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15295 long arg5
= (long) 0 ;
15296 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15297 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15298 wxPyVScrolledWindow
*result
= 0 ;
15307 bool temp6
= false ;
15308 PyObject
* obj0
= 0 ;
15309 PyObject
* obj1
= 0 ;
15310 PyObject
* obj2
= 0 ;
15311 PyObject
* obj3
= 0 ;
15312 PyObject
* obj4
= 0 ;
15313 PyObject
* obj5
= 0 ;
15314 char * kwnames
[] = {
15315 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15320 if (!SWIG_IsOK(res1
)) {
15321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15323 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15326 if (!SWIG_IsOK(ecode2
)) {
15327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15329 arg2
= static_cast< int >(val2
);
15334 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15340 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15344 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15345 if (!SWIG_IsOK(ecode5
)) {
15346 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15348 arg5
= static_cast< long >(val5
);
15352 arg6
= wxString_in_helper(obj5
);
15353 if (arg6
== NULL
) SWIG_fail
;
15358 if (!wxPyCheckForApp()) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
15379 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15380 PyObject
*resultobj
= 0;
15381 wxPyVScrolledWindow
*result
= 0 ;
15383 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
15385 if (!wxPyCheckForApp()) SWIG_fail
;
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
15398 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
= 0;
15400 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15401 PyObject
*arg2
= (PyObject
*) 0 ;
15402 PyObject
*arg3
= (PyObject
*) 0 ;
15405 PyObject
* obj0
= 0 ;
15406 PyObject
* obj1
= 0 ;
15407 PyObject
* obj2
= 0 ;
15408 char * kwnames
[] = {
15409 (char *) "self",(char *) "self",(char *) "_class", NULL
15412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15414 if (!SWIG_IsOK(res1
)) {
15415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15417 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= SWIG_Py_Void();
15433 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
= 0;
15435 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15436 wxWindow
*arg2
= (wxWindow
*) 0 ;
15437 int arg3
= (int) wxID_ANY
;
15438 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15439 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15440 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15441 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15442 long arg6
= (long) 0 ;
15443 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
15444 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15456 bool temp7
= false ;
15457 PyObject
* obj0
= 0 ;
15458 PyObject
* obj1
= 0 ;
15459 PyObject
* obj2
= 0 ;
15460 PyObject
* obj3
= 0 ;
15461 PyObject
* obj4
= 0 ;
15462 PyObject
* obj5
= 0 ;
15463 PyObject
* obj6
= 0 ;
15464 char * kwnames
[] = {
15465 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15470 if (!SWIG_IsOK(res1
)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15473 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15475 if (!SWIG_IsOK(res2
)) {
15476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15478 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15481 if (!SWIG_IsOK(ecode3
)) {
15482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15484 arg3
= static_cast< int >(val3
);
15489 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15495 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15499 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15500 if (!SWIG_IsOK(ecode6
)) {
15501 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15503 arg6
= static_cast< long >(val6
);
15507 arg7
= wxString_in_helper(obj6
);
15508 if (arg7
== NULL
) SWIG_fail
;
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15535 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetRowsHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
= 0;
15537 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 PyObject
* obj2
= 0 ;
15550 char * kwnames
[] = {
15551 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
15554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15556 if (!SWIG_IsOK(res1
)) {
15557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15559 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15560 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15561 if (!SWIG_IsOK(ecode2
)) {
15562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
15564 arg2
= static_cast< size_t >(val2
);
15565 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15566 if (!SWIG_IsOK(ecode3
)) {
15567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
15569 arg3
= static_cast< size_t >(val3
);
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetRowsHeight(arg2
,arg3
);
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= SWIG_From_int(static_cast< int >(result
));
15583 SWIGINTERN PyObject
*_wrap_VScrolledWindow_EstimateTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15584 PyObject
*resultobj
= 0;
15585 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15589 PyObject
*swig_obj
[1] ;
15591 if (!args
) SWIG_fail
;
15592 swig_obj
[0] = args
;
15593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15594 if (!SWIG_IsOK(res1
)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15597 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->EstimateTotalHeight();
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= SWIG_From_int(static_cast< int >(result
));
15611 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
= 0;
15613 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
15614 wxPoint
*arg2
= 0 ;
15619 PyObject
* obj0
= 0 ;
15620 PyObject
* obj1
= 0 ;
15621 char * kwnames
[] = {
15622 (char *) "self",(char *) "pt", NULL
15625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
15627 if (!SWIG_IsOK(res1
)) {
15628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15630 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
15633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= SWIG_From_int(static_cast< int >(result
));
15648 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15650 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15651 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
15652 return SWIG_Py_Void();
15655 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15656 return SWIG_Python_InitShadowInstance(args
);
15659 SWIGINTERN PyObject
*_wrap_new_HScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
= 0;
15661 wxWindow
*arg1
= (wxWindow
*) 0 ;
15662 int arg2
= (int) wxID_ANY
;
15663 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15664 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15665 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15666 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15667 long arg5
= (long) 0 ;
15668 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15669 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15670 wxPyHScrolledWindow
*result
= 0 ;
15679 bool temp6
= false ;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 PyObject
* obj2
= 0 ;
15683 PyObject
* obj3
= 0 ;
15684 PyObject
* obj4
= 0 ;
15685 PyObject
* obj5
= 0 ;
15686 char * kwnames
[] = {
15687 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15692 if (!SWIG_IsOK(res1
)) {
15693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15695 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15698 if (!SWIG_IsOK(ecode2
)) {
15699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15701 arg2
= static_cast< int >(val2
);
15706 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15712 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15716 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15717 if (!SWIG_IsOK(ecode5
)) {
15718 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15720 arg5
= static_cast< long >(val5
);
15724 arg6
= wxString_in_helper(obj5
);
15725 if (arg6
== NULL
) SWIG_fail
;
15730 if (!wxPyCheckForApp()) SWIG_fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 result
= (wxPyHScrolledWindow
*)new wxPyHScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_POINTER_NEW
| 0 );
15751 SWIGINTERN PyObject
*_wrap_new_PreHScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15752 PyObject
*resultobj
= 0;
15753 wxPyHScrolledWindow
*result
= 0 ;
15755 if (!SWIG_Python_UnpackTuple(args
,"new_PreHScrolledWindow",0,0,0)) SWIG_fail
;
15757 if (!wxPyCheckForApp()) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (wxPyHScrolledWindow
*)new wxPyHScrolledWindow();
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_POINTER_OWN
| 0 );
15770 SWIGINTERN PyObject
*_wrap_HScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
= 0;
15772 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15773 PyObject
*arg2
= (PyObject
*) 0 ;
15774 PyObject
*arg3
= (PyObject
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 PyObject
* obj2
= 0 ;
15780 char * kwnames
[] = {
15781 (char *) "self",(char *) "self",(char *) "_class", NULL
15784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15786 if (!SWIG_IsOK(res1
)) {
15787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15789 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= SWIG_Py_Void();
15805 SWIGINTERN PyObject
*_wrap_HScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
= 0;
15807 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15808 wxWindow
*arg2
= (wxWindow
*) 0 ;
15809 int arg3
= (int) wxID_ANY
;
15810 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15811 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15812 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15813 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15814 long arg6
= (long) 0 ;
15815 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
15816 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15828 bool temp7
= false ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 PyObject
* obj2
= 0 ;
15832 PyObject
* obj3
= 0 ;
15833 PyObject
* obj4
= 0 ;
15834 PyObject
* obj5
= 0 ;
15835 PyObject
* obj6
= 0 ;
15836 char * kwnames
[] = {
15837 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15842 if (!SWIG_IsOK(res1
)) {
15843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15845 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15846 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15847 if (!SWIG_IsOK(res2
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15850 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15853 if (!SWIG_IsOK(ecode3
)) {
15854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15856 arg3
= static_cast< int >(val3
);
15861 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15867 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15871 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15872 if (!SWIG_IsOK(ecode6
)) {
15873 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15875 arg6
= static_cast< long >(val6
);
15879 arg7
= wxString_in_helper(obj6
);
15880 if (arg7
== NULL
) SWIG_fail
;
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15907 SWIGINTERN PyObject
*_wrap_HScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
= 0;
15909 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15910 wxPoint
*arg2
= 0 ;
15915 PyObject
* obj0
= 0 ;
15916 PyObject
* obj1
= 0 ;
15917 char * kwnames
[] = {
15918 (char *) "self",(char *) "pt", NULL
15921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15923 if (!SWIG_IsOK(res1
)) {
15924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15926 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15929 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_From_int(static_cast< int >(result
));
15944 SWIGINTERN PyObject
*_wrap_HScrolledWindow_GetColumnsWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
= 0;
15946 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 PyObject
* obj1
= 0 ;
15958 PyObject
* obj2
= 0 ;
15959 char * kwnames
[] = {
15960 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
15963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
15965 if (!SWIG_IsOK(res1
)) {
15966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15968 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
15969 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15970 if (!SWIG_IsOK(ecode2
)) {
15971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
15973 arg2
= static_cast< size_t >(val2
);
15974 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15975 if (!SWIG_IsOK(ecode3
)) {
15976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
15978 arg3
= static_cast< size_t >(val3
);
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->GetColumnsWidth(arg2
,arg3
);
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= SWIG_From_int(static_cast< int >(result
));
15992 SWIGINTERN PyObject
*_wrap_HScrolledWindow_EstimateTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15993 PyObject
*resultobj
= 0;
15994 wxPyHScrolledWindow
*arg1
= (wxPyHScrolledWindow
*) 0 ;
15998 PyObject
*swig_obj
[1] ;
16000 if (!args
) SWIG_fail
;
16001 swig_obj
[0] = args
;
16002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHScrolledWindow
, 0 | 0 );
16003 if (!SWIG_IsOK(res1
)) {
16004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16006 arg1
= reinterpret_cast< wxPyHScrolledWindow
* >(argp1
);
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (int)((wxPyHScrolledWindow
const *)arg1
)->EstimateTotalWidth();
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16013 resultobj
= SWIG_From_int(static_cast< int >(result
));
16020 SWIGINTERN PyObject
*HScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16023 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow
, SWIG_NewClientData(obj
));
16024 return SWIG_Py_Void();
16027 SWIGINTERN PyObject
*HScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16028 return SWIG_Python_InitShadowInstance(args
);
16031 SWIGINTERN PyObject
*_wrap_new_HVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
= 0;
16033 wxWindow
*arg1
= (wxWindow
*) 0 ;
16034 int arg2
= (int) wxID_ANY
;
16035 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16036 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16037 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16038 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16039 long arg5
= (long) 0 ;
16040 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16041 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16042 wxPyHVScrolledWindow
*result
= 0 ;
16051 bool temp6
= false ;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 PyObject
* obj2
= 0 ;
16055 PyObject
* obj3
= 0 ;
16056 PyObject
* obj4
= 0 ;
16057 PyObject
* obj5
= 0 ;
16058 char * kwnames
[] = {
16059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16064 if (!SWIG_IsOK(res1
)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
16067 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16070 if (!SWIG_IsOK(ecode2
)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'");
16073 arg2
= static_cast< int >(val2
);
16078 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16084 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16088 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
16089 if (!SWIG_IsOK(ecode5
)) {
16090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'");
16092 arg5
= static_cast< long >(val5
);
16096 arg6
= wxString_in_helper(obj5
);
16097 if (arg6
== NULL
) SWIG_fail
;
16102 if (!wxPyCheckForApp()) SWIG_fail
;
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16104 result
= (wxPyHVScrolledWindow
*)new wxPyHVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
16123 SWIGINTERN PyObject
*_wrap_new_PreHVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16124 PyObject
*resultobj
= 0;
16125 wxPyHVScrolledWindow
*result
= 0 ;
16127 if (!SWIG_Python_UnpackTuple(args
,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail
;
16129 if (!wxPyCheckForApp()) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (wxPyHVScrolledWindow
*)new wxPyHVScrolledWindow();
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
16142 SWIGINTERN PyObject
*_wrap_HVScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
= 0;
16144 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16145 PyObject
*arg2
= (PyObject
*) 0 ;
16146 PyObject
*arg3
= (PyObject
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 PyObject
* obj1
= 0 ;
16151 PyObject
* obj2
= 0 ;
16152 char * kwnames
[] = {
16153 (char *) "self",(char *) "self",(char *) "_class", NULL
16156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16158 if (!SWIG_IsOK(res1
)) {
16159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16161 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= SWIG_Py_Void();
16177 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
= 0;
16179 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16180 wxWindow
*arg2
= (wxWindow
*) 0 ;
16181 int arg3
= (int) wxID_ANY
;
16182 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16183 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16184 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16185 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16186 long arg6
= (long) 0 ;
16187 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
16188 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16200 bool temp7
= false ;
16201 PyObject
* obj0
= 0 ;
16202 PyObject
* obj1
= 0 ;
16203 PyObject
* obj2
= 0 ;
16204 PyObject
* obj3
= 0 ;
16205 PyObject
* obj4
= 0 ;
16206 PyObject
* obj5
= 0 ;
16207 PyObject
* obj6
= 0 ;
16208 char * kwnames
[] = {
16209 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16214 if (!SWIG_IsOK(res1
)) {
16215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16217 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16219 if (!SWIG_IsOK(res2
)) {
16220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16222 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16225 if (!SWIG_IsOK(ecode3
)) {
16226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
16228 arg3
= static_cast< int >(val3
);
16233 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16239 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16243 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16244 if (!SWIG_IsOK(ecode6
)) {
16245 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
16247 arg6
= static_cast< long >(val6
);
16251 arg7
= wxString_in_helper(obj6
);
16252 if (arg7
== NULL
) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16279 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_GetRowsHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
= 0;
16281 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16291 PyObject
* obj0
= 0 ;
16292 PyObject
* obj1
= 0 ;
16293 PyObject
* obj2
= 0 ;
16294 char * kwnames
[] = {
16295 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
16298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16300 if (!SWIG_IsOK(res1
)) {
16301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16303 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16304 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16305 if (!SWIG_IsOK(ecode2
)) {
16306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
16308 arg2
= static_cast< size_t >(val2
);
16309 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16310 if (!SWIG_IsOK(ecode3
)) {
16311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
16313 arg3
= static_cast< size_t >(val3
);
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->GetRowsHeight(arg2
,arg3
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_From_int(static_cast< int >(result
));
16327 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16328 PyObject
*resultobj
= 0;
16329 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16333 PyObject
*swig_obj
[1] ;
16335 if (!args
) SWIG_fail
;
16336 swig_obj
[0] = args
;
16337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16338 if (!SWIG_IsOK(res1
)) {
16339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16341 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->EstimateTotalHeight();
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 resultobj
= SWIG_From_int(static_cast< int >(result
));
16355 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_GetColumnsWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
= 0;
16357 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16367 PyObject
* obj0
= 0 ;
16368 PyObject
* obj1
= 0 ;
16369 PyObject
* obj2
= 0 ;
16370 char * kwnames
[] = {
16371 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16376 if (!SWIG_IsOK(res1
)) {
16377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16379 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16380 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16381 if (!SWIG_IsOK(ecode2
)) {
16382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16384 arg2
= static_cast< size_t >(val2
);
16385 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
16386 if (!SWIG_IsOK(ecode3
)) {
16387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16389 arg3
= static_cast< size_t >(val3
);
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->GetColumnsWidth(arg2
,arg3
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= SWIG_From_int(static_cast< int >(result
));
16403 SWIGINTERN PyObject
*_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16404 PyObject
*resultobj
= 0;
16405 wxPyHVScrolledWindow
*arg1
= (wxPyHVScrolledWindow
*) 0 ;
16409 PyObject
*swig_obj
[1] ;
16411 if (!args
) SWIG_fail
;
16412 swig_obj
[0] = args
;
16413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHVScrolledWindow
, 0 | 0 );
16414 if (!SWIG_IsOK(res1
)) {
16415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16417 arg1
= reinterpret_cast< wxPyHVScrolledWindow
* >(argp1
);
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= (int)((wxPyHVScrolledWindow
const *)arg1
)->EstimateTotalWidth();
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= SWIG_From_int(static_cast< int >(result
));
16431 SWIGINTERN PyObject
*HVScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16434 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow
, SWIG_NewClientData(obj
));
16435 return SWIG_Py_Void();
16438 SWIGINTERN PyObject
*HVScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16439 return SWIG_Python_InitShadowInstance(args
);
16442 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
16443 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
16448 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
16449 PyObject
*pyobj
= 0;
16453 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
16455 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
16462 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
= 0;
16464 wxWindow
*arg1
= (wxWindow
*) 0 ;
16465 int arg2
= (int) wxID_ANY
;
16466 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16467 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16468 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16469 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16470 long arg5
= (long) 0 ;
16471 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
16472 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16473 wxPyVListBox
*result
= 0 ;
16482 bool temp6
= false ;
16483 PyObject
* obj0
= 0 ;
16484 PyObject
* obj1
= 0 ;
16485 PyObject
* obj2
= 0 ;
16486 PyObject
* obj3
= 0 ;
16487 PyObject
* obj4
= 0 ;
16488 PyObject
* obj5
= 0 ;
16489 char * kwnames
[] = {
16490 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16495 if (!SWIG_IsOK(res1
)) {
16496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16498 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16501 if (!SWIG_IsOK(ecode2
)) {
16502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
16504 arg2
= static_cast< int >(val2
);
16509 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16515 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16519 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
16520 if (!SWIG_IsOK(ecode5
)) {
16521 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
16523 arg5
= static_cast< long >(val5
);
16527 arg6
= wxString_in_helper(obj5
);
16528 if (arg6
== NULL
) SWIG_fail
;
16533 if (!wxPyCheckForApp()) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
16554 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16555 PyObject
*resultobj
= 0;
16556 wxPyVListBox
*result
= 0 ;
16558 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
16560 if (!wxPyCheckForApp()) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (wxPyVListBox
*)new wxPyVListBox();
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
16573 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
= 0;
16575 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16576 PyObject
*arg2
= (PyObject
*) 0 ;
16577 PyObject
*arg3
= (PyObject
*) 0 ;
16580 PyObject
* obj0
= 0 ;
16581 PyObject
* obj1
= 0 ;
16582 PyObject
* obj2
= 0 ;
16583 char * kwnames
[] = {
16584 (char *) "self",(char *) "self",(char *) "_class", NULL
16587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16589 if (!SWIG_IsOK(res1
)) {
16590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16592 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= SWIG_Py_Void();
16608 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
= 0;
16610 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16611 wxWindow
*arg2
= (wxWindow
*) 0 ;
16612 int arg3
= (int) wxID_ANY
;
16613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16617 long arg6
= (long) 0 ;
16618 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
16619 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16631 bool temp7
= false ;
16632 PyObject
* obj0
= 0 ;
16633 PyObject
* obj1
= 0 ;
16634 PyObject
* obj2
= 0 ;
16635 PyObject
* obj3
= 0 ;
16636 PyObject
* obj4
= 0 ;
16637 PyObject
* obj5
= 0 ;
16638 PyObject
* obj6
= 0 ;
16639 char * kwnames
[] = {
16640 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16645 if (!SWIG_IsOK(res1
)) {
16646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16648 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16650 if (!SWIG_IsOK(res2
)) {
16651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16653 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16656 if (!SWIG_IsOK(ecode3
)) {
16657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
16659 arg3
= static_cast< int >(val3
);
16664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16674 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16675 if (!SWIG_IsOK(ecode6
)) {
16676 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
16678 arg6
= static_cast< long >(val6
);
16682 arg7
= wxString_in_helper(obj6
);
16683 if (arg7
== NULL
) SWIG_fail
;
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16710 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16711 PyObject
*resultobj
= 0;
16712 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16716 PyObject
*swig_obj
[1] ;
16718 if (!args
) SWIG_fail
;
16719 swig_obj
[0] = args
;
16720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16721 if (!SWIG_IsOK(res1
)) {
16722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16724 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16731 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16738 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16739 PyObject
*resultobj
= 0;
16740 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16744 PyObject
*swig_obj
[1] ;
16746 if (!args
) SWIG_fail
;
16747 swig_obj
[0] = args
;
16748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16749 if (!SWIG_IsOK(res1
)) {
16750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16752 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16768 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16769 PyObject
*resultobj
= 0;
16770 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16774 PyObject
*swig_obj
[1] ;
16776 if (!args
) SWIG_fail
;
16777 swig_obj
[0] = args
;
16778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16779 if (!SWIG_IsOK(res1
)) {
16780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16782 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 resultobj
= SWIG_From_int(static_cast< int >(result
));
16796 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
= 0;
16798 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16805 PyObject
* obj0
= 0 ;
16806 PyObject
* obj1
= 0 ;
16807 char * kwnames
[] = {
16808 (char *) "self",(char *) "item", NULL
16811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16813 if (!SWIG_IsOK(res1
)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16816 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16817 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16818 if (!SWIG_IsOK(ecode2
)) {
16819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
16821 arg2
= static_cast< size_t >(val2
);
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16837 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
= 0;
16839 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16846 PyObject
* obj0
= 0 ;
16847 PyObject
* obj1
= 0 ;
16848 char * kwnames
[] = {
16849 (char *) "self",(char *) "item", NULL
16852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16854 if (!SWIG_IsOK(res1
)) {
16855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16857 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16858 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16859 if (!SWIG_IsOK(ecode2
)) {
16860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
16862 arg2
= static_cast< size_t >(val2
);
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16878 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16879 PyObject
*resultobj
= 0;
16880 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16884 PyObject
*swig_obj
[1] ;
16886 if (!args
) SWIG_fail
;
16887 swig_obj
[0] = args
;
16888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16889 if (!SWIG_IsOK(res1
)) {
16890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16892 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16906 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16907 PyObject
*resultobj
= 0;
16908 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16909 PyObject
*result
= 0 ;
16912 PyObject
*swig_obj
[1] ;
16914 if (!args
) SWIG_fail
;
16915 swig_obj
[0] = args
;
16916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16917 if (!SWIG_IsOK(res1
)) {
16918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16920 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= result
;
16934 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
= 0;
16936 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16937 unsigned long arg2
;
16938 PyObject
*result
= 0 ;
16941 unsigned long val2
;
16943 PyObject
* obj0
= 0 ;
16944 PyObject
* obj1
= 0 ;
16945 char * kwnames
[] = {
16946 (char *) "self",(char *) "cookie", NULL
16949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16951 if (!SWIG_IsOK(res1
)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16954 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16955 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
16956 if (!SWIG_IsOK(ecode2
)) {
16957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
16959 arg2
= static_cast< unsigned long >(val2
);
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= result
;
16973 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16974 PyObject
*resultobj
= 0;
16975 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
16979 PyObject
*swig_obj
[1] ;
16981 if (!args
) SWIG_fail
;
16982 swig_obj
[0] = args
;
16983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
16984 if (!SWIG_IsOK(res1
)) {
16985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16987 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
17001 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17002 PyObject
*resultobj
= 0;
17003 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17004 wxColour
*result
= 0 ;
17007 PyObject
*swig_obj
[1] ;
17009 if (!args
) SWIG_fail
;
17010 swig_obj
[0] = args
;
17011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17012 if (!SWIG_IsOK(res1
)) {
17013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17015 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17019 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
17020 result
= (wxColour
*) &_result_ref
;
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
17032 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
= 0;
17034 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17040 PyObject
* obj0
= 0 ;
17041 PyObject
* obj1
= 0 ;
17042 char * kwnames
[] = {
17043 (char *) "self",(char *) "count", NULL
17046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17048 if (!SWIG_IsOK(res1
)) {
17049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17051 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17052 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17053 if (!SWIG_IsOK(ecode2
)) {
17054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17056 arg2
= static_cast< size_t >(val2
);
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 (arg1
)->SetItemCount(arg2
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= SWIG_Py_Void();
17070 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17071 PyObject
*resultobj
= 0;
17072 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17075 PyObject
*swig_obj
[1] ;
17077 if (!args
) SWIG_fail
;
17078 swig_obj
[0] = args
;
17079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17080 if (!SWIG_IsOK(res1
)) {
17081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17083 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= SWIG_Py_Void();
17097 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
= 0;
17099 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17105 PyObject
* obj0
= 0 ;
17106 PyObject
* obj1
= 0 ;
17107 char * kwnames
[] = {
17108 (char *) "self",(char *) "selection", NULL
17111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17113 if (!SWIG_IsOK(res1
)) {
17114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17116 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17118 if (!SWIG_IsOK(ecode2
)) {
17119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
17121 arg2
= static_cast< int >(val2
);
17123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17124 (arg1
)->SetSelection(arg2
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= SWIG_Py_Void();
17135 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
= 0;
17137 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17139 bool arg3
= (bool) true ;
17147 PyObject
* obj0
= 0 ;
17148 PyObject
* obj1
= 0 ;
17149 PyObject
* obj2
= 0 ;
17150 char * kwnames
[] = {
17151 (char *) "self",(char *) "item",(char *) "select", NULL
17154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17156 if (!SWIG_IsOK(res1
)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17159 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17160 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17161 if (!SWIG_IsOK(ecode2
)) {
17162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
17164 arg2
= static_cast< size_t >(val2
);
17166 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17167 if (!SWIG_IsOK(ecode3
)) {
17168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
17170 arg3
= static_cast< bool >(val3
);
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= (bool)(arg1
)->Select(arg2
,arg3
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17187 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
= 0;
17189 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 PyObject
* obj2
= 0 ;
17202 char * kwnames
[] = {
17203 (char *) "self",(char *) "from",(char *) "to", NULL
17206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17208 if (!SWIG_IsOK(res1
)) {
17209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17211 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17212 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17213 if (!SWIG_IsOK(ecode2
)) {
17214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
17216 arg2
= static_cast< size_t >(val2
);
17217 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
17218 if (!SWIG_IsOK(ecode3
)) {
17219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
17221 arg3
= static_cast< size_t >(val3
);
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17237 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
= 0;
17239 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 char * kwnames
[] = {
17248 (char *) "self",(char *) "item", NULL
17251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17253 if (!SWIG_IsOK(res1
)) {
17254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17256 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17257 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17258 if (!SWIG_IsOK(ecode2
)) {
17259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
17261 arg2
= static_cast< size_t >(val2
);
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 (arg1
)->Toggle(arg2
);
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= SWIG_Py_Void();
17275 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17276 PyObject
*resultobj
= 0;
17277 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17281 PyObject
*swig_obj
[1] ;
17283 if (!args
) SWIG_fail
;
17284 swig_obj
[0] = args
;
17285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17286 if (!SWIG_IsOK(res1
)) {
17287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17289 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 result
= (bool)(arg1
)->SelectAll();
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17305 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17306 PyObject
*resultobj
= 0;
17307 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17311 PyObject
*swig_obj
[1] ;
17313 if (!args
) SWIG_fail
;
17314 swig_obj
[0] = args
;
17315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17316 if (!SWIG_IsOK(res1
)) {
17317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17319 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (bool)(arg1
)->DeselectAll();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17335 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
= 0;
17337 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17338 wxPoint
*arg2
= 0 ;
17342 PyObject
* obj0
= 0 ;
17343 PyObject
* obj1
= 0 ;
17344 char * kwnames
[] = {
17345 (char *) "self",(char *) "pt", NULL
17348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17350 if (!SWIG_IsOK(res1
)) {
17351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17353 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17356 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 resultobj
= SWIG_Py_Void();
17371 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
= 0;
17373 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17382 PyObject
* obj0
= 0 ;
17383 PyObject
* obj1
= 0 ;
17384 PyObject
* obj2
= 0 ;
17385 char * kwnames
[] = {
17386 (char *) "self",(char *) "x",(char *) "y", NULL
17389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17391 if (!SWIG_IsOK(res1
)) {
17392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17394 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17396 if (!SWIG_IsOK(ecode2
)) {
17397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
17399 arg2
= static_cast< int >(val2
);
17400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17401 if (!SWIG_IsOK(ecode3
)) {
17402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
17404 arg3
= static_cast< int >(val3
);
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 (arg1
)->SetMargins(arg2
,arg3
);
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= SWIG_Py_Void();
17418 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
= 0;
17420 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17421 wxColour
*arg2
= 0 ;
17425 PyObject
* obj0
= 0 ;
17426 PyObject
* obj1
= 0 ;
17427 char * kwnames
[] = {
17428 (char *) "self",(char *) "col", NULL
17431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17433 if (!SWIG_IsOK(res1
)) {
17434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17436 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17439 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= SWIG_Py_Void();
17454 SWIGINTERN PyObject
*_wrap_VListBox_RefreshSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17455 PyObject
*resultobj
= 0;
17456 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17459 PyObject
*swig_obj
[1] ;
17461 if (!args
) SWIG_fail
;
17462 swig_obj
[0] = args
;
17463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17464 if (!SWIG_IsOK(res1
)) {
17465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17467 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 (arg1
)->RefreshSelected();
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= SWIG_Py_Void();
17481 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
= 0;
17483 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17494 PyObject
* obj0
= 0 ;
17495 PyObject
* obj1
= 0 ;
17496 PyObject
* obj2
= 0 ;
17497 PyObject
* obj3
= 0 ;
17498 char * kwnames
[] = {
17499 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17504 if (!SWIG_IsOK(res1
)) {
17505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17507 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17508 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
17509 if (!SWIG_IsOK(res2
)) {
17510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17515 arg2
= reinterpret_cast< wxDC
* >(argp2
);
17518 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17520 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17521 if (!SWIG_IsOK(ecode4
)) {
17522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
17524 arg4
= static_cast< size_t >(val4
);
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= SWIG_Py_Void();
17538 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
= 0;
17540 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 PyObject
* obj2
= 0 ;
17554 PyObject
* obj3
= 0 ;
17555 char * kwnames
[] = {
17556 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
17561 if (!SWIG_IsOK(res1
)) {
17562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17564 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
17565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
17566 if (!SWIG_IsOK(res2
)) {
17567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17572 arg2
= reinterpret_cast< wxDC
* >(argp2
);
17575 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17577 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17578 if (!SWIG_IsOK(ecode4
)) {
17579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
17581 arg4
= static_cast< size_t >(val4
);
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17588 resultobj
= SWIG_Py_Void();
17595 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17598 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
17599 return SWIG_Py_Void();
17602 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17603 return SWIG_Python_InitShadowInstance(args
);
17606 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
= 0;
17608 wxWindow
*arg1
= (wxWindow
*) 0 ;
17609 int arg2
= (int) wxID_ANY
;
17610 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17611 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17612 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17613 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17614 long arg5
= (long) 0 ;
17615 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
17616 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17617 wxPyHtmlListBox
*result
= 0 ;
17626 bool temp6
= false ;
17627 PyObject
* obj0
= 0 ;
17628 PyObject
* obj1
= 0 ;
17629 PyObject
* obj2
= 0 ;
17630 PyObject
* obj3
= 0 ;
17631 PyObject
* obj4
= 0 ;
17632 PyObject
* obj5
= 0 ;
17633 char * kwnames
[] = {
17634 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17639 if (!SWIG_IsOK(res1
)) {
17640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17642 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17645 if (!SWIG_IsOK(ecode2
)) {
17646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
17648 arg2
= static_cast< int >(val2
);
17653 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17659 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17663 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17664 if (!SWIG_IsOK(ecode5
)) {
17665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
17667 arg5
= static_cast< long >(val5
);
17671 arg6
= wxString_in_helper(obj5
);
17672 if (arg6
== NULL
) SWIG_fail
;
17677 if (!wxPyCheckForApp()) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17680 wxPyEndAllowThreads(__tstate
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
17698 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17699 PyObject
*resultobj
= 0;
17700 wxPyHtmlListBox
*result
= 0 ;
17702 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
17704 if (!wxPyCheckForApp()) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
17717 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
= 0;
17719 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17720 PyObject
*arg2
= (PyObject
*) 0 ;
17721 PyObject
*arg3
= (PyObject
*) 0 ;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 PyObject
* obj2
= 0 ;
17727 char * kwnames
[] = {
17728 (char *) "self",(char *) "self",(char *) "_class", NULL
17731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17733 if (!SWIG_IsOK(res1
)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17736 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= SWIG_Py_Void();
17752 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
= 0;
17754 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17755 wxWindow
*arg2
= (wxWindow
*) 0 ;
17756 int arg3
= (int) wxID_ANY
;
17757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17761 long arg6
= (long) 0 ;
17762 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
17763 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17775 bool temp7
= false ;
17776 PyObject
* obj0
= 0 ;
17777 PyObject
* obj1
= 0 ;
17778 PyObject
* obj2
= 0 ;
17779 PyObject
* obj3
= 0 ;
17780 PyObject
* obj4
= 0 ;
17781 PyObject
* obj5
= 0 ;
17782 PyObject
* obj6
= 0 ;
17783 char * kwnames
[] = {
17784 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17789 if (!SWIG_IsOK(res1
)) {
17790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17792 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17793 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17794 if (!SWIG_IsOK(res2
)) {
17795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17797 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17800 if (!SWIG_IsOK(ecode3
)) {
17801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
17803 arg3
= static_cast< int >(val3
);
17808 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17814 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17818 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17819 if (!SWIG_IsOK(ecode6
)) {
17820 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
17822 arg6
= static_cast< long >(val6
);
17826 arg7
= wxString_in_helper(obj6
);
17827 if (arg7
== NULL
) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17854 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
= 0;
17856 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 PyObject
* obj1
= 0 ;
17864 char * kwnames
[] = {
17865 (char *) "self",(char *) "count", NULL
17868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17870 if (!SWIG_IsOK(res1
)) {
17871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17873 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17874 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17875 if (!SWIG_IsOK(ecode2
)) {
17876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17878 arg2
= static_cast< size_t >(val2
);
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 (arg1
)->SetItemCount(arg2
);
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 resultobj
= SWIG_Py_Void();
17892 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17893 PyObject
*resultobj
= 0;
17894 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17895 wxFileSystem
*result
= 0 ;
17898 PyObject
*swig_obj
[1] ;
17900 if (!args
) SWIG_fail
;
17901 swig_obj
[0] = args
;
17902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17903 if (!SWIG_IsOK(res1
)) {
17904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17906 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17910 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
17911 result
= (wxFileSystem
*) &_result_ref
;
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
17923 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
= 0;
17925 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
17927 wxHtmlLinkInfo
*arg3
= 0 ;
17934 PyObject
* obj0
= 0 ;
17935 PyObject
* obj1
= 0 ;
17936 PyObject
* obj2
= 0 ;
17937 char * kwnames
[] = {
17938 (char *) "self",(char *) "n",(char *) "link", NULL
17941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
17943 if (!SWIG_IsOK(res1
)) {
17944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17946 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
17947 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
17948 if (!SWIG_IsOK(ecode2
)) {
17949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
17951 arg2
= static_cast< size_t >(val2
);
17952 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
17953 if (!SWIG_IsOK(res3
)) {
17954 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
17957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
17959 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= SWIG_Py_Void();
17973 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17976 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
17977 return SWIG_Py_Void();
17980 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17981 return SWIG_Python_InitShadowInstance(args
);
17984 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
17985 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
17990 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
17991 PyObject
*pyobj
= 0;
17995 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
17997 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
18004 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
= 0;
18006 wxWindow
*arg1
= (wxWindow
*) 0 ;
18007 int arg2
= (int) -1 ;
18008 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18009 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18010 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18011 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18012 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
18013 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
18014 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
18015 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18016 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18017 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
18018 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18019 wxSimpleHtmlListBox
*result
= 0 ;
18026 bool temp5
= false ;
18031 bool temp8
= false ;
18032 PyObject
* obj0
= 0 ;
18033 PyObject
* obj1
= 0 ;
18034 PyObject
* obj2
= 0 ;
18035 PyObject
* obj3
= 0 ;
18036 PyObject
* obj4
= 0 ;
18037 PyObject
* obj5
= 0 ;
18038 PyObject
* obj6
= 0 ;
18039 PyObject
* obj7
= 0 ;
18040 char * kwnames
[] = {
18041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18046 if (!SWIG_IsOK(res1
)) {
18047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
18049 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18052 if (!SWIG_IsOK(ecode2
)) {
18053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
18055 arg2
= static_cast< int >(val2
);
18060 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18066 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18071 if (! PySequence_Check(obj4
)) {
18072 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
18075 arg5
= new wxArrayString
;
18077 int i
, len
=PySequence_Length(obj4
);
18078 for (i
=0; i
<len
; i
++) {
18079 PyObject
* item
= PySequence_GetItem(obj4
, i
);
18080 wxString
* s
= wxString_in_helper(item
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18089 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18090 if (!SWIG_IsOK(ecode6
)) {
18091 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
18093 arg6
= static_cast< long >(val6
);
18096 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18097 if (!SWIG_IsOK(res7
)) {
18098 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18103 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18107 arg8
= wxString_in_helper(obj7
);
18108 if (arg8
== NULL
) SWIG_fail
;
18113 if (!wxPyCheckForApp()) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
18121 if (temp5
) delete arg5
;
18130 if (temp5
) delete arg5
;
18140 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18141 PyObject
*resultobj
= 0;
18142 wxSimpleHtmlListBox
*result
= 0 ;
18144 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
18146 if (!wxPyCheckForApp()) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
18159 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
= 0;
18161 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
18162 wxWindow
*arg2
= (wxWindow
*) 0 ;
18163 int arg3
= (int) -1 ;
18164 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18165 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18166 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18167 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18168 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
18169 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
18170 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
18171 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18172 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18173 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
18174 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18184 bool temp6
= false ;
18189 bool temp9
= false ;
18190 PyObject
* obj0
= 0 ;
18191 PyObject
* obj1
= 0 ;
18192 PyObject
* obj2
= 0 ;
18193 PyObject
* obj3
= 0 ;
18194 PyObject
* obj4
= 0 ;
18195 PyObject
* obj5
= 0 ;
18196 PyObject
* obj6
= 0 ;
18197 PyObject
* obj7
= 0 ;
18198 PyObject
* obj8
= 0 ;
18199 char * kwnames
[] = {
18200 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
18205 if (!SWIG_IsOK(res1
)) {
18206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
18208 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
18209 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18210 if (!SWIG_IsOK(res2
)) {
18211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18213 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18216 if (!SWIG_IsOK(ecode3
)) {
18217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
18219 arg3
= static_cast< int >(val3
);
18224 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18230 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18235 if (! PySequence_Check(obj5
)) {
18236 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
18239 arg6
= new wxArrayString
;
18241 int i
, len
=PySequence_Length(obj5
);
18242 for (i
=0; i
<len
; i
++) {
18243 PyObject
* item
= PySequence_GetItem(obj5
, i
);
18244 wxString
* s
= wxString_in_helper(item
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18253 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18254 if (!SWIG_IsOK(ecode7
)) {
18255 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
18257 arg7
= static_cast< long >(val7
);
18260 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18261 if (!SWIG_IsOK(res8
)) {
18262 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18267 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18271 arg9
= wxString_in_helper(obj8
);
18272 if (arg9
== NULL
) SWIG_fail
;
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18286 if (temp6
) delete arg6
;
18295 if (temp6
) delete arg6
;
18305 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18308 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
18309 return SWIG_Py_Void();
18312 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18313 return SWIG_Python_InitShadowInstance(args
);
18316 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18317 PyObject
*resultobj
= 0;
18318 wxPyTaskBarIcon
*result
= 0 ;
18320 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
18322 if (!wxPyCheckForApp()) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
18325 wxPyEndAllowThreads(__tstate
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
18335 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18336 PyObject
*resultobj
= 0;
18337 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18340 PyObject
*swig_obj
[1] ;
18342 if (!args
) SWIG_fail
;
18343 swig_obj
[0] = args
;
18344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
18345 if (!SWIG_IsOK(res1
)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18348 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18356 resultobj
= SWIG_Py_Void();
18363 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
= 0;
18365 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18366 PyObject
*arg2
= (PyObject
*) 0 ;
18367 PyObject
*arg3
= (PyObject
*) 0 ;
18368 int arg4
= (int) 0 ;
18373 PyObject
* obj0
= 0 ;
18374 PyObject
* obj1
= 0 ;
18375 PyObject
* obj2
= 0 ;
18376 PyObject
* obj3
= 0 ;
18377 char * kwnames
[] = {
18378 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
18381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18383 if (!SWIG_IsOK(res1
)) {
18384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18386 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18390 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18391 if (!SWIG_IsOK(ecode4
)) {
18392 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
18394 arg4
= static_cast< int >(val4
);
18397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18398 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18402 resultobj
= SWIG_Py_Void();
18409 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18410 PyObject
*resultobj
= 0;
18411 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18414 PyObject
*swig_obj
[1] ;
18416 if (!args
) SWIG_fail
;
18417 swig_obj
[0] = args
;
18418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18419 if (!SWIG_IsOK(res1
)) {
18420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18422 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 wxPyTaskBarIcon_Destroy(arg1
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 resultobj
= SWIG_Py_Void();
18436 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18437 PyObject
*resultobj
= 0;
18438 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18442 PyObject
*swig_obj
[1] ;
18444 if (!args
) SWIG_fail
;
18445 swig_obj
[0] = args
;
18446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18447 if (!SWIG_IsOK(res1
)) {
18448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18450 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18466 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18467 PyObject
*resultobj
= 0;
18468 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18472 PyObject
*swig_obj
[1] ;
18474 if (!args
) SWIG_fail
;
18475 swig_obj
[0] = args
;
18476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18477 if (!SWIG_IsOK(res1
)) {
18478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18480 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18496 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
= 0;
18498 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18500 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18501 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18507 bool temp3
= false ;
18508 PyObject
* obj0
= 0 ;
18509 PyObject
* obj1
= 0 ;
18510 PyObject
* obj2
= 0 ;
18511 char * kwnames
[] = {
18512 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
18515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18517 if (!SWIG_IsOK(res1
)) {
18518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18520 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18522 if (!SWIG_IsOK(res2
)) {
18523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18528 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18531 arg3
= wxString_in_helper(obj2
);
18532 if (arg3
== NULL
) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18559 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18560 PyObject
*resultobj
= 0;
18561 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18565 PyObject
*swig_obj
[1] ;
18567 if (!args
) SWIG_fail
;
18568 swig_obj
[0] = args
;
18569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18570 if (!SWIG_IsOK(res1
)) {
18571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18573 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 result
= (bool)(arg1
)->RemoveIcon();
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18589 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
= 0;
18591 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
18592 wxMenu
*arg2
= (wxMenu
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 PyObject
* obj1
= 0 ;
18600 char * kwnames
[] = {
18601 (char *) "self",(char *) "menu", NULL
18604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
18606 if (!SWIG_IsOK(res1
)) {
18607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18609 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
18610 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
18611 if (!SWIG_IsOK(res2
)) {
18612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
18614 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 result
= (bool)(arg1
)->PopupMenu(arg2
);
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18630 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18633 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
18634 return SWIG_Py_Void();
18637 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18638 return SWIG_Python_InitShadowInstance(args
);
18641 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
= 0;
18644 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
18645 wxTaskBarIconEvent
*result
= 0 ;
18650 PyObject
* obj0
= 0 ;
18651 PyObject
* obj1
= 0 ;
18652 char * kwnames
[] = {
18653 (char *) "evtType",(char *) "tbIcon", NULL
18656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18657 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18658 if (!SWIG_IsOK(ecode1
)) {
18659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18661 arg1
= static_cast< wxEventType
>(val1
);
18662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
18663 if (!SWIG_IsOK(res2
)) {
18664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
18666 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
18670 wxPyEndAllowThreads(__tstate
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
18680 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18683 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
18684 return SWIG_Py_Void();
18687 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18688 return SWIG_Python_InitShadowInstance(args
);
18691 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
18692 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
18697 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
18698 PyObject
*pyobj
= 0;
18702 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
18704 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
18711 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
18712 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
18717 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
18718 PyObject
*pyobj
= 0;
18722 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
18724 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
18731 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
18732 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
18737 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
18738 PyObject
*pyobj
= 0;
18742 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
18744 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
18751 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
18752 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
18757 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
18758 PyObject
*pyobj
= 0;
18762 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
18764 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
18771 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
18772 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
18777 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
18778 PyObject
*pyobj
= 0;
18782 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
18784 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
18791 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
18792 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
18797 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
18798 PyObject
*pyobj
= 0;
18802 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
18804 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
18811 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18812 PyObject
*resultobj
= 0;
18813 wxColourData
*result
= 0 ;
18815 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (wxColourData
*)new wxColourData();
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
18829 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18830 PyObject
*resultobj
= 0;
18831 wxColourData
*arg1
= (wxColourData
*) 0 ;
18834 PyObject
*swig_obj
[1] ;
18836 if (!args
) SWIG_fail
;
18837 swig_obj
[0] = args
;
18838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
18839 if (!SWIG_IsOK(res1
)) {
18840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
18842 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= SWIG_Py_Void();
18857 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18858 PyObject
*resultobj
= 0;
18859 wxColourData
*arg1
= (wxColourData
*) 0 ;
18863 PyObject
*swig_obj
[1] ;
18865 if (!args
) SWIG_fail
;
18866 swig_obj
[0] = args
;
18867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18868 if (!SWIG_IsOK(res1
)) {
18869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18871 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (bool)(arg1
)->GetChooseFull();
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18887 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18888 PyObject
*resultobj
= 0;
18889 wxColourData
*arg1
= (wxColourData
*) 0 ;
18893 PyObject
*swig_obj
[1] ;
18895 if (!args
) SWIG_fail
;
18896 swig_obj
[0] = args
;
18897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18898 if (!SWIG_IsOK(res1
)) {
18899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18901 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18904 result
= (arg1
)->GetColour();
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18908 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18915 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
= 0;
18917 wxColourData
*arg1
= (wxColourData
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 PyObject
* obj1
= 0 ;
18926 char * kwnames
[] = {
18927 (char *) "self",(char *) "i", NULL
18930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18935 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18937 if (!SWIG_IsOK(ecode2
)) {
18938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
18940 arg2
= static_cast< int >(val2
);
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (arg1
)->GetCustomColour(arg2
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18954 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
= 0;
18956 wxColourData
*arg1
= (wxColourData
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char * kwnames
[] = {
18965 (char *) "self",(char *) "flag", NULL
18968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
18970 if (!SWIG_IsOK(res1
)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18973 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
18974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18975 if (!SWIG_IsOK(ecode2
)) {
18976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
18978 arg2
= static_cast< int >(val2
);
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 (arg1
)->SetChooseFull(arg2
);
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 resultobj
= SWIG_Py_Void();
18992 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
= 0;
18994 wxColourData
*arg1
= (wxColourData
*) 0 ;
18995 wxColour
*arg2
= 0 ;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char * kwnames
[] = {
19002 (char *) "self",(char *) "colour", NULL
19005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19007 if (!SWIG_IsOK(res1
)) {
19008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19010 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19013 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 (arg1
)->SetColour((wxColour
const &)*arg2
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= SWIG_Py_Void();
19028 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
= 0;
19030 wxColourData
*arg1
= (wxColourData
*) 0 ;
19032 wxColour
*arg3
= 0 ;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 PyObject
* obj2
= 0 ;
19041 char * kwnames
[] = {
19042 (char *) "self",(char *) "i",(char *) "colour", NULL
19045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19047 if (!SWIG_IsOK(res1
)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19050 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
19051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19052 if (!SWIG_IsOK(ecode2
)) {
19053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
19055 arg2
= static_cast< int >(val2
);
19058 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 resultobj
= SWIG_Py_Void();
19073 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19076 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
19077 return SWIG_Py_Void();
19080 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19081 return SWIG_Python_InitShadowInstance(args
);
19084 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
= 0;
19086 wxWindow
*arg1
= (wxWindow
*) 0 ;
19087 wxColourData
*arg2
= (wxColourData
*) NULL
;
19088 wxColourDialog
*result
= 0 ;
19093 PyObject
* obj0
= 0 ;
19094 PyObject
* obj1
= 0 ;
19095 char * kwnames
[] = {
19096 (char *) "parent",(char *) "data", NULL
19099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19101 if (!SWIG_IsOK(res1
)) {
19102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19104 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19106 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
19107 if (!SWIG_IsOK(res2
)) {
19108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
19110 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
19113 if (!wxPyCheckForApp()) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
19126 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19127 PyObject
*resultobj
= 0;
19128 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
19129 wxColourData
*result
= 0 ;
19132 PyObject
*swig_obj
[1] ;
19134 if (!args
) SWIG_fail
;
19135 swig_obj
[0] = args
;
19136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
19137 if (!SWIG_IsOK(res1
)) {
19138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
19140 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 wxColourData
&_result_ref
= (arg1
)->GetColourData();
19145 result
= (wxColourData
*) &_result_ref
;
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
19157 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19159 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19160 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
19161 return SWIG_Py_Void();
19164 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19165 return SWIG_Python_InitShadowInstance(args
);
19168 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
= 0;
19170 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
19171 wxColour
const &arg2_defvalue
= wxNullColour
;
19172 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19173 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19174 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19179 bool temp3
= false ;
19180 PyObject
* obj0
= 0 ;
19181 PyObject
* obj1
= 0 ;
19182 PyObject
* obj2
= 0 ;
19183 char * kwnames
[] = {
19184 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
19187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19190 if (!SWIG_IsOK(res1
)) {
19191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19193 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19198 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19203 arg3
= wxString_in_helper(obj2
);
19204 if (arg3
== NULL
) SWIG_fail
;
19209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19210 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19229 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
= 0;
19231 wxWindow
*arg1
= (wxWindow
*) 0 ;
19232 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
19233 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19234 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19235 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19236 long arg4
= (long) wxDD_DEFAULT_STYLE
;
19237 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19238 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19239 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19240 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19241 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
19242 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19243 wxDirDialog
*result
= 0 ;
19246 bool temp2
= false ;
19247 bool temp3
= false ;
19252 bool temp7
= false ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 PyObject
* obj2
= 0 ;
19256 PyObject
* obj3
= 0 ;
19257 PyObject
* obj4
= 0 ;
19258 PyObject
* obj5
= 0 ;
19259 PyObject
* obj6
= 0 ;
19260 char * kwnames
[] = {
19261 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
19264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19266 if (!SWIG_IsOK(res1
)) {
19267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19269 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19272 arg2
= wxString_in_helper(obj1
);
19273 if (arg2
== NULL
) SWIG_fail
;
19279 arg3
= wxString_in_helper(obj2
);
19280 if (arg3
== NULL
) SWIG_fail
;
19285 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19286 if (!SWIG_IsOK(ecode4
)) {
19287 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
19289 arg4
= static_cast< long >(val4
);
19294 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19300 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19305 arg7
= wxString_in_helper(obj6
);
19306 if (arg7
== NULL
) SWIG_fail
;
19311 if (!wxPyCheckForApp()) SWIG_fail
;
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
19348 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19349 PyObject
*resultobj
= 0;
19350 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19354 PyObject
*swig_obj
[1] ;
19356 if (!args
) SWIG_fail
;
19357 swig_obj
[0] = args
;
19358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19359 if (!SWIG_IsOK(res1
)) {
19360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19362 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (arg1
)->GetPath();
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19382 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19383 PyObject
*resultobj
= 0;
19384 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19388 PyObject
*swig_obj
[1] ;
19390 if (!args
) SWIG_fail
;
19391 swig_obj
[0] = args
;
19392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19393 if (!SWIG_IsOK(res1
)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19396 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 result
= (arg1
)->GetMessage();
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19416 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19417 PyObject
*resultobj
= 0;
19418 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19419 wxString
*arg2
= 0 ;
19422 bool temp2
= false ;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 char * kwnames
[] = {
19426 (char *) "self",(char *) "message", NULL
19429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19431 if (!SWIG_IsOK(res1
)) {
19432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19434 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19436 arg2
= wxString_in_helper(obj1
);
19437 if (arg2
== NULL
) SWIG_fail
;
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 (arg1
)->SetMessage((wxString
const &)*arg2
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= SWIG_Py_Void();
19461 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
= 0;
19463 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
19464 wxString
*arg2
= 0 ;
19467 bool temp2
= false ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char * kwnames
[] = {
19471 (char *) "self",(char *) "path", NULL
19474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
19476 if (!SWIG_IsOK(res1
)) {
19477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19479 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
19481 arg2
= wxString_in_helper(obj1
);
19482 if (arg2
== NULL
) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 (arg1
)->SetPath((wxString
const &)*arg2
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_Py_Void();
19506 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19509 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
19510 return SWIG_Py_Void();
19513 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19514 return SWIG_Python_InitShadowInstance(args
);
19517 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
= 0;
19519 wxWindow
*arg1
= (wxWindow
*) 0 ;
19520 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
19521 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19522 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19523 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19524 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19525 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19526 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
19527 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
19528 long arg6
= (long) wxFD_DEFAULT_STYLE
;
19529 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
19530 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
19531 wxFileDialog
*result
= 0 ;
19534 bool temp2
= false ;
19535 bool temp3
= false ;
19536 bool temp4
= false ;
19537 bool temp5
= false ;
19541 PyObject
* obj0
= 0 ;
19542 PyObject
* obj1
= 0 ;
19543 PyObject
* obj2
= 0 ;
19544 PyObject
* obj3
= 0 ;
19545 PyObject
* obj4
= 0 ;
19546 PyObject
* obj5
= 0 ;
19547 PyObject
* obj6
= 0 ;
19548 char * kwnames
[] = {
19549 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
19552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19554 if (!SWIG_IsOK(res1
)) {
19555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19557 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19560 arg2
= wxString_in_helper(obj1
);
19561 if (arg2
== NULL
) SWIG_fail
;
19567 arg3
= wxString_in_helper(obj2
);
19568 if (arg3
== NULL
) SWIG_fail
;
19574 arg4
= wxString_in_helper(obj3
);
19575 if (arg4
== NULL
) SWIG_fail
;
19581 arg5
= wxString_in_helper(obj4
);
19582 if (arg5
== NULL
) SWIG_fail
;
19587 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
19588 if (!SWIG_IsOK(ecode6
)) {
19589 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
19591 arg6
= static_cast< long >(val6
);
19596 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
19600 if (!wxPyCheckForApp()) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
19645 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
= 0;
19647 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19648 wxString
*arg2
= 0 ;
19651 bool temp2
= false ;
19652 PyObject
* obj0
= 0 ;
19653 PyObject
* obj1
= 0 ;
19654 char * kwnames
[] = {
19655 (char *) "self",(char *) "message", NULL
19658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19660 if (!SWIG_IsOK(res1
)) {
19661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19663 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19665 arg2
= wxString_in_helper(obj1
);
19666 if (arg2
== NULL
) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 (arg1
)->SetMessage((wxString
const &)*arg2
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 resultobj
= SWIG_Py_Void();
19690 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
= 0;
19692 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19693 wxString
*arg2
= 0 ;
19696 bool temp2
= false ;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 char * kwnames
[] = {
19700 (char *) "self",(char *) "path", NULL
19703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19705 if (!SWIG_IsOK(res1
)) {
19706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19708 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19710 arg2
= wxString_in_helper(obj1
);
19711 if (arg2
== NULL
) SWIG_fail
;
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 (arg1
)->SetPath((wxString
const &)*arg2
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_Py_Void();
19735 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
= 0;
19737 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19738 wxString
*arg2
= 0 ;
19741 bool temp2
= false ;
19742 PyObject
* obj0
= 0 ;
19743 PyObject
* obj1
= 0 ;
19744 char * kwnames
[] = {
19745 (char *) "self",(char *) "dir", NULL
19748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19750 if (!SWIG_IsOK(res1
)) {
19751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19753 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19755 arg2
= wxString_in_helper(obj1
);
19756 if (arg2
== NULL
) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 (arg1
)->SetDirectory((wxString
const &)*arg2
);
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= SWIG_Py_Void();
19780 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
= 0;
19782 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19783 wxString
*arg2
= 0 ;
19786 bool temp2
= false ;
19787 PyObject
* obj0
= 0 ;
19788 PyObject
* obj1
= 0 ;
19789 char * kwnames
[] = {
19790 (char *) "self",(char *) "name", NULL
19793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19795 if (!SWIG_IsOK(res1
)) {
19796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19798 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19800 arg2
= wxString_in_helper(obj1
);
19801 if (arg2
== NULL
) SWIG_fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 (arg1
)->SetFilename((wxString
const &)*arg2
);
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 resultobj
= SWIG_Py_Void();
19825 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19826 PyObject
*resultobj
= 0;
19827 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19828 wxString
*arg2
= 0 ;
19831 bool temp2
= false ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char * kwnames
[] = {
19835 (char *) "self",(char *) "wildCard", NULL
19838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19843 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19845 arg2
= wxString_in_helper(obj1
);
19846 if (arg2
== NULL
) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 (arg1
)->SetWildcard((wxString
const &)*arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= SWIG_Py_Void();
19870 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
= 0;
19872 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 PyObject
* obj1
= 0 ;
19880 char * kwnames
[] = {
19881 (char *) "self",(char *) "filterIndex", NULL
19884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19886 if (!SWIG_IsOK(res1
)) {
19887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19889 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19891 if (!SWIG_IsOK(ecode2
)) {
19892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
19894 arg2
= static_cast< int >(val2
);
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 (arg1
)->SetFilterIndex(arg2
);
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19901 resultobj
= SWIG_Py_Void();
19908 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19909 PyObject
*resultobj
= 0;
19910 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19914 PyObject
*swig_obj
[1] ;
19916 if (!args
) SWIG_fail
;
19917 swig_obj
[0] = args
;
19918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19919 if (!SWIG_IsOK(res1
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19922 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19942 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19943 PyObject
*resultobj
= 0;
19944 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19948 PyObject
*swig_obj
[1] ;
19950 if (!args
) SWIG_fail
;
19951 swig_obj
[0] = args
;
19952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19953 if (!SWIG_IsOK(res1
)) {
19954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19956 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 result
= ((wxFileDialog
const *)arg1
)->GetPath();
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19976 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19977 PyObject
*resultobj
= 0;
19978 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
19982 PyObject
*swig_obj
[1] ;
19984 if (!args
) SWIG_fail
;
19985 swig_obj
[0] = args
;
19986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
19987 if (!SWIG_IsOK(res1
)) {
19988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19990 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
19994 wxPyEndAllowThreads(__tstate
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20010 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20011 PyObject
*resultobj
= 0;
20012 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20016 PyObject
*swig_obj
[1] ;
20018 if (!args
) SWIG_fail
;
20019 swig_obj
[0] = args
;
20020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20021 if (!SWIG_IsOK(res1
)) {
20022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20024 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20044 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20045 PyObject
*resultobj
= 0;
20046 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20050 PyObject
*swig_obj
[1] ;
20052 if (!args
) SWIG_fail
;
20053 swig_obj
[0] = args
;
20054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20055 if (!SWIG_IsOK(res1
)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20058 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20078 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20079 PyObject
*resultobj
= 0;
20080 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20084 PyObject
*swig_obj
[1] ;
20086 if (!args
) SWIG_fail
;
20087 swig_obj
[0] = args
;
20088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20089 if (!SWIG_IsOK(res1
)) {
20090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20092 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= SWIG_From_int(static_cast< int >(result
));
20106 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20107 PyObject
*resultobj
= 0;
20108 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20109 PyObject
*result
= 0 ;
20112 PyObject
*swig_obj
[1] ;
20114 if (!args
) SWIG_fail
;
20115 swig_obj
[0] = args
;
20116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20117 if (!SWIG_IsOK(res1
)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20120 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= result
;
20134 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20135 PyObject
*resultobj
= 0;
20136 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
20137 PyObject
*result
= 0 ;
20140 PyObject
*swig_obj
[1] ;
20142 if (!args
) SWIG_fail
;
20143 swig_obj
[0] = args
;
20144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
20145 if (!SWIG_IsOK(res1
)) {
20146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20148 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20155 resultobj
= result
;
20162 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20165 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
20166 return SWIG_Py_Void();
20169 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20170 return SWIG_Python_InitShadowInstance(args
);
20173 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
= 0;
20175 wxWindow
*arg1
= (wxWindow
*) 0 ;
20176 wxString
*arg2
= 0 ;
20177 wxString
*arg3
= 0 ;
20178 int arg4
= (int) 0 ;
20179 wxString
*arg5
= (wxString
*) NULL
;
20180 long arg6
= (long) wxCHOICEDLG_STYLE
;
20181 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
20182 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
20183 wxMultiChoiceDialog
*result
= 0 ;
20186 bool temp2
= false ;
20187 bool temp3
= false ;
20191 PyObject
* obj0
= 0 ;
20192 PyObject
* obj1
= 0 ;
20193 PyObject
* obj2
= 0 ;
20194 PyObject
* obj3
= 0 ;
20195 PyObject
* obj4
= 0 ;
20196 PyObject
* obj5
= 0 ;
20197 char * kwnames
[] = {
20198 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20203 if (!SWIG_IsOK(res1
)) {
20204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20206 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20208 arg2
= wxString_in_helper(obj1
);
20209 if (arg2
== NULL
) SWIG_fail
;
20213 arg3
= wxString_in_helper(obj2
);
20214 if (arg3
== NULL
) SWIG_fail
;
20219 arg4
= PyList_Size(obj3
);
20220 arg5
= wxString_LIST_helper(obj3
);
20221 if (arg5
== NULL
) SWIG_fail
;
20225 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
20226 if (!SWIG_IsOK(ecode6
)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20229 arg6
= static_cast< long >(val6
);
20234 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
20238 if (!wxPyCheckForApp()) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
20254 if (arg5
) delete [] arg5
;
20267 if (arg5
) delete [] arg5
;
20273 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
= 0;
20275 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
20276 wxArrayInt
*arg2
= 0 ;
20279 bool temp2
= false ;
20280 PyObject
* obj0
= 0 ;
20281 PyObject
* obj1
= 0 ;
20282 char * kwnames
[] = {
20283 (char *) "self",(char *) "selections", NULL
20286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
20288 if (!SWIG_IsOK(res1
)) {
20289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20291 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
20293 if (! PySequence_Check(obj1
)) {
20294 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
20297 arg2
= new wxArrayInt
;
20299 int i
, len
=PySequence_Length(obj1
);
20300 for (i
=0; i
<len
; i
++) {
20301 PyObject
* item
= PySequence_GetItem(obj1
, i
);
20302 PyObject
* number
= PyNumber_Int(item
);
20304 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
20307 arg2
->Add(PyInt_AS_LONG(number
));
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_Py_Void();
20320 if (temp2
) delete arg2
;
20325 if (temp2
) delete arg2
;
20331 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20332 PyObject
*resultobj
= 0;
20333 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
20334 PyObject
*result
= 0 ;
20337 PyObject
*swig_obj
[1] ;
20339 if (!args
) SWIG_fail
;
20340 swig_obj
[0] = args
;
20341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
20342 if (!SWIG_IsOK(res1
)) {
20343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20345 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= result
;
20359 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20362 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
20363 return SWIG_Py_Void();
20366 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20367 return SWIG_Python_InitShadowInstance(args
);
20370 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20371 PyObject
*resultobj
= 0;
20372 wxWindow
*arg1
= (wxWindow
*) 0 ;
20373 wxString
*arg2
= 0 ;
20374 wxString
*arg3
= 0 ;
20376 wxString
*arg5
= (wxString
*) 0 ;
20377 long arg6
= (long) wxCHOICEDLG_STYLE
;
20378 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
20379 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
20380 wxSingleChoiceDialog
*result
= 0 ;
20383 bool temp2
= false ;
20384 bool temp3
= false ;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 PyObject
* obj2
= 0 ;
20391 PyObject
* obj3
= 0 ;
20392 PyObject
* obj4
= 0 ;
20393 PyObject
* obj5
= 0 ;
20394 char * kwnames
[] = {
20395 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20400 if (!SWIG_IsOK(res1
)) {
20401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20403 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20405 arg2
= wxString_in_helper(obj1
);
20406 if (arg2
== NULL
) SWIG_fail
;
20410 arg3
= wxString_in_helper(obj2
);
20411 if (arg3
== NULL
) SWIG_fail
;
20415 arg4
= PyList_Size(obj3
);
20416 arg5
= wxString_LIST_helper(obj3
);
20417 if (arg5
== NULL
) SWIG_fail
;
20420 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
20421 if (!SWIG_IsOK(ecode6
)) {
20422 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20424 arg6
= static_cast< long >(val6
);
20429 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
20433 if (!wxPyCheckForApp()) SWIG_fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
20449 if (arg5
) delete [] arg5
;
20462 if (arg5
) delete [] arg5
;
20468 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20469 PyObject
*resultobj
= 0;
20470 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20474 PyObject
*swig_obj
[1] ;
20476 if (!args
) SWIG_fail
;
20477 swig_obj
[0] = args
;
20478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20479 if (!SWIG_IsOK(res1
)) {
20480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20482 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= (int)(arg1
)->GetSelection();
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= SWIG_From_int(static_cast< int >(result
));
20496 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20497 PyObject
*resultobj
= 0;
20498 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20502 PyObject
*swig_obj
[1] ;
20504 if (!args
) SWIG_fail
;
20505 swig_obj
[0] = args
;
20506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20507 if (!SWIG_IsOK(res1
)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20510 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= (arg1
)->GetStringSelection();
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20530 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20531 PyObject
*resultobj
= 0;
20532 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 char * kwnames
[] = {
20541 (char *) "self",(char *) "sel", NULL
20544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
20546 if (!SWIG_IsOK(res1
)) {
20547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20549 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
20550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20551 if (!SWIG_IsOK(ecode2
)) {
20552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
20554 arg2
= static_cast< int >(val2
);
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 (arg1
)->SetSelection(arg2
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= SWIG_Py_Void();
20568 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20571 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
20572 return SWIG_Py_Void();
20575 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20576 return SWIG_Python_InitShadowInstance(args
);
20579 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
= 0;
20581 wxWindow
*arg1
= (wxWindow
*) 0 ;
20582 wxString
*arg2
= 0 ;
20583 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
20584 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20585 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20586 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20587 long arg5
= (long) wxTextEntryDialogStyle
;
20588 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
20589 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
20590 wxTextEntryDialog
*result
= 0 ;
20593 bool temp2
= false ;
20594 bool temp3
= false ;
20595 bool temp4
= false ;
20599 PyObject
* obj0
= 0 ;
20600 PyObject
* obj1
= 0 ;
20601 PyObject
* obj2
= 0 ;
20602 PyObject
* obj3
= 0 ;
20603 PyObject
* obj4
= 0 ;
20604 PyObject
* obj5
= 0 ;
20605 char * kwnames
[] = {
20606 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
20609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20611 if (!SWIG_IsOK(res1
)) {
20612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20614 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20616 arg2
= wxString_in_helper(obj1
);
20617 if (arg2
== NULL
) SWIG_fail
;
20622 arg3
= wxString_in_helper(obj2
);
20623 if (arg3
== NULL
) SWIG_fail
;
20629 arg4
= wxString_in_helper(obj3
);
20630 if (arg4
== NULL
) SWIG_fail
;
20635 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20636 if (!SWIG_IsOK(ecode5
)) {
20637 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
20639 arg5
= static_cast< long >(val5
);
20644 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
20648 if (!wxPyCheckForApp()) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
20685 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20686 PyObject
*resultobj
= 0;
20687 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
20691 PyObject
*swig_obj
[1] ;
20693 if (!args
) SWIG_fail
;
20694 swig_obj
[0] = args
;
20695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
20696 if (!SWIG_IsOK(res1
)) {
20697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20699 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 result
= (arg1
)->GetValue();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20719 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
= 0;
20721 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
20722 wxString
*arg2
= 0 ;
20725 bool temp2
= false ;
20726 PyObject
* obj0
= 0 ;
20727 PyObject
* obj1
= 0 ;
20728 char * kwnames
[] = {
20729 (char *) "self",(char *) "value", NULL
20732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
20734 if (!SWIG_IsOK(res1
)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20737 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
20739 arg2
= wxString_in_helper(obj1
);
20740 if (arg2
== NULL
) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 (arg1
)->SetValue((wxString
const &)*arg2
);
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= SWIG_Py_Void();
20764 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20767 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
20768 return SWIG_Py_Void();
20771 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20772 return SWIG_Python_InitShadowInstance(args
);
20775 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
20776 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
20781 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
20782 PyObject
*pyobj
= 0;
20786 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
20788 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
20795 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20796 PyObject
*resultobj
= 0;
20797 wxWindow
*arg1
= (wxWindow
*) 0 ;
20798 wxString
*arg2
= 0 ;
20799 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
20800 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20801 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20802 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20803 long arg5
= (long) wxTextEntryDialogStyle
;
20804 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
20805 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
20806 wxPasswordEntryDialog
*result
= 0 ;
20809 bool temp2
= false ;
20810 bool temp3
= false ;
20811 bool temp4
= false ;
20815 PyObject
* obj0
= 0 ;
20816 PyObject
* obj1
= 0 ;
20817 PyObject
* obj2
= 0 ;
20818 PyObject
* obj3
= 0 ;
20819 PyObject
* obj4
= 0 ;
20820 PyObject
* obj5
= 0 ;
20821 char * kwnames
[] = {
20822 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
20825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20827 if (!SWIG_IsOK(res1
)) {
20828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20830 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20832 arg2
= wxString_in_helper(obj1
);
20833 if (arg2
== NULL
) SWIG_fail
;
20838 arg3
= wxString_in_helper(obj2
);
20839 if (arg3
== NULL
) SWIG_fail
;
20845 arg4
= wxString_in_helper(obj3
);
20846 if (arg4
== NULL
) SWIG_fail
;
20851 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20852 if (!SWIG_IsOK(ecode5
)) {
20853 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
20855 arg5
= static_cast< long >(val5
);
20860 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
20900 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20903 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
20904 return SWIG_Py_Void();
20907 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20908 return SWIG_Python_InitShadowInstance(args
);
20911 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
= 0;
20913 wxWindow
*arg1
= (wxWindow
*) 0 ;
20914 wxString
*arg2
= 0 ;
20915 wxString
*arg3
= 0 ;
20916 wxString
*arg4
= 0 ;
20920 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20921 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20922 wxNumberEntryDialog
*result
= 0 ;
20925 bool temp2
= false ;
20926 bool temp3
= false ;
20927 bool temp4
= false ;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 PyObject
* obj2
= 0 ;
20938 PyObject
* obj3
= 0 ;
20939 PyObject
* obj4
= 0 ;
20940 PyObject
* obj5
= 0 ;
20941 PyObject
* obj6
= 0 ;
20942 PyObject
* obj7
= 0 ;
20943 char * kwnames
[] = {
20944 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
20947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20949 if (!SWIG_IsOK(res1
)) {
20950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20952 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20954 arg2
= wxString_in_helper(obj1
);
20955 if (arg2
== NULL
) SWIG_fail
;
20959 arg3
= wxString_in_helper(obj2
);
20960 if (arg3
== NULL
) SWIG_fail
;
20964 arg4
= wxString_in_helper(obj3
);
20965 if (arg4
== NULL
) SWIG_fail
;
20968 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20969 if (!SWIG_IsOK(ecode5
)) {
20970 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
20972 arg5
= static_cast< long >(val5
);
20973 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20974 if (!SWIG_IsOK(ecode6
)) {
20975 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
20977 arg6
= static_cast< long >(val6
);
20978 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20979 if (!SWIG_IsOK(ecode7
)) {
20980 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
20982 arg7
= static_cast< long >(val7
);
20986 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20990 if (!wxPyCheckForApp()) SWIG_fail
;
20991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20992 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20993 wxPyEndAllowThreads(__tstate
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
21027 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21028 PyObject
*resultobj
= 0;
21029 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
21033 PyObject
*swig_obj
[1] ;
21035 if (!args
) SWIG_fail
;
21036 swig_obj
[0] = args
;
21037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
21038 if (!SWIG_IsOK(res1
)) {
21039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
21041 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= (long)(arg1
)->GetValue();
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_From_long(static_cast< long >(result
));
21055 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21058 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
21059 return SWIG_Py_Void();
21062 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21063 return SWIG_Python_InitShadowInstance(args
);
21066 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21067 PyObject
*resultobj
= 0;
21068 wxFontData
*result
= 0 ;
21070 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 result
= (wxFontData
*)new wxFontData();
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
21084 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21085 PyObject
*resultobj
= 0;
21086 wxFontData
*arg1
= (wxFontData
*) 0 ;
21089 PyObject
*swig_obj
[1] ;
21091 if (!args
) SWIG_fail
;
21092 swig_obj
[0] = args
;
21093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
21094 if (!SWIG_IsOK(res1
)) {
21095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
21097 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_Py_Void();
21112 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
= 0;
21114 wxFontData
*arg1
= (wxFontData
*) 0 ;
21120 PyObject
* obj0
= 0 ;
21121 PyObject
* obj1
= 0 ;
21122 char * kwnames
[] = {
21123 (char *) "self",(char *) "enable", NULL
21126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21128 if (!SWIG_IsOK(res1
)) {
21129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21131 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21132 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21133 if (!SWIG_IsOK(ecode2
)) {
21134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
21136 arg2
= static_cast< bool >(val2
);
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 (arg1
)->EnableEffects(arg2
);
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21143 resultobj
= SWIG_Py_Void();
21150 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21151 PyObject
*resultobj
= 0;
21152 wxFontData
*arg1
= (wxFontData
*) 0 ;
21156 PyObject
*swig_obj
[1] ;
21158 if (!args
) SWIG_fail
;
21159 swig_obj
[0] = args
;
21160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21161 if (!SWIG_IsOK(res1
)) {
21162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21164 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 result
= (bool)(arg1
)->GetAllowSymbols();
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21180 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21181 PyObject
*resultobj
= 0;
21182 wxFontData
*arg1
= (wxFontData
*) 0 ;
21186 PyObject
*swig_obj
[1] ;
21188 if (!args
) SWIG_fail
;
21189 swig_obj
[0] = args
;
21190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21191 if (!SWIG_IsOK(res1
)) {
21192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21194 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 result
= (arg1
)->GetColour();
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21208 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21209 PyObject
*resultobj
= 0;
21210 wxFontData
*arg1
= (wxFontData
*) 0 ;
21214 PyObject
*swig_obj
[1] ;
21216 if (!args
) SWIG_fail
;
21217 swig_obj
[0] = args
;
21218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21219 if (!SWIG_IsOK(res1
)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21222 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= (arg1
)->GetChosenFont();
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21236 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21237 PyObject
*resultobj
= 0;
21238 wxFontData
*arg1
= (wxFontData
*) 0 ;
21242 PyObject
*swig_obj
[1] ;
21244 if (!args
) SWIG_fail
;
21245 swig_obj
[0] = args
;
21246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21247 if (!SWIG_IsOK(res1
)) {
21248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21250 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 result
= (bool)(arg1
)->GetEnableEffects();
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21266 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21267 PyObject
*resultobj
= 0;
21268 wxFontData
*arg1
= (wxFontData
*) 0 ;
21272 PyObject
*swig_obj
[1] ;
21274 if (!args
) SWIG_fail
;
21275 swig_obj
[0] = args
;
21276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21277 if (!SWIG_IsOK(res1
)) {
21278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21280 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 result
= (arg1
)->GetInitialFont();
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21294 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21295 PyObject
*resultobj
= 0;
21296 wxFontData
*arg1
= (wxFontData
*) 0 ;
21300 PyObject
*swig_obj
[1] ;
21302 if (!args
) SWIG_fail
;
21303 swig_obj
[0] = args
;
21304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21305 if (!SWIG_IsOK(res1
)) {
21306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21308 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 result
= (bool)(arg1
)->GetShowHelp();
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21324 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
= 0;
21326 wxFontData
*arg1
= (wxFontData
*) 0 ;
21332 PyObject
* obj0
= 0 ;
21333 PyObject
* obj1
= 0 ;
21334 char * kwnames
[] = {
21335 (char *) "self",(char *) "allowSymbols", NULL
21338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21340 if (!SWIG_IsOK(res1
)) {
21341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21343 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21344 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21345 if (!SWIG_IsOK(ecode2
)) {
21346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
21348 arg2
= static_cast< bool >(val2
);
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 (arg1
)->SetAllowSymbols(arg2
);
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= SWIG_Py_Void();
21362 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21363 PyObject
*resultobj
= 0;
21364 wxFontData
*arg1
= (wxFontData
*) 0 ;
21370 PyObject
* obj0
= 0 ;
21371 PyObject
* obj1
= 0 ;
21372 char * kwnames
[] = {
21373 (char *) "self",(char *) "font", NULL
21376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21378 if (!SWIG_IsOK(res1
)) {
21379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21381 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21383 if (!SWIG_IsOK(res2
)) {
21384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21389 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_Py_Void();
21403 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
= 0;
21405 wxFontData
*arg1
= (wxFontData
*) 0 ;
21406 wxColour
*arg2
= 0 ;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 char * kwnames
[] = {
21413 (char *) "self",(char *) "colour", NULL
21416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21418 if (!SWIG_IsOK(res1
)) {
21419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21421 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 (arg1
)->SetColour((wxColour
const &)*arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= SWIG_Py_Void();
21439 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
= 0;
21441 wxFontData
*arg1
= (wxFontData
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 char * kwnames
[] = {
21450 (char *) "self",(char *) "font", NULL
21453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21455 if (!SWIG_IsOK(res1
)) {
21456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21458 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21460 if (!SWIG_IsOK(res2
)) {
21461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21466 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21473 resultobj
= SWIG_Py_Void();
21480 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
= 0;
21482 wxFontData
*arg1
= (wxFontData
*) 0 ;
21491 PyObject
* obj0
= 0 ;
21492 PyObject
* obj1
= 0 ;
21493 PyObject
* obj2
= 0 ;
21494 char * kwnames
[] = {
21495 (char *) "self",(char *) "min",(char *) "max", NULL
21498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21500 if (!SWIG_IsOK(res1
)) {
21501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
21503 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21505 if (!SWIG_IsOK(ecode2
)) {
21506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
21508 arg2
= static_cast< int >(val2
);
21509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21510 if (!SWIG_IsOK(ecode3
)) {
21511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
21513 arg3
= static_cast< int >(val3
);
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 (arg1
)->SetRange(arg2
,arg3
);
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21520 resultobj
= SWIG_Py_Void();
21527 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
= 0;
21529 wxFontData
*arg1
= (wxFontData
*) 0 ;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 char * kwnames
[] = {
21538 (char *) "self",(char *) "showHelp", NULL
21541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
21543 if (!SWIG_IsOK(res1
)) {
21544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21546 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
21547 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21548 if (!SWIG_IsOK(ecode2
)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
21551 arg2
= static_cast< bool >(val2
);
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 (arg1
)->SetShowHelp(arg2
);
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 resultobj
= SWIG_Py_Void();
21565 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21568 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
21569 return SWIG_Py_Void();
21572 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21573 return SWIG_Python_InitShadowInstance(args
);
21576 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
= 0;
21578 wxWindow
*arg1
= (wxWindow
*) 0 ;
21579 wxFontData
*arg2
= 0 ;
21580 wxFontDialog
*result
= 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char * kwnames
[] = {
21588 (char *) "parent",(char *) "data", NULL
21591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21593 if (!SWIG_IsOK(res1
)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
21598 if (!SWIG_IsOK(res2
)) {
21599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21604 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
21606 if (!wxPyCheckForApp()) SWIG_fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
21619 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21620 PyObject
*resultobj
= 0;
21621 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
21622 wxFontData
*result
= 0 ;
21625 PyObject
*swig_obj
[1] ;
21627 if (!args
) SWIG_fail
;
21628 swig_obj
[0] = args
;
21629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
21630 if (!SWIG_IsOK(res1
)) {
21631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
21633 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 wxFontData
&_result_ref
= (arg1
)->GetFontData();
21638 result
= (wxFontData
*) &_result_ref
;
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
21650 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21652 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21653 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
21654 return SWIG_Py_Void();
21657 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21658 return SWIG_Python_InitShadowInstance(args
);
21661 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
= 0;
21663 wxWindow
*arg1
= (wxWindow
*) NULL
;
21664 wxFont
const &arg2_defvalue
= wxNullFont
;
21665 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
21666 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21667 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21673 bool temp3
= false ;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 PyObject
* obj2
= 0 ;
21677 char * kwnames
[] = {
21678 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
21681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21684 if (!SWIG_IsOK(res1
)) {
21685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
21687 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21691 if (!SWIG_IsOK(res2
)) {
21692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21697 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21701 arg3
= wxString_in_helper(obj2
);
21702 if (arg3
== NULL
) SWIG_fail
;
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21712 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
21727 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
= 0;
21729 wxWindow
*arg1
= (wxWindow
*) 0 ;
21730 wxString
*arg2
= 0 ;
21731 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
21732 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21733 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
21734 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21735 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21736 wxMessageDialog
*result
= 0 ;
21739 bool temp2
= false ;
21740 bool temp3
= false ;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 PyObject
* obj2
= 0 ;
21747 PyObject
* obj3
= 0 ;
21748 PyObject
* obj4
= 0 ;
21749 char * kwnames
[] = {
21750 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
21753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21755 if (!SWIG_IsOK(res1
)) {
21756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21758 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21760 arg2
= wxString_in_helper(obj1
);
21761 if (arg2
== NULL
) SWIG_fail
;
21766 arg3
= wxString_in_helper(obj2
);
21767 if (arg3
== NULL
) SWIG_fail
;
21772 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
21773 if (!SWIG_IsOK(ecode4
)) {
21774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
21776 arg4
= static_cast< long >(val4
);
21781 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21785 if (!wxPyCheckForApp()) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
21814 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21817 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
21818 return SWIG_Py_Void();
21821 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21822 return SWIG_Python_InitShadowInstance(args
);
21825 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
= 0;
21827 wxString
*arg1
= 0 ;
21828 wxString
*arg2
= 0 ;
21829 int arg3
= (int) 100 ;
21830 wxWindow
*arg4
= (wxWindow
*) NULL
;
21831 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
21832 wxProgressDialog
*result
= 0 ;
21833 bool temp1
= false ;
21834 bool temp2
= false ;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 PyObject
* obj2
= 0 ;
21844 PyObject
* obj3
= 0 ;
21845 PyObject
* obj4
= 0 ;
21846 char * kwnames
[] = {
21847 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
21850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21852 arg1
= wxString_in_helper(obj0
);
21853 if (arg1
== NULL
) SWIG_fail
;
21857 arg2
= wxString_in_helper(obj1
);
21858 if (arg2
== NULL
) SWIG_fail
;
21862 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21863 if (!SWIG_IsOK(ecode3
)) {
21864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
21866 arg3
= static_cast< int >(val3
);
21869 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21870 if (!SWIG_IsOK(res4
)) {
21871 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
21873 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
21876 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21877 if (!SWIG_IsOK(ecode5
)) {
21878 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
21880 arg5
= static_cast< int >(val5
);
21883 if (!wxPyCheckForApp()) SWIG_fail
;
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
21912 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
= 0;
21914 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
21916 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21917 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21918 bool *arg4
= (bool *) 0 ;
21924 bool temp3
= false ;
21926 int res4
= SWIG_TMPOBJ
;
21927 PyObject
* obj0
= 0 ;
21928 PyObject
* obj1
= 0 ;
21929 PyObject
* obj2
= 0 ;
21930 char * kwnames
[] = {
21931 (char *) "self",(char *) "value",(char *) "newmsg", NULL
21935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
21937 if (!SWIG_IsOK(res1
)) {
21938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
21940 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
21941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21942 if (!SWIG_IsOK(ecode2
)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
21945 arg2
= static_cast< int >(val2
);
21948 arg3
= wxString_in_helper(obj2
);
21949 if (arg3
== NULL
) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21962 if (SWIG_IsTmpObj(res4
)) {
21963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
21965 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
21982 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
= 0;
21984 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
21985 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21986 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21987 bool *arg3
= (bool *) 0 ;
21991 bool temp2
= false ;
21993 int res3
= SWIG_TMPOBJ
;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 char * kwnames
[] = {
21997 (char *) "self",(char *) "newmsg", NULL
22001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
22003 if (!SWIG_IsOK(res1
)) {
22004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22006 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
22009 arg2
= wxString_in_helper(obj1
);
22010 if (arg2
== NULL
) SWIG_fail
;
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22023 if (SWIG_IsTmpObj(res3
)) {
22024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
22026 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
22043 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22044 PyObject
*resultobj
= 0;
22045 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
22048 PyObject
*swig_obj
[1] ;
22050 if (!args
) SWIG_fail
;
22051 swig_obj
[0] = args
;
22052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
22053 if (!SWIG_IsOK(res1
)) {
22054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22056 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 resultobj
= SWIG_Py_Void();
22070 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22073 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
22074 return SWIG_Py_Void();
22077 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22078 return SWIG_Python_InitShadowInstance(args
);
22081 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
= 0;
22083 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22084 int arg2
= (int) 0 ;
22085 wxFindDialogEvent
*result
= 0 ;
22090 PyObject
* obj0
= 0 ;
22091 PyObject
* obj1
= 0 ;
22092 char * kwnames
[] = {
22093 (char *) "commandType",(char *) "id", NULL
22096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22098 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22099 if (!SWIG_IsOK(ecode1
)) {
22100 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22102 arg1
= static_cast< wxEventType
>(val1
);
22105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22106 if (!SWIG_IsOK(ecode2
)) {
22107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
22109 arg2
= static_cast< int >(val2
);
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
22124 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22125 PyObject
*resultobj
= 0;
22126 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22130 PyObject
*swig_obj
[1] ;
22132 if (!args
) SWIG_fail
;
22133 swig_obj
[0] = args
;
22134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22135 if (!SWIG_IsOK(res1
)) {
22136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22138 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 result
= (int)(arg1
)->GetFlags();
22142 wxPyEndAllowThreads(__tstate
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 resultobj
= SWIG_From_int(static_cast< int >(result
));
22152 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22153 PyObject
*resultobj
= 0;
22154 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22155 wxString
*result
= 0 ;
22158 PyObject
*swig_obj
[1] ;
22160 if (!args
) SWIG_fail
;
22161 swig_obj
[0] = args
;
22162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22163 if (!SWIG_IsOK(res1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22166 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 wxString
const &_result_ref
= (arg1
)->GetFindString();
22171 result
= (wxString
*) &_result_ref
;
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22189 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22190 PyObject
*resultobj
= 0;
22191 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22192 wxString
*result
= 0 ;
22195 PyObject
*swig_obj
[1] ;
22197 if (!args
) SWIG_fail
;
22198 swig_obj
[0] = args
;
22199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22200 if (!SWIG_IsOK(res1
)) {
22201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22203 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
22208 result
= (wxString
*) &_result_ref
;
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22217 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22226 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22227 PyObject
*resultobj
= 0;
22228 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22229 wxFindReplaceDialog
*result
= 0 ;
22232 PyObject
*swig_obj
[1] ;
22234 if (!args
) SWIG_fail
;
22235 swig_obj
[0] = args
;
22236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22237 if (!SWIG_IsOK(res1
)) {
22238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22240 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22254 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
= 0;
22256 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 char * kwnames
[] = {
22265 (char *) "self",(char *) "flags", NULL
22268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22270 if (!SWIG_IsOK(res1
)) {
22271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22273 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22275 if (!SWIG_IsOK(ecode2
)) {
22276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
22278 arg2
= static_cast< int >(val2
);
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 (arg1
)->SetFlags(arg2
);
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= SWIG_Py_Void();
22292 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22293 PyObject
*resultobj
= 0;
22294 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22295 wxString
*arg2
= 0 ;
22298 bool temp2
= false ;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 char * kwnames
[] = {
22302 (char *) "self",(char *) "str", NULL
22305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22307 if (!SWIG_IsOK(res1
)) {
22308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22310 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22312 arg2
= wxString_in_helper(obj1
);
22313 if (arg2
== NULL
) SWIG_fail
;
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 (arg1
)->SetFindString((wxString
const &)*arg2
);
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_Py_Void();
22337 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
= 0;
22339 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
22340 wxString
*arg2
= 0 ;
22343 bool temp2
= false ;
22344 PyObject
* obj0
= 0 ;
22345 PyObject
* obj1
= 0 ;
22346 char * kwnames
[] = {
22347 (char *) "self",(char *) "str", NULL
22350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
22352 if (!SWIG_IsOK(res1
)) {
22353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22355 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
22357 arg2
= wxString_in_helper(obj1
);
22358 if (arg2
== NULL
) SWIG_fail
;
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= SWIG_Py_Void();
22382 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22385 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
22386 return SWIG_Py_Void();
22389 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22390 return SWIG_Python_InitShadowInstance(args
);
22393 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
= 0;
22395 int arg1
= (int) 0 ;
22396 wxFindReplaceData
*result
= 0 ;
22399 PyObject
* obj0
= 0 ;
22400 char * kwnames
[] = {
22401 (char *) "flags", NULL
22404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
22406 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22407 if (!SWIG_IsOK(ecode1
)) {
22408 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
22410 arg1
= static_cast< int >(val1
);
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
22425 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22426 PyObject
*resultobj
= 0;
22427 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22430 PyObject
*swig_obj
[1] ;
22432 if (!args
) SWIG_fail
;
22433 swig_obj
[0] = args
;
22434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
22435 if (!SWIG_IsOK(res1
)) {
22436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22438 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 wxPyEndAllowThreads(__tstate
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 resultobj
= SWIG_Py_Void();
22453 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22454 PyObject
*resultobj
= 0;
22455 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22456 wxString
*result
= 0 ;
22459 PyObject
*swig_obj
[1] ;
22461 if (!args
) SWIG_fail
;
22462 swig_obj
[0] = args
;
22463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22464 if (!SWIG_IsOK(res1
)) {
22465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22467 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 wxString
const &_result_ref
= (arg1
)->GetFindString();
22472 result
= (wxString
*) &_result_ref
;
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22481 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22490 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22491 PyObject
*resultobj
= 0;
22492 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22493 wxString
*result
= 0 ;
22496 PyObject
*swig_obj
[1] ;
22498 if (!args
) SWIG_fail
;
22499 swig_obj
[0] = args
;
22500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22501 if (!SWIG_IsOK(res1
)) {
22502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22504 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
22509 result
= (wxString
*) &_result_ref
;
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22518 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22527 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22528 PyObject
*resultobj
= 0;
22529 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22533 PyObject
*swig_obj
[1] ;
22535 if (!args
) SWIG_fail
;
22536 swig_obj
[0] = args
;
22537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22538 if (!SWIG_IsOK(res1
)) {
22539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22541 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= (int)(arg1
)->GetFlags();
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= SWIG_From_int(static_cast< int >(result
));
22555 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
= 0;
22557 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 char * kwnames
[] = {
22566 (char *) "self",(char *) "flags", NULL
22569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22571 if (!SWIG_IsOK(res1
)) {
22572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22574 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22576 if (!SWIG_IsOK(ecode2
)) {
22577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
22579 arg2
= static_cast< int >(val2
);
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 (arg1
)->SetFlags(arg2
);
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_Py_Void();
22593 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22594 PyObject
*resultobj
= 0;
22595 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22596 wxString
*arg2
= 0 ;
22599 bool temp2
= false ;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22602 char * kwnames
[] = {
22603 (char *) "self",(char *) "str", NULL
22606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22608 if (!SWIG_IsOK(res1
)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22611 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22613 arg2
= wxString_in_helper(obj1
);
22614 if (arg2
== NULL
) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 (arg1
)->SetFindString((wxString
const &)*arg2
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= SWIG_Py_Void();
22638 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
= 0;
22640 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
22641 wxString
*arg2
= 0 ;
22644 bool temp2
= false ;
22645 PyObject
* obj0
= 0 ;
22646 PyObject
* obj1
= 0 ;
22647 char * kwnames
[] = {
22648 (char *) "self",(char *) "str", NULL
22651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22653 if (!SWIG_IsOK(res1
)) {
22654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22656 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
22658 arg2
= wxString_in_helper(obj1
);
22659 if (arg2
== NULL
) SWIG_fail
;
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 resultobj
= SWIG_Py_Void();
22683 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22686 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
22687 return SWIG_Py_Void();
22690 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22691 return SWIG_Python_InitShadowInstance(args
);
22694 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
= 0;
22696 wxWindow
*arg1
= (wxWindow
*) 0 ;
22697 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
22698 wxString
*arg3
= 0 ;
22699 int arg4
= (int) 0 ;
22700 wxFindReplaceDialog
*result
= 0 ;
22705 bool temp3
= false ;
22708 PyObject
* obj0
= 0 ;
22709 PyObject
* obj1
= 0 ;
22710 PyObject
* obj2
= 0 ;
22711 PyObject
* obj3
= 0 ;
22712 char * kwnames
[] = {
22713 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22718 if (!SWIG_IsOK(res1
)) {
22719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
22721 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22723 if (!SWIG_IsOK(res2
)) {
22724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22726 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
22728 arg3
= wxString_in_helper(obj2
);
22729 if (arg3
== NULL
) SWIG_fail
;
22733 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22734 if (!SWIG_IsOK(ecode4
)) {
22735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
22737 arg4
= static_cast< int >(val4
);
22740 if (!wxPyCheckForApp()) SWIG_fail
;
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
22761 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22762 PyObject
*resultobj
= 0;
22763 wxFindReplaceDialog
*result
= 0 ;
22765 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
22767 if (!wxPyCheckForApp()) SWIG_fail
;
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
22780 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
= 0;
22782 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22783 wxWindow
*arg2
= (wxWindow
*) 0 ;
22784 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
22785 wxString
*arg4
= 0 ;
22786 int arg5
= (int) 0 ;
22794 bool temp4
= false ;
22797 PyObject
* obj0
= 0 ;
22798 PyObject
* obj1
= 0 ;
22799 PyObject
* obj2
= 0 ;
22800 PyObject
* obj3
= 0 ;
22801 PyObject
* obj4
= 0 ;
22802 char * kwnames
[] = {
22803 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22808 if (!SWIG_IsOK(res1
)) {
22809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22811 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22813 if (!SWIG_IsOK(res2
)) {
22814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22816 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22817 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22818 if (!SWIG_IsOK(res3
)) {
22819 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
22821 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
22823 arg4
= wxString_in_helper(obj3
);
22824 if (arg4
== NULL
) SWIG_fail
;
22828 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22829 if (!SWIG_IsOK(ecode5
)) {
22830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
22832 arg5
= static_cast< int >(val5
);
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22857 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22858 PyObject
*resultobj
= 0;
22859 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22860 wxFindReplaceData
*result
= 0 ;
22863 PyObject
*swig_obj
[1] ;
22865 if (!args
) SWIG_fail
;
22866 swig_obj
[0] = args
;
22867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22868 if (!SWIG_IsOK(res1
)) {
22869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22871 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 result
= (wxFindReplaceData
*)(arg1
)->GetData();
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22885 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
= 0;
22887 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
22888 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
22893 PyObject
* obj0
= 0 ;
22894 PyObject
* obj1
= 0 ;
22895 char * kwnames
[] = {
22896 (char *) "self",(char *) "data", NULL
22899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
22901 if (!SWIG_IsOK(res1
)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22904 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
22905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
22906 if (!SWIG_IsOK(res2
)) {
22907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22909 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 (arg1
)->SetData(arg2
);
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= SWIG_Py_Void();
22923 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22925 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22926 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
22927 return SWIG_Py_Void();
22930 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22931 return SWIG_Python_InitShadowInstance(args
);
22934 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
= 0;
22936 wxWindow
*arg1
= (wxWindow
*) 0 ;
22937 int arg2
= (int) (int)-1 ;
22938 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22939 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22940 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22941 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22942 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22943 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22944 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
22945 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22946 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22947 wxMDIParentFrame
*result
= 0 ;
22952 bool temp3
= false ;
22957 bool temp7
= false ;
22958 PyObject
* obj0
= 0 ;
22959 PyObject
* obj1
= 0 ;
22960 PyObject
* obj2
= 0 ;
22961 PyObject
* obj3
= 0 ;
22962 PyObject
* obj4
= 0 ;
22963 PyObject
* obj5
= 0 ;
22964 PyObject
* obj6
= 0 ;
22965 char * kwnames
[] = {
22966 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
22974 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22977 if (!SWIG_IsOK(ecode2
)) {
22978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
22980 arg2
= static_cast< int >(val2
);
22984 arg3
= wxString_in_helper(obj2
);
22985 if (arg3
== NULL
) SWIG_fail
;
22992 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22998 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23002 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
23003 if (!SWIG_IsOK(ecode6
)) {
23004 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
23006 arg6
= static_cast< long >(val6
);
23010 arg7
= wxString_in_helper(obj6
);
23011 if (arg7
== NULL
) SWIG_fail
;
23016 if (!wxPyCheckForApp()) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
23045 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23046 PyObject
*resultobj
= 0;
23047 wxMDIParentFrame
*result
= 0 ;
23049 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
23051 if (!wxPyCheckForApp()) SWIG_fail
;
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
23064 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
= 0;
23066 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23067 wxWindow
*arg2
= (wxWindow
*) 0 ;
23068 int arg3
= (int) (int)-1 ;
23069 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23070 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23071 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23072 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23073 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23074 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23075 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
23076 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
23077 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23085 bool temp4
= false ;
23090 bool temp8
= false ;
23091 PyObject
* obj0
= 0 ;
23092 PyObject
* obj1
= 0 ;
23093 PyObject
* obj2
= 0 ;
23094 PyObject
* obj3
= 0 ;
23095 PyObject
* obj4
= 0 ;
23096 PyObject
* obj5
= 0 ;
23097 PyObject
* obj6
= 0 ;
23098 PyObject
* obj7
= 0 ;
23099 char * kwnames
[] = {
23100 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23105 if (!SWIG_IsOK(res1
)) {
23106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23108 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23109 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23110 if (!SWIG_IsOK(res2
)) {
23111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
23113 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23116 if (!SWIG_IsOK(ecode3
)) {
23117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
23119 arg3
= static_cast< int >(val3
);
23123 arg4
= wxString_in_helper(obj3
);
23124 if (arg4
== NULL
) SWIG_fail
;
23131 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23137 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23141 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
23142 if (!SWIG_IsOK(ecode7
)) {
23143 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
23145 arg7
= static_cast< long >(val7
);
23149 arg8
= wxString_in_helper(obj7
);
23150 if (arg8
== NULL
) SWIG_fail
;
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23185 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23186 PyObject
*resultobj
= 0;
23187 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23190 PyObject
*swig_obj
[1] ;
23192 if (!args
) SWIG_fail
;
23193 swig_obj
[0] = args
;
23194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23195 if (!SWIG_IsOK(res1
)) {
23196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23198 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 (arg1
)->ActivateNext();
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 resultobj
= SWIG_Py_Void();
23212 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23213 PyObject
*resultobj
= 0;
23214 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23217 PyObject
*swig_obj
[1] ;
23219 if (!args
) SWIG_fail
;
23220 swig_obj
[0] = args
;
23221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23222 if (!SWIG_IsOK(res1
)) {
23223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23225 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 (arg1
)->ActivatePrevious();
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= SWIG_Py_Void();
23239 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23240 PyObject
*resultobj
= 0;
23241 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23244 PyObject
*swig_obj
[1] ;
23246 if (!args
) SWIG_fail
;
23247 swig_obj
[0] = args
;
23248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23249 if (!SWIG_IsOK(res1
)) {
23250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23252 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 (arg1
)->ArrangeIcons();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= SWIG_Py_Void();
23266 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23267 PyObject
*resultobj
= 0;
23268 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23271 PyObject
*swig_obj
[1] ;
23273 if (!args
) SWIG_fail
;
23274 swig_obj
[0] = args
;
23275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23276 if (!SWIG_IsOK(res1
)) {
23277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23279 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= SWIG_Py_Void();
23293 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23294 PyObject
*resultobj
= 0;
23295 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23296 wxMDIChildFrame
*result
= 0 ;
23299 PyObject
*swig_obj
[1] ;
23301 if (!args
) SWIG_fail
;
23302 swig_obj
[0] = args
;
23303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23304 if (!SWIG_IsOK(res1
)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23307 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23323 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23324 PyObject
*resultobj
= 0;
23325 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23326 wxMDIClientWindow
*result
= 0 ;
23329 PyObject
*swig_obj
[1] ;
23331 if (!args
) SWIG_fail
;
23332 swig_obj
[0] = args
;
23333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23334 if (!SWIG_IsOK(res1
)) {
23335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23337 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23345 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23353 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
= 0;
23355 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23356 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
23361 PyObject
* obj0
= 0 ;
23362 PyObject
* obj1
= 0 ;
23363 char * kwnames
[] = {
23364 (char *) "self",(char *) "orient", NULL
23367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23369 if (!SWIG_IsOK(res1
)) {
23370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23372 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23375 if (!SWIG_IsOK(ecode2
)) {
23376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
23378 arg2
= static_cast< wxOrientation
>(val2
);
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 (arg1
)->Tile(arg2
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= SWIG_Py_Void();
23393 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23396 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
23397 return SWIG_Py_Void();
23400 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23401 return SWIG_Python_InitShadowInstance(args
);
23404 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
= 0;
23406 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23407 int arg2
= (int) (int)-1 ;
23408 wxString
const &arg3_defvalue
= wxPyEmptyString
;
23409 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23414 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23415 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23416 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23417 wxMDIChildFrame
*result
= 0 ;
23422 bool temp3
= false ;
23427 bool temp7
= false ;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 PyObject
* obj2
= 0 ;
23431 PyObject
* obj3
= 0 ;
23432 PyObject
* obj4
= 0 ;
23433 PyObject
* obj5
= 0 ;
23434 PyObject
* obj6
= 0 ;
23435 char * kwnames
[] = {
23436 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23441 if (!SWIG_IsOK(res1
)) {
23442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23444 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23447 if (!SWIG_IsOK(ecode2
)) {
23448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
23450 arg2
= static_cast< int >(val2
);
23454 arg3
= wxString_in_helper(obj2
);
23455 if (arg3
== NULL
) SWIG_fail
;
23462 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23468 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23472 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
23473 if (!SWIG_IsOK(ecode6
)) {
23474 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
23476 arg6
= static_cast< long >(val6
);
23480 arg7
= wxString_in_helper(obj6
);
23481 if (arg7
== NULL
) SWIG_fail
;
23486 if (!wxPyCheckForApp()) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
23515 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23516 PyObject
*resultobj
= 0;
23517 wxMDIChildFrame
*result
= 0 ;
23519 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
23521 if (!wxPyCheckForApp()) SWIG_fail
;
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
23534 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
= 0;
23536 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
23537 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
23538 int arg3
= (int) (int)-1 ;
23539 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23540 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23541 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23542 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23543 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23544 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23545 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
23546 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
23547 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23555 bool temp4
= false ;
23560 bool temp8
= false ;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 PyObject
* obj2
= 0 ;
23564 PyObject
* obj3
= 0 ;
23565 PyObject
* obj4
= 0 ;
23566 PyObject
* obj5
= 0 ;
23567 PyObject
* obj6
= 0 ;
23568 PyObject
* obj7
= 0 ;
23569 char * kwnames
[] = {
23570 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
23575 if (!SWIG_IsOK(res1
)) {
23576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23578 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
23579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23580 if (!SWIG_IsOK(res2
)) {
23581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23583 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
23585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23586 if (!SWIG_IsOK(ecode3
)) {
23587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
23589 arg3
= static_cast< int >(val3
);
23593 arg4
= wxString_in_helper(obj3
);
23594 if (arg4
== NULL
) SWIG_fail
;
23601 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23607 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23611 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
23612 if (!SWIG_IsOK(ecode7
)) {
23613 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
23615 arg7
= static_cast< long >(val7
);
23619 arg8
= wxString_in_helper(obj7
);
23620 if (arg8
== NULL
) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23655 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23656 PyObject
*resultobj
= 0;
23657 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
23660 PyObject
*swig_obj
[1] ;
23662 if (!args
) SWIG_fail
;
23663 swig_obj
[0] = args
;
23664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
23665 if (!SWIG_IsOK(res1
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23668 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 (arg1
)->Activate();
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_Py_Void();
23682 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23685 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
23686 return SWIG_Py_Void();
23689 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23690 return SWIG_Python_InitShadowInstance(args
);
23693 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
= 0;
23695 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
23696 long arg2
= (long) 0 ;
23697 wxMDIClientWindow
*result
= 0 ;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 char * kwnames
[] = {
23705 (char *) "parent",(char *) "style", NULL
23708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23710 if (!SWIG_IsOK(res1
)) {
23711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23713 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
23715 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
23716 if (!SWIG_IsOK(ecode2
)) {
23717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
23719 arg2
= static_cast< long >(val2
);
23722 if (!wxPyCheckForApp()) SWIG_fail
;
23723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
23735 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23736 PyObject
*resultobj
= 0;
23737 wxMDIClientWindow
*result
= 0 ;
23739 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
23741 if (!wxPyCheckForApp()) SWIG_fail
;
23742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23743 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
23754 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
= 0;
23756 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
23757 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
23758 long arg3
= (long) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 PyObject
* obj1
= 0 ;
23768 PyObject
* obj2
= 0 ;
23769 char * kwnames
[] = {
23770 (char *) "self",(char *) "parent",(char *) "style", NULL
23773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
23775 if (!SWIG_IsOK(res1
)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
23778 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
23779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
23780 if (!SWIG_IsOK(res2
)) {
23781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23783 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
23785 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
23786 if (!SWIG_IsOK(ecode3
)) {
23787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
23789 arg3
= static_cast< long >(val3
);
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (bool)(arg1
)->Create(arg2
,arg3
);
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23806 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23809 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
23810 return SWIG_Py_Void();
23813 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23814 return SWIG_Python_InitShadowInstance(args
);
23817 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23818 PyObject
*resultobj
= 0;
23819 wxWindow
*arg1
= (wxWindow
*) 0 ;
23820 int arg2
= (int) (int)-1 ;
23821 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23822 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23823 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23824 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23825 long arg5
= (long) 0 ;
23826 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23827 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23828 wxPyWindow
*result
= 0 ;
23837 bool temp6
= false ;
23838 PyObject
* obj0
= 0 ;
23839 PyObject
* obj1
= 0 ;
23840 PyObject
* obj2
= 0 ;
23841 PyObject
* obj3
= 0 ;
23842 PyObject
* obj4
= 0 ;
23843 PyObject
* obj5
= 0 ;
23844 char * kwnames
[] = {
23845 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23850 if (!SWIG_IsOK(res1
)) {
23851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23853 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23856 if (!SWIG_IsOK(ecode2
)) {
23857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
23859 arg2
= static_cast< int >(val2
);
23864 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23870 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23874 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23875 if (!SWIG_IsOK(ecode5
)) {
23876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
23878 arg5
= static_cast< long >(val5
);
23882 arg6
= wxString_in_helper(obj5
);
23883 if (arg6
== NULL
) SWIG_fail
;
23888 if (!wxPyCheckForApp()) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
23909 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23910 PyObject
*resultobj
= 0;
23911 wxPyWindow
*result
= 0 ;
23913 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
23915 if (!wxPyCheckForApp()) SWIG_fail
;
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= (wxPyWindow
*)new wxPyWindow();
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
23928 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
= 0;
23930 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
23931 PyObject
*arg2
= (PyObject
*) 0 ;
23932 PyObject
*arg3
= (PyObject
*) 0 ;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 PyObject
* obj2
= 0 ;
23938 char * kwnames
[] = {
23939 (char *) "self",(char *) "self",(char *) "_class", NULL
23942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
23944 if (!SWIG_IsOK(res1
)) {
23945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23947 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= SWIG_Py_Void();
23963 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
= 0;
23965 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
23966 wxDC
*arg2
= (wxDC
*) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 PyObject
* obj1
= 0 ;
23974 char * kwnames
[] = {
23975 (char *) "self",(char *) "dc", NULL
23978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
23980 if (!SWIG_IsOK(res1
)) {
23981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23983 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
23984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23985 if (!SWIG_IsOK(res2
)) {
23986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23988 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24004 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
= 0;
24006 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24021 PyObject
* obj0
= 0 ;
24022 PyObject
* obj1
= 0 ;
24023 PyObject
* obj2
= 0 ;
24024 PyObject
* obj3
= 0 ;
24025 PyObject
* obj4
= 0 ;
24026 char * kwnames
[] = {
24027 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24032 if (!SWIG_IsOK(res1
)) {
24033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24035 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24037 if (!SWIG_IsOK(ecode2
)) {
24038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24040 arg2
= static_cast< int >(val2
);
24041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24042 if (!SWIG_IsOK(ecode3
)) {
24043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24045 arg3
= static_cast< int >(val3
);
24046 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24047 if (!SWIG_IsOK(ecode4
)) {
24048 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24050 arg4
= static_cast< int >(val4
);
24051 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24052 if (!SWIG_IsOK(ecode5
)) {
24053 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24055 arg5
= static_cast< int >(val5
);
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= SWIG_Py_Void();
24069 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24070 PyObject
*resultobj
= 0;
24071 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24076 int arg6
= (int) wxSIZE_AUTO
;
24089 PyObject
* obj0
= 0 ;
24090 PyObject
* obj1
= 0 ;
24091 PyObject
* obj2
= 0 ;
24092 PyObject
* obj3
= 0 ;
24093 PyObject
* obj4
= 0 ;
24094 PyObject
* obj5
= 0 ;
24095 char * kwnames
[] = {
24096 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24101 if (!SWIG_IsOK(res1
)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24104 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24106 if (!SWIG_IsOK(ecode2
)) {
24107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24109 arg2
= static_cast< int >(val2
);
24110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24111 if (!SWIG_IsOK(ecode3
)) {
24112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24114 arg3
= static_cast< int >(val3
);
24115 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24116 if (!SWIG_IsOK(ecode4
)) {
24117 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24119 arg4
= static_cast< int >(val4
);
24120 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24121 if (!SWIG_IsOK(ecode5
)) {
24122 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24124 arg5
= static_cast< int >(val5
);
24126 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24127 if (!SWIG_IsOK(ecode6
)) {
24128 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24130 arg6
= static_cast< int >(val6
);
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= SWIG_Py_Void();
24145 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
= 0;
24147 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 PyObject
* obj2
= 0 ;
24159 char * kwnames
[] = {
24160 (char *) "self",(char *) "width",(char *) "height", NULL
24163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24165 if (!SWIG_IsOK(res1
)) {
24166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24168 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24170 if (!SWIG_IsOK(ecode2
)) {
24171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24173 arg2
= static_cast< int >(val2
);
24174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24175 if (!SWIG_IsOK(ecode3
)) {
24176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24178 arg3
= static_cast< int >(val3
);
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 (arg1
)->DoSetClientSize(arg2
,arg3
);
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= SWIG_Py_Void();
24192 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24193 PyObject
*resultobj
= 0;
24194 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24203 PyObject
* obj0
= 0 ;
24204 PyObject
* obj1
= 0 ;
24205 PyObject
* obj2
= 0 ;
24206 char * kwnames
[] = {
24207 (char *) "self",(char *) "x",(char *) "y", NULL
24210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24212 if (!SWIG_IsOK(res1
)) {
24213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24215 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24217 if (!SWIG_IsOK(ecode2
)) {
24218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24220 arg2
= static_cast< int >(val2
);
24221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24222 if (!SWIG_IsOK(ecode3
)) {
24223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24225 arg3
= static_cast< int >(val3
);
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 resultobj
= SWIG_Py_Void();
24239 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24240 PyObject
*resultobj
= 0;
24241 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24242 int *arg2
= (int *) 0 ;
24243 int *arg3
= (int *) 0 ;
24247 int res2
= SWIG_TMPOBJ
;
24249 int res3
= SWIG_TMPOBJ
;
24250 PyObject
*swig_obj
[1] ;
24254 if (!args
) SWIG_fail
;
24255 swig_obj
[0] = args
;
24256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24257 if (!SWIG_IsOK(res1
)) {
24258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24260 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= SWIG_Py_Void();
24268 if (SWIG_IsTmpObj(res2
)) {
24269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24271 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24274 if (SWIG_IsTmpObj(res3
)) {
24275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24277 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24286 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24287 PyObject
*resultobj
= 0;
24288 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24289 int *arg2
= (int *) 0 ;
24290 int *arg3
= (int *) 0 ;
24294 int res2
= SWIG_TMPOBJ
;
24296 int res3
= SWIG_TMPOBJ
;
24297 PyObject
*swig_obj
[1] ;
24301 if (!args
) SWIG_fail
;
24302 swig_obj
[0] = args
;
24303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24304 if (!SWIG_IsOK(res1
)) {
24305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24307 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= SWIG_Py_Void();
24315 if (SWIG_IsTmpObj(res2
)) {
24316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24318 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24321 if (SWIG_IsTmpObj(res3
)) {
24322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24324 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24333 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24334 PyObject
*resultobj
= 0;
24335 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24336 int *arg2
= (int *) 0 ;
24337 int *arg3
= (int *) 0 ;
24341 int res2
= SWIG_TMPOBJ
;
24343 int res3
= SWIG_TMPOBJ
;
24344 PyObject
*swig_obj
[1] ;
24348 if (!args
) SWIG_fail
;
24349 swig_obj
[0] = args
;
24350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24351 if (!SWIG_IsOK(res1
)) {
24352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24354 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24361 resultobj
= SWIG_Py_Void();
24362 if (SWIG_IsTmpObj(res2
)) {
24363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24365 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24368 if (SWIG_IsTmpObj(res3
)) {
24369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24371 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24380 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24381 PyObject
*resultobj
= 0;
24382 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24386 PyObject
*swig_obj
[1] ;
24388 if (!args
) SWIG_fail
;
24389 swig_obj
[0] = args
;
24390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24391 if (!SWIG_IsOK(res1
)) {
24392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24394 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24408 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24409 PyObject
*resultobj
= 0;
24410 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24414 PyObject
*swig_obj
[1] ;
24416 if (!args
) SWIG_fail
;
24417 swig_obj
[0] = args
;
24418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24419 if (!SWIG_IsOK(res1
)) {
24420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24422 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24436 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24437 PyObject
*resultobj
= 0;
24438 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24439 SwigValueWrapper
<wxVisualAttributes
> result
;
24442 PyObject
*swig_obj
[1] ;
24444 if (!args
) SWIG_fail
;
24445 swig_obj
[0] = args
;
24446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24447 if (!SWIG_IsOK(res1
)) {
24448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24450 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (arg1
)->GetDefaultAttributes();
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
24464 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24465 PyObject
*resultobj
= 0;
24466 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
24469 PyObject
*swig_obj
[1] ;
24471 if (!args
) SWIG_fail
;
24472 swig_obj
[0] = args
;
24473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
24474 if (!SWIG_IsOK(res1
)) {
24475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24477 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
24479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 (arg1
)->OnInternalIdle();
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24484 resultobj
= SWIG_Py_Void();
24491 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24494 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
24495 return SWIG_Py_Void();
24498 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24499 return SWIG_Python_InitShadowInstance(args
);
24502 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
= 0;
24504 wxWindow
*arg1
= (wxWindow
*) 0 ;
24505 int arg2
= (int) (int)-1 ;
24506 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24507 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24508 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24509 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24510 long arg5
= (long) 0 ;
24511 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24512 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24513 wxPyPanel
*result
= 0 ;
24522 bool temp6
= false ;
24523 PyObject
* obj0
= 0 ;
24524 PyObject
* obj1
= 0 ;
24525 PyObject
* obj2
= 0 ;
24526 PyObject
* obj3
= 0 ;
24527 PyObject
* obj4
= 0 ;
24528 PyObject
* obj5
= 0 ;
24529 char * kwnames
[] = {
24530 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24535 if (!SWIG_IsOK(res1
)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
24538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24541 if (!SWIG_IsOK(ecode2
)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
24544 arg2
= static_cast< int >(val2
);
24549 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24555 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24559 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
24560 if (!SWIG_IsOK(ecode5
)) {
24561 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
24563 arg5
= static_cast< long >(val5
);
24567 arg6
= wxString_in_helper(obj5
);
24568 if (arg6
== NULL
) SWIG_fail
;
24573 if (!wxPyCheckForApp()) SWIG_fail
;
24574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24575 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
24594 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24595 PyObject
*resultobj
= 0;
24596 wxPyPanel
*result
= 0 ;
24598 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
24600 if (!wxPyCheckForApp()) SWIG_fail
;
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 result
= (wxPyPanel
*)new wxPyPanel();
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
24613 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
= 0;
24615 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24616 PyObject
*arg2
= (PyObject
*) 0 ;
24617 PyObject
*arg3
= (PyObject
*) 0 ;
24620 PyObject
* obj0
= 0 ;
24621 PyObject
* obj1
= 0 ;
24622 PyObject
* obj2
= 0 ;
24623 char * kwnames
[] = {
24624 (char *) "self",(char *) "self",(char *) "_class", NULL
24627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24632 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24641 resultobj
= SWIG_Py_Void();
24648 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
= 0;
24650 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24651 wxDC
*arg2
= (wxDC
*) 0 ;
24657 PyObject
* obj0
= 0 ;
24658 PyObject
* obj1
= 0 ;
24659 char * kwnames
[] = {
24660 (char *) "self",(char *) "dc", NULL
24663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24665 if (!SWIG_IsOK(res1
)) {
24666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24668 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
24670 if (!SWIG_IsOK(res2
)) {
24671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24673 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24689 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
= 0;
24691 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 PyObject
* obj1
= 0 ;
24708 PyObject
* obj2
= 0 ;
24709 PyObject
* obj3
= 0 ;
24710 PyObject
* obj4
= 0 ;
24711 char * kwnames
[] = {
24712 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24717 if (!SWIG_IsOK(res1
)) {
24718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24720 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24722 if (!SWIG_IsOK(ecode2
)) {
24723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24725 arg2
= static_cast< int >(val2
);
24726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24727 if (!SWIG_IsOK(ecode3
)) {
24728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24730 arg3
= static_cast< int >(val3
);
24731 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24732 if (!SWIG_IsOK(ecode4
)) {
24733 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24735 arg4
= static_cast< int >(val4
);
24736 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24737 if (!SWIG_IsOK(ecode5
)) {
24738 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24740 arg5
= static_cast< int >(val5
);
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24747 resultobj
= SWIG_Py_Void();
24754 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
= 0;
24756 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24761 int arg6
= (int) wxSIZE_AUTO
;
24774 PyObject
* obj0
= 0 ;
24775 PyObject
* obj1
= 0 ;
24776 PyObject
* obj2
= 0 ;
24777 PyObject
* obj3
= 0 ;
24778 PyObject
* obj4
= 0 ;
24779 PyObject
* obj5
= 0 ;
24780 char * kwnames
[] = {
24781 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24786 if (!SWIG_IsOK(res1
)) {
24787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24789 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24791 if (!SWIG_IsOK(ecode2
)) {
24792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24794 arg2
= static_cast< int >(val2
);
24795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24796 if (!SWIG_IsOK(ecode3
)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24799 arg3
= static_cast< int >(val3
);
24800 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24801 if (!SWIG_IsOK(ecode4
)) {
24802 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24804 arg4
= static_cast< int >(val4
);
24805 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24806 if (!SWIG_IsOK(ecode5
)) {
24807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24809 arg5
= static_cast< int >(val5
);
24811 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24812 if (!SWIG_IsOK(ecode6
)) {
24813 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24815 arg6
= static_cast< int >(val6
);
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= SWIG_Py_Void();
24830 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
= 0;
24832 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 PyObject
* obj2
= 0 ;
24844 char * kwnames
[] = {
24845 (char *) "self",(char *) "width",(char *) "height", NULL
24848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24850 if (!SWIG_IsOK(res1
)) {
24851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24853 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24855 if (!SWIG_IsOK(ecode2
)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24858 arg2
= static_cast< int >(val2
);
24859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24860 if (!SWIG_IsOK(ecode3
)) {
24861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24863 arg3
= static_cast< int >(val3
);
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 (arg1
)->DoSetClientSize(arg2
,arg3
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= SWIG_Py_Void();
24877 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
= 0;
24879 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 PyObject
* obj2
= 0 ;
24891 char * kwnames
[] = {
24892 (char *) "self",(char *) "x",(char *) "y", NULL
24895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24897 if (!SWIG_IsOK(res1
)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24900 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24902 if (!SWIG_IsOK(ecode2
)) {
24903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24905 arg2
= static_cast< int >(val2
);
24906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24907 if (!SWIG_IsOK(ecode3
)) {
24908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24910 arg3
= static_cast< int >(val3
);
24912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= SWIG_Py_Void();
24924 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24925 PyObject
*resultobj
= 0;
24926 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24927 int *arg2
= (int *) 0 ;
24928 int *arg3
= (int *) 0 ;
24932 int res2
= SWIG_TMPOBJ
;
24934 int res3
= SWIG_TMPOBJ
;
24935 PyObject
*swig_obj
[1] ;
24939 if (!args
) SWIG_fail
;
24940 swig_obj
[0] = args
;
24941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24942 if (!SWIG_IsOK(res1
)) {
24943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24945 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= SWIG_Py_Void();
24953 if (SWIG_IsTmpObj(res2
)) {
24954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24956 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24959 if (SWIG_IsTmpObj(res3
)) {
24960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24962 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24971 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24972 PyObject
*resultobj
= 0;
24973 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
24974 int *arg2
= (int *) 0 ;
24975 int *arg3
= (int *) 0 ;
24979 int res2
= SWIG_TMPOBJ
;
24981 int res3
= SWIG_TMPOBJ
;
24982 PyObject
*swig_obj
[1] ;
24986 if (!args
) SWIG_fail
;
24987 swig_obj
[0] = args
;
24988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
24989 if (!SWIG_IsOK(res1
)) {
24990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24992 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= SWIG_Py_Void();
25000 if (SWIG_IsTmpObj(res2
)) {
25001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25003 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25006 if (SWIG_IsTmpObj(res3
)) {
25007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25009 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25018 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25019 PyObject
*resultobj
= 0;
25020 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25021 int *arg2
= (int *) 0 ;
25022 int *arg3
= (int *) 0 ;
25026 int res2
= SWIG_TMPOBJ
;
25028 int res3
= SWIG_TMPOBJ
;
25029 PyObject
*swig_obj
[1] ;
25033 if (!args
) SWIG_fail
;
25034 swig_obj
[0] = args
;
25035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25036 if (!SWIG_IsOK(res1
)) {
25037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25039 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25042 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25046 resultobj
= SWIG_Py_Void();
25047 if (SWIG_IsTmpObj(res2
)) {
25048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25050 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25053 if (SWIG_IsTmpObj(res3
)) {
25054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25056 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25065 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25066 PyObject
*resultobj
= 0;
25067 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25071 PyObject
*swig_obj
[1] ;
25073 if (!args
) SWIG_fail
;
25074 swig_obj
[0] = args
;
25075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25076 if (!SWIG_IsOK(res1
)) {
25077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25079 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25086 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25093 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25094 PyObject
*resultobj
= 0;
25095 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25099 PyObject
*swig_obj
[1] ;
25101 if (!args
) SWIG_fail
;
25102 swig_obj
[0] = args
;
25103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25104 if (!SWIG_IsOK(res1
)) {
25105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25107 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25114 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25121 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25122 PyObject
*resultobj
= 0;
25123 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25124 SwigValueWrapper
<wxVisualAttributes
> result
;
25127 PyObject
*swig_obj
[1] ;
25129 if (!args
) SWIG_fail
;
25130 swig_obj
[0] = args
;
25131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25132 if (!SWIG_IsOK(res1
)) {
25133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25135 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 result
= (arg1
)->GetDefaultAttributes();
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25142 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25149 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25150 PyObject
*resultobj
= 0;
25151 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
25154 PyObject
*swig_obj
[1] ;
25156 if (!args
) SWIG_fail
;
25157 swig_obj
[0] = args
;
25158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
25159 if (!SWIG_IsOK(res1
)) {
25160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25162 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 (arg1
)->OnInternalIdle();
25166 wxPyEndAllowThreads(__tstate
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25169 resultobj
= SWIG_Py_Void();
25176 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25179 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
25180 return SWIG_Py_Void();
25183 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25184 return SWIG_Python_InitShadowInstance(args
);
25187 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25188 PyObject
*resultobj
= 0;
25189 wxWindow
*arg1
= (wxWindow
*) 0 ;
25190 int arg2
= (int) (int)-1 ;
25191 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25192 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25193 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25194 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25195 long arg5
= (long) 0 ;
25196 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25197 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25198 wxPyScrolledWindow
*result
= 0 ;
25207 bool temp6
= false ;
25208 PyObject
* obj0
= 0 ;
25209 PyObject
* obj1
= 0 ;
25210 PyObject
* obj2
= 0 ;
25211 PyObject
* obj3
= 0 ;
25212 PyObject
* obj4
= 0 ;
25213 PyObject
* obj5
= 0 ;
25214 char * kwnames
[] = {
25215 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25220 if (!SWIG_IsOK(res1
)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
25223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25226 if (!SWIG_IsOK(ecode2
)) {
25227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
25229 arg2
= static_cast< int >(val2
);
25234 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25240 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25244 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25245 if (!SWIG_IsOK(ecode5
)) {
25246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
25248 arg5
= static_cast< long >(val5
);
25252 arg6
= wxString_in_helper(obj5
);
25253 if (arg6
== NULL
) SWIG_fail
;
25258 if (!wxPyCheckForApp()) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
25279 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25280 PyObject
*resultobj
= 0;
25281 wxPyScrolledWindow
*result
= 0 ;
25283 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
25285 if (!wxPyCheckForApp()) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
25298 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
= 0;
25300 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25301 PyObject
*arg2
= (PyObject
*) 0 ;
25302 PyObject
*arg3
= (PyObject
*) 0 ;
25305 PyObject
* obj0
= 0 ;
25306 PyObject
* obj1
= 0 ;
25307 PyObject
* obj2
= 0 ;
25308 char * kwnames
[] = {
25309 (char *) "self",(char *) "self",(char *) "_class", NULL
25312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25314 if (!SWIG_IsOK(res1
)) {
25315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25317 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= SWIG_Py_Void();
25333 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
= 0;
25335 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25336 wxDC
*arg2
= (wxDC
*) 0 ;
25342 PyObject
* obj0
= 0 ;
25343 PyObject
* obj1
= 0 ;
25344 char * kwnames
[] = {
25345 (char *) "self",(char *) "dc", NULL
25348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25350 if (!SWIG_IsOK(res1
)) {
25351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25353 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25354 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
25355 if (!SWIG_IsOK(res2
)) {
25356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
25358 arg2
= reinterpret_cast< wxDC
* >(argp2
);
25360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25361 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25374 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25375 PyObject
*resultobj
= 0;
25376 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25391 PyObject
* obj0
= 0 ;
25392 PyObject
* obj1
= 0 ;
25393 PyObject
* obj2
= 0 ;
25394 PyObject
* obj3
= 0 ;
25395 PyObject
* obj4
= 0 ;
25396 char * kwnames
[] = {
25397 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25402 if (!SWIG_IsOK(res1
)) {
25403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25405 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25407 if (!SWIG_IsOK(ecode2
)) {
25408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
25410 arg2
= static_cast< int >(val2
);
25411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25412 if (!SWIG_IsOK(ecode3
)) {
25413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
25415 arg3
= static_cast< int >(val3
);
25416 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25417 if (!SWIG_IsOK(ecode4
)) {
25418 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
25420 arg4
= static_cast< int >(val4
);
25421 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25422 if (!SWIG_IsOK(ecode5
)) {
25423 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
25425 arg5
= static_cast< int >(val5
);
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= SWIG_Py_Void();
25439 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
= 0;
25441 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25446 int arg6
= (int) wxSIZE_AUTO
;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 PyObject
* obj2
= 0 ;
25462 PyObject
* obj3
= 0 ;
25463 PyObject
* obj4
= 0 ;
25464 PyObject
* obj5
= 0 ;
25465 char * kwnames
[] = {
25466 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25471 if (!SWIG_IsOK(res1
)) {
25472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25474 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25476 if (!SWIG_IsOK(ecode2
)) {
25477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
25479 arg2
= static_cast< int >(val2
);
25480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25481 if (!SWIG_IsOK(ecode3
)) {
25482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
25484 arg3
= static_cast< int >(val3
);
25485 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25486 if (!SWIG_IsOK(ecode4
)) {
25487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
25489 arg4
= static_cast< int >(val4
);
25490 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25491 if (!SWIG_IsOK(ecode5
)) {
25492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
25494 arg5
= static_cast< int >(val5
);
25496 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25497 if (!SWIG_IsOK(ecode6
)) {
25498 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
25500 arg6
= static_cast< int >(val6
);
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_Py_Void();
25515 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
= 0;
25517 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 PyObject
* obj2
= 0 ;
25529 char * kwnames
[] = {
25530 (char *) "self",(char *) "width",(char *) "height", NULL
25533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25535 if (!SWIG_IsOK(res1
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25538 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25540 if (!SWIG_IsOK(ecode2
)) {
25541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25543 arg2
= static_cast< int >(val2
);
25544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25545 if (!SWIG_IsOK(ecode3
)) {
25546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25548 arg3
= static_cast< int >(val3
);
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 (arg1
)->DoSetClientSize(arg2
,arg3
);
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25555 resultobj
= SWIG_Py_Void();
25562 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
= 0;
25564 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25573 PyObject
* obj0
= 0 ;
25574 PyObject
* obj1
= 0 ;
25575 PyObject
* obj2
= 0 ;
25576 char * kwnames
[] = {
25577 (char *) "self",(char *) "x",(char *) "y", NULL
25580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25582 if (!SWIG_IsOK(res1
)) {
25583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25585 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25587 if (!SWIG_IsOK(ecode2
)) {
25588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25590 arg2
= static_cast< int >(val2
);
25591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25592 if (!SWIG_IsOK(ecode3
)) {
25593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25595 arg3
= static_cast< int >(val3
);
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= SWIG_Py_Void();
25609 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25610 PyObject
*resultobj
= 0;
25611 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25612 int *arg2
= (int *) 0 ;
25613 int *arg3
= (int *) 0 ;
25617 int res2
= SWIG_TMPOBJ
;
25619 int res3
= SWIG_TMPOBJ
;
25620 PyObject
*swig_obj
[1] ;
25624 if (!args
) SWIG_fail
;
25625 swig_obj
[0] = args
;
25626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25627 if (!SWIG_IsOK(res1
)) {
25628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25630 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25637 resultobj
= SWIG_Py_Void();
25638 if (SWIG_IsTmpObj(res2
)) {
25639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25641 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25644 if (SWIG_IsTmpObj(res3
)) {
25645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25647 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25656 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25657 PyObject
*resultobj
= 0;
25658 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25659 int *arg2
= (int *) 0 ;
25660 int *arg3
= (int *) 0 ;
25664 int res2
= SWIG_TMPOBJ
;
25666 int res3
= SWIG_TMPOBJ
;
25667 PyObject
*swig_obj
[1] ;
25671 if (!args
) SWIG_fail
;
25672 swig_obj
[0] = args
;
25673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25674 if (!SWIG_IsOK(res1
)) {
25675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25677 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25680 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 resultobj
= SWIG_Py_Void();
25685 if (SWIG_IsTmpObj(res2
)) {
25686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25688 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25691 if (SWIG_IsTmpObj(res3
)) {
25692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25694 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25703 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25704 PyObject
*resultobj
= 0;
25705 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25706 int *arg2
= (int *) 0 ;
25707 int *arg3
= (int *) 0 ;
25711 int res2
= SWIG_TMPOBJ
;
25713 int res3
= SWIG_TMPOBJ
;
25714 PyObject
*swig_obj
[1] ;
25718 if (!args
) SWIG_fail
;
25719 swig_obj
[0] = args
;
25720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25721 if (!SWIG_IsOK(res1
)) {
25722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25724 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= SWIG_Py_Void();
25732 if (SWIG_IsTmpObj(res2
)) {
25733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
25735 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
25738 if (SWIG_IsTmpObj(res3
)) {
25739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25741 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25750 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25751 PyObject
*resultobj
= 0;
25752 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25756 PyObject
*swig_obj
[1] ;
25758 if (!args
) SWIG_fail
;
25759 swig_obj
[0] = args
;
25760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25761 if (!SWIG_IsOK(res1
)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25764 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25778 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25779 PyObject
*resultobj
= 0;
25780 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25784 PyObject
*swig_obj
[1] ;
25786 if (!args
) SWIG_fail
;
25787 swig_obj
[0] = args
;
25788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25789 if (!SWIG_IsOK(res1
)) {
25790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25792 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25806 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25807 PyObject
*resultobj
= 0;
25808 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25809 SwigValueWrapper
<wxVisualAttributes
> result
;
25812 PyObject
*swig_obj
[1] ;
25814 if (!args
) SWIG_fail
;
25815 swig_obj
[0] = args
;
25816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25817 if (!SWIG_IsOK(res1
)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25820 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (arg1
)->GetDefaultAttributes();
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25827 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25834 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25835 PyObject
*resultobj
= 0;
25836 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
25839 PyObject
*swig_obj
[1] ;
25841 if (!args
) SWIG_fail
;
25842 swig_obj
[0] = args
;
25843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
25844 if (!SWIG_IsOK(res1
)) {
25845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25847 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 (arg1
)->OnInternalIdle();
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= SWIG_Py_Void();
25861 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25864 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
25865 return SWIG_Py_Void();
25868 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25869 return SWIG_Python_InitShadowInstance(args
);
25872 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
25873 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
25878 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
25879 PyObject
*pyobj
= 0;
25883 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
25885 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
25892 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
25893 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
25898 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
25899 PyObject
*pyobj
= 0;
25903 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
25905 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
25912 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25913 PyObject
*resultobj
= 0;
25914 wxPrintData
*result
= 0 ;
25916 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 result
= (wxPrintData
*)new wxPrintData();
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
25930 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25931 PyObject
*resultobj
= 0;
25932 wxPrintData
*arg1
= 0 ;
25933 wxPrintData
*result
= 0 ;
25937 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25939 if (!SWIG_IsOK(res1
)) {
25940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25945 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
25949 wxPyEndAllowThreads(__tstate
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
25959 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
25963 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
25966 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
25969 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
25973 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
25978 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25979 PyObject
*resultobj
= 0;
25980 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25983 PyObject
*swig_obj
[1] ;
25985 if (!args
) SWIG_fail
;
25986 swig_obj
[0] = args
;
25987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
25988 if (!SWIG_IsOK(res1
)) {
25989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25991 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
25999 resultobj
= SWIG_Py_Void();
26006 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26007 PyObject
*resultobj
= 0;
26008 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26012 PyObject
*swig_obj
[1] ;
26014 if (!args
) SWIG_fail
;
26015 swig_obj
[0] = args
;
26016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26017 if (!SWIG_IsOK(res1
)) {
26018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26020 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26023 result
= (int)(arg1
)->GetNoCopies();
26024 wxPyEndAllowThreads(__tstate
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= SWIG_From_int(static_cast< int >(result
));
26034 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26035 PyObject
*resultobj
= 0;
26036 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26040 PyObject
*swig_obj
[1] ;
26042 if (!args
) SWIG_fail
;
26043 swig_obj
[0] = args
;
26044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26045 if (!SWIG_IsOK(res1
)) {
26046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26048 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26051 result
= (bool)(arg1
)->GetCollate();
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26064 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26065 PyObject
*resultobj
= 0;
26066 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26070 PyObject
*swig_obj
[1] ;
26072 if (!args
) SWIG_fail
;
26073 swig_obj
[0] = args
;
26074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26075 if (!SWIG_IsOK(res1
)) {
26076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26078 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26081 result
= (int)(arg1
)->GetOrientation();
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= SWIG_From_int(static_cast< int >(result
));
26092 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26093 PyObject
*resultobj
= 0;
26094 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26098 PyObject
*swig_obj
[1] ;
26100 if (!args
) SWIG_fail
;
26101 swig_obj
[0] = args
;
26102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26103 if (!SWIG_IsOK(res1
)) {
26104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26106 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26122 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26123 PyObject
*resultobj
= 0;
26124 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26128 PyObject
*swig_obj
[1] ;
26130 if (!args
) SWIG_fail
;
26131 swig_obj
[0] = args
;
26132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26133 if (!SWIG_IsOK(res1
)) {
26134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
26136 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 result
= (bool)(arg1
)->IsOk();
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26152 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26153 PyObject
*resultobj
= 0;
26154 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26155 wxString
*result
= 0 ;
26158 PyObject
*swig_obj
[1] ;
26160 if (!args
) SWIG_fail
;
26161 swig_obj
[0] = args
;
26162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26163 if (!SWIG_IsOK(res1
)) {
26164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26166 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
26171 result
= (wxString
*) &_result_ref
;
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26189 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26190 PyObject
*resultobj
= 0;
26191 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26195 PyObject
*swig_obj
[1] ;
26197 if (!args
) SWIG_fail
;
26198 swig_obj
[0] = args
;
26199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26200 if (!SWIG_IsOK(res1
)) {
26201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26203 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 result
= (bool)(arg1
)->GetColour();
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26219 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26220 PyObject
*resultobj
= 0;
26221 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26222 wxDuplexMode result
;
26225 PyObject
*swig_obj
[1] ;
26227 if (!args
) SWIG_fail
;
26228 swig_obj
[0] = args
;
26229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26230 if (!SWIG_IsOK(res1
)) {
26231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26233 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26236 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26240 resultobj
= SWIG_From_int(static_cast< int >(result
));
26247 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26248 PyObject
*resultobj
= 0;
26249 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26250 wxPaperSize result
;
26253 PyObject
*swig_obj
[1] ;
26255 if (!args
) SWIG_fail
;
26256 swig_obj
[0] = args
;
26257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26258 if (!SWIG_IsOK(res1
)) {
26259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26261 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 result
= (wxPaperSize
)(arg1
)->GetPaperId();
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26268 resultobj
= SWIG_From_int(static_cast< int >(result
));
26275 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26276 PyObject
*resultobj
= 0;
26277 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26278 wxSize
*result
= 0 ;
26281 PyObject
*swig_obj
[1] ;
26283 if (!args
) SWIG_fail
;
26284 swig_obj
[0] = args
;
26285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26286 if (!SWIG_IsOK(res1
)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26289 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
26294 result
= (wxSize
*) &_result_ref
;
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
26306 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26307 PyObject
*resultobj
= 0;
26308 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26312 PyObject
*swig_obj
[1] ;
26314 if (!args
) SWIG_fail
;
26315 swig_obj
[0] = args
;
26316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26317 if (!SWIG_IsOK(res1
)) {
26318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26320 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 result
= (int)(arg1
)->GetQuality();
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26327 resultobj
= SWIG_From_int(static_cast< int >(result
));
26334 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26335 PyObject
*resultobj
= 0;
26336 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26340 PyObject
*swig_obj
[1] ;
26342 if (!args
) SWIG_fail
;
26343 swig_obj
[0] = args
;
26344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26345 if (!SWIG_IsOK(res1
)) {
26346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26348 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 result
= (wxPrintBin
)(arg1
)->GetBin();
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= SWIG_From_int(static_cast< int >(result
));
26362 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26363 PyObject
*resultobj
= 0;
26364 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26365 wxPrintMode result
;
26368 PyObject
*swig_obj
[1] ;
26370 if (!args
) SWIG_fail
;
26371 swig_obj
[0] = args
;
26372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26373 if (!SWIG_IsOK(res1
)) {
26374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26376 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= SWIG_From_int(static_cast< int >(result
));
26390 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26391 PyObject
*resultobj
= 0;
26392 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26396 PyObject
*swig_obj
[1] ;
26398 if (!args
) SWIG_fail
;
26399 swig_obj
[0] = args
;
26400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26401 if (!SWIG_IsOK(res1
)) {
26402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26404 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= SWIG_From_int(static_cast< int >(result
));
26418 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
= 0;
26420 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 char * kwnames
[] = {
26429 (char *) "self",(char *) "v", NULL
26432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26434 if (!SWIG_IsOK(res1
)) {
26435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26437 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26439 if (!SWIG_IsOK(ecode2
)) {
26440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26442 arg2
= static_cast< int >(val2
);
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 (arg1
)->SetNoCopies(arg2
);
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26449 resultobj
= SWIG_Py_Void();
26456 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
= 0;
26458 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26464 PyObject
* obj0
= 0 ;
26465 PyObject
* obj1
= 0 ;
26466 char * kwnames
[] = {
26467 (char *) "self",(char *) "flag", NULL
26470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26472 if (!SWIG_IsOK(res1
)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26475 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26476 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26477 if (!SWIG_IsOK(ecode2
)) {
26478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26480 arg2
= static_cast< bool >(val2
);
26482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26483 (arg1
)->SetCollate(arg2
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 resultobj
= SWIG_Py_Void();
26494 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
= 0;
26496 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26502 PyObject
* obj0
= 0 ;
26503 PyObject
* obj1
= 0 ;
26504 char * kwnames
[] = {
26505 (char *) "self",(char *) "orient", NULL
26508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26510 if (!SWIG_IsOK(res1
)) {
26511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26513 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26515 if (!SWIG_IsOK(ecode2
)) {
26516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
26518 arg2
= static_cast< int >(val2
);
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 (arg1
)->SetOrientation(arg2
);
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= SWIG_Py_Void();
26532 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
= 0;
26534 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26540 PyObject
* obj0
= 0 ;
26541 PyObject
* obj1
= 0 ;
26542 char * kwnames
[] = {
26543 (char *) "self",(char *) "reversed", NULL
26546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26548 if (!SWIG_IsOK(res1
)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
26551 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26552 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26553 if (!SWIG_IsOK(ecode2
)) {
26554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
26556 arg2
= static_cast< bool >(val2
);
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 (arg1
)->SetOrientationReversed(arg2
);
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26563 resultobj
= SWIG_Py_Void();
26570 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
= 0;
26572 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26573 wxString
*arg2
= 0 ;
26576 bool temp2
= false ;
26577 PyObject
* obj0
= 0 ;
26578 PyObject
* obj1
= 0 ;
26579 char * kwnames
[] = {
26580 (char *) "self",(char *) "name", NULL
26583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26585 if (!SWIG_IsOK(res1
)) {
26586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26588 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26590 arg2
= wxString_in_helper(obj1
);
26591 if (arg2
== NULL
) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 resultobj
= SWIG_Py_Void();
26615 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
= 0;
26617 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26623 PyObject
* obj0
= 0 ;
26624 PyObject
* obj1
= 0 ;
26625 char * kwnames
[] = {
26626 (char *) "self",(char *) "colour", NULL
26629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26631 if (!SWIG_IsOK(res1
)) {
26632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26634 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26635 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26636 if (!SWIG_IsOK(ecode2
)) {
26637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
26639 arg2
= static_cast< bool >(val2
);
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 (arg1
)->SetColour(arg2
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 resultobj
= SWIG_Py_Void();
26653 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
= 0;
26655 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26656 wxDuplexMode arg2
;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26663 char * kwnames
[] = {
26664 (char *) "self",(char *) "duplex", NULL
26667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26669 if (!SWIG_IsOK(res1
)) {
26670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26672 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26674 if (!SWIG_IsOK(ecode2
)) {
26675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
26677 arg2
= static_cast< wxDuplexMode
>(val2
);
26679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26680 (arg1
)->SetDuplex(arg2
);
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= SWIG_Py_Void();
26691 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
= 0;
26693 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26699 PyObject
* obj0
= 0 ;
26700 PyObject
* obj1
= 0 ;
26701 char * kwnames
[] = {
26702 (char *) "self",(char *) "sizeId", NULL
26705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26707 if (!SWIG_IsOK(res1
)) {
26708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26710 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26712 if (!SWIG_IsOK(ecode2
)) {
26713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26715 arg2
= static_cast< wxPaperSize
>(val2
);
26717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26718 (arg1
)->SetPaperId(arg2
);
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26722 resultobj
= SWIG_Py_Void();
26729 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26730 PyObject
*resultobj
= 0;
26731 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26736 PyObject
* obj0
= 0 ;
26737 PyObject
* obj1
= 0 ;
26738 char * kwnames
[] = {
26739 (char *) "self",(char *) "sz", NULL
26742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26744 if (!SWIG_IsOK(res1
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26747 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26750 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= SWIG_Py_Void();
26765 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
= 0;
26767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26773 PyObject
* obj0
= 0 ;
26774 PyObject
* obj1
= 0 ;
26775 char * kwnames
[] = {
26776 (char *) "self",(char *) "quality", NULL
26779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26781 if (!SWIG_IsOK(res1
)) {
26782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26784 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26786 if (!SWIG_IsOK(ecode2
)) {
26787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
26789 arg2
= static_cast< int >(val2
);
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 (arg1
)->SetQuality(arg2
);
26793 wxPyEndAllowThreads(__tstate
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= SWIG_Py_Void();
26803 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
= 0;
26805 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26811 PyObject
* obj0
= 0 ;
26812 PyObject
* obj1
= 0 ;
26813 char * kwnames
[] = {
26814 (char *) "self",(char *) "bin", NULL
26817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26819 if (!SWIG_IsOK(res1
)) {
26820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26822 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26824 if (!SWIG_IsOK(ecode2
)) {
26825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
26827 arg2
= static_cast< wxPrintBin
>(val2
);
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 (arg1
)->SetBin(arg2
);
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26834 resultobj
= SWIG_Py_Void();
26841 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
= 0;
26843 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26849 PyObject
* obj0
= 0 ;
26850 PyObject
* obj1
= 0 ;
26851 char * kwnames
[] = {
26852 (char *) "self",(char *) "printMode", NULL
26855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26857 if (!SWIG_IsOK(res1
)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
26860 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26862 if (!SWIG_IsOK(ecode2
)) {
26863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
26865 arg2
= static_cast< wxPrintMode
>(val2
);
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 (arg1
)->SetPrintMode(arg2
);
26869 wxPyEndAllowThreads(__tstate
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26872 resultobj
= SWIG_Py_Void();
26879 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26880 PyObject
*resultobj
= 0;
26881 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 char * kwnames
[] = {
26890 (char *) "self",(char *) "media", NULL
26893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26895 if (!SWIG_IsOK(res1
)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
26898 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26900 if (!SWIG_IsOK(ecode2
)) {
26901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
26903 arg2
= static_cast< int >(val2
);
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 (arg1
)->SetMedia(arg2
);
26907 wxPyEndAllowThreads(__tstate
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= SWIG_Py_Void();
26917 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26918 PyObject
*resultobj
= 0;
26919 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26923 PyObject
*swig_obj
[1] ;
26925 if (!args
) SWIG_fail
;
26926 swig_obj
[0] = args
;
26927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26928 if (!SWIG_IsOK(res1
)) {
26929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26931 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26934 result
= ((wxPrintData
const *)arg1
)->GetFilename();
26935 wxPyEndAllowThreads(__tstate
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26951 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26952 PyObject
*resultobj
= 0;
26953 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26954 wxString
*arg2
= 0 ;
26957 bool temp2
= false ;
26958 PyObject
* obj0
= 0 ;
26959 PyObject
* obj1
= 0 ;
26960 char * kwnames
[] = {
26961 (char *) "self",(char *) "filename", NULL
26964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
26966 if (!SWIG_IsOK(res1
)) {
26967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
26969 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26971 arg2
= wxString_in_helper(obj1
);
26972 if (arg2
== NULL
) SWIG_fail
;
26976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26977 (arg1
)->SetFilename((wxString
const &)*arg2
);
26978 wxPyEndAllowThreads(__tstate
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26981 resultobj
= SWIG_Py_Void();
26996 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26997 PyObject
*resultobj
= 0;
26998 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
26999 PyObject
*result
= 0 ;
27002 PyObject
*swig_obj
[1] ;
27004 if (!args
) SWIG_fail
;
27005 swig_obj
[0] = args
;
27006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27007 if (!SWIG_IsOK(res1
)) {
27008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27010 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27013 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= result
;
27024 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
= 0;
27026 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
27027 PyObject
*arg2
= (PyObject
*) 0 ;
27030 PyObject
* obj0
= 0 ;
27031 PyObject
* obj1
= 0 ;
27032 char * kwnames
[] = {
27033 (char *) "self",(char *) "data", NULL
27036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
27038 if (!SWIG_IsOK(res1
)) {
27039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27041 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 wxPrintData_SetPrivData(arg1
,arg2
);
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 resultobj
= SWIG_Py_Void();
27056 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27059 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
27060 return SWIG_Py_Void();
27063 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27064 return SWIG_Python_InitShadowInstance(args
);
27067 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
27068 PyObject
*resultobj
= 0;
27069 wxPageSetupDialogData
*result
= 0 ;
27071 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27085 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27086 PyObject
*resultobj
= 0;
27087 wxPageSetupDialogData
*arg1
= 0 ;
27088 wxPageSetupDialogData
*result
= 0 ;
27092 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
27094 if (!SWIG_IsOK(res1
)) {
27095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27100 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27114 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27115 PyObject
*resultobj
= 0;
27116 wxPrintData
*arg1
= 0 ;
27117 wxPageSetupDialogData
*result
= 0 ;
27121 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27123 if (!SWIG_IsOK(res1
)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27129 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
27143 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
27147 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
27150 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
27155 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
27156 _v
= SWIG_CheckState(res
);
27158 if (!_v
) goto check_2
;
27159 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
27164 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
27168 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
27173 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27174 PyObject
*resultobj
= 0;
27175 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27178 PyObject
*swig_obj
[1] ;
27180 if (!args
) SWIG_fail
;
27181 swig_obj
[0] = args
;
27182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
27183 if (!SWIG_IsOK(res1
)) {
27184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27186 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 wxPyEndAllowThreads(__tstate
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27194 resultobj
= SWIG_Py_Void();
27201 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27202 PyObject
*resultobj
= 0;
27203 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 char * kwnames
[] = {
27212 (char *) "self",(char *) "flag", NULL
27215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27217 if (!SWIG_IsOK(res1
)) {
27218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27220 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27221 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27222 if (!SWIG_IsOK(ecode2
)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27225 arg2
= static_cast< bool >(val2
);
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 (arg1
)->EnableHelp(arg2
);
27229 wxPyEndAllowThreads(__tstate
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= SWIG_Py_Void();
27239 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27240 PyObject
*resultobj
= 0;
27241 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27247 PyObject
* obj0
= 0 ;
27248 PyObject
* obj1
= 0 ;
27249 char * kwnames
[] = {
27250 (char *) "self",(char *) "flag", NULL
27253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27258 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27259 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27260 if (!SWIG_IsOK(ecode2
)) {
27261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
27263 arg2
= static_cast< bool >(val2
);
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 (arg1
)->EnableMargins(arg2
);
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= SWIG_Py_Void();
27277 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
= 0;
27279 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 char * kwnames
[] = {
27288 (char *) "self",(char *) "flag", NULL
27291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27293 if (!SWIG_IsOK(res1
)) {
27294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27296 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27297 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27298 if (!SWIG_IsOK(ecode2
)) {
27299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
27301 arg2
= static_cast< bool >(val2
);
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 (arg1
)->EnableOrientation(arg2
);
27305 wxPyEndAllowThreads(__tstate
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= SWIG_Py_Void();
27315 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
= 0;
27317 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27323 PyObject
* obj0
= 0 ;
27324 PyObject
* obj1
= 0 ;
27325 char * kwnames
[] = {
27326 (char *) "self",(char *) "flag", NULL
27329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27331 if (!SWIG_IsOK(res1
)) {
27332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27334 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27336 if (!SWIG_IsOK(ecode2
)) {
27337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
27339 arg2
= static_cast< bool >(val2
);
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 (arg1
)->EnablePaper(arg2
);
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= SWIG_Py_Void();
27353 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
= 0;
27355 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27361 PyObject
* obj0
= 0 ;
27362 PyObject
* obj1
= 0 ;
27363 char * kwnames
[] = {
27364 (char *) "self",(char *) "flag", NULL
27367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27369 if (!SWIG_IsOK(res1
)) {
27370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27372 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27373 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27374 if (!SWIG_IsOK(ecode2
)) {
27375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
27377 arg2
= static_cast< bool >(val2
);
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 (arg1
)->EnablePrinter(arg2
);
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27384 resultobj
= SWIG_Py_Void();
27391 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27392 PyObject
*resultobj
= 0;
27393 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27397 PyObject
*swig_obj
[1] ;
27399 if (!args
) SWIG_fail
;
27400 swig_obj
[0] = args
;
27401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27402 if (!SWIG_IsOK(res1
)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27405 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 result
= (bool)(arg1
)->GetDefaultMinMargins();
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27421 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27422 PyObject
*resultobj
= 0;
27423 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27427 PyObject
*swig_obj
[1] ;
27429 if (!args
) SWIG_fail
;
27430 swig_obj
[0] = args
;
27431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27432 if (!SWIG_IsOK(res1
)) {
27433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27435 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27438 result
= (bool)(arg1
)->GetEnableMargins();
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27451 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27452 PyObject
*resultobj
= 0;
27453 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27457 PyObject
*swig_obj
[1] ;
27459 if (!args
) SWIG_fail
;
27460 swig_obj
[0] = args
;
27461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27462 if (!SWIG_IsOK(res1
)) {
27463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27465 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 result
= (bool)(arg1
)->GetEnableOrientation();
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27481 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27482 PyObject
*resultobj
= 0;
27483 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27487 PyObject
*swig_obj
[1] ;
27489 if (!args
) SWIG_fail
;
27490 swig_obj
[0] = args
;
27491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27492 if (!SWIG_IsOK(res1
)) {
27493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27495 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27498 result
= (bool)(arg1
)->GetEnablePaper();
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27511 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27512 PyObject
*resultobj
= 0;
27513 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27517 PyObject
*swig_obj
[1] ;
27519 if (!args
) SWIG_fail
;
27520 swig_obj
[0] = args
;
27521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27522 if (!SWIG_IsOK(res1
)) {
27523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27525 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27528 result
= (bool)(arg1
)->GetEnablePrinter();
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27541 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27542 PyObject
*resultobj
= 0;
27543 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27547 PyObject
*swig_obj
[1] ;
27549 if (!args
) SWIG_fail
;
27550 swig_obj
[0] = args
;
27551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27552 if (!SWIG_IsOK(res1
)) {
27553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27555 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 result
= (bool)(arg1
)->GetEnableHelp();
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27571 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27572 PyObject
*resultobj
= 0;
27573 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27577 PyObject
*swig_obj
[1] ;
27579 if (!args
) SWIG_fail
;
27580 swig_obj
[0] = args
;
27581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27582 if (!SWIG_IsOK(res1
)) {
27583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27585 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27588 result
= (bool)(arg1
)->GetDefaultInfo();
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27601 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27602 PyObject
*resultobj
= 0;
27603 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27607 PyObject
*swig_obj
[1] ;
27609 if (!args
) SWIG_fail
;
27610 swig_obj
[0] = args
;
27611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27612 if (!SWIG_IsOK(res1
)) {
27613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27615 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 result
= (arg1
)->GetMarginTopLeft();
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27629 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27630 PyObject
*resultobj
= 0;
27631 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27635 PyObject
*swig_obj
[1] ;
27637 if (!args
) SWIG_fail
;
27638 swig_obj
[0] = args
;
27639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27640 if (!SWIG_IsOK(res1
)) {
27641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27643 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= (arg1
)->GetMarginBottomRight();
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27650 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27657 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27658 PyObject
*resultobj
= 0;
27659 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27663 PyObject
*swig_obj
[1] ;
27665 if (!args
) SWIG_fail
;
27666 swig_obj
[0] = args
;
27667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27668 if (!SWIG_IsOK(res1
)) {
27669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27671 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 result
= (arg1
)->GetMinMarginTopLeft();
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27678 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27685 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27686 PyObject
*resultobj
= 0;
27687 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27691 PyObject
*swig_obj
[1] ;
27693 if (!args
) SWIG_fail
;
27694 swig_obj
[0] = args
;
27695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27696 if (!SWIG_IsOK(res1
)) {
27697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27699 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27702 result
= (arg1
)->GetMinMarginBottomRight();
27703 wxPyEndAllowThreads(__tstate
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27713 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27714 PyObject
*resultobj
= 0;
27715 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27716 wxPaperSize result
;
27719 PyObject
*swig_obj
[1] ;
27721 if (!args
) SWIG_fail
;
27722 swig_obj
[0] = args
;
27723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27724 if (!SWIG_IsOK(res1
)) {
27725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27727 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 result
= (wxPaperSize
)(arg1
)->GetPaperId();
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= SWIG_From_int(static_cast< int >(result
));
27741 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27742 PyObject
*resultobj
= 0;
27743 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27747 PyObject
*swig_obj
[1] ;
27749 if (!args
) SWIG_fail
;
27750 swig_obj
[0] = args
;
27751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27752 if (!SWIG_IsOK(res1
)) {
27753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27755 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 result
= (arg1
)->GetPaperSize();
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27762 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
27769 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27770 PyObject
*resultobj
= 0;
27771 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27772 wxPrintData
*result
= 0 ;
27775 PyObject
*swig_obj
[1] ;
27777 if (!args
) SWIG_fail
;
27778 swig_obj
[0] = args
;
27779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27780 if (!SWIG_IsOK(res1
)) {
27781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27783 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27787 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27788 result
= (wxPrintData
*) &_result_ref
;
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27800 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27801 PyObject
*resultobj
= 0;
27802 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27806 PyObject
*swig_obj
[1] ;
27808 if (!args
) SWIG_fail
;
27809 swig_obj
[0] = args
;
27810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27811 if (!SWIG_IsOK(res1
)) {
27812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27814 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 result
= (bool)(arg1
)->IsOk();
27818 wxPyEndAllowThreads(__tstate
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27830 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27831 PyObject
*resultobj
= 0;
27832 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27838 PyObject
* obj0
= 0 ;
27839 PyObject
* obj1
= 0 ;
27840 char * kwnames
[] = {
27841 (char *) "self",(char *) "flag", NULL
27844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27846 if (!SWIG_IsOK(res1
)) {
27847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27849 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27850 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27851 if (!SWIG_IsOK(ecode2
)) {
27852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
27854 arg2
= static_cast< bool >(val2
);
27856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27857 (arg1
)->SetDefaultInfo(arg2
);
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= SWIG_Py_Void();
27868 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
= 0;
27870 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 char * kwnames
[] = {
27879 (char *) "self",(char *) "flag", NULL
27882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27884 if (!SWIG_IsOK(res1
)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27887 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27888 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27889 if (!SWIG_IsOK(ecode2
)) {
27890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
27892 arg2
= static_cast< bool >(val2
);
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 (arg1
)->SetDefaultMinMargins(arg2
);
27896 wxPyEndAllowThreads(__tstate
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27899 resultobj
= SWIG_Py_Void();
27906 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27907 PyObject
*resultobj
= 0;
27908 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27909 wxPoint
*arg2
= 0 ;
27913 PyObject
* obj0
= 0 ;
27914 PyObject
* obj1
= 0 ;
27915 char * kwnames
[] = {
27916 (char *) "self",(char *) "pt", NULL
27919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27921 if (!SWIG_IsOK(res1
)) {
27922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27924 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27927 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27931 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= SWIG_Py_Void();
27942 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
= 0;
27944 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27945 wxPoint
*arg2
= 0 ;
27949 PyObject
* obj0
= 0 ;
27950 PyObject
* obj1
= 0 ;
27951 char * kwnames
[] = {
27952 (char *) "self",(char *) "pt", NULL
27955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27957 if (!SWIG_IsOK(res1
)) {
27958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27960 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27963 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
27968 wxPyEndAllowThreads(__tstate
);
27969 if (PyErr_Occurred()) SWIG_fail
;
27971 resultobj
= SWIG_Py_Void();
27978 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27979 PyObject
*resultobj
= 0;
27980 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
27981 wxPoint
*arg2
= 0 ;
27985 PyObject
* obj0
= 0 ;
27986 PyObject
* obj1
= 0 ;
27987 char * kwnames
[] = {
27988 (char *) "self",(char *) "pt", NULL
27991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
27993 if (!SWIG_IsOK(res1
)) {
27994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27996 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
27999 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
28004 wxPyEndAllowThreads(__tstate
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28007 resultobj
= SWIG_Py_Void();
28014 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28015 PyObject
*resultobj
= 0;
28016 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28017 wxPoint
*arg2
= 0 ;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28023 char * kwnames
[] = {
28024 (char *) "self",(char *) "pt", NULL
28027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28029 if (!SWIG_IsOK(res1
)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28032 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28035 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 resultobj
= SWIG_Py_Void();
28050 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
= 0;
28052 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28058 PyObject
* obj0
= 0 ;
28059 PyObject
* obj1
= 0 ;
28060 char * kwnames
[] = {
28061 (char *) "self",(char *) "id", NULL
28064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28066 if (!SWIG_IsOK(res1
)) {
28067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28069 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28071 if (!SWIG_IsOK(ecode2
)) {
28072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
28074 arg2
= static_cast< wxPaperSize
>(val2
);
28076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28077 (arg1
)->SetPaperId(arg2
);
28078 wxPyEndAllowThreads(__tstate
);
28079 if (PyErr_Occurred()) SWIG_fail
;
28081 resultobj
= SWIG_Py_Void();
28088 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
= 0;
28090 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28095 PyObject
* obj0
= 0 ;
28096 PyObject
* obj1
= 0 ;
28097 char * kwnames
[] = {
28098 (char *) "self",(char *) "size", NULL
28101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28103 if (!SWIG_IsOK(res1
)) {
28104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28106 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28109 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28117 resultobj
= SWIG_Py_Void();
28124 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
= 0;
28126 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28127 wxPrintData
*arg2
= 0 ;
28132 PyObject
* obj0
= 0 ;
28133 PyObject
* obj1
= 0 ;
28134 char * kwnames
[] = {
28135 (char *) "self",(char *) "printData", NULL
28138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28140 if (!SWIG_IsOK(res1
)) {
28141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28143 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
28145 if (!SWIG_IsOK(res2
)) {
28146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28151 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
28153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28154 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28158 resultobj
= SWIG_Py_Void();
28165 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28166 PyObject
*resultobj
= 0;
28167 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28170 PyObject
*swig_obj
[1] ;
28172 if (!args
) SWIG_fail
;
28173 swig_obj
[0] = args
;
28174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28175 if (!SWIG_IsOK(res1
)) {
28176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28178 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 (arg1
)->CalculateIdFromPaperSize();
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= SWIG_Py_Void();
28192 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28193 PyObject
*resultobj
= 0;
28194 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
28197 PyObject
*swig_obj
[1] ;
28199 if (!args
) SWIG_fail
;
28200 swig_obj
[0] = args
;
28201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28202 if (!SWIG_IsOK(res1
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28205 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 (arg1
)->CalculatePaperSizeFromId();
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= SWIG_Py_Void();
28219 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28222 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
28223 return SWIG_Py_Void();
28226 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28227 return SWIG_Python_InitShadowInstance(args
);
28230 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
= 0;
28232 wxWindow
*arg1
= (wxWindow
*) 0 ;
28233 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
28234 wxPageSetupDialog
*result
= 0 ;
28239 PyObject
* obj0
= 0 ;
28240 PyObject
* obj1
= 0 ;
28241 char * kwnames
[] = {
28242 (char *) "parent",(char *) "data", NULL
28245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28247 if (!SWIG_IsOK(res1
)) {
28248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
28250 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28253 if (!SWIG_IsOK(res2
)) {
28254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
28256 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28259 if (!wxPyCheckForApp()) SWIG_fail
;
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
28272 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28273 PyObject
*resultobj
= 0;
28274 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28277 PyObject
*swig_obj
[1] ;
28279 if (!args
) SWIG_fail
;
28280 swig_obj
[0] = args
;
28281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
28282 if (!SWIG_IsOK(res1
)) {
28283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28285 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28290 wxPyEndAllowThreads(__tstate
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28293 resultobj
= SWIG_Py_Void();
28300 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28301 PyObject
*resultobj
= 0;
28302 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28303 wxPageSetupDialogData
*result
= 0 ;
28306 PyObject
*swig_obj
[1] ;
28308 if (!args
) SWIG_fail
;
28309 swig_obj
[0] = args
;
28310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28311 if (!SWIG_IsOK(res1
)) {
28312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28314 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28318 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
28319 result
= (wxPageSetupDialogData
*) &_result_ref
;
28321 wxPyEndAllowThreads(__tstate
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28331 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28332 PyObject
*resultobj
= 0;
28333 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28334 wxPageSetupDialogData
*result
= 0 ;
28337 PyObject
*swig_obj
[1] ;
28339 if (!args
) SWIG_fail
;
28340 swig_obj
[0] = args
;
28341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28342 if (!SWIG_IsOK(res1
)) {
28343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28345 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28349 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
28350 result
= (wxPageSetupDialogData
*) &_result_ref
;
28352 wxPyEndAllowThreads(__tstate
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
28362 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28363 PyObject
*resultobj
= 0;
28364 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
28368 PyObject
*swig_obj
[1] ;
28370 if (!args
) SWIG_fail
;
28371 swig_obj
[0] = args
;
28372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
28373 if (!SWIG_IsOK(res1
)) {
28374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28376 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
28378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28379 result
= (int)(arg1
)->ShowModal();
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28383 resultobj
= SWIG_From_int(static_cast< int >(result
));
28390 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28393 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
28394 return SWIG_Py_Void();
28397 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28398 return SWIG_Python_InitShadowInstance(args
);
28401 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
28402 PyObject
*resultobj
= 0;
28403 wxPrintDialogData
*result
= 0 ;
28405 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 result
= (wxPrintDialogData
*)new wxPrintDialogData();
28409 wxPyEndAllowThreads(__tstate
);
28410 if (PyErr_Occurred()) SWIG_fail
;
28412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28419 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28420 PyObject
*resultobj
= 0;
28421 wxPrintData
*arg1
= 0 ;
28422 wxPrintDialogData
*result
= 0 ;
28426 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
28428 if (!SWIG_IsOK(res1
)) {
28429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28434 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
28436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28437 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
28438 wxPyEndAllowThreads(__tstate
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28448 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28449 PyObject
*resultobj
= 0;
28450 wxPrintDialogData
*arg1
= 0 ;
28451 wxPrintDialogData
*result
= 0 ;
28455 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
28457 if (!SWIG_IsOK(res1
)) {
28458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28463 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
28467 wxPyEndAllowThreads(__tstate
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
28477 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
28481 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
28484 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
28489 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
28490 _v
= SWIG_CheckState(res
);
28492 if (!_v
) goto check_2
;
28493 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
28498 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
28502 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
28507 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28508 PyObject
*resultobj
= 0;
28509 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28512 PyObject
*swig_obj
[1] ;
28514 if (!args
) SWIG_fail
;
28515 swig_obj
[0] = args
;
28516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
28517 if (!SWIG_IsOK(res1
)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28520 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28528 resultobj
= SWIG_Py_Void();
28535 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28536 PyObject
*resultobj
= 0;
28537 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28541 PyObject
*swig_obj
[1] ;
28543 if (!args
) SWIG_fail
;
28544 swig_obj
[0] = args
;
28545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28546 if (!SWIG_IsOK(res1
)) {
28547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28549 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28552 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= SWIG_From_int(static_cast< int >(result
));
28563 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28564 PyObject
*resultobj
= 0;
28565 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28569 PyObject
*swig_obj
[1] ;
28571 if (!args
) SWIG_fail
;
28572 swig_obj
[0] = args
;
28573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28574 if (!SWIG_IsOK(res1
)) {
28575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28577 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28580 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28584 resultobj
= SWIG_From_int(static_cast< int >(result
));
28591 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28592 PyObject
*resultobj
= 0;
28593 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28597 PyObject
*swig_obj
[1] ;
28599 if (!args
) SWIG_fail
;
28600 swig_obj
[0] = args
;
28601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28602 if (!SWIG_IsOK(res1
)) {
28603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28605 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
28609 wxPyEndAllowThreads(__tstate
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28612 resultobj
= SWIG_From_int(static_cast< int >(result
));
28619 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28620 PyObject
*resultobj
= 0;
28621 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28625 PyObject
*swig_obj
[1] ;
28627 if (!args
) SWIG_fail
;
28628 swig_obj
[0] = args
;
28629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28630 if (!SWIG_IsOK(res1
)) {
28631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28633 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
28637 wxPyEndAllowThreads(__tstate
);
28638 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= SWIG_From_int(static_cast< int >(result
));
28647 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28648 PyObject
*resultobj
= 0;
28649 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28653 PyObject
*swig_obj
[1] ;
28655 if (!args
) SWIG_fail
;
28656 swig_obj
[0] = args
;
28657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28658 if (!SWIG_IsOK(res1
)) {
28659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28661 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
28665 wxPyEndAllowThreads(__tstate
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= SWIG_From_int(static_cast< int >(result
));
28675 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28676 PyObject
*resultobj
= 0;
28677 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28681 PyObject
*swig_obj
[1] ;
28683 if (!args
) SWIG_fail
;
28684 swig_obj
[0] = args
;
28685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28686 if (!SWIG_IsOK(res1
)) {
28687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28689 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28705 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28706 PyObject
*resultobj
= 0;
28707 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28711 PyObject
*swig_obj
[1] ;
28713 if (!args
) SWIG_fail
;
28714 swig_obj
[0] = args
;
28715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28716 if (!SWIG_IsOK(res1
)) {
28717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28719 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28735 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28736 PyObject
*resultobj
= 0;
28737 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28741 PyObject
*swig_obj
[1] ;
28743 if (!args
) SWIG_fail
;
28744 swig_obj
[0] = args
;
28745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28746 if (!SWIG_IsOK(res1
)) {
28747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28749 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28765 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28766 PyObject
*resultobj
= 0;
28767 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28771 PyObject
*swig_obj
[1] ;
28773 if (!args
) SWIG_fail
;
28774 swig_obj
[0] = args
;
28775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28776 if (!SWIG_IsOK(res1
)) {
28777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28779 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28782 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
28783 wxPyEndAllowThreads(__tstate
);
28784 if (PyErr_Occurred()) SWIG_fail
;
28787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28795 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28796 PyObject
*resultobj
= 0;
28797 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 char * kwnames
[] = {
28806 (char *) "self",(char *) "v", NULL
28809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28811 if (!SWIG_IsOK(res1
)) {
28812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28814 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28816 if (!SWIG_IsOK(ecode2
)) {
28817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
28819 arg2
= static_cast< int >(val2
);
28821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28822 (arg1
)->SetFromPage(arg2
);
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28826 resultobj
= SWIG_Py_Void();
28833 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28834 PyObject
*resultobj
= 0;
28835 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28841 PyObject
* obj0
= 0 ;
28842 PyObject
* obj1
= 0 ;
28843 char * kwnames
[] = {
28844 (char *) "self",(char *) "v", NULL
28847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28849 if (!SWIG_IsOK(res1
)) {
28850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28852 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28854 if (!SWIG_IsOK(ecode2
)) {
28855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
28857 arg2
= static_cast< int >(val2
);
28859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28860 (arg1
)->SetToPage(arg2
);
28861 wxPyEndAllowThreads(__tstate
);
28862 if (PyErr_Occurred()) SWIG_fail
;
28864 resultobj
= SWIG_Py_Void();
28871 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28872 PyObject
*resultobj
= 0;
28873 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28879 PyObject
* obj0
= 0 ;
28880 PyObject
* obj1
= 0 ;
28881 char * kwnames
[] = {
28882 (char *) "self",(char *) "v", NULL
28885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28887 if (!SWIG_IsOK(res1
)) {
28888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28890 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28892 if (!SWIG_IsOK(ecode2
)) {
28893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
28895 arg2
= static_cast< int >(val2
);
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 (arg1
)->SetMinPage(arg2
);
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= SWIG_Py_Void();
28909 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
= 0;
28911 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28917 PyObject
* obj0
= 0 ;
28918 PyObject
* obj1
= 0 ;
28919 char * kwnames
[] = {
28920 (char *) "self",(char *) "v", NULL
28923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28925 if (!SWIG_IsOK(res1
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28928 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28930 if (!SWIG_IsOK(ecode2
)) {
28931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
28933 arg2
= static_cast< int >(val2
);
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28936 (arg1
)->SetMaxPage(arg2
);
28937 wxPyEndAllowThreads(__tstate
);
28938 if (PyErr_Occurred()) SWIG_fail
;
28940 resultobj
= SWIG_Py_Void();
28947 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28948 PyObject
*resultobj
= 0;
28949 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28955 PyObject
* obj0
= 0 ;
28956 PyObject
* obj1
= 0 ;
28957 char * kwnames
[] = {
28958 (char *) "self",(char *) "v", NULL
28961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28963 if (!SWIG_IsOK(res1
)) {
28964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28966 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
28967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28968 if (!SWIG_IsOK(ecode2
)) {
28969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
28971 arg2
= static_cast< int >(val2
);
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28974 (arg1
)->SetNoCopies(arg2
);
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= SWIG_Py_Void();
28985 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
= 0;
28987 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
28993 PyObject
* obj0
= 0 ;
28994 PyObject
* obj1
= 0 ;
28995 char * kwnames
[] = {
28996 (char *) "self",(char *) "flag", NULL
28999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29001 if (!SWIG_IsOK(res1
)) {
29002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29004 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29005 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29006 if (!SWIG_IsOK(ecode2
)) {
29007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
29009 arg2
= static_cast< bool >(val2
);
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 (arg1
)->SetAllPages(arg2
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= SWIG_Py_Void();
29023 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29024 PyObject
*resultobj
= 0;
29025 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29031 PyObject
* obj0
= 0 ;
29032 PyObject
* obj1
= 0 ;
29033 char * kwnames
[] = {
29034 (char *) "self",(char *) "flag", NULL
29037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29039 if (!SWIG_IsOK(res1
)) {
29040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29042 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29043 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29044 if (!SWIG_IsOK(ecode2
)) {
29045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
29047 arg2
= static_cast< bool >(val2
);
29049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29050 (arg1
)->SetSelection(arg2
);
29051 wxPyEndAllowThreads(__tstate
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29054 resultobj
= SWIG_Py_Void();
29061 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29062 PyObject
*resultobj
= 0;
29063 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29069 PyObject
* obj0
= 0 ;
29070 PyObject
* obj1
= 0 ;
29071 char * kwnames
[] = {
29072 (char *) "self",(char *) "flag", NULL
29075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29077 if (!SWIG_IsOK(res1
)) {
29078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29080 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29081 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29082 if (!SWIG_IsOK(ecode2
)) {
29083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
29085 arg2
= static_cast< bool >(val2
);
29087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29088 (arg1
)->SetCollate(arg2
);
29089 wxPyEndAllowThreads(__tstate
);
29090 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= SWIG_Py_Void();
29099 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29100 PyObject
*resultobj
= 0;
29101 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 char * kwnames
[] = {
29110 (char *) "self",(char *) "flag", NULL
29113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29115 if (!SWIG_IsOK(res1
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29118 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29119 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29120 if (!SWIG_IsOK(ecode2
)) {
29121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
29123 arg2
= static_cast< bool >(val2
);
29125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29126 (arg1
)->SetPrintToFile(arg2
);
29127 wxPyEndAllowThreads(__tstate
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29130 resultobj
= SWIG_Py_Void();
29137 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29138 PyObject
*resultobj
= 0;
29139 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29145 PyObject
* obj0
= 0 ;
29146 PyObject
* obj1
= 0 ;
29147 char * kwnames
[] = {
29148 (char *) "self",(char *) "flag", NULL
29151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29153 if (!SWIG_IsOK(res1
)) {
29154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29156 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29157 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29158 if (!SWIG_IsOK(ecode2
)) {
29159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
29161 arg2
= static_cast< bool >(val2
);
29163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29164 (arg1
)->EnablePrintToFile(arg2
);
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 resultobj
= SWIG_Py_Void();
29175 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
= 0;
29177 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29183 PyObject
* obj0
= 0 ;
29184 PyObject
* obj1
= 0 ;
29185 char * kwnames
[] = {
29186 (char *) "self",(char *) "flag", NULL
29189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29191 if (!SWIG_IsOK(res1
)) {
29192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29194 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29195 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29196 if (!SWIG_IsOK(ecode2
)) {
29197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
29199 arg2
= static_cast< bool >(val2
);
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 (arg1
)->EnableSelection(arg2
);
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29206 resultobj
= SWIG_Py_Void();
29213 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
= 0;
29215 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29221 PyObject
* obj0
= 0 ;
29222 PyObject
* obj1
= 0 ;
29223 char * kwnames
[] = {
29224 (char *) "self",(char *) "flag", NULL
29227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29229 if (!SWIG_IsOK(res1
)) {
29230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29232 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29233 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29234 if (!SWIG_IsOK(ecode2
)) {
29235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
29237 arg2
= static_cast< bool >(val2
);
29239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 (arg1
)->EnablePageNumbers(arg2
);
29241 wxPyEndAllowThreads(__tstate
);
29242 if (PyErr_Occurred()) SWIG_fail
;
29244 resultobj
= SWIG_Py_Void();
29251 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29252 PyObject
*resultobj
= 0;
29253 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29259 PyObject
* obj0
= 0 ;
29260 PyObject
* obj1
= 0 ;
29261 char * kwnames
[] = {
29262 (char *) "self",(char *) "flag", NULL
29265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29267 if (!SWIG_IsOK(res1
)) {
29268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29270 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29271 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29272 if (!SWIG_IsOK(ecode2
)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
29275 arg2
= static_cast< bool >(val2
);
29277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29278 (arg1
)->EnableHelp(arg2
);
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= SWIG_Py_Void();
29289 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29290 PyObject
*resultobj
= 0;
29291 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29295 PyObject
*swig_obj
[1] ;
29297 if (!args
) SWIG_fail
;
29298 swig_obj
[0] = args
;
29299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29300 if (!SWIG_IsOK(res1
)) {
29301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29303 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29319 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29320 PyObject
*resultobj
= 0;
29321 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29325 PyObject
*swig_obj
[1] ;
29327 if (!args
) SWIG_fail
;
29328 swig_obj
[0] = args
;
29329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29330 if (!SWIG_IsOK(res1
)) {
29331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29333 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
29337 wxPyEndAllowThreads(__tstate
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29349 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29350 PyObject
*resultobj
= 0;
29351 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29355 PyObject
*swig_obj
[1] ;
29357 if (!args
) SWIG_fail
;
29358 swig_obj
[0] = args
;
29359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29360 if (!SWIG_IsOK(res1
)) {
29361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29363 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29366 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29379 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29380 PyObject
*resultobj
= 0;
29381 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29385 PyObject
*swig_obj
[1] ;
29387 if (!args
) SWIG_fail
;
29388 swig_obj
[0] = args
;
29389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29390 if (!SWIG_IsOK(res1
)) {
29391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29393 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29409 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29410 PyObject
*resultobj
= 0;
29411 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29415 PyObject
*swig_obj
[1] ;
29417 if (!args
) SWIG_fail
;
29418 swig_obj
[0] = args
;
29419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29420 if (!SWIG_IsOK(res1
)) {
29421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29423 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29426 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
29427 wxPyEndAllowThreads(__tstate
);
29428 if (PyErr_Occurred()) SWIG_fail
;
29431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29439 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29440 PyObject
*resultobj
= 0;
29441 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29442 wxPrintData
*result
= 0 ;
29445 PyObject
*swig_obj
[1] ;
29447 if (!args
) SWIG_fail
;
29448 swig_obj
[0] = args
;
29449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29450 if (!SWIG_IsOK(res1
)) {
29451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29453 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29457 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
29458 result
= (wxPrintData
*) &_result_ref
;
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
29470 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29471 PyObject
*resultobj
= 0;
29472 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
29473 wxPrintData
*arg2
= 0 ;
29478 PyObject
* obj0
= 0 ;
29479 PyObject
* obj1
= 0 ;
29480 char * kwnames
[] = {
29481 (char *) "self",(char *) "printData", NULL
29484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29486 if (!SWIG_IsOK(res1
)) {
29487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29489 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
29491 if (!SWIG_IsOK(res2
)) {
29492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29497 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
29501 wxPyEndAllowThreads(__tstate
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= SWIG_Py_Void();
29511 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29514 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
29515 return SWIG_Py_Void();
29518 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29519 return SWIG_Python_InitShadowInstance(args
);
29522 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
= 0;
29524 wxWindow
*arg1
= (wxWindow
*) 0 ;
29525 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
29526 wxPrintDialog
*result
= 0 ;
29531 PyObject
* obj0
= 0 ;
29532 PyObject
* obj1
= 0 ;
29533 char * kwnames
[] = {
29534 (char *) "parent",(char *) "data", NULL
29537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29539 if (!SWIG_IsOK(res1
)) {
29540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
29542 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29545 if (!SWIG_IsOK(res2
)) {
29546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
29548 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
29551 if (!wxPyCheckForApp()) SWIG_fail
;
29552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29553 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
29554 wxPyEndAllowThreads(__tstate
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
29564 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29565 PyObject
*resultobj
= 0;
29566 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29569 PyObject
*swig_obj
[1] ;
29571 if (!args
) SWIG_fail
;
29572 swig_obj
[0] = args
;
29573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
29574 if (!SWIG_IsOK(res1
)) {
29575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29577 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29582 wxPyEndAllowThreads(__tstate
);
29583 if (PyErr_Occurred()) SWIG_fail
;
29585 resultobj
= SWIG_Py_Void();
29592 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29593 PyObject
*resultobj
= 0;
29594 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29598 PyObject
*swig_obj
[1] ;
29600 if (!args
) SWIG_fail
;
29601 swig_obj
[0] = args
;
29602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29603 if (!SWIG_IsOK(res1
)) {
29604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29606 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= (int)(arg1
)->ShowModal();
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 resultobj
= SWIG_From_int(static_cast< int >(result
));
29620 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29621 PyObject
*resultobj
= 0;
29622 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29623 wxPrintDialogData
*result
= 0 ;
29626 PyObject
*swig_obj
[1] ;
29628 if (!args
) SWIG_fail
;
29629 swig_obj
[0] = args
;
29630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29631 if (!SWIG_IsOK(res1
)) {
29632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29634 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29638 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29639 result
= (wxPrintDialogData
*) &_result_ref
;
29641 wxPyEndAllowThreads(__tstate
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29651 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29652 PyObject
*resultobj
= 0;
29653 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29654 wxPrintData
*result
= 0 ;
29657 PyObject
*swig_obj
[1] ;
29659 if (!args
) SWIG_fail
;
29660 swig_obj
[0] = args
;
29661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29662 if (!SWIG_IsOK(res1
)) {
29663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29665 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
29670 result
= (wxPrintData
*) &_result_ref
;
29672 wxPyEndAllowThreads(__tstate
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
29682 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29683 PyObject
*resultobj
= 0;
29684 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
29688 PyObject
*swig_obj
[1] ;
29690 if (!args
) SWIG_fail
;
29691 swig_obj
[0] = args
;
29692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
29693 if (!SWIG_IsOK(res1
)) {
29694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29696 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 result
= (wxDC
*)(arg1
)->GetPrintDC();
29700 wxPyEndAllowThreads(__tstate
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29704 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
29712 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29715 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
29716 return SWIG_Py_Void();
29719 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29720 return SWIG_Python_InitShadowInstance(args
);
29723 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29724 PyObject
*resultobj
= 0;
29725 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
29726 wxPrinter
*result
= 0 ;
29729 PyObject
* obj0
= 0 ;
29730 char * kwnames
[] = {
29731 (char *) "data", NULL
29734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
29736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29737 if (!SWIG_IsOK(res1
)) {
29738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29740 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
29743 if (!wxPyCheckForApp()) SWIG_fail
;
29744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29745 result
= (wxPrinter
*)new wxPrinter(arg1
);
29746 wxPyEndAllowThreads(__tstate
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
29756 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29757 PyObject
*resultobj
= 0;
29758 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29761 PyObject
*swig_obj
[1] ;
29763 if (!args
) SWIG_fail
;
29764 swig_obj
[0] = args
;
29765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
29766 if (!SWIG_IsOK(res1
)) {
29767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
29769 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29777 resultobj
= SWIG_Py_Void();
29784 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29785 PyObject
*resultobj
= 0;
29786 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29787 wxWindow
*arg2
= (wxWindow
*) 0 ;
29788 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
29789 wxWindow
*result
= 0 ;
29796 PyObject
* obj0
= 0 ;
29797 PyObject
* obj1
= 0 ;
29798 PyObject
* obj2
= 0 ;
29799 char * kwnames
[] = {
29800 (char *) "self",(char *) "parent",(char *) "printout", NULL
29803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29805 if (!SWIG_IsOK(res1
)) {
29806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
29808 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29809 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29810 if (!SWIG_IsOK(res2
)) {
29811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
29813 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29814 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29815 if (!SWIG_IsOK(res3
)) {
29816 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29818 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
29822 wxPyEndAllowThreads(__tstate
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= wxPyMake_wxObject(result
, 0);
29834 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29835 PyObject
*resultobj
= 0;
29836 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29837 wxWindow
*arg2
= (wxWindow
*) 0 ;
29838 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
29839 wxString
*arg4
= 0 ;
29846 bool temp4
= false ;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 PyObject
* obj2
= 0 ;
29850 PyObject
* obj3
= 0 ;
29851 char * kwnames
[] = {
29852 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
29855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29857 if (!SWIG_IsOK(res1
)) {
29858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
29860 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29861 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29862 if (!SWIG_IsOK(res2
)) {
29863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
29865 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29866 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29867 if (!SWIG_IsOK(res3
)) {
29868 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29870 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
29872 arg4
= wxString_in_helper(obj3
);
29873 if (arg4
== NULL
) SWIG_fail
;
29877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29878 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
29879 wxPyEndAllowThreads(__tstate
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29882 resultobj
= SWIG_Py_Void();
29897 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29898 PyObject
*resultobj
= 0;
29899 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29900 wxWindow
*arg2
= (wxWindow
*) 0 ;
29906 PyObject
* obj0
= 0 ;
29907 PyObject
* obj1
= 0 ;
29908 char * kwnames
[] = {
29909 (char *) "self",(char *) "parent", NULL
29912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29914 if (!SWIG_IsOK(res1
)) {
29915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
29917 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29919 if (!SWIG_IsOK(res2
)) {
29920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
29922 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29925 result
= (bool)(arg1
)->Setup(arg2
);
29926 wxPyEndAllowThreads(__tstate
);
29927 if (PyErr_Occurred()) SWIG_fail
;
29930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29938 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29939 PyObject
*resultobj
= 0;
29940 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
29941 wxWindow
*arg2
= (wxWindow
*) 0 ;
29942 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
29943 bool arg4
= (bool) true ;
29953 PyObject
* obj0
= 0 ;
29954 PyObject
* obj1
= 0 ;
29955 PyObject
* obj2
= 0 ;
29956 PyObject
* obj3
= 0 ;
29957 char * kwnames
[] = {
29958 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
29961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
29963 if (!SWIG_IsOK(res1
)) {
29964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
29966 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
29967 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29968 if (!SWIG_IsOK(res2
)) {
29969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
29971 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29972 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29973 if (!SWIG_IsOK(res3
)) {
29974 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29976 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
29978 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
29979 if (!SWIG_IsOK(ecode4
)) {
29980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
29982 arg4
= static_cast< bool >(val4
);
29985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29986 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29999 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30000 PyObject
*resultobj
= 0;
30001 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30002 wxWindow
*arg2
= (wxWindow
*) 0 ;
30008 PyObject
* obj0
= 0 ;
30009 PyObject
* obj1
= 0 ;
30010 char * kwnames
[] = {
30011 (char *) "self",(char *) "parent", NULL
30014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30016 if (!SWIG_IsOK(res1
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
30019 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30020 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30021 if (!SWIG_IsOK(res2
)) {
30022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
30024 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30027 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
30028 wxPyEndAllowThreads(__tstate
);
30029 if (PyErr_Occurred()) SWIG_fail
;
30032 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30040 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30041 PyObject
*resultobj
= 0;
30042 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30043 wxPrintDialogData
*result
= 0 ;
30046 PyObject
*swig_obj
[1] ;
30048 if (!args
) SWIG_fail
;
30049 swig_obj
[0] = args
;
30050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30051 if (!SWIG_IsOK(res1
)) {
30052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
30054 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30058 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
30059 result
= (wxPrintDialogData
*) &_result_ref
;
30061 wxPyEndAllowThreads(__tstate
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30071 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30072 PyObject
*resultobj
= 0;
30073 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
30077 PyObject
*swig_obj
[1] ;
30079 if (!args
) SWIG_fail
;
30080 swig_obj
[0] = args
;
30081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
30082 if (!SWIG_IsOK(res1
)) {
30083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
30085 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
30087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30088 result
= (bool)(arg1
)->GetAbort();
30089 wxPyEndAllowThreads(__tstate
);
30090 if (PyErr_Occurred()) SWIG_fail
;
30093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30101 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30102 PyObject
*resultobj
= 0;
30103 wxPrinterError result
;
30105 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= (wxPrinterError
)wxPrinter::GetLastError();
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_From_int(static_cast< int >(result
));
30119 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30122 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
30123 return SWIG_Py_Void();
30126 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30127 return SWIG_Python_InitShadowInstance(args
);
30130 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30131 PyObject
*resultobj
= 0;
30132 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
30133 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
30134 wxPyPrintout
*result
= 0 ;
30135 bool temp1
= false ;
30136 PyObject
* obj0
= 0 ;
30137 char * kwnames
[] = {
30138 (char *) "title", NULL
30141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
30144 arg1
= wxString_in_helper(obj0
);
30145 if (arg1
== NULL
) SWIG_fail
;
30150 if (!wxPyCheckForApp()) SWIG_fail
;
30151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30152 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
30153 wxPyEndAllowThreads(__tstate
);
30154 if (PyErr_Occurred()) SWIG_fail
;
30156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
30171 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30172 PyObject
*resultobj
= 0;
30173 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30176 PyObject
*swig_obj
[1] ;
30178 if (!args
) SWIG_fail
;
30179 swig_obj
[0] = args
;
30180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30181 if (!SWIG_IsOK(res1
)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30184 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30192 resultobj
= SWIG_Py_Void();
30199 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
= 0;
30201 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30202 PyObject
*arg2
= (PyObject
*) 0 ;
30203 PyObject
*arg3
= (PyObject
*) 0 ;
30206 PyObject
* obj0
= 0 ;
30207 PyObject
* obj1
= 0 ;
30208 PyObject
* obj2
= 0 ;
30209 char * kwnames
[] = {
30210 (char *) "self",(char *) "self",(char *) "_class", NULL
30213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30215 if (!SWIG_IsOK(res1
)) {
30216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30218 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30223 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30227 resultobj
= SWIG_Py_Void();
30234 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30235 PyObject
*resultobj
= 0;
30236 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30240 PyObject
*swig_obj
[1] ;
30242 if (!args
) SWIG_fail
;
30243 swig_obj
[0] = args
;
30244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30245 if (!SWIG_IsOK(res1
)) {
30246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30248 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30251 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30268 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30269 PyObject
*resultobj
= 0;
30270 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30274 PyObject
*swig_obj
[1] ;
30276 if (!args
) SWIG_fail
;
30277 swig_obj
[0] = args
;
30278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30279 if (!SWIG_IsOK(res1
)) {
30280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30282 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 result
= (wxDC
*)(arg1
)->GetDC();
30286 wxPyEndAllowThreads(__tstate
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30298 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30299 PyObject
*resultobj
= 0;
30300 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30301 wxDC
*arg2
= (wxDC
*) 0 ;
30306 PyObject
* obj0
= 0 ;
30307 PyObject
* obj1
= 0 ;
30308 char * kwnames
[] = {
30309 (char *) "self",(char *) "dc", NULL
30312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30314 if (!SWIG_IsOK(res1
)) {
30315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30317 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30318 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
30319 if (!SWIG_IsOK(res2
)) {
30320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
30322 arg2
= reinterpret_cast< wxDC
* >(argp2
);
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 (arg1
)->SetDC(arg2
);
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30329 resultobj
= SWIG_Py_Void();
30336 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30337 PyObject
*resultobj
= 0;
30338 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30343 PyObject
* obj0
= 0 ;
30344 PyObject
* obj1
= 0 ;
30345 char * kwnames
[] = {
30346 (char *) "self",(char *) "imageSize", NULL
30349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30351 if (!SWIG_IsOK(res1
)) {
30352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30354 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30357 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30365 resultobj
= SWIG_Py_Void();
30372 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30373 PyObject
*resultobj
= 0;
30374 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30379 PyObject
* obj0
= 0 ;
30380 PyObject
* obj1
= 0 ;
30381 char * kwnames
[] = {
30382 (char *) "self",(char *) "imageSize", NULL
30385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30387 if (!SWIG_IsOK(res1
)) {
30388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30390 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30393 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30401 resultobj
= SWIG_Py_Void();
30408 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30409 PyObject
*resultobj
= 0;
30410 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30412 wxPageSetupDialogData
*arg3
= 0 ;
30418 PyObject
* obj0
= 0 ;
30419 PyObject
* obj1
= 0 ;
30420 PyObject
* obj2
= 0 ;
30421 char * kwnames
[] = {
30422 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
30425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30427 if (!SWIG_IsOK(res1
)) {
30428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30430 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30433 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30435 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30436 if (!SWIG_IsOK(res3
)) {
30437 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30442 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
30444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30445 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
30446 wxPyEndAllowThreads(__tstate
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30449 resultobj
= SWIG_Py_Void();
30456 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30457 PyObject
*resultobj
= 0;
30458 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30461 PyObject
*swig_obj
[1] ;
30463 if (!args
) SWIG_fail
;
30464 swig_obj
[0] = args
;
30465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30466 if (!SWIG_IsOK(res1
)) {
30467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30469 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 (arg1
)->MapScreenSizeToPaper();
30473 wxPyEndAllowThreads(__tstate
);
30474 if (PyErr_Occurred()) SWIG_fail
;
30476 resultobj
= SWIG_Py_Void();
30483 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30484 PyObject
*resultobj
= 0;
30485 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30488 PyObject
*swig_obj
[1] ;
30490 if (!args
) SWIG_fail
;
30491 swig_obj
[0] = args
;
30492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30493 if (!SWIG_IsOK(res1
)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30496 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 (arg1
)->MapScreenSizeToPage();
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_Py_Void();
30510 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
= 0;
30512 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30513 wxPageSetupDialogData
*arg2
= 0 ;
30518 PyObject
* obj0
= 0 ;
30519 PyObject
* obj1
= 0 ;
30520 char * kwnames
[] = {
30521 (char *) "self",(char *) "pageSetupData", NULL
30524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30526 if (!SWIG_IsOK(res1
)) {
30527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30529 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30531 if (!SWIG_IsOK(res2
)) {
30532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30537 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
30539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30540 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30544 resultobj
= SWIG_Py_Void();
30551 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30552 PyObject
*resultobj
= 0;
30553 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30556 PyObject
*swig_obj
[1] ;
30558 if (!args
) SWIG_fail
;
30559 swig_obj
[0] = args
;
30560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30561 if (!SWIG_IsOK(res1
)) {
30562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30564 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30567 (arg1
)->MapScreenSizeToDevice();
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30571 resultobj
= SWIG_Py_Void();
30578 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30579 PyObject
*resultobj
= 0;
30580 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30584 PyObject
*swig_obj
[1] ;
30586 if (!args
) SWIG_fail
;
30587 swig_obj
[0] = args
;
30588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30589 if (!SWIG_IsOK(res1
)) {
30590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30592 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30606 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30607 PyObject
*resultobj
= 0;
30608 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30612 PyObject
*swig_obj
[1] ;
30614 if (!args
) SWIG_fail
;
30615 swig_obj
[0] = args
;
30616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30617 if (!SWIG_IsOK(res1
)) {
30618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30620 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30623 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
30624 wxPyEndAllowThreads(__tstate
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30627 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30634 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
= 0;
30636 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30637 wxPageSetupDialogData
*arg2
= 0 ;
30643 PyObject
* obj0
= 0 ;
30644 PyObject
* obj1
= 0 ;
30645 char * kwnames
[] = {
30646 (char *) "self",(char *) "pageSetupData", NULL
30649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30651 if (!SWIG_IsOK(res1
)) {
30652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30654 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
30656 if (!SWIG_IsOK(res2
)) {
30657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30662 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30669 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30676 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
= 0;
30678 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30687 PyObject
* obj0
= 0 ;
30688 PyObject
* obj1
= 0 ;
30689 PyObject
* obj2
= 0 ;
30690 char * kwnames
[] = {
30691 (char *) "self",(char *) "x",(char *) "y", NULL
30694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30696 if (!SWIG_IsOK(res1
)) {
30697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30699 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30701 if (!SWIG_IsOK(ecode2
)) {
30702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30704 arg2
= static_cast< int >(val2
);
30705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30706 if (!SWIG_IsOK(ecode3
)) {
30707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30709 arg3
= static_cast< int >(val3
);
30711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30712 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= SWIG_Py_Void();
30723 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30724 PyObject
*resultobj
= 0;
30725 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30734 PyObject
* obj0
= 0 ;
30735 PyObject
* obj1
= 0 ;
30736 PyObject
* obj2
= 0 ;
30737 char * kwnames
[] = {
30738 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
30741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30743 if (!SWIG_IsOK(res1
)) {
30744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30746 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30748 if (!SWIG_IsOK(ecode2
)) {
30749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30751 arg2
= static_cast< int >(val2
);
30752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30753 if (!SWIG_IsOK(ecode3
)) {
30754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30756 arg3
= static_cast< int >(val3
);
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
30760 wxPyEndAllowThreads(__tstate
);
30761 if (PyErr_Occurred()) SWIG_fail
;
30763 resultobj
= SWIG_Py_Void();
30770 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30771 PyObject
*resultobj
= 0;
30772 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30781 PyObject
* obj0
= 0 ;
30782 PyObject
* obj1
= 0 ;
30783 PyObject
* obj2
= 0 ;
30784 char * kwnames
[] = {
30785 (char *) "self",(char *) "w",(char *) "h", NULL
30788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30790 if (!SWIG_IsOK(res1
)) {
30791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30793 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30795 if (!SWIG_IsOK(ecode2
)) {
30796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
30798 arg2
= static_cast< int >(val2
);
30799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30800 if (!SWIG_IsOK(ecode3
)) {
30801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
30803 arg3
= static_cast< int >(val3
);
30805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30806 (arg1
)->SetPageSizePixels(arg2
,arg3
);
30807 wxPyEndAllowThreads(__tstate
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30810 resultobj
= SWIG_Py_Void();
30817 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30818 PyObject
*resultobj
= 0;
30819 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30820 int *arg2
= (int *) 0 ;
30821 int *arg3
= (int *) 0 ;
30825 int res2
= SWIG_TMPOBJ
;
30827 int res3
= SWIG_TMPOBJ
;
30828 PyObject
*swig_obj
[1] ;
30832 if (!args
) SWIG_fail
;
30833 swig_obj
[0] = args
;
30834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30835 if (!SWIG_IsOK(res1
)) {
30836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30838 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30841 (arg1
)->GetPageSizePixels(arg2
,arg3
);
30842 wxPyEndAllowThreads(__tstate
);
30843 if (PyErr_Occurred()) SWIG_fail
;
30845 resultobj
= SWIG_Py_Void();
30846 if (SWIG_IsTmpObj(res2
)) {
30847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30849 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30852 if (SWIG_IsTmpObj(res3
)) {
30853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30855 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30864 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30865 PyObject
*resultobj
= 0;
30866 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30875 PyObject
* obj0
= 0 ;
30876 PyObject
* obj1
= 0 ;
30877 PyObject
* obj2
= 0 ;
30878 char * kwnames
[] = {
30879 (char *) "self",(char *) "w",(char *) "h", NULL
30882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30884 if (!SWIG_IsOK(res1
)) {
30885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30887 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30889 if (!SWIG_IsOK(ecode2
)) {
30890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
30892 arg2
= static_cast< int >(val2
);
30893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30894 if (!SWIG_IsOK(ecode3
)) {
30895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
30897 arg3
= static_cast< int >(val3
);
30899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30900 (arg1
)->SetPageSizeMM(arg2
,arg3
);
30901 wxPyEndAllowThreads(__tstate
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30904 resultobj
= SWIG_Py_Void();
30911 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30912 PyObject
*resultobj
= 0;
30913 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30914 int *arg2
= (int *) 0 ;
30915 int *arg3
= (int *) 0 ;
30919 int res2
= SWIG_TMPOBJ
;
30921 int res3
= SWIG_TMPOBJ
;
30922 PyObject
*swig_obj
[1] ;
30926 if (!args
) SWIG_fail
;
30927 swig_obj
[0] = args
;
30928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30929 if (!SWIG_IsOK(res1
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30932 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 (arg1
)->GetPageSizeMM(arg2
,arg3
);
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= SWIG_Py_Void();
30940 if (SWIG_IsTmpObj(res2
)) {
30941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30943 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30946 if (SWIG_IsTmpObj(res3
)) {
30947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30949 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30958 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30959 PyObject
*resultobj
= 0;
30960 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30969 PyObject
* obj0
= 0 ;
30970 PyObject
* obj1
= 0 ;
30971 PyObject
* obj2
= 0 ;
30972 char * kwnames
[] = {
30973 (char *) "self",(char *) "x",(char *) "y", NULL
30976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
30978 if (!SWIG_IsOK(res1
)) {
30979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30981 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
30982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30983 if (!SWIG_IsOK(ecode2
)) {
30984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
30986 arg2
= static_cast< int >(val2
);
30987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30988 if (!SWIG_IsOK(ecode3
)) {
30989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
30991 arg3
= static_cast< int >(val3
);
30993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30994 (arg1
)->SetPPIScreen(arg2
,arg3
);
30995 wxPyEndAllowThreads(__tstate
);
30996 if (PyErr_Occurred()) SWIG_fail
;
30998 resultobj
= SWIG_Py_Void();
31005 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31006 PyObject
*resultobj
= 0;
31007 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31008 int *arg2
= (int *) 0 ;
31009 int *arg3
= (int *) 0 ;
31013 int res2
= SWIG_TMPOBJ
;
31015 int res3
= SWIG_TMPOBJ
;
31016 PyObject
*swig_obj
[1] ;
31020 if (!args
) SWIG_fail
;
31021 swig_obj
[0] = args
;
31022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31023 if (!SWIG_IsOK(res1
)) {
31024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31026 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31029 (arg1
)->GetPPIScreen(arg2
,arg3
);
31030 wxPyEndAllowThreads(__tstate
);
31031 if (PyErr_Occurred()) SWIG_fail
;
31033 resultobj
= SWIG_Py_Void();
31034 if (SWIG_IsTmpObj(res2
)) {
31035 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31037 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31040 if (SWIG_IsTmpObj(res3
)) {
31041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31043 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31052 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31053 PyObject
*resultobj
= 0;
31054 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31063 PyObject
* obj0
= 0 ;
31064 PyObject
* obj1
= 0 ;
31065 PyObject
* obj2
= 0 ;
31066 char * kwnames
[] = {
31067 (char *) "self",(char *) "x",(char *) "y", NULL
31070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31072 if (!SWIG_IsOK(res1
)) {
31073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31075 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31077 if (!SWIG_IsOK(ecode2
)) {
31078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
31080 arg2
= static_cast< int >(val2
);
31081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31082 if (!SWIG_IsOK(ecode3
)) {
31083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
31085 arg3
= static_cast< int >(val3
);
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 (arg1
)->SetPPIPrinter(arg2
,arg3
);
31089 wxPyEndAllowThreads(__tstate
);
31090 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= SWIG_Py_Void();
31099 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31100 PyObject
*resultobj
= 0;
31101 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31102 int *arg2
= (int *) 0 ;
31103 int *arg3
= (int *) 0 ;
31107 int res2
= SWIG_TMPOBJ
;
31109 int res3
= SWIG_TMPOBJ
;
31110 PyObject
*swig_obj
[1] ;
31114 if (!args
) SWIG_fail
;
31115 swig_obj
[0] = args
;
31116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31117 if (!SWIG_IsOK(res1
)) {
31118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31120 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31123 (arg1
)->GetPPIPrinter(arg2
,arg3
);
31124 wxPyEndAllowThreads(__tstate
);
31125 if (PyErr_Occurred()) SWIG_fail
;
31127 resultobj
= SWIG_Py_Void();
31128 if (SWIG_IsTmpObj(res2
)) {
31129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31131 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31134 if (SWIG_IsTmpObj(res3
)) {
31135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31137 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31146 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
= 0;
31148 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31153 PyObject
* obj0
= 0 ;
31154 PyObject
* obj1
= 0 ;
31155 char * kwnames
[] = {
31156 (char *) "self",(char *) "paperRectPixels", NULL
31159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31161 if (!SWIG_IsOK(res1
)) {
31162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31164 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31167 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
31170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
31172 wxPyEndAllowThreads(__tstate
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31175 resultobj
= SWIG_Py_Void();
31182 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31183 PyObject
*resultobj
= 0;
31184 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31188 PyObject
*swig_obj
[1] ;
31190 if (!args
) SWIG_fail
;
31191 swig_obj
[0] = args
;
31192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31193 if (!SWIG_IsOK(res1
)) {
31194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
31196 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
31200 wxPyEndAllowThreads(__tstate
);
31201 if (PyErr_Occurred()) SWIG_fail
;
31203 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31210 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31211 PyObject
*resultobj
= 0;
31212 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31216 PyObject
*swig_obj
[1] ;
31218 if (!args
) SWIG_fail
;
31219 swig_obj
[0] = args
;
31220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31221 if (!SWIG_IsOK(res1
)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31224 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31227 result
= (bool)(arg1
)->IsPreview();
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31240 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31241 PyObject
*resultobj
= 0;
31242 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31248 PyObject
* obj0
= 0 ;
31249 PyObject
* obj1
= 0 ;
31250 char * kwnames
[] = {
31251 (char *) "self",(char *) "p", NULL
31254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31256 if (!SWIG_IsOK(res1
)) {
31257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31259 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31260 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31261 if (!SWIG_IsOK(ecode2
)) {
31262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
31264 arg2
= static_cast< bool >(val2
);
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31267 (arg1
)->SetIsPreview(arg2
);
31268 wxPyEndAllowThreads(__tstate
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31271 resultobj
= SWIG_Py_Void();
31278 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31279 PyObject
*resultobj
= 0;
31280 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31290 PyObject
* obj0
= 0 ;
31291 PyObject
* obj1
= 0 ;
31292 PyObject
* obj2
= 0 ;
31293 char * kwnames
[] = {
31294 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
31297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31299 if (!SWIG_IsOK(res1
)) {
31300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31302 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31304 if (!SWIG_IsOK(ecode2
)) {
31305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
31307 arg2
= static_cast< int >(val2
);
31308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31309 if (!SWIG_IsOK(ecode3
)) {
31310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
31312 arg3
= static_cast< int >(val3
);
31314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31315 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
31316 wxPyEndAllowThreads(__tstate
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31328 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31329 PyObject
*resultobj
= 0;
31330 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31333 PyObject
*swig_obj
[1] ;
31335 if (!args
) SWIG_fail
;
31336 swig_obj
[0] = args
;
31337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31338 if (!SWIG_IsOK(res1
)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31341 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 (arg1
)->OnEndDocument();
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31348 resultobj
= SWIG_Py_Void();
31355 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31356 PyObject
*resultobj
= 0;
31357 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31360 PyObject
*swig_obj
[1] ;
31362 if (!args
) SWIG_fail
;
31363 swig_obj
[0] = args
;
31364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31365 if (!SWIG_IsOK(res1
)) {
31366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31368 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 (arg1
)->OnBeginPrinting();
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31375 resultobj
= SWIG_Py_Void();
31382 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31383 PyObject
*resultobj
= 0;
31384 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31387 PyObject
*swig_obj
[1] ;
31389 if (!args
) SWIG_fail
;
31390 swig_obj
[0] = args
;
31391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31392 if (!SWIG_IsOK(res1
)) {
31393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31395 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 (arg1
)->OnEndPrinting();
31399 wxPyEndAllowThreads(__tstate
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= SWIG_Py_Void();
31409 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31410 PyObject
*resultobj
= 0;
31411 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31414 PyObject
*swig_obj
[1] ;
31416 if (!args
) SWIG_fail
;
31417 swig_obj
[0] = args
;
31418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31419 if (!SWIG_IsOK(res1
)) {
31420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31422 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31425 (arg1
)->OnPreparePrinting();
31426 wxPyEndAllowThreads(__tstate
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31429 resultobj
= SWIG_Py_Void();
31436 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31437 PyObject
*resultobj
= 0;
31438 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31445 PyObject
* obj0
= 0 ;
31446 PyObject
* obj1
= 0 ;
31447 char * kwnames
[] = {
31448 (char *) "self",(char *) "page", NULL
31451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31453 if (!SWIG_IsOK(res1
)) {
31454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31456 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31458 if (!SWIG_IsOK(ecode2
)) {
31459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
31461 arg2
= static_cast< int >(val2
);
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31464 result
= (bool)(arg1
)->HasPage(arg2
);
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31477 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31478 PyObject
*resultobj
= 0;
31479 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31480 int *arg2
= (int *) 0 ;
31481 int *arg3
= (int *) 0 ;
31482 int *arg4
= (int *) 0 ;
31483 int *arg5
= (int *) 0 ;
31487 int res2
= SWIG_TMPOBJ
;
31489 int res3
= SWIG_TMPOBJ
;
31491 int res4
= SWIG_TMPOBJ
;
31493 int res5
= SWIG_TMPOBJ
;
31494 PyObject
*swig_obj
[1] ;
31500 if (!args
) SWIG_fail
;
31501 swig_obj
[0] = args
;
31502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
31503 if (!SWIG_IsOK(res1
)) {
31504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31506 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
31510 wxPyEndAllowThreads(__tstate
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= SWIG_Py_Void();
31514 if (SWIG_IsTmpObj(res2
)) {
31515 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31517 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31518 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31520 if (SWIG_IsTmpObj(res3
)) {
31521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31523 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31524 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31526 if (SWIG_IsTmpObj(res4
)) {
31527 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31529 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31530 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31532 if (SWIG_IsTmpObj(res5
)) {
31533 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
31535 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31536 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
31544 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31547 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
31548 return SWIG_Py_Void();
31551 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31552 return SWIG_Python_InitShadowInstance(args
);
31555 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31556 PyObject
*resultobj
= 0;
31557 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31558 wxWindow
*arg2
= (wxWindow
*) 0 ;
31559 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31560 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31561 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31562 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31563 long arg5
= (long) 0 ;
31564 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
31565 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
31566 wxPreviewCanvas
*result
= 0 ;
31575 bool temp6
= false ;
31576 PyObject
* obj0
= 0 ;
31577 PyObject
* obj1
= 0 ;
31578 PyObject
* obj2
= 0 ;
31579 PyObject
* obj3
= 0 ;
31580 PyObject
* obj4
= 0 ;
31581 PyObject
* obj5
= 0 ;
31582 char * kwnames
[] = {
31583 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
31587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31588 if (!SWIG_IsOK(res1
)) {
31589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31591 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31593 if (!SWIG_IsOK(res2
)) {
31594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
31596 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31610 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31611 if (!SWIG_IsOK(ecode5
)) {
31612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
31614 arg5
= static_cast< long >(val5
);
31618 arg6
= wxString_in_helper(obj5
);
31619 if (arg6
== NULL
) SWIG_fail
;
31624 if (!wxPyCheckForApp()) SWIG_fail
;
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
31645 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31648 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
31649 return SWIG_Py_Void();
31652 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31653 return SWIG_Python_InitShadowInstance(args
);
31656 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31657 PyObject
*resultobj
= 0;
31658 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31659 wxFrame
*arg2
= (wxFrame
*) 0 ;
31660 wxString
*arg3
= 0 ;
31661 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31662 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31663 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31664 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31665 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31666 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31667 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31668 wxPreviewFrame
*result
= 0 ;
31672 bool temp3
= false ;
31677 bool temp7
= false ;
31678 PyObject
* obj0
= 0 ;
31679 PyObject
* obj1
= 0 ;
31680 PyObject
* obj2
= 0 ;
31681 PyObject
* obj3
= 0 ;
31682 PyObject
* obj4
= 0 ;
31683 PyObject
* obj5
= 0 ;
31684 PyObject
* obj6
= 0 ;
31685 char * kwnames
[] = {
31686 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31690 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31691 if (!SWIG_IsOK(res1
)) {
31692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31695 if (!SWIG_IsOK(res2
)) {
31696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31698 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31700 arg3
= wxString_in_helper(obj2
);
31701 if (arg3
== NULL
) SWIG_fail
;
31707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31717 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31718 if (!SWIG_IsOK(ecode6
)) {
31719 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
31721 arg6
= static_cast< long >(val6
);
31725 arg7
= wxString_in_helper(obj6
);
31726 if (arg7
== NULL
) SWIG_fail
;
31731 if (!wxPyCheckForApp()) SWIG_fail
;
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31734 wxPyEndAllowThreads(__tstate
);
31735 if (PyErr_Occurred()) SWIG_fail
;
31737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31760 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31761 PyObject
*resultobj
= 0;
31762 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31765 PyObject
*swig_obj
[1] ;
31767 if (!args
) SWIG_fail
;
31768 swig_obj
[0] = args
;
31769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31770 if (!SWIG_IsOK(res1
)) {
31771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31773 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31776 (arg1
)->Initialize();
31777 wxPyEndAllowThreads(__tstate
);
31778 if (PyErr_Occurred()) SWIG_fail
;
31780 resultobj
= SWIG_Py_Void();
31787 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31788 PyObject
*resultobj
= 0;
31789 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31792 PyObject
*swig_obj
[1] ;
31794 if (!args
) SWIG_fail
;
31795 swig_obj
[0] = args
;
31796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31797 if (!SWIG_IsOK(res1
)) {
31798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31800 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31803 (arg1
)->CreateControlBar();
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31807 resultobj
= SWIG_Py_Void();
31814 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31815 PyObject
*resultobj
= 0;
31816 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31819 PyObject
*swig_obj
[1] ;
31821 if (!args
) SWIG_fail
;
31822 swig_obj
[0] = args
;
31823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31824 if (!SWIG_IsOK(res1
)) {
31825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31827 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31830 (arg1
)->CreateCanvas();
31831 wxPyEndAllowThreads(__tstate
);
31832 if (PyErr_Occurred()) SWIG_fail
;
31834 resultobj
= SWIG_Py_Void();
31841 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31842 PyObject
*resultobj
= 0;
31843 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
31844 wxPreviewControlBar
*result
= 0 ;
31847 PyObject
*swig_obj
[1] ;
31849 if (!args
) SWIG_fail
;
31850 swig_obj
[0] = args
;
31851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
31852 if (!SWIG_IsOK(res1
)) {
31853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
31855 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
31857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31858 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31869 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31872 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
31873 return SWIG_Py_Void();
31876 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31877 return SWIG_Python_InitShadowInstance(args
);
31880 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31881 PyObject
*resultobj
= 0;
31882 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31884 wxWindow
*arg3
= (wxWindow
*) 0 ;
31885 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31886 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31887 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31888 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31889 long arg6
= (long) wxTAB_TRAVERSAL
;
31890 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31891 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31892 wxPreviewControlBar
*result
= 0 ;
31903 bool temp7
= false ;
31904 PyObject
* obj0
= 0 ;
31905 PyObject
* obj1
= 0 ;
31906 PyObject
* obj2
= 0 ;
31907 PyObject
* obj3
= 0 ;
31908 PyObject
* obj4
= 0 ;
31909 PyObject
* obj5
= 0 ;
31910 PyObject
* obj6
= 0 ;
31911 char * kwnames
[] = {
31912 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31917 if (!SWIG_IsOK(res1
)) {
31918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31920 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31921 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31922 if (!SWIG_IsOK(ecode2
)) {
31923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31925 arg2
= static_cast< long >(val2
);
31926 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31927 if (!SWIG_IsOK(res3
)) {
31928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31930 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31934 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31940 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31944 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31945 if (!SWIG_IsOK(ecode6
)) {
31946 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31948 arg6
= static_cast< long >(val6
);
31952 arg7
= wxString_in_helper(obj6
);
31953 if (arg7
== NULL
) SWIG_fail
;
31958 if (!wxPyCheckForApp()) SWIG_fail
;
31959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31961 wxPyEndAllowThreads(__tstate
);
31962 if (PyErr_Occurred()) SWIG_fail
;
31964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31979 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31980 PyObject
*resultobj
= 0;
31981 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
31985 PyObject
*swig_obj
[1] ;
31987 if (!args
) SWIG_fail
;
31988 swig_obj
[0] = args
;
31989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31990 if (!SWIG_IsOK(res1
)) {
31991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31993 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 result
= (int)(arg1
)->GetZoomControl();
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 resultobj
= SWIG_From_int(static_cast< int >(result
));
32007 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32008 PyObject
*resultobj
= 0;
32009 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32015 PyObject
* obj0
= 0 ;
32016 PyObject
* obj1
= 0 ;
32017 char * kwnames
[] = {
32018 (char *) "self",(char *) "zoom", NULL
32021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32023 if (!SWIG_IsOK(res1
)) {
32024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32026 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32028 if (!SWIG_IsOK(ecode2
)) {
32029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
32031 arg2
= static_cast< int >(val2
);
32033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32034 (arg1
)->SetZoomControl(arg2
);
32035 wxPyEndAllowThreads(__tstate
);
32036 if (PyErr_Occurred()) SWIG_fail
;
32038 resultobj
= SWIG_Py_Void();
32045 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32046 PyObject
*resultobj
= 0;
32047 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32048 wxPrintPreview
*result
= 0 ;
32051 PyObject
*swig_obj
[1] ;
32053 if (!args
) SWIG_fail
;
32054 swig_obj
[0] = args
;
32055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32056 if (!SWIG_IsOK(res1
)) {
32057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32059 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32062 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
32063 wxPyEndAllowThreads(__tstate
);
32064 if (PyErr_Occurred()) SWIG_fail
;
32066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32073 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32074 PyObject
*resultobj
= 0;
32075 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32078 PyObject
*swig_obj
[1] ;
32080 if (!args
) SWIG_fail
;
32081 swig_obj
[0] = args
;
32082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32083 if (!SWIG_IsOK(res1
)) {
32084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32086 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32090 wxPyEndAllowThreads(__tstate
);
32091 if (PyErr_Occurred()) SWIG_fail
;
32093 resultobj
= SWIG_Py_Void();
32100 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32101 PyObject
*resultobj
= 0;
32102 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32105 PyObject
*swig_obj
[1] ;
32107 if (!args
) SWIG_fail
;
32108 swig_obj
[0] = args
;
32109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32110 if (!SWIG_IsOK(res1
)) {
32111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32113 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 (arg1
)->OnPrevious();
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32120 resultobj
= SWIG_Py_Void();
32127 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32128 PyObject
*resultobj
= 0;
32129 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32132 PyObject
*swig_obj
[1] ;
32134 if (!args
) SWIG_fail
;
32135 swig_obj
[0] = args
;
32136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32137 if (!SWIG_IsOK(res1
)) {
32138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32140 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32144 wxPyEndAllowThreads(__tstate
);
32145 if (PyErr_Occurred()) SWIG_fail
;
32147 resultobj
= SWIG_Py_Void();
32154 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32155 PyObject
*resultobj
= 0;
32156 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32159 PyObject
*swig_obj
[1] ;
32161 if (!args
) SWIG_fail
;
32162 swig_obj
[0] = args
;
32163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32164 if (!SWIG_IsOK(res1
)) {
32165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32167 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32171 wxPyEndAllowThreads(__tstate
);
32172 if (PyErr_Occurred()) SWIG_fail
;
32174 resultobj
= SWIG_Py_Void();
32181 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32182 PyObject
*resultobj
= 0;
32183 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
32186 PyObject
*swig_obj
[1] ;
32188 if (!args
) SWIG_fail
;
32189 swig_obj
[0] = args
;
32190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
32191 if (!SWIG_IsOK(res1
)) {
32192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32194 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
32196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32198 wxPyEndAllowThreads(__tstate
);
32199 if (PyErr_Occurred()) SWIG_fail
;
32201 resultobj
= SWIG_Py_Void();
32208 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32211 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
32212 return SWIG_Py_Void();
32215 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32216 return SWIG_Python_InitShadowInstance(args
);
32219 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32220 PyObject
*resultobj
= 0;
32221 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
32222 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32223 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
32224 wxPrintPreview
*result
= 0 ;
32230 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32231 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32232 if (!SWIG_IsOK(res1
)) {
32233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32235 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32236 if (!SWIG_IsOK(res2
)) {
32237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32240 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
32241 if (!SWIG_IsOK(res3
)) {
32242 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
32244 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
32247 if (!wxPyCheckForApp()) SWIG_fail
;
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
32250 wxPyEndAllowThreads(__tstate
);
32251 if (PyErr_Occurred()) SWIG_fail
;
32253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
32260 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32261 PyObject
*resultobj
= 0;
32262 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
32263 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32264 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
32265 wxPrintPreview
*result
= 0 ;
32271 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
32272 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32273 if (!SWIG_IsOK(res1
)) {
32274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32276 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32277 if (!SWIG_IsOK(res2
)) {
32278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32280 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
32281 if (!SWIG_IsOK(res3
)) {
32282 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
32284 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
32286 if (!wxPyCheckForApp()) SWIG_fail
;
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
32289 wxPyEndAllowThreads(__tstate
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
32299 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
32303 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
32305 if ((argc
>= 2) && (argc
<= 3)) {
32310 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
32311 _v
= SWIG_CheckState(res
);
32313 if (!_v
) goto check_1
;
32315 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
32320 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
32324 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
32329 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32330 PyObject
*resultobj
= 0;
32331 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32334 PyObject
*swig_obj
[1] ;
32336 if (!args
) SWIG_fail
;
32337 swig_obj
[0] = args
;
32338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
32339 if (!SWIG_IsOK(res1
)) {
32340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32342 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32347 wxPyEndAllowThreads(__tstate
);
32348 if (PyErr_Occurred()) SWIG_fail
;
32350 resultobj
= SWIG_Py_Void();
32357 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32358 PyObject
*resultobj
= 0;
32359 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32366 PyObject
* obj0
= 0 ;
32367 PyObject
* obj1
= 0 ;
32368 char * kwnames
[] = {
32369 (char *) "self",(char *) "pageNum", NULL
32372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32374 if (!SWIG_IsOK(res1
)) {
32375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32377 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32379 if (!SWIG_IsOK(ecode2
)) {
32380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
32382 arg2
= static_cast< int >(val2
);
32384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32385 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
32386 wxPyEndAllowThreads(__tstate
);
32387 if (PyErr_Occurred()) SWIG_fail
;
32390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32398 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32399 PyObject
*resultobj
= 0;
32400 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32404 PyObject
*swig_obj
[1] ;
32406 if (!args
) SWIG_fail
;
32407 swig_obj
[0] = args
;
32408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32409 if (!SWIG_IsOK(res1
)) {
32410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32412 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32415 result
= (int)(arg1
)->GetCurrentPage();
32416 wxPyEndAllowThreads(__tstate
);
32417 if (PyErr_Occurred()) SWIG_fail
;
32419 resultobj
= SWIG_From_int(static_cast< int >(result
));
32426 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32427 PyObject
*resultobj
= 0;
32428 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32429 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
32433 PyObject
* obj0
= 0 ;
32434 PyObject
* obj1
= 0 ;
32435 char * kwnames
[] = {
32436 (char *) "self",(char *) "printout", NULL
32439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32441 if (!SWIG_IsOK(res1
)) {
32442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32444 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32445 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
32446 if (!SWIG_IsOK(res2
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32451 (arg1
)->SetPrintout(arg2
);
32452 wxPyEndAllowThreads(__tstate
);
32453 if (PyErr_Occurred()) SWIG_fail
;
32455 resultobj
= SWIG_Py_Void();
32462 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32463 PyObject
*resultobj
= 0;
32464 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32465 wxPyPrintout
*result
= 0 ;
32468 PyObject
*swig_obj
[1] ;
32470 if (!args
) SWIG_fail
;
32471 swig_obj
[0] = args
;
32472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32473 if (!SWIG_IsOK(res1
)) {
32474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32476 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
32480 wxPyEndAllowThreads(__tstate
);
32481 if (PyErr_Occurred()) SWIG_fail
;
32484 resultobj
= wxPyMake_wxObject(result
, 0);
32492 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32493 PyObject
*resultobj
= 0;
32494 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32495 wxPyPrintout
*result
= 0 ;
32498 PyObject
*swig_obj
[1] ;
32500 if (!args
) SWIG_fail
;
32501 swig_obj
[0] = args
;
32502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32503 if (!SWIG_IsOK(res1
)) {
32504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32506 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32509 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32514 resultobj
= wxPyMake_wxObject(result
, 0);
32522 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32523 PyObject
*resultobj
= 0;
32524 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32525 wxFrame
*arg2
= (wxFrame
*) 0 ;
32530 PyObject
* obj0
= 0 ;
32531 PyObject
* obj1
= 0 ;
32532 char * kwnames
[] = {
32533 (char *) "self",(char *) "frame", NULL
32536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32538 if (!SWIG_IsOK(res1
)) {
32539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32541 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32542 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
32543 if (!SWIG_IsOK(res2
)) {
32544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
32546 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
32548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32549 (arg1
)->SetFrame(arg2
);
32550 wxPyEndAllowThreads(__tstate
);
32551 if (PyErr_Occurred()) SWIG_fail
;
32553 resultobj
= SWIG_Py_Void();
32560 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32561 PyObject
*resultobj
= 0;
32562 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32563 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32568 PyObject
* obj0
= 0 ;
32569 PyObject
* obj1
= 0 ;
32570 char * kwnames
[] = {
32571 (char *) "self",(char *) "canvas", NULL
32574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32576 if (!SWIG_IsOK(res1
)) {
32577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32579 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32580 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32581 if (!SWIG_IsOK(res2
)) {
32582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32584 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32587 (arg1
)->SetCanvas(arg2
);
32588 wxPyEndAllowThreads(__tstate
);
32589 if (PyErr_Occurred()) SWIG_fail
;
32591 resultobj
= SWIG_Py_Void();
32598 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32599 PyObject
*resultobj
= 0;
32600 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32601 wxFrame
*result
= 0 ;
32604 PyObject
*swig_obj
[1] ;
32606 if (!args
) SWIG_fail
;
32607 swig_obj
[0] = args
;
32608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32609 if (!SWIG_IsOK(res1
)) {
32610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32612 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32615 result
= (wxFrame
*)(arg1
)->GetFrame();
32616 wxPyEndAllowThreads(__tstate
);
32617 if (PyErr_Occurred()) SWIG_fail
;
32620 resultobj
= wxPyMake_wxObject(result
, 0);
32628 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32629 PyObject
*resultobj
= 0;
32630 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32631 wxPreviewCanvas
*result
= 0 ;
32634 PyObject
*swig_obj
[1] ;
32636 if (!args
) SWIG_fail
;
32637 swig_obj
[0] = args
;
32638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32639 if (!SWIG_IsOK(res1
)) {
32640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32642 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32645 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
32646 wxPyEndAllowThreads(__tstate
);
32647 if (PyErr_Occurred()) SWIG_fail
;
32649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32656 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32657 PyObject
*resultobj
= 0;
32658 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32659 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32668 PyObject
* obj0
= 0 ;
32669 PyObject
* obj1
= 0 ;
32670 PyObject
* obj2
= 0 ;
32671 char * kwnames
[] = {
32672 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32677 if (!SWIG_IsOK(res1
)) {
32678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32680 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32681 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32682 if (!SWIG_IsOK(res2
)) {
32683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32685 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32686 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32687 if (!SWIG_IsOK(res3
)) {
32688 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32693 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32696 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
32697 wxPyEndAllowThreads(__tstate
);
32698 if (PyErr_Occurred()) SWIG_fail
;
32701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32709 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32710 PyObject
*resultobj
= 0;
32711 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32712 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32721 PyObject
* obj0
= 0 ;
32722 PyObject
* obj1
= 0 ;
32723 PyObject
* obj2
= 0 ;
32724 char * kwnames
[] = {
32725 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32730 if (!SWIG_IsOK(res1
)) {
32731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32733 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32735 if (!SWIG_IsOK(res2
)) {
32736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32738 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32739 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32740 if (!SWIG_IsOK(res3
)) {
32741 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32746 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32749 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
32750 wxPyEndAllowThreads(__tstate
);
32751 if (PyErr_Occurred()) SWIG_fail
;
32754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32762 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32763 PyObject
*resultobj
= 0;
32764 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32771 PyObject
* obj0
= 0 ;
32772 PyObject
* obj1
= 0 ;
32773 char * kwnames
[] = {
32774 (char *) "self",(char *) "pageNum", NULL
32777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32779 if (!SWIG_IsOK(res1
)) {
32780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32782 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32784 if (!SWIG_IsOK(ecode2
)) {
32785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
32787 arg2
= static_cast< int >(val2
);
32789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32790 result
= (bool)(arg1
)->RenderPage(arg2
);
32791 wxPyEndAllowThreads(__tstate
);
32792 if (PyErr_Occurred()) SWIG_fail
;
32795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32803 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32804 PyObject
*resultobj
= 0;
32805 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32806 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
32811 PyObject
* obj0
= 0 ;
32812 PyObject
* obj1
= 0 ;
32813 char * kwnames
[] = {
32814 (char *) "self",(char *) "canvas", NULL
32817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32819 if (!SWIG_IsOK(res1
)) {
32820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32822 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32823 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
32824 if (!SWIG_IsOK(res2
)) {
32825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32827 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
32829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32830 (arg1
)->AdjustScrollbars(arg2
);
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32834 resultobj
= SWIG_Py_Void();
32841 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32842 PyObject
*resultobj
= 0;
32843 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32844 wxPrintDialogData
*result
= 0 ;
32847 PyObject
*swig_obj
[1] ;
32849 if (!args
) SWIG_fail
;
32850 swig_obj
[0] = args
;
32851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32852 if (!SWIG_IsOK(res1
)) {
32853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32855 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32859 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
32860 result
= (wxPrintDialogData
*) &_result_ref
;
32862 wxPyEndAllowThreads(__tstate
);
32863 if (PyErr_Occurred()) SWIG_fail
;
32865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
32872 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32873 PyObject
*resultobj
= 0;
32874 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32880 PyObject
* obj0
= 0 ;
32881 PyObject
* obj1
= 0 ;
32882 char * kwnames
[] = {
32883 (char *) "self",(char *) "percent", NULL
32886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32888 if (!SWIG_IsOK(res1
)) {
32889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32891 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32893 if (!SWIG_IsOK(ecode2
)) {
32894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
32896 arg2
= static_cast< int >(val2
);
32898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32899 (arg1
)->SetZoom(arg2
);
32900 wxPyEndAllowThreads(__tstate
);
32901 if (PyErr_Occurred()) SWIG_fail
;
32903 resultobj
= SWIG_Py_Void();
32910 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32911 PyObject
*resultobj
= 0;
32912 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32916 PyObject
*swig_obj
[1] ;
32918 if (!args
) SWIG_fail
;
32919 swig_obj
[0] = args
;
32920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32921 if (!SWIG_IsOK(res1
)) {
32922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32924 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32927 result
= (int)(arg1
)->GetZoom();
32928 wxPyEndAllowThreads(__tstate
);
32929 if (PyErr_Occurred()) SWIG_fail
;
32931 resultobj
= SWIG_From_int(static_cast< int >(result
));
32938 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32939 PyObject
*resultobj
= 0;
32940 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32944 PyObject
*swig_obj
[1] ;
32946 if (!args
) SWIG_fail
;
32947 swig_obj
[0] = args
;
32948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32949 if (!SWIG_IsOK(res1
)) {
32950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32952 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32955 result
= (int)(arg1
)->GetMaxPage();
32956 wxPyEndAllowThreads(__tstate
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32959 resultobj
= SWIG_From_int(static_cast< int >(result
));
32966 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32967 PyObject
*resultobj
= 0;
32968 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
32972 PyObject
*swig_obj
[1] ;
32974 if (!args
) SWIG_fail
;
32975 swig_obj
[0] = args
;
32976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
32977 if (!SWIG_IsOK(res1
)) {
32978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32980 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
32982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32983 result
= (int)(arg1
)->GetMinPage();
32984 wxPyEndAllowThreads(__tstate
);
32985 if (PyErr_Occurred()) SWIG_fail
;
32987 resultobj
= SWIG_From_int(static_cast< int >(result
));
32994 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32995 PyObject
*resultobj
= 0;
32996 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33000 PyObject
*swig_obj
[1] ;
33002 if (!args
) SWIG_fail
;
33003 swig_obj
[0] = args
;
33004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33005 if (!SWIG_IsOK(res1
)) {
33006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33008 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33011 result
= (bool)(arg1
)->IsOk();
33012 wxPyEndAllowThreads(__tstate
);
33013 if (PyErr_Occurred()) SWIG_fail
;
33016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33024 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33025 PyObject
*resultobj
= 0;
33026 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33032 PyObject
* obj0
= 0 ;
33033 PyObject
* obj1
= 0 ;
33034 char * kwnames
[] = {
33035 (char *) "self",(char *) "ok", NULL
33038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33040 if (!SWIG_IsOK(res1
)) {
33041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33043 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33044 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33045 if (!SWIG_IsOK(ecode2
)) {
33046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
33048 arg2
= static_cast< bool >(val2
);
33050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33051 (arg1
)->SetOk(arg2
);
33052 wxPyEndAllowThreads(__tstate
);
33053 if (PyErr_Occurred()) SWIG_fail
;
33055 resultobj
= SWIG_Py_Void();
33062 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33063 PyObject
*resultobj
= 0;
33064 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33071 PyObject
* obj0
= 0 ;
33072 PyObject
* obj1
= 0 ;
33073 char * kwnames
[] = {
33074 (char *) "self",(char *) "interactive", NULL
33077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33079 if (!SWIG_IsOK(res1
)) {
33080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33082 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33083 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33084 if (!SWIG_IsOK(ecode2
)) {
33085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
33087 arg2
= static_cast< bool >(val2
);
33089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33090 result
= (bool)(arg1
)->Print(arg2
);
33091 wxPyEndAllowThreads(__tstate
);
33092 if (PyErr_Occurred()) SWIG_fail
;
33095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33103 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33104 PyObject
*resultobj
= 0;
33105 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33108 PyObject
*swig_obj
[1] ;
33110 if (!args
) SWIG_fail
;
33111 swig_obj
[0] = args
;
33112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
33113 if (!SWIG_IsOK(res1
)) {
33114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33116 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
33118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33119 (arg1
)->DetermineScaling();
33120 wxPyEndAllowThreads(__tstate
);
33121 if (PyErr_Occurred()) SWIG_fail
;
33123 resultobj
= SWIG_Py_Void();
33130 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33133 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
33134 return SWIG_Py_Void();
33137 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33138 return SWIG_Python_InitShadowInstance(args
);
33141 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33142 PyObject
*resultobj
= 0;
33143 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
33144 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
33145 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
33146 wxPyPrintPreview
*result
= 0 ;
33152 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33153 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33154 if (!SWIG_IsOK(res1
)) {
33155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33157 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33158 if (!SWIG_IsOK(res2
)) {
33159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33162 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
33163 if (!SWIG_IsOK(res3
)) {
33164 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
33166 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
33169 if (!wxPyCheckForApp()) SWIG_fail
;
33170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33171 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
33172 wxPyEndAllowThreads(__tstate
);
33173 if (PyErr_Occurred()) SWIG_fail
;
33175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
33182 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33183 PyObject
*resultobj
= 0;
33184 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
33185 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
33186 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
33187 wxPyPrintPreview
*result
= 0 ;
33193 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
33194 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33195 if (!SWIG_IsOK(res1
)) {
33196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33198 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
33199 if (!SWIG_IsOK(res2
)) {
33200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33202 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
33203 if (!SWIG_IsOK(res3
)) {
33204 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
33206 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
33208 if (!wxPyCheckForApp()) SWIG_fail
;
33209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33210 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
33211 wxPyEndAllowThreads(__tstate
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
33221 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
33225 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
33227 if ((argc
>= 2) && (argc
<= 3)) {
33232 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
33233 _v
= SWIG_CheckState(res
);
33235 if (!_v
) goto check_1
;
33237 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
33242 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
33246 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
33251 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33252 PyObject
*resultobj
= 0;
33253 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
33254 PyObject
*arg2
= (PyObject
*) 0 ;
33255 PyObject
*arg3
= (PyObject
*) 0 ;
33258 PyObject
* obj0
= 0 ;
33259 PyObject
* obj1
= 0 ;
33260 PyObject
* obj2
= 0 ;
33261 char * kwnames
[] = {
33262 (char *) "self",(char *) "self",(char *) "_class", NULL
33265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
33267 if (!SWIG_IsOK(res1
)) {
33268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
33270 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
33274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33275 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33276 wxPyEndAllowThreads(__tstate
);
33277 if (PyErr_Occurred()) SWIG_fail
;
33279 resultobj
= SWIG_Py_Void();
33286 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33289 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
33290 return SWIG_Py_Void();
33293 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33294 return SWIG_Python_InitShadowInstance(args
);
33297 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33298 PyObject
*resultobj
= 0;
33299 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33300 wxFrame
*arg2
= (wxFrame
*) 0 ;
33301 wxString
*arg3
= 0 ;
33302 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33303 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33304 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33305 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33306 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
33307 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
33308 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33309 wxPyPreviewFrame
*result
= 0 ;
33313 bool temp3
= false ;
33318 bool temp7
= false ;
33319 PyObject
* obj0
= 0 ;
33320 PyObject
* obj1
= 0 ;
33321 PyObject
* obj2
= 0 ;
33322 PyObject
* obj3
= 0 ;
33323 PyObject
* obj4
= 0 ;
33324 PyObject
* obj5
= 0 ;
33325 PyObject
* obj6
= 0 ;
33326 char * kwnames
[] = {
33327 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33331 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33332 if (!SWIG_IsOK(res1
)) {
33333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33335 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
33336 if (!SWIG_IsOK(res2
)) {
33337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
33339 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
33341 arg3
= wxString_in_helper(obj2
);
33342 if (arg3
== NULL
) SWIG_fail
;
33348 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33354 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33358 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33359 if (!SWIG_IsOK(ecode6
)) {
33360 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
33362 arg6
= static_cast< long >(val6
);
33366 arg7
= wxString_in_helper(obj6
);
33367 if (arg7
== NULL
) SWIG_fail
;
33372 if (!wxPyCheckForApp()) SWIG_fail
;
33373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33374 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
33401 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33402 PyObject
*resultobj
= 0;
33403 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33404 PyObject
*arg2
= (PyObject
*) 0 ;
33405 PyObject
*arg3
= (PyObject
*) 0 ;
33408 PyObject
* obj0
= 0 ;
33409 PyObject
* obj1
= 0 ;
33410 PyObject
* obj2
= 0 ;
33411 char * kwnames
[] = {
33412 (char *) "self",(char *) "self",(char *) "_class", NULL
33415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33417 if (!SWIG_IsOK(res1
)) {
33418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33420 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33425 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33426 wxPyEndAllowThreads(__tstate
);
33427 if (PyErr_Occurred()) SWIG_fail
;
33429 resultobj
= SWIG_Py_Void();
33436 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33437 PyObject
*resultobj
= 0;
33438 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33439 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
33444 PyObject
* obj0
= 0 ;
33445 PyObject
* obj1
= 0 ;
33446 char * kwnames
[] = {
33447 (char *) "self",(char *) "canvas", NULL
33450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33452 if (!SWIG_IsOK(res1
)) {
33453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33455 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33456 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
33457 if (!SWIG_IsOK(res2
)) {
33458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33460 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
33462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33463 (arg1
)->SetPreviewCanvas(arg2
);
33464 wxPyEndAllowThreads(__tstate
);
33465 if (PyErr_Occurred()) SWIG_fail
;
33467 resultobj
= SWIG_Py_Void();
33474 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33475 PyObject
*resultobj
= 0;
33476 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33477 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
33482 PyObject
* obj0
= 0 ;
33483 PyObject
* obj1
= 0 ;
33484 char * kwnames
[] = {
33485 (char *) "self",(char *) "bar", NULL
33488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33490 if (!SWIG_IsOK(res1
)) {
33491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33493 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
33495 if (!SWIG_IsOK(res2
)) {
33496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
33498 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
33500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33501 (arg1
)->SetControlBar(arg2
);
33502 wxPyEndAllowThreads(__tstate
);
33503 if (PyErr_Occurred()) SWIG_fail
;
33505 resultobj
= SWIG_Py_Void();
33512 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33513 PyObject
*resultobj
= 0;
33514 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33517 PyObject
*swig_obj
[1] ;
33519 if (!args
) SWIG_fail
;
33520 swig_obj
[0] = args
;
33521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33522 if (!SWIG_IsOK(res1
)) {
33523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33525 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33528 (arg1
)->Initialize();
33529 wxPyEndAllowThreads(__tstate
);
33530 if (PyErr_Occurred()) SWIG_fail
;
33532 resultobj
= SWIG_Py_Void();
33539 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33540 PyObject
*resultobj
= 0;
33541 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33544 PyObject
*swig_obj
[1] ;
33546 if (!args
) SWIG_fail
;
33547 swig_obj
[0] = args
;
33548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33549 if (!SWIG_IsOK(res1
)) {
33550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33552 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33555 (arg1
)->CreateCanvas();
33556 wxPyEndAllowThreads(__tstate
);
33557 if (PyErr_Occurred()) SWIG_fail
;
33559 resultobj
= SWIG_Py_Void();
33566 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33567 PyObject
*resultobj
= 0;
33568 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
33571 PyObject
*swig_obj
[1] ;
33573 if (!args
) SWIG_fail
;
33574 swig_obj
[0] = args
;
33575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
33576 if (!SWIG_IsOK(res1
)) {
33577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33579 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
33581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33582 (arg1
)->CreateControlBar();
33583 wxPyEndAllowThreads(__tstate
);
33584 if (PyErr_Occurred()) SWIG_fail
;
33586 resultobj
= SWIG_Py_Void();
33593 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33596 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
33597 return SWIG_Py_Void();
33600 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33601 return SWIG_Python_InitShadowInstance(args
);
33604 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33605 PyObject
*resultobj
= 0;
33606 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
33608 wxWindow
*arg3
= (wxWindow
*) 0 ;
33609 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33610 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33611 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33612 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33613 long arg6
= (long) 0 ;
33614 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
33615 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33616 wxPyPreviewControlBar
*result
= 0 ;
33626 bool temp7
= false ;
33627 PyObject
* obj0
= 0 ;
33628 PyObject
* obj1
= 0 ;
33629 PyObject
* obj2
= 0 ;
33630 PyObject
* obj3
= 0 ;
33631 PyObject
* obj4
= 0 ;
33632 PyObject
* obj5
= 0 ;
33633 PyObject
* obj6
= 0 ;
33634 char * kwnames
[] = {
33635 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33639 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33640 if (!SWIG_IsOK(res1
)) {
33641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33643 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33644 if (!SWIG_IsOK(ecode2
)) {
33645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
33647 arg2
= static_cast< long >(val2
);
33648 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33649 if (!SWIG_IsOK(res3
)) {
33650 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
33652 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
33656 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33662 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33666 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33667 if (!SWIG_IsOK(ecode6
)) {
33668 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
33670 arg6
= static_cast< long >(val6
);
33674 arg7
= wxString_in_helper(obj6
);
33675 if (arg7
== NULL
) SWIG_fail
;
33680 if (!wxPyCheckForApp()) SWIG_fail
;
33681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33682 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
33683 wxPyEndAllowThreads(__tstate
);
33684 if (PyErr_Occurred()) SWIG_fail
;
33686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
33701 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33702 PyObject
*resultobj
= 0;
33703 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33704 PyObject
*arg2
= (PyObject
*) 0 ;
33705 PyObject
*arg3
= (PyObject
*) 0 ;
33708 PyObject
* obj0
= 0 ;
33709 PyObject
* obj1
= 0 ;
33710 PyObject
* obj2
= 0 ;
33711 char * kwnames
[] = {
33712 (char *) "self",(char *) "self",(char *) "_class", NULL
33715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33717 if (!SWIG_IsOK(res1
)) {
33718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33720 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33725 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33726 wxPyEndAllowThreads(__tstate
);
33727 if (PyErr_Occurred()) SWIG_fail
;
33729 resultobj
= SWIG_Py_Void();
33736 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33737 PyObject
*resultobj
= 0;
33738 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33739 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
33743 PyObject
* obj0
= 0 ;
33744 PyObject
* obj1
= 0 ;
33745 char * kwnames
[] = {
33746 (char *) "self",(char *) "preview", NULL
33749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33751 if (!SWIG_IsOK(res1
)) {
33752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33754 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33755 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
33756 if (!SWIG_IsOK(res2
)) {
33757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
33760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33761 (arg1
)->SetPrintPreview(arg2
);
33762 wxPyEndAllowThreads(__tstate
);
33763 if (PyErr_Occurred()) SWIG_fail
;
33765 resultobj
= SWIG_Py_Void();
33772 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33773 PyObject
*resultobj
= 0;
33774 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33777 PyObject
*swig_obj
[1] ;
33779 if (!args
) SWIG_fail
;
33780 swig_obj
[0] = args
;
33781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33782 if (!SWIG_IsOK(res1
)) {
33783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33785 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33788 (arg1
)->CreateButtons();
33789 wxPyEndAllowThreads(__tstate
);
33790 if (PyErr_Occurred()) SWIG_fail
;
33792 resultobj
= SWIG_Py_Void();
33799 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33800 PyObject
*resultobj
= 0;
33801 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
33807 PyObject
* obj0
= 0 ;
33808 PyObject
* obj1
= 0 ;
33809 char * kwnames
[] = {
33810 (char *) "self",(char *) "zoom", NULL
33813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
33815 if (!SWIG_IsOK(res1
)) {
33816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33818 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
33819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33820 if (!SWIG_IsOK(ecode2
)) {
33821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
33823 arg2
= static_cast< int >(val2
);
33825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33826 (arg1
)->SetZoomControl(arg2
);
33827 wxPyEndAllowThreads(__tstate
);
33828 if (PyErr_Occurred()) SWIG_fail
;
33830 resultobj
= SWIG_Py_Void();
33837 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33839 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33840 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
33841 return SWIG_Py_Void();
33844 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33845 return SWIG_Python_InitShadowInstance(args
);
33848 static PyMethodDef SwigMethods
[] = {
33849 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33850 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
33851 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33852 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
33853 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33854 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
33855 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
33856 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33857 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
33858 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33859 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33860 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33861 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33862 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33863 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33864 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
33865 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33866 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
33867 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33868 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
33869 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
33870 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
33871 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
33872 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
33873 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33874 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33875 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
33876 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33877 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33878 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
33879 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
33880 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33881 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
33882 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33883 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
33884 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
33885 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
33886 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
33887 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33888 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33889 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33890 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
33891 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33892 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
33893 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33894 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33895 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33896 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
33897 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33898 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
33899 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33900 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
33901 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33902 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33903 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
33904 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
33905 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33906 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
33907 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33908 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
33909 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33910 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
33911 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33912 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33913 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
33914 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33915 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33916 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33917 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33918 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33919 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33920 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
33921 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33922 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
33923 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33924 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33925 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33926 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33927 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
33928 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
33929 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33930 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
33931 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33932 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33933 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
33934 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33935 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
33936 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33937 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
33938 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33939 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33940 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33941 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33942 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
33943 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
33944 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33945 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33946 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
33947 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
33948 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33949 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
33950 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33951 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
33952 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
33953 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33954 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33955 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
33956 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
33957 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
33958 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33959 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
33960 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
33961 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
33962 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
33963 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
33964 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33965 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
33966 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33967 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33968 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
33969 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33970 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33971 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33972 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33973 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33974 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33975 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33976 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33977 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
33978 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
33979 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33980 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
33981 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
33982 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33983 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
33984 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33985 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
33986 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
33987 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33988 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
33989 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33990 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33991 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33992 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33993 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33994 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
33995 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
33996 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33997 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33998 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
33999 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
34000 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34001 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
34002 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34003 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
34004 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34005 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
34006 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34007 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
34008 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34009 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
34010 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34011 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
34012 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
34013 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34014 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34015 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
34016 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
34017 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
34018 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
34019 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
34020 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
34021 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34022 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
34023 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34024 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34025 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34026 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34027 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34028 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
34029 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34030 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
34031 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34032 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34033 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
34034 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
34035 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34036 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34037 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
34038 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
34039 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34040 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
34041 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
34042 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
34043 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34044 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34045 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
34046 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34047 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
34048 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34049 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
34050 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
34051 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
34052 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34053 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34054 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
34055 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34056 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
34057 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34058 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
34059 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34060 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
34061 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34062 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
34063 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
34064 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
34065 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34066 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34067 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
34068 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34069 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
34070 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
34071 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
34072 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34073 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
34074 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34075 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
34076 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
34077 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34078 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34079 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34080 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
34081 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
34082 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
34083 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
34084 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34085 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34086 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34087 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
34088 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
34089 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34090 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
34091 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34092 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34093 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
34094 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
34095 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34096 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
34097 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34098 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34099 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
34100 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
34101 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
34102 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34103 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34104 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
34105 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
34106 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
34107 { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction
) _wrap_VarScrollHelperBase_EnablePhysicalScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34108 { (char *)"VarScrollHelperBase_HitTest", (PyCFunction
) _wrap_VarScrollHelperBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34109 { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction
)_wrap_VarScrollHelperBase_RefreshAll
, METH_O
, NULL
},
34110 { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction
)_wrap_VarScrollHelperBase_GetVisibleBegin
, METH_O
, NULL
},
34111 { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction
)_wrap_VarScrollHelperBase_GetVisibleEnd
, METH_O
, NULL
},
34112 { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction
) _wrap_VarScrollHelperBase_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34113 { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction
) _wrap_VarScrollHelperBase_CalcScrolledPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34114 { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction
) _wrap_VarScrollHelperBase_CalcUnscrolledPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34115 { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction
)_wrap_VarScrollHelperBase_UpdateScrollbar
, METH_O
, NULL
},
34116 { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction
)_wrap_VarScrollHelperBase_RemoveScrollbar
, METH_O
, NULL
},
34117 { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction
) _wrap_VarScrollHelperBase_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34118 { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction
)_wrap_VarScrollHelperBase_GetTargetWindow
, METH_O
, NULL
},
34119 { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction
)_wrap_VarScrollHelperBase_GetOrientationTargetSize
, METH_O
, NULL
},
34120 { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction
)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize
, METH_O
, NULL
},
34121 { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction
)_wrap_VarScrollHelperBase_GetOrientation
, METH_O
, NULL
},
34122 { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister
, METH_VARARGS
, NULL
},
34123 { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction
) _wrap_VarVScrollHelper_SetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34124 { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction
) _wrap_VarVScrollHelper_ScrollToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34125 { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction
) _wrap_VarVScrollHelper_ScrollRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34126 { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction
) _wrap_VarVScrollHelper_ScrollRowPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34127 { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction
) _wrap_VarVScrollHelper_RefreshRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34128 { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction
) _wrap_VarVScrollHelper_RefreshRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34129 { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction
)_wrap_VarVScrollHelper_GetRowCount
, METH_O
, NULL
},
34130 { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction
)_wrap_VarVScrollHelper_GetVisibleRowsBegin
, METH_O
, NULL
},
34131 { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction
)_wrap_VarVScrollHelper_GetVisibleRowsEnd
, METH_O
, NULL
},
34132 { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction
) _wrap_VarVScrollHelper_IsRowVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34133 { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34134 { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction
) _wrap_VarHScrollHelper_SetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34135 { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction
) _wrap_VarHScrollHelper_ScrollToColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34136 { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction
) _wrap_VarHScrollHelper_ScrollColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34137 { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction
) _wrap_VarHScrollHelper_ScrollColumnPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34138 { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction
) _wrap_VarHScrollHelper_RefreshColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34139 { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction
) _wrap_VarHScrollHelper_RefreshColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34140 { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction
)_wrap_VarHScrollHelper_GetColumnCount
, METH_O
, NULL
},
34141 { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction
)_wrap_VarHScrollHelper_GetVisibleColumnsBegin
, METH_O
, NULL
},
34142 { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction
)_wrap_VarHScrollHelper_GetVisibleColumnsEnd
, METH_O
, NULL
},
34143 { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction
) _wrap_VarHScrollHelper_IsColumnVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34144 { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34145 { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction
) _wrap_VarHVScrollHelper_SetRowColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34146 { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction
) _wrap_VarHVScrollHelper_EnablePhysicalScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34147 { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction
) _wrap_VarHVScrollHelper_ScrollToRowColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34148 { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction
) _wrap_VarHVScrollHelper_RefreshRowColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34149 { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction
) _wrap_VarHVScrollHelper_RefreshRowsColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34150 { (char *)"VarHVScrollHelper_HitTest", (PyCFunction
) _wrap_VarHVScrollHelper_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34151 { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction
)_wrap_VarHVScrollHelper_ScrollLayout
, METH_O
, NULL
},
34152 { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction
)_wrap_VarHVScrollHelper_GetRowColumnCount
, METH_O
, NULL
},
34153 { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction
)_wrap_VarHVScrollHelper_GetVisibleBegin
, METH_O
, NULL
},
34154 { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction
)_wrap_VarHVScrollHelper_GetVisibleEnd
, METH_O
, NULL
},
34155 { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction
) _wrap_VarHVScrollHelper_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34156 { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister
, METH_VARARGS
, NULL
},
34157 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34158 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
34159 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34160 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34161 { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction
) _wrap_VScrolledWindow_GetRowsHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34162 { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction
)_wrap_VScrolledWindow_EstimateTotalHeight
, METH_O
, NULL
},
34163 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34164 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34165 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34166 { (char *)"new_HScrolledWindow", (PyCFunction
) _wrap_new_HScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34167 { (char *)"new_PreHScrolledWindow", (PyCFunction
)_wrap_new_PreHScrolledWindow
, METH_NOARGS
, NULL
},
34168 { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_HScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34169 { (char *)"HScrolledWindow_Create", (PyCFunction
) _wrap_HScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34170 { (char *)"HScrolledWindow_HitTest", (PyCFunction
) _wrap_HScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34171 { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction
) _wrap_HScrolledWindow_GetColumnsWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34172 { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction
)_wrap_HScrolledWindow_EstimateTotalWidth
, METH_O
, NULL
},
34173 { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34174 { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34175 { (char *)"new_HVScrolledWindow", (PyCFunction
) _wrap_new_HVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34176 { (char *)"new_PreHVScrolledWindow", (PyCFunction
)_wrap_new_PreHVScrolledWindow
, METH_NOARGS
, NULL
},
34177 { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_HVScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34178 { (char *)"HVScrolledWindow_Create", (PyCFunction
) _wrap_HVScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34179 { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction
) _wrap_HVScrolledWindow_GetRowsHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34180 { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction
)_wrap_HVScrolledWindow_EstimateTotalHeight
, METH_O
, NULL
},
34181 { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction
) _wrap_HVScrolledWindow_GetColumnsWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34182 { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction
)_wrap_HVScrolledWindow_EstimateTotalWidth
, METH_O
, NULL
},
34183 { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34184 { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34185 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34186 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
34187 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34188 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34189 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
34190 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
34191 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
34192 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34193 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34194 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
34195 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
34196 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34197 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
34198 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
34199 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34200 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
34201 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34202 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34203 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34204 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34205 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
34206 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
34207 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34208 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34209 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34210 { (char *)"VListBox_RefreshSelected", (PyCFunction
)_wrap_VListBox_RefreshSelected
, METH_O
, NULL
},
34211 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34212 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34213 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
34214 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
34215 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34216 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
34217 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34218 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34219 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34220 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
34221 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34222 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
34223 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
34224 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34225 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
34226 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34227 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
34228 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
34229 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
34230 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
34231 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34232 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
34233 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
34234 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
34235 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34236 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
34237 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34238 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
34239 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
34240 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34241 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
34242 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
34243 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
34244 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
34245 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
34246 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
34247 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34248 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34249 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34250 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34251 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
34252 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
34253 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34254 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
34255 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
34256 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
34257 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34258 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34259 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
34260 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
34261 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34262 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34263 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
34264 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
34265 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34266 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34267 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34268 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34269 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34270 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34271 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34272 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
34273 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
34274 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
34275 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
34276 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
34277 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
34278 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
34279 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
34280 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
34281 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
34282 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34283 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34284 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
34285 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
34286 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
34287 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34288 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
34289 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
34290 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34291 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
34292 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
34293 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34294 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
34295 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34296 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34297 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34298 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34299 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34300 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34301 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34302 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
34303 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
34304 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
34305 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
34306 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
34307 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34308 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
34309 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
34310 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
34311 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
34312 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
34313 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
34314 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34315 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34316 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34317 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34318 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34319 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34320 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
34321 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
34322 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34323 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
34324 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
34325 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
34326 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34327 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34328 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
34329 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
34330 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34331 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34332 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34333 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
34334 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
34335 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
34336 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34337 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
34338 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
34339 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
34340 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
34341 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34342 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34343 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34344 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
34345 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
34346 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34347 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
34348 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
34349 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
34350 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
34351 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34352 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34353 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34354 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
34355 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
34356 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34357 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
34358 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34359 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
34360 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34361 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
34362 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
34363 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34364 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
34365 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34366 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
34367 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
34368 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
34369 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
34370 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
34371 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
34372 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34373 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
34374 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
34375 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34376 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
34377 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34378 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
34379 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
34380 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
34381 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34382 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
34383 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34384 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
34385 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
34386 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34387 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
34388 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34389 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34390 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34391 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34392 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34393 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34394 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
34395 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
34396 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
34397 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
34398 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
34399 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
34400 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
34401 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
34402 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
34403 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34404 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
34405 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34406 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34407 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34408 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34409 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34410 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34411 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
34412 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
34413 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
34414 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
34415 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
34416 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
34417 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
34418 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
34419 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
34420 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34421 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
34422 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34423 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34424 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34425 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34426 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34427 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34428 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
34429 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
34430 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
34431 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
34432 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
34433 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
34434 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
34435 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
34436 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
34437 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
34438 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
34439 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
34440 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
34441 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
34442 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
34443 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
34444 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
34445 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
34446 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
34447 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
34448 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
34449 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
34450 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
34451 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
34452 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
34453 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34454 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34455 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34456 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34457 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34458 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34459 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34460 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34461 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34462 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34463 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34464 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34465 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34466 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
34467 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34468 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
34469 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34470 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
34471 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
34472 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
34473 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
34474 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34475 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34476 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34477 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34478 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34479 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
34480 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
34481 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
34482 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
34483 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
34484 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
34485 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
34486 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
34487 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
34488 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
34489 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
34490 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
34491 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
34492 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
34493 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
34494 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34495 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34496 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34497 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34501 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34502 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34503 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
34504 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
34505 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
34506 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
34507 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
34509 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
34510 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
34511 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
34512 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
34513 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
34514 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
34515 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
34516 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
34517 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
34518 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
34519 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
34520 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
34521 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
34522 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
34523 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
34524 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
34525 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34526 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34527 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34528 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34529 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34530 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34531 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34532 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34533 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34534 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34535 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34536 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34537 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34538 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
34539 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
34540 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
34541 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
34542 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
34543 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
34544 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
34546 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
34547 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34548 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
34549 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
34550 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
34551 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
34552 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
34553 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
34554 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
34555 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34556 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
34557 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34559 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
34563 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
34564 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
34565 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
34566 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
34567 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34568 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
34569 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
34571 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
34572 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34573 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34574 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34575 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
34577 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
34578 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
34580 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
34581 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
34582 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34583 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34584 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34585 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
34587 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34588 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
34589 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34590 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
34591 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
34593 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34594 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
34595 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
34596 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34597 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
34599 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
34600 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
34601 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
34602 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
34604 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
34605 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
34606 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
34608 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
34609 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
34611 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
34612 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
34613 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
34614 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
34615 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
34616 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34617 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
34618 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34619 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
34620 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
34621 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
34622 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
34623 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
34624 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
34625 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
34626 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
34627 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
34628 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
34629 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
34631 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34632 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
34633 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
34634 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34636 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
34637 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
34638 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
34643 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34644 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
34645 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
34646 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
34647 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
34648 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
34651 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
34652 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
34653 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
34654 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34655 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
34656 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
34657 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34658 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34659 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34660 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34661 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
34662 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
34663 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
34664 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
34665 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
34666 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34668 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
34670 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34671 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
34672 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
34673 { NULL
, NULL
, 0, NULL
}
34677 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34679 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
34680 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34682 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
34683 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
34685 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
34686 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
34688 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
34689 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
34691 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
34692 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
34694 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
34695 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
34697 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
34698 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
34700 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
34701 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
34703 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
34704 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
34706 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
34707 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
34709 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
34710 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
34712 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
34713 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
34715 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
34716 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
34718 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
34719 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
34721 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
34722 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
34724 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
34725 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
34727 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
34728 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
34730 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
34731 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
34733 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
34734 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
34736 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
34737 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
34739 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
34740 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
34742 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
34743 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
34745 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
34746 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
34748 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
34749 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
34751 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
34752 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
34754 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
34755 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
34757 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
34758 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
34760 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
34761 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
34763 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
34764 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
34766 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
34767 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
34769 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
34770 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
34772 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
34773 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
34775 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
34776 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
34778 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
34779 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
34781 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
34782 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
34784 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
34785 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
34787 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
34788 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
34790 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
34791 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
34793 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
34794 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
34796 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
34797 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
34799 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
34800 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
34802 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
34803 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
34805 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
34806 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
34808 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
34809 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
34811 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
34812 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
34814 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
34815 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
34817 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
34818 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
34820 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
34821 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
34823 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
34824 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
34826 static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x
) {
34827 return (void *)((wxVarVScrollHelper
*) ((wxPyVScrolledWindow
*) x
));
34829 static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x
) {
34830 return (void *)((wxVarVScrollHelper
*) (wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
34832 static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x
) {
34833 return (void *)((wxVarVScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
34835 static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x
) {
34836 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34838 static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x
) {
34839 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34841 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x
) {
34842 return (void *)((wxVarVScrollHelper
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
34844 static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x
) {
34845 return (void *)((wxVarHScrollHelper
*) ((wxPyHScrolledWindow
*) x
));
34847 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x
) {
34848 return (void *)((wxVarHScrollHelper
*) (wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
34850 static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x
) {
34851 return (void *)((wxVarHScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
34853 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x
) {
34854 return (void *)((wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
34856 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
34857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
34859 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
34860 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
34862 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
34863 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
34865 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
34866 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
34868 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
34869 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
34871 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
34872 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
34874 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
34875 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
34877 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
34878 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
34880 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
34881 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
34883 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
34884 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
34886 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
34887 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
34889 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
34890 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
34892 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
34893 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
34895 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
34896 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
34898 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
34899 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
34901 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
34902 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
34904 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
34905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
34907 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
34908 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
34910 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
34911 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
34913 static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34914 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
34916 static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x
) {
34917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyHScrolledWindow
*) x
));
34919 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
34920 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
34922 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
34923 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
34925 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
34926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
34928 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
34929 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
34931 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
34932 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
34934 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
34935 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
34937 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
34938 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
34940 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
34941 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
34943 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
34944 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
34946 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
34947 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
34949 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
34950 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
34952 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
34953 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
34955 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
34956 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
34958 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
34959 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
34961 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
34962 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
34964 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
34965 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
34967 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
34968 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
34970 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
34971 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
34973 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
34974 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
34976 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
34977 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
34979 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
34980 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
34982 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34983 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
34985 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
34986 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
34988 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
34989 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
34991 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34992 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
34994 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
34995 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
34997 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
34998 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
35000 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
35001 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
35003 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
35004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35006 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
35007 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35009 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
35010 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
35012 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
35013 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35015 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
35016 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35018 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
35019 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35021 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
35022 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35024 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
35025 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35027 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
35028 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
35030 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
35031 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
35033 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
35034 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
35036 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
35037 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35039 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
35040 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
35042 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
35043 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
35045 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
35046 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
35048 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35049 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35051 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
35052 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
35054 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
35055 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
35057 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
35058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
35060 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
35061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35063 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35064 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35066 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35067 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35069 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35070 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35072 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35073 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35075 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35076 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35078 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35079 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35081 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35082 return (void *)((wxObject
*) ((wxSizer
*) x
));
35084 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35085 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35087 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35088 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35090 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
35091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
35093 static void *_p_wxEventTo_p_wxObject(void *x
) {
35094 return (void *)((wxObject
*) ((wxEvent
*) x
));
35096 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
35097 return (void *)((wxObject
*) ((wxFontData
*) x
));
35099 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
35100 return (void *)((wxObject
*) ((wxPrintData
*) x
));
35102 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35103 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35105 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35106 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35108 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35109 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35111 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
35112 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
35114 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
35115 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
35117 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
35118 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
35120 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35121 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35123 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35124 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35126 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35127 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35129 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35130 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35132 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35133 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35135 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35136 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35138 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35139 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35141 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
35142 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35144 static void *_p_wxControlTo_p_wxObject(void *x
) {
35145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35147 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35148 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35150 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
35151 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
35153 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35154 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35156 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
35157 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
35159 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35160 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35162 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
35163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35165 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
35166 return (void *)((wxObject
*) ((wxColourData
*) x
));
35168 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35169 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35171 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35172 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35174 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
35175 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
35177 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
35178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
35180 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
35181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
35183 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
35184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35186 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
35187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35189 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
35190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
35192 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
35193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35195 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
35196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
35198 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
35199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
35201 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
35202 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
35204 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
35205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
35207 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35208 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35210 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
35211 return (void *)((wxObject
*) ((wxPrinter
*) x
));
35213 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35214 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35216 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35217 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35219 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35220 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35222 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35225 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35226 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35228 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35229 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35231 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35232 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35234 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35235 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35237 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35238 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35240 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35241 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35243 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35244 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35246 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35247 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35249 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35250 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35252 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35253 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35255 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35256 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35258 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35259 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35261 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35262 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35264 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35265 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35267 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35268 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35270 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35271 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35273 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35274 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35276 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35277 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35279 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35280 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35282 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
35283 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
35285 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35286 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35288 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35289 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35291 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
35292 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
35294 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
35295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35297 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
35298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35300 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
35301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35303 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35304 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35306 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35307 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35309 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
35310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
35312 static void *_p_wxImageTo_p_wxObject(void *x
) {
35313 return (void *)((wxObject
*) ((wxImage
*) x
));
35315 static void *_p_wxFrameTo_p_wxObject(void *x
) {
35316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
35318 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
35319 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
35321 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35322 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35324 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
35325 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
35327 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
35328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
35330 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
35331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35333 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35336 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35337 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35339 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35340 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35342 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35343 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35345 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35346 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35348 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35351 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
35352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
35354 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
35355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
35357 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
35358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
35360 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
35361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
35363 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
35364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
35366 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
35367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35369 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
35370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
35372 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
35373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35375 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
35376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35378 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
35379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35381 static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x
) {
35382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35384 static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x
) {
35385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35387 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
35388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
35390 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
35391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35393 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
35394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
35396 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
35397 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
35399 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
35400 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
35402 static void *_p_wxPanelTo_p_wxObject(void *x
) {
35403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
35405 static void *_p_wxDialogTo_p_wxObject(void *x
) {
35406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
35408 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
35409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35411 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
35412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35414 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
35415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35417 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
35418 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
35420 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
35421 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
35423 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35424 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35426 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35427 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35429 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35430 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35432 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35433 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35435 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35436 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35438 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35439 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35441 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35442 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35444 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35445 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35447 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35448 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35450 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
35451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
35453 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
35454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35456 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35457 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35459 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35460 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35462 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35465 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35468 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
35469 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
35471 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
35472 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
35474 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35477 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35478 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35480 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
35481 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35483 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
35484 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35486 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
35487 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35489 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
35490 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35492 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
35493 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
35495 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
35496 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
35498 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
35499 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
35501 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
35502 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
35504 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
35505 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
35507 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
35508 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
35510 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
35511 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
35513 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
35514 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
35516 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
35517 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
35519 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
35520 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
35522 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35523 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
35525 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35526 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35528 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
35529 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
35531 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
35532 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35534 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
35535 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35537 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
35538 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
35540 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
35541 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
35543 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
35544 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
35546 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
35547 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
35549 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
35550 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35552 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
35553 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
35555 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
35556 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
35558 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
35559 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
35561 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35562 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35564 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
35565 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
35567 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
35568 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
35570 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
35571 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35573 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
35574 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
35576 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
35577 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35579 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
35580 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35582 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
35583 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
35585 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
35586 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
35588 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
35589 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
35591 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
35592 return (void *)((wxWindow
*) ((wxPanel
*) x
));
35594 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
35595 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
35597 static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x
) {
35598 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35600 static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x
) {
35601 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35603 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
35604 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35606 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
35607 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
35609 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
35610 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
35612 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
35613 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
35615 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
35616 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
35618 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
35619 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
35621 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
35622 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
35624 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
35625 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
35627 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
35628 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
35630 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
35631 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
35633 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
35634 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
35636 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
35637 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35639 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35640 return (void *)((wxWindow
*) ((wxControl
*) x
));
35642 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
35643 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
35645 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
35646 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
35648 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
35649 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
35651 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35652 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35654 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
35655 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
35657 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
35658 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35660 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
35661 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35663 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
35664 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35666 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
35667 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35669 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
35670 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
35672 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
35673 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35675 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
35676 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
35678 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
35679 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
35681 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
35682 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
35684 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
35685 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
35687 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
35688 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
35690 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
35691 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
35693 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35694 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35696 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35697 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35699 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
35700 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35702 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
35703 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35705 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
35706 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35708 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
35709 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
35711 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
35712 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
35714 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
35715 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
35717 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
35718 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
35720 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
35721 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
35723 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
35724 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
35726 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
35727 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
35729 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
35730 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
35732 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
35733 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
35735 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
35736 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
35738 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
35739 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
35741 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
35742 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
35744 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
35745 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
35747 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
35748 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
35750 static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x
) {
35751 return (void *)((wxPanel
*) ((wxPyHScrolledWindow
*) x
));
35753 static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x
) {
35754 return (void *)((wxPanel
*) ((wxPyHVScrolledWindow
*) x
));
35756 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
35757 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
35759 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
35760 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35762 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
35763 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35765 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
35766 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35768 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
35769 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
35771 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
35772 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
35774 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
35775 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
35777 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
35778 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35780 static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35781 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*) ((wxPyVScrolledWindow
*) x
));
35783 static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35784 return (void *)((wxVarScrollHelperBase
*) (wxVarHScrollHelper
*) ((wxPyHScrolledWindow
*) x
));
35786 static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x
) {
35787 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxVarHVScrollHelper
*) ((wxPyHVScrolledWindow
*) x
));
35789 static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35790 return (void *)((wxVarScrollHelperBase
*) ((wxVarVScrollHelper
*) x
));
35792 static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35793 return (void *)((wxVarScrollHelperBase
*) ((wxVarHScrollHelper
*) x
));
35795 static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x
) {
35796 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*) ((wxVarHVScrollHelper
*) x
));
35798 static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35799 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
35801 static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35802 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
35804 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x
) {
35805 return (void *)((wxVarScrollHelperBase
*) (wxVarVScrollHelper
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
35807 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
35808 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35810 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
35811 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
35813 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
35814 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35816 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
35817 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
35819 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
35820 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35822 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
35823 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35825 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
35826 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
35828 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
35829 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35831 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
35832 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35834 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
35835 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
35837 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
35838 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35840 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
35841 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35843 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
35844 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
35846 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
35847 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
35849 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
35850 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
35852 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
35853 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35854 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};
35855 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35856 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35857 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35858 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35859 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
35860 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
35861 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35862 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
35863 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35864 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
35865 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
35866 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
35867 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35868 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35869 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35870 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35871 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35872 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35873 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35874 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35875 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35876 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35877 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
35878 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
35879 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35880 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
35881 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35882 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35883 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35884 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35885 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35886 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35887 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35888 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35889 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35890 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35891 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35892 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35893 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35894 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35895 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35896 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35897 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35898 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35899 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35900 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35901 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35902 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35903 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35904 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35905 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35906 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35907 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
35908 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
35909 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35910 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35911 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35912 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35913 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
35914 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
35915 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
35916 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
35917 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
35918 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35919 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
35920 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
35921 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
35922 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
35923 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35924 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35925 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
35926 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
35927 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
35928 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
35929 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
35930 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
35931 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
35932 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
35933 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
35934 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
35935 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
35936 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
35937 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35938 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35939 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35940 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35941 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35942 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35943 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35944 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35945 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35946 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35947 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35948 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35949 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35950 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35951 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35952 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35953 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35954 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35955 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35956 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35957 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35958 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35959 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35960 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35961 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35962 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35963 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35964 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
35965 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35966 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
35967 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
35968 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
35969 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
35970 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35971 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
35972 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35973 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
35974 static swig_type_info _swigt__p_wxPosition
= {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0};
35975 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
35976 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
35977 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
35978 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35979 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
35980 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
35981 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
35982 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
35983 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
35984 static swig_type_info _swigt__p_wxPyHScrolledWindow
= {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0};
35985 static swig_type_info _swigt__p_wxPyHVScrolledWindow
= {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0};
35986 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
35987 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
35988 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
35989 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
35990 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
35991 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
35992 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
35993 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
35994 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
35995 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
35996 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
35997 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
35998 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
35999 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36000 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36001 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
36002 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
36003 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
36004 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
36005 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
36006 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
36007 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
36008 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36009 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
36010 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
36011 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
36012 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
36013 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
36014 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
36015 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36016 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
36017 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
36018 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
36019 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
36020 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
36021 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
36022 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
36023 static swig_type_info _swigt__p_wxVarHScrollHelper
= {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0};
36024 static swig_type_info _swigt__p_wxVarHVScrollHelper
= {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0};
36025 static swig_type_info _swigt__p_wxVarScrollHelperBase
= {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0};
36026 static swig_type_info _swigt__p_wxVarVScrollHelper
= {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0};
36027 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
36028 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36030 static swig_type_info
*swig_type_initial
[] = {
36033 &_swigt__p_form_ops_t
,
36035 &_swigt__p_unsigned_char
,
36036 &_swigt__p_unsigned_int
,
36037 &_swigt__p_unsigned_long
,
36038 &_swigt__p_wxANIHandler
,
36039 &_swigt__p_wxAcceleratorTable
,
36040 &_swigt__p_wxActivateEvent
,
36041 &_swigt__p_wxArrayInt
,
36042 &_swigt__p_wxArrayString
,
36043 &_swigt__p_wxBMPHandler
,
36044 &_swigt__p_wxBitmap
,
36045 &_swigt__p_wxBoxSizer
,
36046 &_swigt__p_wxCURHandler
,
36047 &_swigt__p_wxCalculateLayoutEvent
,
36048 &_swigt__p_wxChildFocusEvent
,
36049 &_swigt__p_wxClipboardTextEvent
,
36050 &_swigt__p_wxCloseEvent
,
36051 &_swigt__p_wxColour
,
36052 &_swigt__p_wxColourData
,
36053 &_swigt__p_wxColourDialog
,
36054 &_swigt__p_wxCommandEvent
,
36055 &_swigt__p_wxContextMenuEvent
,
36056 &_swigt__p_wxControl
,
36057 &_swigt__p_wxControlWithItems
,
36059 &_swigt__p_wxDateEvent
,
36060 &_swigt__p_wxDialog
,
36061 &_swigt__p_wxDirDialog
,
36062 &_swigt__p_wxDisplayChangedEvent
,
36063 &_swigt__p_wxDropFilesEvent
,
36064 &_swigt__p_wxDuplexMode
,
36065 &_swigt__p_wxEraseEvent
,
36066 &_swigt__p_wxEvent
,
36067 &_swigt__p_wxEventBlocker
,
36068 &_swigt__p_wxEvtHandler
,
36069 &_swigt__p_wxFSFile
,
36070 &_swigt__p_wxFileDialog
,
36071 &_swigt__p_wxFileSystem
,
36072 &_swigt__p_wxFindDialogEvent
,
36073 &_swigt__p_wxFindReplaceData
,
36074 &_swigt__p_wxFindReplaceDialog
,
36075 &_swigt__p_wxFlexGridSizer
,
36076 &_swigt__p_wxFocusEvent
,
36078 &_swigt__p_wxFontData
,
36079 &_swigt__p_wxFontDialog
,
36080 &_swigt__p_wxFrame
,
36081 &_swigt__p_wxGBSizerItem
,
36082 &_swigt__p_wxGIFHandler
,
36083 &_swigt__p_wxGridBagSizer
,
36084 &_swigt__p_wxGridSizer
,
36085 &_swigt__p_wxHtmlLinkInfo
,
36086 &_swigt__p_wxICOHandler
,
36088 &_swigt__p_wxIconBundle
,
36089 &_swigt__p_wxIconizeEvent
,
36090 &_swigt__p_wxIdleEvent
,
36091 &_swigt__p_wxImage
,
36092 &_swigt__p_wxImageHandler
,
36093 &_swigt__p_wxIndividualLayoutConstraint
,
36094 &_swigt__p_wxInitDialogEvent
,
36095 &_swigt__p_wxItemContainer
,
36096 &_swigt__p_wxJPEGHandler
,
36097 &_swigt__p_wxKeyEvent
,
36098 &_swigt__p_wxLayoutAlgorithm
,
36099 &_swigt__p_wxLayoutConstraints
,
36100 &_swigt__p_wxMDIChildFrame
,
36101 &_swigt__p_wxMDIClientWindow
,
36102 &_swigt__p_wxMDIParentFrame
,
36103 &_swigt__p_wxMaximizeEvent
,
36105 &_swigt__p_wxMenuBar
,
36106 &_swigt__p_wxMenuEvent
,
36107 &_swigt__p_wxMenuItem
,
36108 &_swigt__p_wxMessageDialog
,
36109 &_swigt__p_wxMiniFrame
,
36110 &_swigt__p_wxMouseCaptureChangedEvent
,
36111 &_swigt__p_wxMouseCaptureLostEvent
,
36112 &_swigt__p_wxMouseEvent
,
36113 &_swigt__p_wxMoveEvent
,
36114 &_swigt__p_wxMultiChoiceDialog
,
36115 &_swigt__p_wxNavigationKeyEvent
,
36116 &_swigt__p_wxNcPaintEvent
,
36117 &_swigt__p_wxNotifyEvent
,
36118 &_swigt__p_wxNumberEntryDialog
,
36119 &_swigt__p_wxObject
,
36120 &_swigt__p_wxPCXHandler
,
36121 &_swigt__p_wxPNGHandler
,
36122 &_swigt__p_wxPNMHandler
,
36123 &_swigt__p_wxPageSetupDialog
,
36124 &_swigt__p_wxPageSetupDialogData
,
36125 &_swigt__p_wxPaintEvent
,
36126 &_swigt__p_wxPaletteChangedEvent
,
36127 &_swigt__p_wxPanel
,
36128 &_swigt__p_wxPaperSize
,
36129 &_swigt__p_wxPasswordEntryDialog
,
36130 &_swigt__p_wxPoint
,
36131 &_swigt__p_wxPopupWindow
,
36132 &_swigt__p_wxPosition
,
36133 &_swigt__p_wxPreviewCanvas
,
36134 &_swigt__p_wxPreviewControlBar
,
36135 &_swigt__p_wxPreviewFrame
,
36136 &_swigt__p_wxPrintData
,
36137 &_swigt__p_wxPrintDialog
,
36138 &_swigt__p_wxPrintDialogData
,
36139 &_swigt__p_wxPrintPreview
,
36140 &_swigt__p_wxPrinter
,
36141 &_swigt__p_wxProgressDialog
,
36142 &_swigt__p_wxPyApp
,
36143 &_swigt__p_wxPyCommandEvent
,
36144 &_swigt__p_wxPyEvent
,
36145 &_swigt__p_wxPyHScrolledWindow
,
36146 &_swigt__p_wxPyHVScrolledWindow
,
36147 &_swigt__p_wxPyHtmlListBox
,
36148 &_swigt__p_wxPyImageHandler
,
36149 &_swigt__p_wxPyPanel
,
36150 &_swigt__p_wxPyPopupTransientWindow
,
36151 &_swigt__p_wxPyPreviewControlBar
,
36152 &_swigt__p_wxPyPreviewFrame
,
36153 &_swigt__p_wxPyPrintPreview
,
36154 &_swigt__p_wxPyPrintout
,
36155 &_swigt__p_wxPyScrolledWindow
,
36156 &_swigt__p_wxPySizer
,
36157 &_swigt__p_wxPyTaskBarIcon
,
36158 &_swigt__p_wxPyVListBox
,
36159 &_swigt__p_wxPyVScrolledWindow
,
36160 &_swigt__p_wxPyValidator
,
36161 &_swigt__p_wxPyWindow
,
36162 &_swigt__p_wxQueryLayoutInfoEvent
,
36163 &_swigt__p_wxQueryNewPaletteEvent
,
36165 &_swigt__p_wxRegion
,
36166 &_swigt__p_wxSashEvent
,
36167 &_swigt__p_wxSashLayoutWindow
,
36168 &_swigt__p_wxSashWindow
,
36169 &_swigt__p_wxScrollEvent
,
36170 &_swigt__p_wxScrollWinEvent
,
36171 &_swigt__p_wxScrolledWindow
,
36172 &_swigt__p_wxSetCursorEvent
,
36173 &_swigt__p_wxShowEvent
,
36174 &_swigt__p_wxSimpleHtmlListBox
,
36175 &_swigt__p_wxSingleChoiceDialog
,
36177 &_swigt__p_wxSizeEvent
,
36178 &_swigt__p_wxSizer
,
36179 &_swigt__p_wxSizerItem
,
36180 &_swigt__p_wxSplashScreen
,
36181 &_swigt__p_wxSplashScreenWindow
,
36182 &_swigt__p_wxSplitterEvent
,
36183 &_swigt__p_wxSplitterWindow
,
36184 &_swigt__p_wxStaticBoxSizer
,
36185 &_swigt__p_wxStatusBar
,
36186 &_swigt__p_wxStdDialogButtonSizer
,
36187 &_swigt__p_wxString
,
36188 &_swigt__p_wxSysColourChangedEvent
,
36189 &_swigt__p_wxTGAHandler
,
36190 &_swigt__p_wxTIFFHandler
,
36191 &_swigt__p_wxTaskBarIcon
,
36192 &_swigt__p_wxTaskBarIconEvent
,
36193 &_swigt__p_wxTextEntryDialog
,
36194 &_swigt__p_wxTipWindow
,
36195 &_swigt__p_wxToolBar
,
36196 &_swigt__p_wxTopLevelWindow
,
36197 &_swigt__p_wxUpdateUIEvent
,
36198 &_swigt__p_wxValidator
,
36199 &_swigt__p_wxVarHScrollHelper
,
36200 &_swigt__p_wxVarHVScrollHelper
,
36201 &_swigt__p_wxVarScrollHelperBase
,
36202 &_swigt__p_wxVarVScrollHelper
,
36203 &_swigt__p_wxVisualAttributes
,
36204 &_swigt__p_wxWindow
,
36205 &_swigt__p_wxWindowCreateEvent
,
36206 &_swigt__p_wxWindowDestroyEvent
,
36207 &_swigt__p_wxXPMHandler
,
36210 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
36211 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36212 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36213 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36214 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36215 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36216 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36217 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
36218 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
36219 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36220 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
36221 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36222 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
36223 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
36224 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36225 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36226 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36227 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36228 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36229 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36230 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36231 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36232 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36233 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}};
36234 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
36235 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}};
36236 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
36237 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36238 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36239 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36240 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36241 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36242 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36243 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36244 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36245 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36246 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36247 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36248 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36249 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36250 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36251 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36252 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36253 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36254 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36255 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36256 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36257 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36258 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36259 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36260 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36261 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36262 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36263 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36264 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}};
36265 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
36266 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36267 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36268 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36269 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36270 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}};
36271 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
36272 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36273 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36274 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
36275 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36276 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36277 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
36278 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
36279 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}};
36280 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
36281 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36282 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36283 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}};
36284 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
36285 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
36286 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
36287 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
36288 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36289 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36290 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
36291 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
36292 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36293 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}};
36294 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
36295 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36296 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36297 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36298 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36299 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36300 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36301 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36302 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36303 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36304 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36305 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36306 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36307 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36308 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36309 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36310 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36311 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36312 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36313 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36314 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36315 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36316 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36317 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36318 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36319 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36320 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36321 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
36322 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36323 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36324 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}};
36325 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
36326 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
36327 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}};
36328 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36329 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
36330 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36331 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}};
36332 static swig_cast_info _swigc__p_wxPosition
[] = { {&_swigt__p_wxPosition
, 0, 0, 0},{0, 0, 0, 0}};
36333 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
36334 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}};
36335 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}};
36336 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36337 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
36338 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
36339 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}};
36340 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
36341 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
36342 static swig_cast_info _swigc__p_wxPyHScrolledWindow
[] = { {&_swigt__p_wxPyHScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36343 static swig_cast_info _swigc__p_wxPyHVScrolledWindow
[] = { {&_swigt__p_wxPyHVScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36344 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}};
36345 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
36346 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}};
36347 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
36348 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
36349 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
36350 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
36351 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
36352 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
36353 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}};
36354 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}};
36355 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
36356 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
36357 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36358 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36359 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
36360 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
36361 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}};
36362 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36363 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}};
36364 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
36365 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
36366 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36367 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
36368 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
36369 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
36370 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
36371 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
36372 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36373 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36374 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
36375 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
36376 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}};
36377 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
36378 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
36379 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}};
36380 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}};
36381 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}};
36382 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}};
36383 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}};
36384 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}};
36385 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
36386 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}};
36388 static swig_cast_info
*swig_cast_initial
[] = {
36391 _swigc__p_form_ops_t
,
36393 _swigc__p_unsigned_char
,
36394 _swigc__p_unsigned_int
,
36395 _swigc__p_unsigned_long
,
36396 _swigc__p_wxANIHandler
,
36397 _swigc__p_wxAcceleratorTable
,
36398 _swigc__p_wxActivateEvent
,
36399 _swigc__p_wxArrayInt
,
36400 _swigc__p_wxArrayString
,
36401 _swigc__p_wxBMPHandler
,
36402 _swigc__p_wxBitmap
,
36403 _swigc__p_wxBoxSizer
,
36404 _swigc__p_wxCURHandler
,
36405 _swigc__p_wxCalculateLayoutEvent
,
36406 _swigc__p_wxChildFocusEvent
,
36407 _swigc__p_wxClipboardTextEvent
,
36408 _swigc__p_wxCloseEvent
,
36409 _swigc__p_wxColour
,
36410 _swigc__p_wxColourData
,
36411 _swigc__p_wxColourDialog
,
36412 _swigc__p_wxCommandEvent
,
36413 _swigc__p_wxContextMenuEvent
,
36414 _swigc__p_wxControl
,
36415 _swigc__p_wxControlWithItems
,
36417 _swigc__p_wxDateEvent
,
36418 _swigc__p_wxDialog
,
36419 _swigc__p_wxDirDialog
,
36420 _swigc__p_wxDisplayChangedEvent
,
36421 _swigc__p_wxDropFilesEvent
,
36422 _swigc__p_wxDuplexMode
,
36423 _swigc__p_wxEraseEvent
,
36425 _swigc__p_wxEventBlocker
,
36426 _swigc__p_wxEvtHandler
,
36427 _swigc__p_wxFSFile
,
36428 _swigc__p_wxFileDialog
,
36429 _swigc__p_wxFileSystem
,
36430 _swigc__p_wxFindDialogEvent
,
36431 _swigc__p_wxFindReplaceData
,
36432 _swigc__p_wxFindReplaceDialog
,
36433 _swigc__p_wxFlexGridSizer
,
36434 _swigc__p_wxFocusEvent
,
36436 _swigc__p_wxFontData
,
36437 _swigc__p_wxFontDialog
,
36439 _swigc__p_wxGBSizerItem
,
36440 _swigc__p_wxGIFHandler
,
36441 _swigc__p_wxGridBagSizer
,
36442 _swigc__p_wxGridSizer
,
36443 _swigc__p_wxHtmlLinkInfo
,
36444 _swigc__p_wxICOHandler
,
36446 _swigc__p_wxIconBundle
,
36447 _swigc__p_wxIconizeEvent
,
36448 _swigc__p_wxIdleEvent
,
36450 _swigc__p_wxImageHandler
,
36451 _swigc__p_wxIndividualLayoutConstraint
,
36452 _swigc__p_wxInitDialogEvent
,
36453 _swigc__p_wxItemContainer
,
36454 _swigc__p_wxJPEGHandler
,
36455 _swigc__p_wxKeyEvent
,
36456 _swigc__p_wxLayoutAlgorithm
,
36457 _swigc__p_wxLayoutConstraints
,
36458 _swigc__p_wxMDIChildFrame
,
36459 _swigc__p_wxMDIClientWindow
,
36460 _swigc__p_wxMDIParentFrame
,
36461 _swigc__p_wxMaximizeEvent
,
36463 _swigc__p_wxMenuBar
,
36464 _swigc__p_wxMenuEvent
,
36465 _swigc__p_wxMenuItem
,
36466 _swigc__p_wxMessageDialog
,
36467 _swigc__p_wxMiniFrame
,
36468 _swigc__p_wxMouseCaptureChangedEvent
,
36469 _swigc__p_wxMouseCaptureLostEvent
,
36470 _swigc__p_wxMouseEvent
,
36471 _swigc__p_wxMoveEvent
,
36472 _swigc__p_wxMultiChoiceDialog
,
36473 _swigc__p_wxNavigationKeyEvent
,
36474 _swigc__p_wxNcPaintEvent
,
36475 _swigc__p_wxNotifyEvent
,
36476 _swigc__p_wxNumberEntryDialog
,
36477 _swigc__p_wxObject
,
36478 _swigc__p_wxPCXHandler
,
36479 _swigc__p_wxPNGHandler
,
36480 _swigc__p_wxPNMHandler
,
36481 _swigc__p_wxPageSetupDialog
,
36482 _swigc__p_wxPageSetupDialogData
,
36483 _swigc__p_wxPaintEvent
,
36484 _swigc__p_wxPaletteChangedEvent
,
36486 _swigc__p_wxPaperSize
,
36487 _swigc__p_wxPasswordEntryDialog
,
36489 _swigc__p_wxPopupWindow
,
36490 _swigc__p_wxPosition
,
36491 _swigc__p_wxPreviewCanvas
,
36492 _swigc__p_wxPreviewControlBar
,
36493 _swigc__p_wxPreviewFrame
,
36494 _swigc__p_wxPrintData
,
36495 _swigc__p_wxPrintDialog
,
36496 _swigc__p_wxPrintDialogData
,
36497 _swigc__p_wxPrintPreview
,
36498 _swigc__p_wxPrinter
,
36499 _swigc__p_wxProgressDialog
,
36501 _swigc__p_wxPyCommandEvent
,
36502 _swigc__p_wxPyEvent
,
36503 _swigc__p_wxPyHScrolledWindow
,
36504 _swigc__p_wxPyHVScrolledWindow
,
36505 _swigc__p_wxPyHtmlListBox
,
36506 _swigc__p_wxPyImageHandler
,
36507 _swigc__p_wxPyPanel
,
36508 _swigc__p_wxPyPopupTransientWindow
,
36509 _swigc__p_wxPyPreviewControlBar
,
36510 _swigc__p_wxPyPreviewFrame
,
36511 _swigc__p_wxPyPrintPreview
,
36512 _swigc__p_wxPyPrintout
,
36513 _swigc__p_wxPyScrolledWindow
,
36514 _swigc__p_wxPySizer
,
36515 _swigc__p_wxPyTaskBarIcon
,
36516 _swigc__p_wxPyVListBox
,
36517 _swigc__p_wxPyVScrolledWindow
,
36518 _swigc__p_wxPyValidator
,
36519 _swigc__p_wxPyWindow
,
36520 _swigc__p_wxQueryLayoutInfoEvent
,
36521 _swigc__p_wxQueryNewPaletteEvent
,
36523 _swigc__p_wxRegion
,
36524 _swigc__p_wxSashEvent
,
36525 _swigc__p_wxSashLayoutWindow
,
36526 _swigc__p_wxSashWindow
,
36527 _swigc__p_wxScrollEvent
,
36528 _swigc__p_wxScrollWinEvent
,
36529 _swigc__p_wxScrolledWindow
,
36530 _swigc__p_wxSetCursorEvent
,
36531 _swigc__p_wxShowEvent
,
36532 _swigc__p_wxSimpleHtmlListBox
,
36533 _swigc__p_wxSingleChoiceDialog
,
36535 _swigc__p_wxSizeEvent
,
36537 _swigc__p_wxSizerItem
,
36538 _swigc__p_wxSplashScreen
,
36539 _swigc__p_wxSplashScreenWindow
,
36540 _swigc__p_wxSplitterEvent
,
36541 _swigc__p_wxSplitterWindow
,
36542 _swigc__p_wxStaticBoxSizer
,
36543 _swigc__p_wxStatusBar
,
36544 _swigc__p_wxStdDialogButtonSizer
,
36545 _swigc__p_wxString
,
36546 _swigc__p_wxSysColourChangedEvent
,
36547 _swigc__p_wxTGAHandler
,
36548 _swigc__p_wxTIFFHandler
,
36549 _swigc__p_wxTaskBarIcon
,
36550 _swigc__p_wxTaskBarIconEvent
,
36551 _swigc__p_wxTextEntryDialog
,
36552 _swigc__p_wxTipWindow
,
36553 _swigc__p_wxToolBar
,
36554 _swigc__p_wxTopLevelWindow
,
36555 _swigc__p_wxUpdateUIEvent
,
36556 _swigc__p_wxValidator
,
36557 _swigc__p_wxVarHScrollHelper
,
36558 _swigc__p_wxVarHVScrollHelper
,
36559 _swigc__p_wxVarScrollHelperBase
,
36560 _swigc__p_wxVarVScrollHelper
,
36561 _swigc__p_wxVisualAttributes
,
36562 _swigc__p_wxWindow
,
36563 _swigc__p_wxWindowCreateEvent
,
36564 _swigc__p_wxWindowDestroyEvent
,
36565 _swigc__p_wxXPMHandler
,
36569 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36571 static swig_const_info swig_const_table
[] = {
36572 {0, 0, 0, 0.0, 0, 0}};
36577 /* -----------------------------------------------------------------------------
36578 * Type initialization:
36579 * This problem is tough by the requirement that no dynamic
36580 * memory is used. Also, since swig_type_info structures store pointers to
36581 * swig_cast_info structures and swig_cast_info structures store pointers back
36582 * to swig_type_info structures, we need some lookup code at initialization.
36583 * The idea is that swig generates all the structures that are needed.
36584 * The runtime then collects these partially filled structures.
36585 * The SWIG_InitializeModule function takes these initial arrays out of
36586 * swig_module, and does all the lookup, filling in the swig_module.types
36587 * array with the correct data and linking the correct swig_cast_info
36588 * structures together.
36590 * The generated swig_type_info structures are assigned staticly to an initial
36591 * array. We just loop though that array, and handle each type individually.
36592 * First we lookup if this type has been already loaded, and if so, use the
36593 * loaded structure instead of the generated one. Then we have to fill in the
36594 * cast linked list. The cast data is initially stored in something like a
36595 * two-dimensional array. Each row corresponds to a type (there are the same
36596 * number of rows as there are in the swig_type_initial array). Each entry in
36597 * a column is one of the swig_cast_info structures for that type.
36598 * The cast_initial array is actually an array of arrays, because each row has
36599 * a variable number of columns. So to actually build the cast linked list,
36600 * we find the array of casts associated with the type, and loop through it
36601 * adding the casts to the list. The one last trick we need to do is making
36602 * sure the type pointer in the swig_cast_info struct is correct.
36604 * First off, we lookup the cast->type name to see if it is already loaded.
36605 * There are three cases to handle:
36606 * 1) If the cast->type has already been loaded AND the type we are adding
36607 * casting info to has not been loaded (it is in this module), THEN we
36608 * replace the cast->type pointer with the type pointer that has already
36610 * 2) If BOTH types (the one we are adding casting info to, and the
36611 * cast->type) are loaded, THEN the cast info has already been loaded by
36612 * the previous module so we just ignore it.
36613 * 3) Finally, if cast->type has not already been loaded, then we add that
36614 * swig_cast_info to the linked list (because the cast->type) pointer will
36616 * ----------------------------------------------------------------------------- */
36626 #define SWIGRUNTIME_DEBUG
36630 SWIG_InitializeModule(void *clientdata
) {
36632 swig_module_info
*module_head
;
36633 static int init_run
= 0;
36635 clientdata
= clientdata
;
36637 if (init_run
) return;
36640 /* Initialize the swig_module */
36641 swig_module
.type_initial
= swig_type_initial
;
36642 swig_module
.cast_initial
= swig_cast_initial
;
36644 /* Try and load any already created modules */
36645 module_head
= SWIG_GetModule(clientdata
);
36647 swig_module
.next
= module_head
->next
;
36648 module_head
->next
= &swig_module
;
36650 /* This is the first module loaded */
36651 swig_module
.next
= &swig_module
;
36652 SWIG_SetModule(clientdata
, &swig_module
);
36655 /* Now work on filling in swig_module.types */
36656 #ifdef SWIGRUNTIME_DEBUG
36657 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36659 for (i
= 0; i
< swig_module
.size
; ++i
) {
36660 swig_type_info
*type
= 0;
36661 swig_type_info
*ret
;
36662 swig_cast_info
*cast
;
36664 #ifdef SWIGRUNTIME_DEBUG
36665 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36668 /* if there is another module already loaded */
36669 if (swig_module
.next
!= &swig_module
) {
36670 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36673 /* Overwrite clientdata field */
36674 #ifdef SWIGRUNTIME_DEBUG
36675 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36677 if (swig_module
.type_initial
[i
]->clientdata
) {
36678 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36679 #ifdef SWIGRUNTIME_DEBUG
36680 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36684 type
= swig_module
.type_initial
[i
];
36687 /* Insert casting types */
36688 cast
= swig_module
.cast_initial
[i
];
36689 while (cast
->type
) {
36690 /* Don't need to add information already in the list */
36692 #ifdef SWIGRUNTIME_DEBUG
36693 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36695 if (swig_module
.next
!= &swig_module
) {
36696 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36697 #ifdef SWIGRUNTIME_DEBUG
36698 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36702 if (type
== swig_module
.type_initial
[i
]) {
36703 #ifdef SWIGRUNTIME_DEBUG
36704 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36709 /* Check for casting already in the list */
36710 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36711 #ifdef SWIGRUNTIME_DEBUG
36712 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36714 if (!ocast
) ret
= 0;
36719 #ifdef SWIGRUNTIME_DEBUG
36720 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36723 type
->cast
->prev
= cast
;
36724 cast
->next
= type
->cast
;
36730 /* Set entry in modules->types array equal to the type */
36731 swig_module
.types
[i
] = type
;
36733 swig_module
.types
[i
] = 0;
36735 #ifdef SWIGRUNTIME_DEBUG
36736 printf("**** SWIG_InitializeModule: Cast List ******\n");
36737 for (i
= 0; i
< swig_module
.size
; ++i
) {
36739 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36740 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36741 while (cast
->type
) {
36742 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36746 printf("---- Total casts: %d\n",j
);
36748 printf("**** SWIG_InitializeModule: Cast List ******\n");
36752 /* This function will propagate the clientdata field of type to
36753 * any new swig_type_info structures that have been added into the list
36754 * of equivalent types. It is like calling
36755 * SWIG_TypeClientData(type, clientdata) a second time.
36758 SWIG_PropagateClientData(void) {
36760 swig_cast_info
*equiv
;
36761 static int init_run
= 0;
36763 if (init_run
) return;
36766 for (i
= 0; i
< swig_module
.size
; i
++) {
36767 if (swig_module
.types
[i
]->clientdata
) {
36768 equiv
= swig_module
.types
[i
]->cast
;
36770 if (!equiv
->converter
) {
36771 if (equiv
->type
&& !equiv
->type
->clientdata
)
36772 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36774 equiv
= equiv
->next
;
36794 /* Python-specific SWIG API */
36795 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36796 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36797 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36799 /* -----------------------------------------------------------------------------
36800 * global variable support code.
36801 * ----------------------------------------------------------------------------- */
36803 typedef struct swig_globalvar
{
36804 char *name
; /* Name of global variable */
36805 PyObject
*(*get_attr
)(void); /* Return the current value */
36806 int (*set_attr
)(PyObject
*); /* Set the value */
36807 struct swig_globalvar
*next
;
36810 typedef struct swig_varlinkobject
{
36812 swig_globalvar
*vars
;
36813 } swig_varlinkobject
;
36815 SWIGINTERN PyObject
*
36816 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36817 return PyString_FromString("<Swig global variables>");
36820 SWIGINTERN PyObject
*
36821 swig_varlink_str(swig_varlinkobject
*v
) {
36822 PyObject
*str
= PyString_FromString("(");
36823 swig_globalvar
*var
;
36824 for (var
= v
->vars
; var
; var
=var
->next
) {
36825 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36826 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36828 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36833 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36834 PyObject
*str
= swig_varlink_str(v
);
36835 fprintf(fp
,"Swig global variables ");
36836 fprintf(fp
,"%s\n", PyString_AsString(str
));
36842 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36843 swig_globalvar
*var
= v
->vars
;
36845 swig_globalvar
*n
= var
->next
;
36852 SWIGINTERN PyObject
*
36853 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36854 PyObject
*res
= NULL
;
36855 swig_globalvar
*var
= v
->vars
;
36857 if (strcmp(var
->name
,n
) == 0) {
36858 res
= (*var
->get_attr
)();
36863 if (res
== NULL
&& !PyErr_Occurred()) {
36864 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36870 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36872 swig_globalvar
*var
= v
->vars
;
36874 if (strcmp(var
->name
,n
) == 0) {
36875 res
= (*var
->set_attr
)(p
);
36880 if (res
== 1 && !PyErr_Occurred()) {
36881 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36886 SWIGINTERN PyTypeObject
*
36887 swig_varlink_type(void) {
36888 static char varlink__doc__
[] = "Swig var link object";
36889 static PyTypeObject varlink_type
;
36890 static int type_init
= 0;
36892 const PyTypeObject tmp
36894 PyObject_HEAD_INIT(NULL
)
36895 0, /* Number of items in variable part (ob_size) */
36896 (char *)"swigvarlink", /* Type name (tp_name) */
36897 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36898 0, /* Itemsize (tp_itemsize) */
36899 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36900 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36901 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36902 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36903 0, /* tp_compare */
36904 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36905 0, /* tp_as_number */
36906 0, /* tp_as_sequence */
36907 0, /* tp_as_mapping */
36910 (reprfunc
)swig_varlink_str
, /* tp_str */
36911 0, /* tp_getattro */
36912 0, /* tp_setattro */
36913 0, /* tp_as_buffer */
36915 varlink__doc__
, /* tp_doc */
36916 0, /* tp_traverse */
36918 0, /* tp_richcompare */
36919 0, /* tp_weaklistoffset */
36920 #if PY_VERSION_HEX >= 0x02020000
36921 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36923 #if PY_VERSION_HEX >= 0x02030000
36926 #ifdef COUNT_ALLOCS
36927 0,0,0,0 /* tp_alloc -> tp_next */
36930 varlink_type
= tmp
;
36931 varlink_type
.ob_type
= &PyType_Type
;
36934 return &varlink_type
;
36937 /* Create a variable linking object for use later */
36938 SWIGINTERN PyObject
*
36939 SWIG_Python_newvarlink(void) {
36940 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36944 return ((PyObject
*) result
);
36948 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36949 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36950 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36952 size_t size
= strlen(name
)+1;
36953 gv
->name
= (char *)malloc(size
);
36955 strncpy(gv
->name
,name
,size
);
36956 gv
->get_attr
= get_attr
;
36957 gv
->set_attr
= set_attr
;
36958 gv
->next
= v
->vars
;
36964 SWIGINTERN PyObject
*
36966 static PyObject
*_SWIG_globals
= 0;
36967 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36968 return _SWIG_globals
;
36971 /* -----------------------------------------------------------------------------
36972 * constants/methods manipulation
36973 * ----------------------------------------------------------------------------- */
36975 /* Install Constants */
36977 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36980 for (i
= 0; constants
[i
].type
; ++i
) {
36981 switch(constants
[i
].type
) {
36982 case SWIG_PY_POINTER
:
36983 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36985 case SWIG_PY_BINARY
:
36986 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36993 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36999 /* -----------------------------------------------------------------------------*/
37000 /* Fix SwigMethods to carry the callback ptrs when needed */
37001 /* -----------------------------------------------------------------------------*/
37004 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37005 swig_const_info
*const_table
,
37006 swig_type_info
**types
,
37007 swig_type_info
**types_initial
) {
37009 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37010 const char *c
= methods
[i
].ml_doc
;
37011 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37013 swig_const_info
*ci
= 0;
37014 const char *name
= c
+ 10;
37015 for (j
= 0; const_table
[j
].type
; ++j
) {
37016 if (strncmp(const_table
[j
].name
, name
,
37017 strlen(const_table
[j
].name
)) == 0) {
37018 ci
= &(const_table
[j
]);
37023 size_t shift
= (ci
->ptype
) - types
;
37024 swig_type_info
*ty
= types_initial
[shift
];
37025 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37026 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37027 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37030 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37032 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37034 strncpy(buff
, "swig_ptr: ", 10);
37036 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37037 methods
[i
].ml_doc
= ndoc
;
37049 /* -----------------------------------------------------------------------------*
37050 * Partial Init method
37051 * -----------------------------------------------------------------------------*/
37056 SWIGEXPORT
void SWIG_init(void) {
37059 /* Fix SwigMethods to carry the callback ptrs when needed */
37060 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37062 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37063 d
= PyModule_GetDict(m
);
37065 SWIG_InitializeModule(0);
37066 SWIG_InstallConstants(d
,swig_const_table
);
37069 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37070 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
37071 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
37072 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
37073 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
37074 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
37075 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
37076 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
37077 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
37078 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
37079 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
37080 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
37081 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
37082 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
37083 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
37084 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
37085 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
37086 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
37087 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
37088 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
37089 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
37090 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
37091 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
37092 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
37093 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
37094 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
37095 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
37096 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
37097 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
37098 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
37099 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
37100 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
37101 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
37102 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
37103 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
37104 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
37105 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
37106 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
37107 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
37108 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
37109 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
37110 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
37111 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
37112 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
37113 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
37114 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
37115 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
37116 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
37117 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
37118 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
37119 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
37120 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
37121 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
37122 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
37123 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
37124 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
37125 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
37126 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
37127 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
37128 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
37129 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
37130 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
37131 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
37132 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
37133 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
37134 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
37135 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
37136 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
37137 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
37138 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
37139 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
37140 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
37141 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
37142 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
37143 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
37144 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
37145 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
37146 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
37147 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
37148 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
37149 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
37150 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
37151 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
37152 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
37153 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
37154 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
37155 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
37156 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
37157 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
37158 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
37159 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
37160 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
37161 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
37162 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
37163 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
37164 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
37165 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
37166 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
37167 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
37168 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
37169 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
37170 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
37171 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
37173 // Map renamed classes back to their common name for OOR
37174 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
37175 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
37176 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
37178 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
37179 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
37180 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
37181 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
37182 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
37183 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
37184 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
37185 PyDict_SetItemString(d
, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK
));
37186 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
37187 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
37188 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
37189 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
37190 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
37191 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
37192 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
37193 SWIG_Python_SetConstant(d
, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST
)));
37194 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
37195 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
37196 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
37197 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
37198 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
37199 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
37200 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
37201 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
37202 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
37203 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
37204 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
37205 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
37206 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
37207 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
37208 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
37209 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
37210 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
37211 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
37212 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
37213 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
37214 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
37215 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
37216 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
37217 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
37218 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
37219 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
37220 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
37221 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
37222 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
37223 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
37224 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
37225 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
37226 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
37227 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
37228 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
37229 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
37230 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
37231 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
37232 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
37233 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
37234 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
37235 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
37236 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
37237 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
37238 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
37239 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
37240 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
37241 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
37242 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
37243 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
37244 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
37245 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
37246 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
37247 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
37248 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
37249 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
37250 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
37251 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
37252 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
37253 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
37254 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
37255 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
37256 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
37257 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
37258 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
37259 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
37260 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
37261 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
37262 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
37263 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
37264 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
37265 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
37266 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
37267 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
37268 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
37269 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
37270 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
37271 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
37272 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
37273 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
37274 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
37275 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
37276 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
37278 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");