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_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info
*swig_types
[166];
2632 static swig_module_info swig_module
= {swig_types
, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2658 #define SWIG_name "_windows_"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2734 static const wxString
wxPyEmptyString(wxEmptyString
);
2735 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2766 int res
= SWIG_AsVal_long (obj
, &v
);
2767 if (SWIG_IsOK(res
)) {
2768 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2769 return SWIG_OverflowError
;
2771 if (val
) *val
= static_cast< int >(v
);
2779 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2781 if (obj
== Py_True
) {
2782 if (val
) *val
= true;
2784 } else if (obj
== Py_False
) {
2785 if (val
) *val
= false;
2789 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2790 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2796 #define SWIG_From_long PyInt_FromLong
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_int (int value
)
2802 return SWIG_From_long (value
);
2807 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2809 if (PyNumber_Check(obj
)) {
2810 if (val
) *val
= PyFloat_AsDouble(obj
);
2813 return SWIG_TypeError
;
2817 #define SWIG_From_double PyFloat_FromDouble
2819 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2820 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2821 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2822 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2823 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2827 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2829 self
->GetFieldRect(i
, r
);
2832 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2836 #include <wx/popupwin.h>
2839 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2842 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2843 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2844 : wxPopupTransientWindow(parent
, style
) {}
2846 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2847 DEC_PYCALLBACK__(OnDismiss
);
2848 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2853 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2854 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2855 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2858 #include <wx/tipwin.h>
2860 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2861 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2864 #include <wx/tipwin.h>
2867 #include <wx/vscroll.h>
2870 class wxPyVScrolledWindow
: public wxVScrolledWindow
2872 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2874 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2876 wxPyVScrolledWindow(wxWindow
*parent
,
2877 wxWindowID id
= wxID_ANY
,
2878 const wxPoint
& pos
= wxDefaultPosition
,
2879 const wxSize
& size
= wxDefaultSize
,
2881 const wxString
& name
= wxPyPanelNameStr
)
2882 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2885 // Overridable virtuals
2887 // this function must be overridden in the derived class and it should
2888 // return the height of the given line in pixels
2889 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2892 // this function doesn't have to be overridden but it may be useful to do
2893 // it if calculating the lines heights is a relatively expensive operation
2894 // as it gives the user code a possibility to calculate several of them at
2897 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2898 // shouldn't rely on the latter being called for all lines in the interval
2899 // specified here. It is also possible that OnGetLineHeight() will be
2900 // called for the lines outside of this interval, so this is really just a
2901 // hint, not a promise.
2903 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2905 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2908 // when the number of lines changes, we try to estimate the total height
2909 // of all lines which is a rather expensive operation in terms of lines
2910 // access, so if the user code may estimate the average height
2911 // better/faster than we do, it should override this function to implement
2914 // this function should return the best guess for the total height it may
2916 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2919 // Also expose some other interesting protected methods
2922 // find the index of the line we need to show at the top of the window such
2923 // that the last (fully or partially) visible line is the given one
2924 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2925 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2927 // get the total height of the lines between lineMin (inclusive) and
2928 // lineMax (exclusive)
2929 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2930 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2932 // update the thumb size shown by the scrollbar
2933 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2935 // remove the scrollbar completely because we don't need it
2936 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2941 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2943 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2944 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2945 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2949 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2952 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2953 return SWIG_TypeError
;
2956 *val
= (unsigned long)v
;
2961 SWIGINTERNINLINE
int
2962 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2965 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2966 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2971 SWIGINTERNINLINE PyObject
*
2972 SWIG_From_unsigned_SS_long (unsigned long value
)
2974 return (value
> LONG_MAX
) ?
2975 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2979 SWIGINTERNINLINE PyObject
*
2980 SWIG_From_size_t (size_t value
)
2982 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2986 #include <wx/vlbox.h>
2988 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2990 class wxPyVListBox
: public wxVListBox
2992 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2994 wxPyVListBox() : wxVListBox() {}
2996 wxPyVListBox(wxWindow
*parent
,
2997 wxWindowID id
= wxID_ANY
,
2998 const wxPoint
& pos
= wxDefaultPosition
,
2999 const wxSize
& size
= wxDefaultSize
,
3001 const wxString
& name
= wxPyVListBoxNameStr
)
3002 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3005 // Overridable virtuals
3007 // the derived class must implement this function to actually draw the item
3008 // with the given index on the provided DC
3009 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3010 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3013 // the derived class must implement this method to return the height of the
3015 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3016 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3019 // this method may be used to draw separators between the lines; note that
3020 // the rectangle may be modified, typically to deflate it a bit before
3021 // passing to OnDrawItem()
3023 // the base class version doesn't do anything
3024 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3025 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3028 // this method is used to draw the items background and, maybe, a border
3031 // the base class version implements a reasonable default behaviour which
3032 // consists in drawing the selected item with the standard background
3033 // colour and drawing a border around the item if it is either selected or
3035 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3036 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3042 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3044 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3045 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3046 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3047 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3050 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3051 unsigned long cookie
= 0;
3052 int selected
= self
->GetFirstSelected(cookie
);
3053 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3054 PyObject
* tup
= PyTuple_New(2);
3055 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3056 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3057 wxPyEndBlockThreads(blocked
);
3060 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3061 int selected
= self
->GetNextSelected(cookie
);
3062 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3063 PyObject
* tup
= PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3065 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3066 wxPyEndBlockThreads(blocked
);
3070 #include <wx/htmllbox.h>
3073 class wxPyHtmlListBox
: public wxHtmlListBox
3075 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3077 wxPyHtmlListBox() : wxHtmlListBox() {}
3079 wxPyHtmlListBox(wxWindow
*parent
,
3080 wxWindowID id
= wxID_ANY
,
3081 const wxPoint
& pos
= wxDefaultPosition
,
3082 const wxSize
& size
= wxDefaultSize
,
3084 const wxString
& name
= wxPyVListBoxNameStr
)
3085 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3088 // Overridable virtuals
3090 // this method must be implemented in the derived class and should return
3091 // the body (i.e. without <html>) of the HTML for the given item
3092 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3094 // this function may be overridden to decorate HTML returned by OnGetItem()
3095 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3097 // These are from wxVListBox
3098 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3099 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3102 // // this method allows to customize the selection appearance: it may be used
3103 // // to specify the colour of the text which normally has the given colour
3104 // // colFg when it is inside the selection
3106 // // by default, the original colour is not used at all and all text has the
3107 // // same (default for this system) colour inside selection
3108 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3110 // // this is the same as GetSelectedTextColour() but allows to customize the
3111 // // background colour -- this is even more rarely used as you can change it
3112 // // globally using SetSelectionBackground()
3113 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3116 // This method may be overriden to handle clicking on a link in
3117 // the listbox. By default, clicking links is ignored.
3118 virtual void OnLinkClicked(size_t n
,
3119 const wxHtmlLinkInfo
& link
);
3125 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3127 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3128 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3129 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3130 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3133 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3134 const wxHtmlLinkInfo
& link
) {
3136 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3137 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3138 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3139 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3142 wxPyEndBlockThreads(blocked
);
3144 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3151 #ifndef wxHAS_TASK_BAR_ICON
3152 // implement dummy classes for platforms that don't have it
3154 class wxTaskBarIcon
: public wxEvtHandler
3157 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3161 class wxTaskBarIconEvent
: public wxEvent
3164 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3165 { wxPyRaiseNotImplemented(); }
3166 virtual wxEvent
* Clone() const { return NULL
; }
3167 bool IsOk() const { return false; }
3168 bool IsIconInstalled() const { return false; }
3169 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3170 bool RemoveIcon() { return false; }
3171 bool PopupMenu(wxMenu
*menu
) { return false; }
3175 wxEVT_TASKBAR_MOVE
= 0,
3176 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3177 wxEVT_TASKBAR_LEFT_UP
= 0,
3178 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3179 wxEVT_TASKBAR_RIGHT_UP
= 0,
3180 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3181 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3186 // Otherwise make a class that can virtualize CreatePopupMenu
3187 class wxPyTaskBarIcon
: public wxTaskBarIcon
3189 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3191 wxPyTaskBarIcon() : wxTaskBarIcon()
3194 wxMenu
* CreatePopupMenu() {
3195 wxMenu
*rval
= NULL
;
3197 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3198 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3201 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3203 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3208 wxPyEndBlockThreads(blocked
);
3210 rval
= wxTaskBarIcon::CreatePopupMenu();
3217 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3221 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3225 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3226 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3227 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3228 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3229 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3230 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3232 // for compatibility only
3233 #define wxHIDE_READONLY 0
3235 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3237 self
->GetFilenames(arr
);
3238 return wxArrayString2PyList_helper(arr
);
3240 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3242 self
->GetPaths(arr
);
3243 return wxArrayString2PyList_helper(arr
);
3245 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3246 return wxArrayInt2PyList_helper(self
->GetSelections());
3248 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
){
3249 return new wxSingleChoiceDialog(parent
, message
, caption
,
3250 choices
, choices_array
, NULL
, style
, pos
);
3252 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3254 SWIGINTERNINLINE PyObject
*
3255 SWIG_From_bool (bool value
)
3257 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxWindow
3264 class wxPyWindow
: public wxWindow
3266 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3268 wxPyWindow() : wxWindow() {}
3269 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxString
& name
= wxPyPanelNameStr
)
3274 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3276 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel
: public wxPanel
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3362 const wxPoint
& pos
= wxDefaultPosition
,
3363 const wxSize
& size
= wxDefaultSize
,
3365 const wxString
& name
= wxPyPanelNameStr
)
3366 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3368 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3369 bool DoEraseBackground(wxDC
* dc
) {
3371 return wxWindow::DoEraseBackground(dc
->GetHDC());
3373 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3381 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3392 DEC_PYCALLBACK__(InitDialog
);
3393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3395 DEC_PYCALLBACK_BOOL_(Validate
);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3399 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3409 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3428 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3440 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3443 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3445 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3447 // C++ version of Python aware wxScrolledWindow
3448 class wxPyScrolledWindow
: public wxScrolledWindow
3450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3452 wxPyScrolledWindow() : wxScrolledWindow() {}
3453 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3454 const wxPoint
& pos
= wxDefaultPosition
,
3455 const wxSize
& size
= wxDefaultSize
,
3457 const wxString
& name
= wxPyPanelNameStr
)
3458 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3460 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3461 bool DoEraseBackground(wxDC
* dc
) {
3463 return wxWindow::DoEraseBackground(dc
->GetHDC());
3465 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3472 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3483 DEC_PYCALLBACK__(InitDialog
);
3484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3486 DEC_PYCALLBACK_BOOL_(Validate
);
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3490 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3500 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3519 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3539 #include "wx/wxPython/printfw.h"
3542 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3543 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3544 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3546 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3547 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3548 self
->GetPrivDataLen());
3549 wxPyEndBlockThreads(blocked
);
3552 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3553 if (! PyString_Check(data
)) {
3554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3555 "Expected string object"));
3559 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3560 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3561 wxPyEndBlockThreads(blocked
);
3565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3567 // Since this one would be tough and ugly to do with the Macros...
3568 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3569 bool hadErr
= false;
3572 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3573 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3574 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3575 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3578 val
= PyTuple_GetItem(result
, 0);
3579 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3582 val
= PyTuple_GetItem(result
, 1);
3583 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3586 val
= PyTuple_GetItem(result
, 2);
3587 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3590 val
= PyTuple_GetItem(result
, 3);
3591 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3598 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3603 wxPyEndBlockThreads(blocked
);
3605 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3610 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3615 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3616 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3622 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3623 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3626 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3627 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3630 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3631 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3632 PyObject* win = wxPyMake_wxObject(a,false); \
3633 PyObject* dc = wxPyMake_wxObject(&b,false); \
3634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3638 wxPyEndBlockThreads(blocked); \
3640 rval = PCLASS::CBNAME(a, b); \
3647 class wxPyPrintPreview
: public wxPrintPreview
3649 DECLARE_CLASS(wxPyPrintPreview
)
3651 wxPyPrintPreview(wxPyPrintout
* printout
,
3652 wxPyPrintout
* printoutForPrinting
,
3653 wxPrintDialogData
* data
=NULL
)
3654 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3656 wxPyPrintPreview(wxPyPrintout
* printout
,
3657 wxPyPrintout
* printoutForPrinting
,
3659 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3665 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3666 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3667 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3668 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3673 // Stupid renamed classes... Fix this in 2.5...
3674 #if defined(__WXMSW__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3676 #elif defined(__WXMAC__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3679 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3682 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3685 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3686 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3687 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3688 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3691 class wxPyPreviewFrame
: public wxPreviewFrame
3693 DECLARE_CLASS(wxPyPreviewFrame
)
3695 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3696 const wxString
& title
,
3697 const wxPoint
& pos
= wxDefaultPosition
,
3698 const wxSize
& size
= wxDefaultSize
,
3699 long style
= wxDEFAULT_FRAME_STYLE
,
3700 const wxString
& name
= wxPyFrameNameStr
)
3701 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3704 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3705 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3707 DEC_PYCALLBACK_VOID_(Initialize
);
3708 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3709 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3714 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3721 class wxPyPreviewControlBar
: public wxPreviewControlBar
3723 DECLARE_CLASS(wxPyPreviewControlBar
)
3725 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3728 const wxPoint
& pos
= wxDefaultPosition
,
3729 const wxSize
& size
= wxDefaultSize
,
3731 const wxString
& name
= wxPyPanelNameStr
)
3732 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3735 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3737 DEC_PYCALLBACK_VOID_(CreateButtons
);
3738 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3743 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3744 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3745 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3750 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
= 0;
3752 wxWindow
*arg1
= (wxWindow
*) 0 ;
3753 int arg2
= (int) (int)-1 ;
3754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3758 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3759 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3760 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3761 wxPanel
*result
= 0 ;
3770 bool temp6
= false ;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 PyObject
* obj2
= 0 ;
3774 PyObject
* obj3
= 0 ;
3775 PyObject
* obj4
= 0 ;
3776 PyObject
* obj5
= 0 ;
3777 char * kwnames
[] = {
3778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3783 if (!SWIG_IsOK(res1
)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3789 if (!SWIG_IsOK(ecode2
)) {
3790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3792 arg2
= static_cast< int >(val2
);
3797 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3803 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3807 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3808 if (!SWIG_IsOK(ecode5
)) {
3809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3811 arg5
= static_cast< long >(val5
);
3815 arg6
= wxString_in_helper(obj5
);
3816 if (arg6
== NULL
) SWIG_fail
;
3821 if (!wxPyCheckForApp()) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3842 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3843 PyObject
*resultobj
= 0;
3844 wxPanel
*result
= 0 ;
3846 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3848 if (!wxPyCheckForApp()) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (wxPanel
*)new wxPanel();
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3861 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
= 0;
3863 wxPanel
*arg1
= (wxPanel
*) 0 ;
3864 wxWindow
*arg2
= (wxWindow
*) 0 ;
3865 int arg3
= (int) (int)-1 ;
3866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3870 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3871 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3884 bool temp7
= false ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3887 PyObject
* obj2
= 0 ;
3888 PyObject
* obj3
= 0 ;
3889 PyObject
* obj4
= 0 ;
3890 PyObject
* obj5
= 0 ;
3891 PyObject
* obj6
= 0 ;
3892 char * kwnames
[] = {
3893 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3898 if (!SWIG_IsOK(res1
)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3901 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3903 if (!SWIG_IsOK(res2
)) {
3904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3906 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3909 if (!SWIG_IsOK(ecode3
)) {
3910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3912 arg3
= static_cast< int >(val3
);
3917 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3923 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3927 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3928 if (!SWIG_IsOK(ecode6
)) {
3929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3931 arg6
= static_cast< long >(val6
);
3935 arg7
= wxString_in_helper(obj6
);
3936 if (arg7
== NULL
) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3963 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3964 PyObject
*resultobj
= 0;
3965 wxPanel
*arg1
= (wxPanel
*) 0 ;
3968 PyObject
*swig_obj
[1] ;
3970 if (!args
) SWIG_fail
;
3972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3973 if (!SWIG_IsOK(res1
)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3976 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 (arg1
)->SetFocusIgnoringChildren();
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 resultobj
= SWIG_Py_Void();
3990 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
= 0;
3992 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3993 SwigValueWrapper
<wxVisualAttributes
> result
;
3996 PyObject
* obj0
= 0 ;
3997 char * kwnames
[] = {
3998 (char *) "variant", NULL
4001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4004 if (!SWIG_IsOK(ecode1
)) {
4005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4007 arg1
= static_cast< wxWindowVariant
>(val1
);
4010 if (!wxPyCheckForApp()) SWIG_fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4023 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4027 return SWIG_Py_Void();
4030 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4031 return SWIG_Python_InitShadowInstance(args
);
4034 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
= 0;
4036 wxWindow
*arg1
= (wxWindow
*) 0 ;
4037 int arg2
= (int) (int)-1 ;
4038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4042 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4043 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4044 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4045 wxScrolledWindow
*result
= 0 ;
4054 bool temp6
= false ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4057 PyObject
* obj2
= 0 ;
4058 PyObject
* obj3
= 0 ;
4059 PyObject
* obj4
= 0 ;
4060 PyObject
* obj5
= 0 ;
4061 char * kwnames
[] = {
4062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4067 if (!SWIG_IsOK(res1
)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4073 if (!SWIG_IsOK(ecode2
)) {
4074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4076 arg2
= static_cast< int >(val2
);
4081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4087 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4091 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4092 if (!SWIG_IsOK(ecode5
)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4095 arg5
= static_cast< long >(val5
);
4099 arg6
= wxString_in_helper(obj5
);
4100 if (arg6
== NULL
) SWIG_fail
;
4105 if (!wxPyCheckForApp()) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4126 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4127 PyObject
*resultobj
= 0;
4128 wxScrolledWindow
*result
= 0 ;
4130 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4132 if (!wxPyCheckForApp()) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4145 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
= 0;
4147 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4148 wxWindow
*arg2
= (wxWindow
*) 0 ;
4149 int arg3
= (int) (int)-1 ;
4150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4154 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4155 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4168 bool temp7
= false ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4171 PyObject
* obj2
= 0 ;
4172 PyObject
* obj3
= 0 ;
4173 PyObject
* obj4
= 0 ;
4174 PyObject
* obj5
= 0 ;
4175 PyObject
* obj6
= 0 ;
4176 char * kwnames
[] = {
4177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4182 if (!SWIG_IsOK(res1
)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4185 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4187 if (!SWIG_IsOK(res2
)) {
4188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4193 if (!SWIG_IsOK(ecode3
)) {
4194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4196 arg3
= static_cast< int >(val3
);
4201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4211 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4212 if (!SWIG_IsOK(ecode6
)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4215 arg6
= static_cast< long >(val6
);
4219 arg7
= wxString_in_helper(obj6
);
4220 if (arg7
== NULL
) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4247 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
= 0;
4249 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4254 int arg6
= (int) 0 ;
4255 int arg7
= (int) 0 ;
4256 bool arg8
= (bool) false ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4275 PyObject
* obj2
= 0 ;
4276 PyObject
* obj3
= 0 ;
4277 PyObject
* obj4
= 0 ;
4278 PyObject
* obj5
= 0 ;
4279 PyObject
* obj6
= 0 ;
4280 PyObject
* obj7
= 0 ;
4281 char * kwnames
[] = {
4282 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4287 if (!SWIG_IsOK(res1
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4290 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4292 if (!SWIG_IsOK(ecode2
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4295 arg2
= static_cast< int >(val2
);
4296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4297 if (!SWIG_IsOK(ecode3
)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4300 arg3
= static_cast< int >(val3
);
4301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4302 if (!SWIG_IsOK(ecode4
)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4305 arg4
= static_cast< int >(val4
);
4306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4307 if (!SWIG_IsOK(ecode5
)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4310 arg5
= static_cast< int >(val5
);
4312 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4313 if (!SWIG_IsOK(ecode6
)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4316 arg6
= static_cast< int >(val6
);
4319 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4320 if (!SWIG_IsOK(ecode7
)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4323 arg7
= static_cast< int >(val7
);
4326 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4327 if (!SWIG_IsOK(ecode8
)) {
4328 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4330 arg8
= static_cast< bool >(val8
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 PyObject
* obj2
= 0 ;
4359 char * kwnames
[] = {
4360 (char *) "self",(char *) "x",(char *) "y", NULL
4363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4368 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4370 if (!SWIG_IsOK(ecode2
)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4373 arg2
= static_cast< int >(val2
);
4374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4375 if (!SWIG_IsOK(ecode3
)) {
4376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4378 arg3
= static_cast< int >(val3
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 (arg1
)->Scroll(arg2
,arg3
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= SWIG_Py_Void();
4392 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
= 0;
4394 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4403 char * kwnames
[] = {
4404 (char *) "self",(char *) "orient", NULL
4407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4412 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4414 if (!SWIG_IsOK(ecode2
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4417 arg2
= static_cast< int >(val2
);
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_From_int(static_cast< int >(result
));
4431 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(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 *) "orient",(char *) "pageSize", NULL
4449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",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_SetScrollPageSize" "', 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_SetScrollPageSize" "', 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_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4464 arg3
= static_cast< int >(val3
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_Py_Void();
4478 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4489 PyObject
* obj0
= 0 ;
4490 PyObject
* obj1
= 0 ;
4491 PyObject
* obj2
= 0 ;
4492 char * kwnames
[] = {
4493 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4498 if (!SWIG_IsOK(res1
)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4501 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4503 if (!SWIG_IsOK(ecode2
)) {
4504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4506 arg2
= static_cast< int >(val2
);
4507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4508 if (!SWIG_IsOK(ecode3
)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4511 arg3
= static_cast< int >(val3
);
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 (arg1
)->SetScrollRate(arg2
,arg3
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= SWIG_Py_Void();
4525 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4526 PyObject
*resultobj
= 0;
4527 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4528 int *arg2
= (int *) 0 ;
4529 int *arg3
= (int *) 0 ;
4533 int res2
= SWIG_TMPOBJ
;
4535 int res3
= SWIG_TMPOBJ
;
4536 PyObject
*swig_obj
[1] ;
4540 if (!args
) SWIG_fail
;
4542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4543 if (!SWIG_IsOK(res1
)) {
4544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4546 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4550 wxPyEndAllowThreads(__tstate
);
4551 if (PyErr_Occurred()) SWIG_fail
;
4553 resultobj
= SWIG_Py_Void();
4554 if (SWIG_IsTmpObj(res2
)) {
4555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4557 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4560 if (SWIG_IsTmpObj(res3
)) {
4561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4563 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4572 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
= 0;
4574 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4585 PyObject
* obj2
= 0 ;
4586 char * kwnames
[] = {
4587 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4592 if (!SWIG_IsOK(res1
)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4595 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4596 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4597 if (!SWIG_IsOK(ecode2
)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4600 arg2
= static_cast< bool >(val2
);
4601 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4602 if (!SWIG_IsOK(ecode3
)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4605 arg3
= static_cast< bool >(val3
);
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 (arg1
)->EnableScrolling(arg2
,arg3
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 resultobj
= SWIG_Py_Void();
4619 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 PyObject
*resultobj
= 0;
4621 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4622 int *arg2
= (int *) 0 ;
4623 int *arg3
= (int *) 0 ;
4627 int res2
= SWIG_TMPOBJ
;
4629 int res3
= SWIG_TMPOBJ
;
4630 PyObject
*swig_obj
[1] ;
4634 if (!args
) SWIG_fail
;
4636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4637 if (!SWIG_IsOK(res1
)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4640 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_Py_Void();
4648 if (SWIG_IsTmpObj(res2
)) {
4649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4651 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4654 if (SWIG_IsTmpObj(res3
)) {
4655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4657 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4666 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= 0;
4668 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 PyObject
* obj2
= 0 ;
4680 char * kwnames
[] = {
4681 (char *) "self",(char *) "xs",(char *) "ys", NULL
4684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4686 if (!SWIG_IsOK(res1
)) {
4687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4689 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4690 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4691 if (!SWIG_IsOK(ecode2
)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4694 arg2
= static_cast< double >(val2
);
4695 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4696 if (!SWIG_IsOK(ecode3
)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4699 arg3
= static_cast< double >(val3
);
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 (arg1
)->SetScale(arg2
,arg3
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_Py_Void();
4713 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4714 PyObject
*resultobj
= 0;
4715 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4719 PyObject
*swig_obj
[1] ;
4721 if (!args
) SWIG_fail
;
4723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4724 if (!SWIG_IsOK(res1
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4727 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_From_double(static_cast< double >(result
));
4741 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4742 PyObject
*resultobj
= 0;
4743 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4747 PyObject
*swig_obj
[1] ;
4749 if (!args
) SWIG_fail
;
4751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4752 if (!SWIG_IsOK(res1
)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4755 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= SWIG_From_double(static_cast< double >(result
));
4769 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4770 PyObject
*resultobj
= 0;
4771 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4778 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4780 if (!SWIG_IsOK(res1
)) {
4781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4783 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4786 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4801 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4802 PyObject
*resultobj
= 0;
4803 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4806 int *arg4
= (int *) 0 ;
4807 int *arg5
= (int *) 0 ;
4815 int res4
= SWIG_TMPOBJ
;
4817 int res5
= SWIG_TMPOBJ
;
4821 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4823 if (!SWIG_IsOK(res1
)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4826 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4827 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4828 if (!SWIG_IsOK(ecode2
)) {
4829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4831 arg2
= static_cast< int >(val2
);
4832 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4833 if (!SWIG_IsOK(ecode3
)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4836 arg3
= static_cast< int >(val3
);
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= SWIG_Py_Void();
4844 if (SWIG_IsTmpObj(res4
)) {
4845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4847 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4850 if (SWIG_IsTmpObj(res5
)) {
4851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4853 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4862 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4866 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4869 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4872 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4876 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4881 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4882 PyObject
*resultobj
= 0;
4883 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4890 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4892 if (!SWIG_IsOK(res1
)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4895 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4898 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4913 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4914 PyObject
*resultobj
= 0;
4915 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4918 int *arg4
= (int *) 0 ;
4919 int *arg5
= (int *) 0 ;
4927 int res4
= SWIG_TMPOBJ
;
4929 int res5
= SWIG_TMPOBJ
;
4933 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4935 if (!SWIG_IsOK(res1
)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4938 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4939 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4940 if (!SWIG_IsOK(ecode2
)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4943 arg2
= static_cast< int >(val2
);
4944 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4945 if (!SWIG_IsOK(ecode3
)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4948 arg3
= static_cast< int >(val3
);
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= SWIG_Py_Void();
4956 if (SWIG_IsTmpObj(res4
)) {
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4959 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4962 if (SWIG_IsTmpObj(res5
)) {
4963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4965 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4974 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4978 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4981 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4984 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4988 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4993 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4994 PyObject
*resultobj
= 0;
4995 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4998 PyObject
*swig_obj
[1] ;
5000 if (!args
) SWIG_fail
;
5002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5003 if (!SWIG_IsOK(res1
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5006 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 (arg1
)->AdjustScrollbars();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_Py_Void();
5020 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
= 0;
5022 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5023 wxScrollWinEvent
*arg2
= 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5031 char * kwnames
[] = {
5032 (char *) "self",(char *) "event", NULL
5035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5037 if (!SWIG_IsOK(res1
)) {
5038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5040 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5042 if (!SWIG_IsOK(res2
)) {
5043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_From_int(static_cast< int >(result
));
5062 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= 0;
5064 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5065 wxWindow
*arg2
= (wxWindow
*) 0 ;
5070 PyObject
* obj0
= 0 ;
5071 PyObject
* obj1
= 0 ;
5072 char * kwnames
[] = {
5073 (char *) "self",(char *) "target", NULL
5076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5078 if (!SWIG_IsOK(res1
)) {
5079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5081 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5083 if (!SWIG_IsOK(res2
)) {
5084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5086 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->SetTargetWindow(arg2
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_Py_Void();
5100 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5101 PyObject
*resultobj
= 0;
5102 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5103 wxWindow
*result
= 0 ;
5106 PyObject
*swig_obj
[1] ;
5108 if (!args
) SWIG_fail
;
5110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5111 if (!SWIG_IsOK(res1
)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5114 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= wxPyMake_wxObject(result
, 0);
5130 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
= 0;
5132 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5139 char * kwnames
[] = {
5140 (char *) "self",(char *) "rect", NULL
5143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5145 if (!SWIG_IsOK(res1
)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5148 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5151 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_Py_Void();
5166 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5167 PyObject
*resultobj
= 0;
5168 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5172 PyObject
*swig_obj
[1] ;
5174 if (!args
) SWIG_fail
;
5176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5177 if (!SWIG_IsOK(res1
)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5180 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5194 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
= 0;
5196 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5204 char * kwnames
[] = {
5205 (char *) "self",(char *) "dc", NULL
5208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5210 if (!SWIG_IsOK(res1
)) {
5211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5213 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5215 if (!SWIG_IsOK(res2
)) {
5216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5221 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 (arg1
)->DoPrepareDC(*arg2
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_Py_Void();
5235 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
= 0;
5237 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5238 SwigValueWrapper
<wxVisualAttributes
> result
;
5241 PyObject
* obj0
= 0 ;
5242 char * kwnames
[] = {
5243 (char *) "variant", NULL
5246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5248 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5249 if (!SWIG_IsOK(ecode1
)) {
5250 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5252 arg1
= static_cast< wxWindowVariant
>(val1
);
5255 if (!wxPyCheckForApp()) SWIG_fail
;
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5268 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5271 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5272 return SWIG_Py_Void();
5275 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5276 return SWIG_Python_InitShadowInstance(args
);
5279 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5280 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5285 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5286 PyObject
*pyobj
= 0;
5290 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5292 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5299 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5300 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5305 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5306 PyObject
*pyobj
= 0;
5310 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5312 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5319 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5320 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5325 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5326 PyObject
*pyobj
= 0;
5330 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5332 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5339 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5340 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5345 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5346 PyObject
*pyobj
= 0;
5350 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5352 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5359 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
= 0;
5361 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5362 bool arg2
= (bool) true ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5369 char * kwnames
[] = {
5370 (char *) "self",(char *) "maximize", NULL
5373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5375 if (!SWIG_IsOK(res1
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5378 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5380 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5381 if (!SWIG_IsOK(ecode2
)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5384 arg2
= static_cast< bool >(val2
);
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 (arg1
)->Maximize(arg2
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= SWIG_Py_Void();
5399 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5400 PyObject
*resultobj
= 0;
5401 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5404 PyObject
*swig_obj
[1] ;
5406 if (!args
) SWIG_fail
;
5408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5409 if (!SWIG_IsOK(res1
)) {
5410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5412 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= SWIG_Py_Void();
5426 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
= 0;
5428 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5429 bool arg2
= (bool) true ;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5436 char * kwnames
[] = {
5437 (char *) "self",(char *) "iconize", NULL
5440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5442 if (!SWIG_IsOK(res1
)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5445 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5447 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5448 if (!SWIG_IsOK(ecode2
)) {
5449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5451 arg2
= static_cast< bool >(val2
);
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 (arg1
)->Iconize(arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= SWIG_Py_Void();
5466 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5467 PyObject
*resultobj
= 0;
5468 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5472 PyObject
*swig_obj
[1] ;
5474 if (!args
) SWIG_fail
;
5476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5477 if (!SWIG_IsOK(res1
)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5480 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5496 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5497 PyObject
*resultobj
= 0;
5498 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5502 PyObject
*swig_obj
[1] ;
5504 if (!args
) SWIG_fail
;
5506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5507 if (!SWIG_IsOK(res1
)) {
5508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5510 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5526 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5527 PyObject
*resultobj
= 0;
5528 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5532 PyObject
*swig_obj
[1] ;
5534 if (!args
) SWIG_fail
;
5536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5537 if (!SWIG_IsOK(res1
)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5540 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5556 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5557 PyObject
*resultobj
= 0;
5558 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5562 PyObject
*swig_obj
[1] ;
5564 if (!args
) SWIG_fail
;
5566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5567 if (!SWIG_IsOK(res1
)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5570 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5584 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
= 0;
5586 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5594 char * kwnames
[] = {
5595 (char *) "self",(char *) "icon", NULL
5598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5600 if (!SWIG_IsOK(res1
)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5603 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5605 if (!SWIG_IsOK(res2
)) {
5606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5611 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_Py_Void();
5625 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
= 0;
5627 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5628 wxIconBundle
*arg2
= 0 ;
5633 PyObject
* obj0
= 0 ;
5634 PyObject
* obj1
= 0 ;
5635 char * kwnames
[] = {
5636 (char *) "self",(char *) "icons", NULL
5639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5641 if (!SWIG_IsOK(res1
)) {
5642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5644 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5646 if (!SWIG_IsOK(res2
)) {
5647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5652 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_Py_Void();
5666 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
= 0;
5668 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5670 long arg3
= (long) wxFULLSCREEN_ALL
;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5680 PyObject
* obj2
= 0 ;
5681 char * kwnames
[] = {
5682 (char *) "self",(char *) "show",(char *) "style", NULL
5685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5687 if (!SWIG_IsOK(res1
)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5690 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5691 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5692 if (!SWIG_IsOK(ecode2
)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5695 arg2
= static_cast< bool >(val2
);
5697 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5698 if (!SWIG_IsOK(ecode3
)) {
5699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5701 arg3
= static_cast< long >(val3
);
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5718 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5719 PyObject
*resultobj
= 0;
5720 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5724 PyObject
*swig_obj
[1] ;
5726 if (!args
) SWIG_fail
;
5728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5729 if (!SWIG_IsOK(res1
)) {
5730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5732 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5748 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
= 0;
5750 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5751 wxString
*arg2
= 0 ;
5754 bool temp2
= false ;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5757 char * kwnames
[] = {
5758 (char *) "self",(char *) "title", NULL
5761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5763 if (!SWIG_IsOK(res1
)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5766 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5768 arg2
= wxString_in_helper(obj1
);
5769 if (arg2
== NULL
) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 (arg1
)->SetTitle((wxString
const &)*arg2
);
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 resultobj
= SWIG_Py_Void();
5793 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5794 PyObject
*resultobj
= 0;
5795 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5799 PyObject
*swig_obj
[1] ;
5801 if (!args
) SWIG_fail
;
5803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5804 if (!SWIG_IsOK(res1
)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5807 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5827 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
= 0;
5829 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5838 char * kwnames
[] = {
5839 (char *) "self",(char *) "enable", NULL
5842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5844 if (!SWIG_IsOK(res1
)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5847 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5848 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5849 if (!SWIG_IsOK(ecode2
)) {
5850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5852 arg2
= static_cast< bool >(val2
);
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5868 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
= 0;
5870 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5871 wxRegion
*arg2
= 0 ;
5877 PyObject
* obj0
= 0 ;
5878 PyObject
* obj1
= 0 ;
5879 char * kwnames
[] = {
5880 (char *) "self",(char *) "region", NULL
5883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5885 if (!SWIG_IsOK(res1
)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5888 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5890 if (!SWIG_IsOK(res2
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5896 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5912 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
= 0;
5914 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5915 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5920 PyObject
* obj0
= 0 ;
5921 PyObject
* obj1
= 0 ;
5922 char * kwnames
[] = {
5923 (char *) "self",(char *) "flags", NULL
5926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5928 if (!SWIG_IsOK(res1
)) {
5929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5931 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5934 if (!SWIG_IsOK(ecode2
)) {
5935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5937 arg2
= static_cast< int >(val2
);
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 (arg1
)->RequestUserAttention(arg2
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= SWIG_Py_Void();
5952 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5953 PyObject
*resultobj
= 0;
5954 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5958 PyObject
*swig_obj
[1] ;
5960 if (!args
) SWIG_fail
;
5962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5963 if (!SWIG_IsOK(res1
)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5966 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (bool)(arg1
)->IsActive();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5982 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
= 0;
5984 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5990 PyObject
* obj0
= 0 ;
5991 PyObject
* obj1
= 0 ;
5992 char * kwnames
[] = {
5993 (char *) "self",(char *) "on", NULL
5996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5998 if (!SWIG_IsOK(res1
)) {
5999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6001 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6002 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6003 if (!SWIG_IsOK(ecode2
)) {
6004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6006 arg2
= static_cast< bool >(val2
);
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= SWIG_Py_Void();
6020 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6021 PyObject
*resultobj
= 0;
6022 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6026 PyObject
*swig_obj
[1] ;
6028 if (!args
) SWIG_fail
;
6030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6031 if (!SWIG_IsOK(res1
)) {
6032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6034 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6050 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
= 0;
6052 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6053 int arg2
= (int) wxBOTH
;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 char * kwnames
[] = {
6061 (char *) "self",(char *) "dir", NULL
6064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6066 if (!SWIG_IsOK(res1
)) {
6067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6069 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6072 if (!SWIG_IsOK(ecode2
)) {
6073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6075 arg2
= static_cast< int >(val2
);
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 (arg1
)->CenterOnScreen(arg2
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= SWIG_Py_Void();
6090 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6091 PyObject
*resultobj
= 0;
6092 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6093 wxWindow
*result
= 0 ;
6096 PyObject
*swig_obj
[1] ;
6098 if (!args
) SWIG_fail
;
6100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6101 if (!SWIG_IsOK(res1
)) {
6102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6104 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= wxPyMake_wxObject(result
, 0);
6120 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
= 0;
6122 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6123 wxWindow
*arg2
= (wxWindow
*) 0 ;
6124 wxWindow
*result
= 0 ;
6129 PyObject
* obj0
= 0 ;
6130 PyObject
* obj1
= 0 ;
6131 char * kwnames
[] = {
6132 (char *) "self",(char *) "child", NULL
6135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6137 if (!SWIG_IsOK(res1
)) {
6138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6140 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6142 if (!SWIG_IsOK(res2
)) {
6143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6153 resultobj
= wxPyMake_wxObject(result
, 0);
6161 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
= 0;
6163 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6164 wxWindow
*arg2
= (wxWindow
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6170 PyObject
* obj1
= 0 ;
6171 char * kwnames
[] = {
6172 (char *) "self",(char *) "win", NULL
6175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6177 if (!SWIG_IsOK(res1
)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6180 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6182 if (!SWIG_IsOK(res2
)) {
6183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6185 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 (arg1
)->SetTmpDefaultItem(arg2
);
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= SWIG_Py_Void();
6199 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6200 PyObject
*resultobj
= 0;
6201 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6202 wxWindow
*result
= 0 ;
6205 PyObject
*swig_obj
[1] ;
6207 if (!args
) SWIG_fail
;
6209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6210 if (!SWIG_IsOK(res1
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6213 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6221 resultobj
= wxPyMake_wxObject(result
, 0);
6229 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6231 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6232 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6233 return SWIG_Py_Void();
6236 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
= 0;
6238 wxWindow
*arg1
= (wxWindow
*) 0 ;
6239 int arg2
= (int) (int)-1 ;
6240 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6241 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6242 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6243 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6244 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6245 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6246 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6247 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6248 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6249 wxFrame
*result
= 0 ;
6254 bool temp3
= false ;
6259 bool temp7
= false ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6262 PyObject
* obj2
= 0 ;
6263 PyObject
* obj3
= 0 ;
6264 PyObject
* obj4
= 0 ;
6265 PyObject
* obj5
= 0 ;
6266 PyObject
* obj6
= 0 ;
6267 char * kwnames
[] = {
6268 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6273 if (!SWIG_IsOK(res1
)) {
6274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6276 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6279 if (!SWIG_IsOK(ecode2
)) {
6280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6282 arg2
= static_cast< int >(val2
);
6286 arg3
= wxString_in_helper(obj2
);
6287 if (arg3
== NULL
) SWIG_fail
;
6294 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6300 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6304 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6305 if (!SWIG_IsOK(ecode6
)) {
6306 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6308 arg6
= static_cast< long >(val6
);
6312 arg7
= wxString_in_helper(obj6
);
6313 if (arg7
== NULL
) SWIG_fail
;
6318 if (!wxPyCheckForApp()) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6347 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6348 PyObject
*resultobj
= 0;
6349 wxFrame
*result
= 0 ;
6351 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6353 if (!wxPyCheckForApp()) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (wxFrame
*)new wxFrame();
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6366 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
= 0;
6368 wxFrame
*arg1
= (wxFrame
*) 0 ;
6369 wxWindow
*arg2
= (wxWindow
*) 0 ;
6370 int arg3
= (int) (int)-1 ;
6371 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6372 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6373 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6374 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6375 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6376 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6377 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6378 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6379 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6387 bool temp4
= false ;
6392 bool temp8
= false ;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6395 PyObject
* obj2
= 0 ;
6396 PyObject
* obj3
= 0 ;
6397 PyObject
* obj4
= 0 ;
6398 PyObject
* obj5
= 0 ;
6399 PyObject
* obj6
= 0 ;
6400 PyObject
* obj7
= 0 ;
6401 char * kwnames
[] = {
6402 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6407 if (!SWIG_IsOK(res1
)) {
6408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6410 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6412 if (!SWIG_IsOK(res2
)) {
6413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6415 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6418 if (!SWIG_IsOK(ecode3
)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6421 arg3
= static_cast< int >(val3
);
6425 arg4
= wxString_in_helper(obj3
);
6426 if (arg4
== NULL
) SWIG_fail
;
6433 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6439 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6443 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6444 if (!SWIG_IsOK(ecode7
)) {
6445 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6447 arg7
= static_cast< long >(val7
);
6451 arg8
= wxString_in_helper(obj7
);
6452 if (arg8
== NULL
) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6487 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6488 PyObject
*resultobj
= 0;
6489 wxFrame
*arg1
= (wxFrame
*) 0 ;
6492 PyObject
*swig_obj
[1] ;
6494 if (!args
) SWIG_fail
;
6496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6497 if (!SWIG_IsOK(res1
)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6500 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 (arg1
)->SendSizeEvent();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= SWIG_Py_Void();
6514 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
= 0;
6516 wxFrame
*arg1
= (wxFrame
*) 0 ;
6517 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6522 PyObject
* obj0
= 0 ;
6523 PyObject
* obj1
= 0 ;
6524 char * kwnames
[] = {
6525 (char *) "self",(char *) "menubar", NULL
6528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6530 if (!SWIG_IsOK(res1
)) {
6531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6533 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6535 if (!SWIG_IsOK(res2
)) {
6536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6538 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 (arg1
)->SetMenuBar(arg2
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= SWIG_Py_Void();
6552 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6553 PyObject
*resultobj
= 0;
6554 wxFrame
*arg1
= (wxFrame
*) 0 ;
6555 wxMenuBar
*result
= 0 ;
6558 PyObject
*swig_obj
[1] ;
6560 if (!args
) SWIG_fail
;
6562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6563 if (!SWIG_IsOK(res1
)) {
6564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6566 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= wxPyMake_wxObject(result
, 0);
6582 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
= 0;
6584 wxFrame
*arg1
= (wxFrame
*) 0 ;
6591 PyObject
* obj0
= 0 ;
6592 PyObject
* obj1
= 0 ;
6593 char * kwnames
[] = {
6594 (char *) "self",(char *) "winid", NULL
6597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6599 if (!SWIG_IsOK(res1
)) {
6600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6602 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6604 if (!SWIG_IsOK(ecode2
)) {
6605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6607 arg2
= static_cast< int >(val2
);
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6623 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
= 0;
6625 wxFrame
*arg1
= (wxFrame
*) 0 ;
6626 int arg2
= (int) 1 ;
6627 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6628 int arg4
= (int) 0 ;
6629 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6630 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6631 wxStatusBar
*result
= 0 ;
6640 bool temp5
= false ;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6643 PyObject
* obj2
= 0 ;
6644 PyObject
* obj3
= 0 ;
6645 PyObject
* obj4
= 0 ;
6646 char * kwnames
[] = {
6647 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6652 if (!SWIG_IsOK(res1
)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6655 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6658 if (!SWIG_IsOK(ecode2
)) {
6659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6661 arg2
= static_cast< int >(val2
);
6664 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6665 if (!SWIG_IsOK(ecode3
)) {
6666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6668 arg3
= static_cast< long >(val3
);
6671 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6672 if (!SWIG_IsOK(ecode4
)) {
6673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6675 arg4
= static_cast< int >(val4
);
6679 arg5
= wxString_in_helper(obj4
);
6680 if (arg5
== NULL
) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6691 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6707 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6708 PyObject
*resultobj
= 0;
6709 wxFrame
*arg1
= (wxFrame
*) 0 ;
6710 wxStatusBar
*result
= 0 ;
6713 PyObject
*swig_obj
[1] ;
6715 if (!args
) SWIG_fail
;
6717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6718 if (!SWIG_IsOK(res1
)) {
6719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6721 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6737 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
*resultobj
= 0;
6739 wxFrame
*arg1
= (wxFrame
*) 0 ;
6740 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6747 char * kwnames
[] = {
6748 (char *) "self",(char *) "statBar", NULL
6751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6753 if (!SWIG_IsOK(res1
)) {
6754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6756 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6757 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6758 if (!SWIG_IsOK(res2
)) {
6759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6761 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 (arg1
)->SetStatusBar(arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= SWIG_Py_Void();
6775 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
= 0;
6777 wxFrame
*arg1
= (wxFrame
*) 0 ;
6778 wxString
*arg2
= 0 ;
6779 int arg3
= (int) 0 ;
6782 bool temp2
= false ;
6785 PyObject
* obj0
= 0 ;
6786 PyObject
* obj1
= 0 ;
6787 PyObject
* obj2
= 0 ;
6788 char * kwnames
[] = {
6789 (char *) "self",(char *) "text",(char *) "number", NULL
6792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6794 if (!SWIG_IsOK(res1
)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6797 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6799 arg2
= wxString_in_helper(obj1
);
6800 if (arg2
== NULL
) SWIG_fail
;
6804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6805 if (!SWIG_IsOK(ecode3
)) {
6806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6808 arg3
= static_cast< int >(val3
);
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_Py_Void();
6831 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
= 0;
6833 wxFrame
*arg1
= (wxFrame
*) 0 ;
6835 int *arg3
= (int *) 0 ;
6838 PyObject
* obj0
= 0 ;
6839 PyObject
* obj1
= 0 ;
6840 char * kwnames
[] = {
6841 (char *) "self",(char *) "widths", NULL
6844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6846 if (!SWIG_IsOK(res1
)) {
6847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6849 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6851 arg2
= PyList_Size(obj1
);
6852 arg3
= int_LIST_helper(obj1
);
6853 if (arg3
== NULL
) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 resultobj
= SWIG_Py_Void();
6863 if (arg3
) delete [] arg3
;
6868 if (arg3
) delete [] arg3
;
6874 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
*resultobj
= 0;
6876 wxFrame
*arg1
= (wxFrame
*) 0 ;
6877 wxString
*arg2
= 0 ;
6878 int arg3
= (int) 0 ;
6881 bool temp2
= false ;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6886 PyObject
* obj2
= 0 ;
6887 char * kwnames
[] = {
6888 (char *) "self",(char *) "text",(char *) "number", NULL
6891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6893 if (!SWIG_IsOK(res1
)) {
6894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6896 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6898 arg2
= wxString_in_helper(obj1
);
6899 if (arg2
== NULL
) SWIG_fail
;
6903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6904 if (!SWIG_IsOK(ecode3
)) {
6905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6907 arg3
= static_cast< int >(val3
);
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 resultobj
= SWIG_Py_Void();
6930 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
= 0;
6932 wxFrame
*arg1
= (wxFrame
*) 0 ;
6933 int arg2
= (int) 0 ;
6938 PyObject
* obj0
= 0 ;
6939 PyObject
* obj1
= 0 ;
6940 char * kwnames
[] = {
6941 (char *) "self",(char *) "number", NULL
6944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6946 if (!SWIG_IsOK(res1
)) {
6947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6949 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6952 if (!SWIG_IsOK(ecode2
)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6955 arg2
= static_cast< int >(val2
);
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 (arg1
)->PopStatusText(arg2
);
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_Py_Void();
6970 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
= 0;
6972 wxFrame
*arg1
= (wxFrame
*) 0 ;
6978 PyObject
* obj0
= 0 ;
6979 PyObject
* obj1
= 0 ;
6980 char * kwnames
[] = {
6981 (char *) "self",(char *) "n", NULL
6984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6986 if (!SWIG_IsOK(res1
)) {
6987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6989 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6991 if (!SWIG_IsOK(ecode2
)) {
6992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6994 arg2
= static_cast< int >(val2
);
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 (arg1
)->SetStatusBarPane(arg2
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= SWIG_Py_Void();
7008 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7009 PyObject
*resultobj
= 0;
7010 wxFrame
*arg1
= (wxFrame
*) 0 ;
7014 PyObject
*swig_obj
[1] ;
7016 if (!args
) SWIG_fail
;
7018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7019 if (!SWIG_IsOK(res1
)) {
7020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7022 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= SWIG_From_int(static_cast< int >(result
));
7036 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
= 0;
7038 wxFrame
*arg1
= (wxFrame
*) 0 ;
7039 long arg2
= (long) -1 ;
7040 int arg3
= (int) -1 ;
7041 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7042 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7043 wxToolBar
*result
= 0 ;
7050 bool temp4
= false ;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7053 PyObject
* obj2
= 0 ;
7054 PyObject
* obj3
= 0 ;
7055 char * kwnames
[] = {
7056 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7061 if (!SWIG_IsOK(res1
)) {
7062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7064 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7066 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7067 if (!SWIG_IsOK(ecode2
)) {
7068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7070 arg2
= static_cast< long >(val2
);
7073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7074 if (!SWIG_IsOK(ecode3
)) {
7075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7077 arg3
= static_cast< int >(val3
);
7081 arg4
= wxString_in_helper(obj3
);
7082 if (arg4
== NULL
) SWIG_fail
;
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7109 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7110 PyObject
*resultobj
= 0;
7111 wxFrame
*arg1
= (wxFrame
*) 0 ;
7112 wxToolBar
*result
= 0 ;
7115 PyObject
*swig_obj
[1] ;
7117 if (!args
) SWIG_fail
;
7119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7120 if (!SWIG_IsOK(res1
)) {
7121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7123 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7139 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
= 0;
7141 wxFrame
*arg1
= (wxFrame
*) 0 ;
7142 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7147 PyObject
* obj0
= 0 ;
7148 PyObject
* obj1
= 0 ;
7149 char * kwnames
[] = {
7150 (char *) "self",(char *) "toolbar", NULL
7153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7155 if (!SWIG_IsOK(res1
)) {
7156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7158 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7160 if (!SWIG_IsOK(res2
)) {
7161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7163 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 (arg1
)->SetToolBar(arg2
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= SWIG_Py_Void();
7177 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
= 0;
7179 wxFrame
*arg1
= (wxFrame
*) 0 ;
7180 wxString
*arg2
= 0 ;
7184 bool temp2
= false ;
7187 PyObject
* obj0
= 0 ;
7188 PyObject
* obj1
= 0 ;
7189 PyObject
* obj2
= 0 ;
7190 char * kwnames
[] = {
7191 (char *) "self",(char *) "text",(char *) "show", NULL
7194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7196 if (!SWIG_IsOK(res1
)) {
7197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7199 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7201 arg2
= wxString_in_helper(obj1
);
7202 if (arg2
== NULL
) SWIG_fail
;
7205 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7206 if (!SWIG_IsOK(ecode3
)) {
7207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7209 arg3
= static_cast< bool >(val3
);
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_Py_Void();
7231 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
= 0;
7233 wxFrame
*arg1
= (wxFrame
*) 0 ;
7234 wxMenu
*arg2
= (wxMenu
*) NULL
;
7239 PyObject
* obj0
= 0 ;
7240 PyObject
* obj1
= 0 ;
7241 char * kwnames
[] = {
7242 (char *) "self",(char *) "menu", NULL
7245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7247 if (!SWIG_IsOK(res1
)) {
7248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7250 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7253 if (!SWIG_IsOK(res2
)) {
7254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7256 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 (arg1
)->DoMenuUpdates(arg2
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 resultobj
= SWIG_Py_Void();
7271 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
= 0;
7273 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7274 SwigValueWrapper
<wxVisualAttributes
> result
;
7277 PyObject
* obj0
= 0 ;
7278 char * kwnames
[] = {
7279 (char *) "variant", NULL
7282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7284 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7285 if (!SWIG_IsOK(ecode1
)) {
7286 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7288 arg1
= static_cast< wxWindowVariant
>(val1
);
7291 if (!wxPyCheckForApp()) SWIG_fail
;
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7294 wxPyEndAllowThreads(__tstate
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7304 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7307 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7308 return SWIG_Py_Void();
7311 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7312 return SWIG_Python_InitShadowInstance(args
);
7315 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
= 0;
7317 wxWindow
*arg1
= (wxWindow
*) 0 ;
7318 int arg2
= (int) (int)-1 ;
7319 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7320 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7321 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7322 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7323 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7324 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7325 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7326 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7327 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7328 wxDialog
*result
= 0 ;
7333 bool temp3
= false ;
7338 bool temp7
= false ;
7339 PyObject
* obj0
= 0 ;
7340 PyObject
* obj1
= 0 ;
7341 PyObject
* obj2
= 0 ;
7342 PyObject
* obj3
= 0 ;
7343 PyObject
* obj4
= 0 ;
7344 PyObject
* obj5
= 0 ;
7345 PyObject
* obj6
= 0 ;
7346 char * kwnames
[] = {
7347 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7352 if (!SWIG_IsOK(res1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7355 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7358 if (!SWIG_IsOK(ecode2
)) {
7359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7361 arg2
= static_cast< int >(val2
);
7365 arg3
= wxString_in_helper(obj2
);
7366 if (arg3
== NULL
) SWIG_fail
;
7373 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7379 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7383 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7384 if (!SWIG_IsOK(ecode6
)) {
7385 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7387 arg6
= static_cast< long >(val6
);
7391 arg7
= wxString_in_helper(obj6
);
7392 if (arg7
== NULL
) SWIG_fail
;
7397 if (!wxPyCheckForApp()) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7426 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7427 PyObject
*resultobj
= 0;
7428 wxDialog
*result
= 0 ;
7430 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7432 if (!wxPyCheckForApp()) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (wxDialog
*)new wxDialog();
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7445 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
= 0;
7447 wxDialog
*arg1
= (wxDialog
*) 0 ;
7448 wxWindow
*arg2
= (wxWindow
*) 0 ;
7449 int arg3
= (int) (int)-1 ;
7450 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7451 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7452 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7453 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7454 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7455 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7456 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7457 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7458 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7466 bool temp4
= false ;
7471 bool temp8
= false ;
7472 PyObject
* obj0
= 0 ;
7473 PyObject
* obj1
= 0 ;
7474 PyObject
* obj2
= 0 ;
7475 PyObject
* obj3
= 0 ;
7476 PyObject
* obj4
= 0 ;
7477 PyObject
* obj5
= 0 ;
7478 PyObject
* obj6
= 0 ;
7479 PyObject
* obj7
= 0 ;
7480 char * kwnames
[] = {
7481 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7486 if (!SWIG_IsOK(res1
)) {
7487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7489 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7490 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7491 if (!SWIG_IsOK(res2
)) {
7492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7494 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7497 if (!SWIG_IsOK(ecode3
)) {
7498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7500 arg3
= static_cast< int >(val3
);
7504 arg4
= wxString_in_helper(obj3
);
7505 if (arg4
== NULL
) SWIG_fail
;
7512 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7518 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7522 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7523 if (!SWIG_IsOK(ecode7
)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7526 arg7
= static_cast< long >(val7
);
7530 arg8
= wxString_in_helper(obj7
);
7531 if (arg8
== NULL
) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7566 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
= 0;
7568 wxDialog
*arg1
= (wxDialog
*) 0 ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7576 char * kwnames
[] = {
7577 (char *) "self",(char *) "returnCode", NULL
7580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7582 if (!SWIG_IsOK(res1
)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7585 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7587 if (!SWIG_IsOK(ecode2
)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7590 arg2
= static_cast< int >(val2
);
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 (arg1
)->SetReturnCode(arg2
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= SWIG_Py_Void();
7604 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7605 PyObject
*resultobj
= 0;
7606 wxDialog
*arg1
= (wxDialog
*) 0 ;
7610 PyObject
*swig_obj
[1] ;
7612 if (!args
) SWIG_fail
;
7614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7615 if (!SWIG_IsOK(res1
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7618 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_From_int(static_cast< int >(result
));
7632 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
= 0;
7634 wxDialog
*arg1
= (wxDialog
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7641 PyObject
* obj1
= 0 ;
7642 char * kwnames
[] = {
7643 (char *) "self",(char *) "affirmativeId", NULL
7646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7648 if (!SWIG_IsOK(res1
)) {
7649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7651 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7653 if (!SWIG_IsOK(ecode2
)) {
7654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7656 arg2
= static_cast< int >(val2
);
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 (arg1
)->SetAffirmativeId(arg2
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 resultobj
= SWIG_Py_Void();
7670 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7671 PyObject
*resultobj
= 0;
7672 wxDialog
*arg1
= (wxDialog
*) 0 ;
7676 PyObject
*swig_obj
[1] ;
7678 if (!args
) SWIG_fail
;
7680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7681 if (!SWIG_IsOK(res1
)) {
7682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7684 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_From_int(static_cast< int >(result
));
7698 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
= 0;
7700 wxDialog
*arg1
= (wxDialog
*) 0 ;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 char * kwnames
[] = {
7709 (char *) "self",(char *) "escapeId", NULL
7712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7714 if (!SWIG_IsOK(res1
)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7717 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7719 if (!SWIG_IsOK(ecode2
)) {
7720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7722 arg2
= static_cast< int >(val2
);
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 (arg1
)->SetEscapeId(arg2
);
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= SWIG_Py_Void();
7736 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7737 PyObject
*resultobj
= 0;
7738 wxDialog
*arg1
= (wxDialog
*) 0 ;
7742 PyObject
*swig_obj
[1] ;
7744 if (!args
) SWIG_fail
;
7746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7747 if (!SWIG_IsOK(res1
)) {
7748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7750 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7753 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 resultobj
= SWIG_From_int(static_cast< int >(result
));
7764 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
= 0;
7766 wxDialog
*arg1
= (wxDialog
*) 0 ;
7767 wxString
*arg2
= 0 ;
7768 wxSizer
*result
= 0 ;
7771 bool temp2
= false ;
7772 PyObject
* obj0
= 0 ;
7773 PyObject
* obj1
= 0 ;
7774 char * kwnames
[] = {
7775 (char *) "self",(char *) "message", NULL
7778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7780 if (!SWIG_IsOK(res1
)) {
7781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7783 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7785 arg2
= wxString_in_helper(obj1
);
7786 if (arg2
== NULL
) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7812 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
= 0;
7814 wxDialog
*arg1
= (wxDialog
*) 0 ;
7816 wxSizer
*result
= 0 ;
7821 PyObject
* obj0
= 0 ;
7822 PyObject
* obj1
= 0 ;
7823 char * kwnames
[] = {
7824 (char *) "self",(char *) "flags", NULL
7827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7829 if (!SWIG_IsOK(res1
)) {
7830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7832 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7833 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7834 if (!SWIG_IsOK(ecode2
)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7837 arg2
= static_cast< long >(val2
);
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7853 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
= 0;
7855 wxDialog
*arg1
= (wxDialog
*) 0 ;
7857 wxSizer
*result
= 0 ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7864 char * kwnames
[] = {
7865 (char *) "self",(char *) "flags", NULL
7868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7870 if (!SWIG_IsOK(res1
)) {
7871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7873 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7874 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7875 if (!SWIG_IsOK(ecode2
)) {
7876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7878 arg2
= static_cast< long >(val2
);
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7894 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
= 0;
7896 wxDialog
*arg1
= (wxDialog
*) 0 ;
7898 wxStdDialogButtonSizer
*result
= 0 ;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7905 char * kwnames
[] = {
7906 (char *) "self",(char *) "flags", NULL
7909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7911 if (!SWIG_IsOK(res1
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7914 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7915 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7916 if (!SWIG_IsOK(ecode2
)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7919 arg2
= static_cast< long >(val2
);
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7933 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7934 PyObject
*resultobj
= 0;
7935 wxDialog
*arg1
= (wxDialog
*) 0 ;
7939 PyObject
*swig_obj
[1] ;
7941 if (!args
) SWIG_fail
;
7943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7944 if (!SWIG_IsOK(res1
)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7947 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7963 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7964 PyObject
*resultobj
= 0;
7965 wxDialog
*arg1
= (wxDialog
*) 0 ;
7969 PyObject
*swig_obj
[1] ;
7971 if (!args
) SWIG_fail
;
7973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7974 if (!SWIG_IsOK(res1
)) {
7975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7977 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (int)(arg1
)->ShowModal();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= SWIG_From_int(static_cast< int >(result
));
7991 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
= 0;
7993 wxDialog
*arg1
= (wxDialog
*) 0 ;
7999 PyObject
* obj0
= 0 ;
8000 PyObject
* obj1
= 0 ;
8001 char * kwnames
[] = {
8002 (char *) "self",(char *) "retCode", NULL
8005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8007 if (!SWIG_IsOK(res1
)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8010 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8012 if (!SWIG_IsOK(ecode2
)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8015 arg2
= static_cast< int >(val2
);
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 (arg1
)->EndModal(arg2
);
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= SWIG_Py_Void();
8029 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
*resultobj
= 0;
8031 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8032 SwigValueWrapper
<wxVisualAttributes
> result
;
8035 PyObject
* obj0
= 0 ;
8036 char * kwnames
[] = {
8037 (char *) "variant", NULL
8040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8042 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8043 if (!SWIG_IsOK(ecode1
)) {
8044 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8046 arg1
= static_cast< wxWindowVariant
>(val1
);
8049 if (!wxPyCheckForApp()) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8062 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8065 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8066 return SWIG_Py_Void();
8069 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8070 return SWIG_Python_InitShadowInstance(args
);
8073 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
= 0;
8075 wxWindow
*arg1
= (wxWindow
*) 0 ;
8076 int arg2
= (int) (int)-1 ;
8077 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8078 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8079 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8080 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8081 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8082 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8083 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8084 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8085 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8086 wxMiniFrame
*result
= 0 ;
8091 bool temp3
= false ;
8096 bool temp7
= false ;
8097 PyObject
* obj0
= 0 ;
8098 PyObject
* obj1
= 0 ;
8099 PyObject
* obj2
= 0 ;
8100 PyObject
* obj3
= 0 ;
8101 PyObject
* obj4
= 0 ;
8102 PyObject
* obj5
= 0 ;
8103 PyObject
* obj6
= 0 ;
8104 char * kwnames
[] = {
8105 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8110 if (!SWIG_IsOK(res1
)) {
8111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8113 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8116 if (!SWIG_IsOK(ecode2
)) {
8117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8119 arg2
= static_cast< int >(val2
);
8123 arg3
= wxString_in_helper(obj2
);
8124 if (arg3
== NULL
) SWIG_fail
;
8131 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8137 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8141 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8142 if (!SWIG_IsOK(ecode6
)) {
8143 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8145 arg6
= static_cast< long >(val6
);
8149 arg7
= wxString_in_helper(obj6
);
8150 if (arg7
== NULL
) SWIG_fail
;
8155 if (!wxPyCheckForApp()) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8184 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8185 PyObject
*resultobj
= 0;
8186 wxMiniFrame
*result
= 0 ;
8188 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8190 if (!wxPyCheckForApp()) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (wxMiniFrame
*)new wxMiniFrame();
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8203 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
= 0;
8205 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8206 wxWindow
*arg2
= (wxWindow
*) 0 ;
8207 int arg3
= (int) (int)-1 ;
8208 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8209 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8210 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8211 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8212 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8213 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8214 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8215 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8216 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8224 bool temp4
= false ;
8229 bool temp8
= false ;
8230 PyObject
* obj0
= 0 ;
8231 PyObject
* obj1
= 0 ;
8232 PyObject
* obj2
= 0 ;
8233 PyObject
* obj3
= 0 ;
8234 PyObject
* obj4
= 0 ;
8235 PyObject
* obj5
= 0 ;
8236 PyObject
* obj6
= 0 ;
8237 PyObject
* obj7
= 0 ;
8238 char * kwnames
[] = {
8239 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8244 if (!SWIG_IsOK(res1
)) {
8245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8247 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8249 if (!SWIG_IsOK(res2
)) {
8250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8252 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8255 if (!SWIG_IsOK(ecode3
)) {
8256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8258 arg3
= static_cast< int >(val3
);
8262 arg4
= wxString_in_helper(obj3
);
8263 if (arg4
== NULL
) SWIG_fail
;
8270 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8276 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8280 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8281 if (!SWIG_IsOK(ecode7
)) {
8282 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8284 arg7
= static_cast< long >(val7
);
8288 arg8
= wxString_in_helper(obj7
);
8289 if (arg8
== NULL
) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8324 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8327 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8328 return SWIG_Py_Void();
8331 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8332 return SWIG_Python_InitShadowInstance(args
);
8335 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
= 0;
8337 wxBitmap
*arg1
= 0 ;
8338 wxWindow
*arg2
= (wxWindow
*) 0 ;
8340 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8341 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8342 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8343 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8344 long arg6
= (long) wxNO_BORDER
;
8345 wxSplashScreenWindow
*result
= 0 ;
8356 PyObject
* obj0
= 0 ;
8357 PyObject
* obj1
= 0 ;
8358 PyObject
* obj2
= 0 ;
8359 PyObject
* obj3
= 0 ;
8360 PyObject
* obj4
= 0 ;
8361 PyObject
* obj5
= 0 ;
8362 char * kwnames
[] = {
8363 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8367 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8368 if (!SWIG_IsOK(res1
)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8374 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8376 if (!SWIG_IsOK(res2
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8379 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8381 if (!SWIG_IsOK(ecode3
)) {
8382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8384 arg3
= static_cast< int >(val3
);
8388 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8394 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8398 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8399 if (!SWIG_IsOK(ecode6
)) {
8400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8402 arg6
= static_cast< long >(val6
);
8405 if (!wxPyCheckForApp()) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8418 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
= 0;
8420 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8421 wxBitmap
*arg2
= 0 ;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8428 char * kwnames
[] = {
8429 (char *) "self",(char *) "bitmap", NULL
8432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8434 if (!SWIG_IsOK(res1
)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8437 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8439 if (!SWIG_IsOK(res2
)) {
8440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8445 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_Py_Void();
8459 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8460 PyObject
*resultobj
= 0;
8461 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8462 wxBitmap
*result
= 0 ;
8465 PyObject
*swig_obj
[1] ;
8467 if (!args
) SWIG_fail
;
8469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8470 if (!SWIG_IsOK(res1
)) {
8471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8473 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8478 result
= (wxBitmap
*) &_result_ref
;
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8484 wxBitmap
* resultptr
= new wxBitmap(*result
);
8485 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8493 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8496 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8497 return SWIG_Py_Void();
8500 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8501 return SWIG_Python_InitShadowInstance(args
);
8504 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
= 0;
8506 wxBitmap
*arg1
= 0 ;
8509 wxWindow
*arg4
= (wxWindow
*) 0 ;
8510 int arg5
= (int) -1 ;
8511 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8512 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8513 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8514 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8515 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8516 wxSplashScreen
*result
= 0 ;
8531 PyObject
* obj0
= 0 ;
8532 PyObject
* obj1
= 0 ;
8533 PyObject
* obj2
= 0 ;
8534 PyObject
* obj3
= 0 ;
8535 PyObject
* obj4
= 0 ;
8536 PyObject
* obj5
= 0 ;
8537 PyObject
* obj6
= 0 ;
8538 PyObject
* obj7
= 0 ;
8539 char * kwnames
[] = {
8540 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8544 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8545 if (!SWIG_IsOK(res1
)) {
8546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8551 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8552 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8553 if (!SWIG_IsOK(ecode2
)) {
8554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8556 arg2
= static_cast< long >(val2
);
8557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8558 if (!SWIG_IsOK(ecode3
)) {
8559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8561 arg3
= static_cast< int >(val3
);
8562 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8563 if (!SWIG_IsOK(res4
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8566 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8568 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8569 if (!SWIG_IsOK(ecode5
)) {
8570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8572 arg5
= static_cast< int >(val5
);
8577 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8583 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8587 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8588 if (!SWIG_IsOK(ecode8
)) {
8589 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8591 arg8
= static_cast< long >(val8
);
8594 if (!wxPyCheckForApp()) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8607 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8608 PyObject
*resultobj
= 0;
8609 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8613 PyObject
*swig_obj
[1] ;
8615 if (!args
) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8621 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= SWIG_From_long(static_cast< long >(result
));
8635 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8636 PyObject
*resultobj
= 0;
8637 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8638 wxSplashScreenWindow
*result
= 0 ;
8641 PyObject
*swig_obj
[1] ;
8643 if (!args
) SWIG_fail
;
8645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8646 if (!SWIG_IsOK(res1
)) {
8647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8649 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8663 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8664 PyObject
*resultobj
= 0;
8665 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8669 PyObject
*swig_obj
[1] ;
8671 if (!args
) SWIG_fail
;
8673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8674 if (!SWIG_IsOK(res1
)) {
8675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8677 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= SWIG_From_int(static_cast< int >(result
));
8691 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8694 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8695 return SWIG_Py_Void();
8698 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8699 return SWIG_Python_InitShadowInstance(args
);
8702 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
= 0;
8704 wxWindow
*arg1
= (wxWindow
*) 0 ;
8705 int arg2
= (int) -1 ;
8706 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8707 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8708 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8709 wxStatusBar
*result
= 0 ;
8716 bool temp4
= false ;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8719 PyObject
* obj2
= 0 ;
8720 PyObject
* obj3
= 0 ;
8721 char * kwnames
[] = {
8722 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8727 if (!SWIG_IsOK(res1
)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8730 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8733 if (!SWIG_IsOK(ecode2
)) {
8734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8736 arg2
= static_cast< int >(val2
);
8739 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8740 if (!SWIG_IsOK(ecode3
)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8743 arg3
= static_cast< long >(val3
);
8747 arg4
= wxString_in_helper(obj3
);
8748 if (arg4
== NULL
) SWIG_fail
;
8753 if (!wxPyCheckForApp()) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8774 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8775 PyObject
*resultobj
= 0;
8776 wxStatusBar
*result
= 0 ;
8778 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8780 if (!wxPyCheckForApp()) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (wxStatusBar
*)new wxStatusBar();
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8793 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
= 0;
8795 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8796 wxWindow
*arg2
= (wxWindow
*) 0 ;
8797 int arg3
= (int) -1 ;
8798 long arg4
= (long) wxST_SIZEGRIP
;
8799 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8800 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8810 bool temp5
= false ;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 PyObject
* obj2
= 0 ;
8814 PyObject
* obj3
= 0 ;
8815 PyObject
* obj4
= 0 ;
8816 char * kwnames
[] = {
8817 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8822 if (!SWIG_IsOK(res1
)) {
8823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8825 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8827 if (!SWIG_IsOK(res2
)) {
8828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8830 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8833 if (!SWIG_IsOK(ecode3
)) {
8834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8836 arg3
= static_cast< int >(val3
);
8839 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8840 if (!SWIG_IsOK(ecode4
)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8843 arg4
= static_cast< long >(val4
);
8847 arg5
= wxString_in_helper(obj4
);
8848 if (arg5
== NULL
) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8875 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
= 0;
8877 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8878 int arg2
= (int) 1 ;
8883 PyObject
* obj0
= 0 ;
8884 PyObject
* obj1
= 0 ;
8885 char * kwnames
[] = {
8886 (char *) "self",(char *) "number", NULL
8889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8891 if (!SWIG_IsOK(res1
)) {
8892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8894 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8897 if (!SWIG_IsOK(ecode2
)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8900 arg2
= static_cast< int >(val2
);
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 (arg1
)->SetFieldsCount(arg2
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= SWIG_Py_Void();
8915 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8916 PyObject
*resultobj
= 0;
8917 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8921 PyObject
*swig_obj
[1] ;
8923 if (!args
) SWIG_fail
;
8925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8926 if (!SWIG_IsOK(res1
)) {
8927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8929 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= SWIG_From_int(static_cast< int >(result
));
8943 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
= 0;
8945 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8946 wxString
*arg2
= 0 ;
8947 int arg3
= (int) 0 ;
8950 bool temp2
= false ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8955 PyObject
* obj2
= 0 ;
8956 char * kwnames
[] = {
8957 (char *) "self",(char *) "text",(char *) "number", NULL
8960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8962 if (!SWIG_IsOK(res1
)) {
8963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8965 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8967 arg2
= wxString_in_helper(obj1
);
8968 if (arg2
== NULL
) SWIG_fail
;
8972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8973 if (!SWIG_IsOK(ecode3
)) {
8974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8976 arg3
= static_cast< int >(val3
);
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= SWIG_Py_Void();
8999 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
= 0;
9001 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9002 int arg2
= (int) 0 ;
9008 PyObject
* obj0
= 0 ;
9009 PyObject
* obj1
= 0 ;
9010 char * kwnames
[] = {
9011 (char *) "self",(char *) "number", NULL
9014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9016 if (!SWIG_IsOK(res1
)) {
9017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9019 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9022 if (!SWIG_IsOK(ecode2
)) {
9023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9025 arg2
= static_cast< int >(val2
);
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9046 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
= 0;
9048 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9049 wxString
*arg2
= 0 ;
9050 int arg3
= (int) 0 ;
9053 bool temp2
= false ;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9058 PyObject
* obj2
= 0 ;
9059 char * kwnames
[] = {
9060 (char *) "self",(char *) "text",(char *) "number", NULL
9063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9065 if (!SWIG_IsOK(res1
)) {
9066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9068 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9070 arg2
= wxString_in_helper(obj1
);
9071 if (arg2
== NULL
) SWIG_fail
;
9075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9076 if (!SWIG_IsOK(ecode3
)) {
9077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9079 arg3
= static_cast< int >(val3
);
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= SWIG_Py_Void();
9102 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
= 0;
9104 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9105 int arg2
= (int) 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9112 char * kwnames
[] = {
9113 (char *) "self",(char *) "number", NULL
9116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9118 if (!SWIG_IsOK(res1
)) {
9119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9121 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9124 if (!SWIG_IsOK(ecode2
)) {
9125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9127 arg2
= static_cast< int >(val2
);
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 (arg1
)->PopStatusText(arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_Py_Void();
9142 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
= 0;
9144 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9146 int *arg3
= (int *) 0 ;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9151 char * kwnames
[] = {
9152 (char *) "self",(char *) "widths", NULL
9155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9157 if (!SWIG_IsOK(res1
)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9160 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9162 arg2
= PyList_Size(obj1
);
9163 arg3
= int_LIST_helper(obj1
);
9164 if (arg3
== NULL
) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= SWIG_Py_Void();
9174 if (arg3
) delete [] arg3
;
9179 if (arg3
) delete [] arg3
;
9185 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
= 0;
9187 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9189 int *arg3
= (int *) 0 ;
9192 PyObject
* obj0
= 0 ;
9193 PyObject
* obj1
= 0 ;
9194 char * kwnames
[] = {
9195 (char *) "self",(char *) "styles", NULL
9198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9200 if (!SWIG_IsOK(res1
)) {
9201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9203 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9205 arg2
= PyList_Size(obj1
);
9206 arg3
= int_LIST_helper(obj1
);
9207 if (arg3
== NULL
) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= SWIG_Py_Void();
9217 if (arg3
) delete [] arg3
;
9222 if (arg3
) delete [] arg3
;
9228 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
= 0;
9230 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9239 char * kwnames
[] = {
9240 (char *) "self",(char *) "i", NULL
9243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9245 if (!SWIG_IsOK(res1
)) {
9246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9248 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9250 if (!SWIG_IsOK(ecode2
)) {
9251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9253 arg2
= static_cast< int >(val2
);
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9267 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
= 0;
9269 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9277 char * kwnames
[] = {
9278 (char *) "self",(char *) "height", NULL
9281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9283 if (!SWIG_IsOK(res1
)) {
9284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9286 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9288 if (!SWIG_IsOK(ecode2
)) {
9289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9291 arg2
= static_cast< int >(val2
);
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 (arg1
)->SetMinHeight(arg2
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= SWIG_Py_Void();
9305 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9306 PyObject
*resultobj
= 0;
9307 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9311 PyObject
*swig_obj
[1] ;
9313 if (!args
) SWIG_fail
;
9315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9316 if (!SWIG_IsOK(res1
)) {
9317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9319 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= SWIG_From_int(static_cast< int >(result
));
9333 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9334 PyObject
*resultobj
= 0;
9335 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9339 PyObject
*swig_obj
[1] ;
9341 if (!args
) SWIG_fail
;
9343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9344 if (!SWIG_IsOK(res1
)) {
9345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9347 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_From_int(static_cast< int >(result
));
9361 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= 0;
9363 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9364 SwigValueWrapper
<wxVisualAttributes
> result
;
9367 PyObject
* obj0
= 0 ;
9368 char * kwnames
[] = {
9369 (char *) "variant", NULL
9372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9374 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9375 if (!SWIG_IsOK(ecode1
)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9378 arg1
= static_cast< wxWindowVariant
>(val1
);
9381 if (!wxPyCheckForApp()) SWIG_fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9394 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9397 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9398 return SWIG_Py_Void();
9401 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9402 return SWIG_Python_InitShadowInstance(args
);
9405 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9406 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9411 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9412 PyObject
*pyobj
= 0;
9416 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9418 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9425 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
= 0;
9427 wxWindow
*arg1
= (wxWindow
*) 0 ;
9428 int arg2
= (int) -1 ;
9429 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9430 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9431 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9432 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9433 long arg5
= (long) wxSP_3D
;
9434 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9435 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9436 wxSplitterWindow
*result
= 0 ;
9445 bool temp6
= false ;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9448 PyObject
* obj2
= 0 ;
9449 PyObject
* obj3
= 0 ;
9450 PyObject
* obj4
= 0 ;
9451 PyObject
* obj5
= 0 ;
9452 char * kwnames
[] = {
9453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9458 if (!SWIG_IsOK(res1
)) {
9459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9461 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9464 if (!SWIG_IsOK(ecode2
)) {
9465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9467 arg2
= static_cast< int >(val2
);
9472 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9478 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9482 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9483 if (!SWIG_IsOK(ecode5
)) {
9484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9486 arg5
= static_cast< long >(val5
);
9490 arg6
= wxString_in_helper(obj5
);
9491 if (arg6
== NULL
) SWIG_fail
;
9496 if (!wxPyCheckForApp()) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9517 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9518 PyObject
*resultobj
= 0;
9519 wxSplitterWindow
*result
= 0 ;
9521 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9523 if (!wxPyCheckForApp()) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9536 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
= 0;
9538 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9539 wxWindow
*arg2
= (wxWindow
*) 0 ;
9540 int arg3
= (int) -1 ;
9541 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9542 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9543 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9544 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9545 long arg6
= (long) wxSP_3D
;
9546 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9547 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9559 bool temp7
= false ;
9560 PyObject
* obj0
= 0 ;
9561 PyObject
* obj1
= 0 ;
9562 PyObject
* obj2
= 0 ;
9563 PyObject
* obj3
= 0 ;
9564 PyObject
* obj4
= 0 ;
9565 PyObject
* obj5
= 0 ;
9566 PyObject
* obj6
= 0 ;
9567 char * kwnames
[] = {
9568 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9573 if (!SWIG_IsOK(res1
)) {
9574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9576 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9578 if (!SWIG_IsOK(res2
)) {
9579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9581 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9584 if (!SWIG_IsOK(ecode3
)) {
9585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9587 arg3
= static_cast< int >(val3
);
9592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9602 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9603 if (!SWIG_IsOK(ecode6
)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9606 arg6
= static_cast< long >(val6
);
9610 arg7
= wxString_in_helper(obj6
);
9611 if (arg7
== NULL
) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9638 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9639 PyObject
*resultobj
= 0;
9640 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9641 wxWindow
*result
= 0 ;
9644 PyObject
*swig_obj
[1] ;
9646 if (!args
) SWIG_fail
;
9648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9649 if (!SWIG_IsOK(res1
)) {
9650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9652 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= wxPyMake_wxObject(result
, 0);
9668 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9669 PyObject
*resultobj
= 0;
9670 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9671 wxWindow
*result
= 0 ;
9674 PyObject
*swig_obj
[1] ;
9676 if (!args
) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9682 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= wxPyMake_wxObject(result
, 0);
9698 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
= 0;
9700 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 char * kwnames
[] = {
9709 (char *) "self",(char *) "mode", NULL
9712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9717 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9719 if (!SWIG_IsOK(ecode2
)) {
9720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9722 arg2
= static_cast< int >(val2
);
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 (arg1
)->SetSplitMode(arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_Py_Void();
9736 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9737 PyObject
*resultobj
= 0;
9738 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9742 PyObject
*swig_obj
[1] ;
9744 if (!args
) SWIG_fail
;
9746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9747 if (!SWIG_IsOK(res1
)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9750 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_From_int(static_cast< int >(result
));
9764 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
= 0;
9766 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9767 wxWindow
*arg2
= (wxWindow
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9773 PyObject
* obj1
= 0 ;
9774 char * kwnames
[] = {
9775 (char *) "self",(char *) "window", NULL
9778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9780 if (!SWIG_IsOK(res1
)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9783 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9784 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9785 if (!SWIG_IsOK(res2
)) {
9786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9788 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 (arg1
)->Initialize(arg2
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_Py_Void();
9802 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
= 0;
9804 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9805 wxWindow
*arg2
= (wxWindow
*) 0 ;
9806 wxWindow
*arg3
= (wxWindow
*) 0 ;
9807 int arg4
= (int) 0 ;
9817 PyObject
* obj0
= 0 ;
9818 PyObject
* obj1
= 0 ;
9819 PyObject
* obj2
= 0 ;
9820 PyObject
* obj3
= 0 ;
9821 char * kwnames
[] = {
9822 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9827 if (!SWIG_IsOK(res1
)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9830 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9832 if (!SWIG_IsOK(res2
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9835 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9836 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9837 if (!SWIG_IsOK(res3
)) {
9838 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9840 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9842 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9843 if (!SWIG_IsOK(ecode4
)) {
9844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9846 arg4
= static_cast< int >(val4
);
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9863 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
= 0;
9865 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9866 wxWindow
*arg2
= (wxWindow
*) 0 ;
9867 wxWindow
*arg3
= (wxWindow
*) 0 ;
9868 int arg4
= (int) 0 ;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9880 PyObject
* obj2
= 0 ;
9881 PyObject
* obj3
= 0 ;
9882 char * kwnames
[] = {
9883 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9888 if (!SWIG_IsOK(res1
)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9891 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9893 if (!SWIG_IsOK(res2
)) {
9894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9896 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9897 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9898 if (!SWIG_IsOK(res3
)) {
9899 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9901 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9903 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9904 if (!SWIG_IsOK(ecode4
)) {
9905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9907 arg4
= static_cast< int >(val4
);
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9924 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
= 0;
9926 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9927 wxWindow
*arg2
= (wxWindow
*) NULL
;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9935 char * kwnames
[] = {
9936 (char *) "self",(char *) "toRemove", NULL
9939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9941 if (!SWIG_IsOK(res1
)) {
9942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9944 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9947 if (!SWIG_IsOK(res2
)) {
9948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9950 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (bool)(arg1
)->Unsplit(arg2
);
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9967 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
= 0;
9969 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9970 wxWindow
*arg2
= (wxWindow
*) 0 ;
9971 wxWindow
*arg3
= (wxWindow
*) 0 ;
9979 PyObject
* obj0
= 0 ;
9980 PyObject
* obj1
= 0 ;
9981 PyObject
* obj2
= 0 ;
9982 char * kwnames
[] = {
9983 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9988 if (!SWIG_IsOK(res1
)) {
9989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9991 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9992 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9993 if (!SWIG_IsOK(res2
)) {
9994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9996 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9997 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9998 if (!SWIG_IsOK(res3
)) {
9999 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10001 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10017 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10018 PyObject
*resultobj
= 0;
10019 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10022 PyObject
*swig_obj
[1] ;
10024 if (!args
) SWIG_fail
;
10025 swig_obj
[0] = args
;
10026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10030 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 (arg1
)->UpdateSize();
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= SWIG_Py_Void();
10044 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10045 PyObject
*resultobj
= 0;
10046 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10050 PyObject
*swig_obj
[1] ;
10052 if (!args
) SWIG_fail
;
10053 swig_obj
[0] = args
;
10054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10055 if (!SWIG_IsOK(res1
)) {
10056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10058 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10074 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
= 0;
10076 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10082 PyObject
* obj0
= 0 ;
10083 PyObject
* obj1
= 0 ;
10084 char * kwnames
[] = {
10085 (char *) "self",(char *) "width", NULL
10088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10090 if (!SWIG_IsOK(res1
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10093 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10095 if (!SWIG_IsOK(ecode2
)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10098 arg2
= static_cast< int >(val2
);
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 (arg1
)->SetSashSize(arg2
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= SWIG_Py_Void();
10112 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
= 0;
10114 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10120 PyObject
* obj0
= 0 ;
10121 PyObject
* obj1
= 0 ;
10122 char * kwnames
[] = {
10123 (char *) "self",(char *) "width", NULL
10126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10128 if (!SWIG_IsOK(res1
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10131 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10133 if (!SWIG_IsOK(ecode2
)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10136 arg2
= static_cast< int >(val2
);
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 (arg1
)->SetBorderSize(arg2
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_Py_Void();
10150 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10151 PyObject
*resultobj
= 0;
10152 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10156 PyObject
*swig_obj
[1] ;
10158 if (!args
) SWIG_fail
;
10159 swig_obj
[0] = args
;
10160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10161 if (!SWIG_IsOK(res1
)) {
10162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10164 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_From_int(static_cast< int >(result
));
10178 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10179 PyObject
*resultobj
= 0;
10180 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10184 PyObject
*swig_obj
[1] ;
10186 if (!args
) SWIG_fail
;
10187 swig_obj
[0] = args
;
10188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10189 if (!SWIG_IsOK(res1
)) {
10190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10192 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= SWIG_From_int(static_cast< int >(result
));
10206 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
= 0;
10208 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10210 bool arg3
= (bool) true ;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 PyObject
* obj2
= 0 ;
10220 char * kwnames
[] = {
10221 (char *) "self",(char *) "position",(char *) "redraw", NULL
10224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10226 if (!SWIG_IsOK(res1
)) {
10227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10229 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10231 if (!SWIG_IsOK(ecode2
)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10234 arg2
= static_cast< int >(val2
);
10236 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10237 if (!SWIG_IsOK(ecode3
)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10240 arg3
= static_cast< bool >(val3
);
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 (arg1
)->SetSashPosition(arg2
,arg3
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_Py_Void();
10255 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10256 PyObject
*resultobj
= 0;
10257 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10261 PyObject
*swig_obj
[1] ;
10263 if (!args
) SWIG_fail
;
10264 swig_obj
[0] = args
;
10265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10266 if (!SWIG_IsOK(res1
)) {
10267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10269 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= SWIG_From_int(static_cast< int >(result
));
10283 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
= 0;
10285 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 char * kwnames
[] = {
10294 (char *) "self",(char *) "gravity", NULL
10297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10299 if (!SWIG_IsOK(res1
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10302 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10303 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10304 if (!SWIG_IsOK(ecode2
)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10307 arg2
= static_cast< double >(val2
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 (arg1
)->SetSashGravity(arg2
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_Py_Void();
10321 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10322 PyObject
*resultobj
= 0;
10323 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10327 PyObject
*swig_obj
[1] ;
10329 if (!args
) SWIG_fail
;
10330 swig_obj
[0] = args
;
10331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10332 if (!SWIG_IsOK(res1
)) {
10333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10335 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= SWIG_From_double(static_cast< double >(result
));
10349 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
= 0;
10351 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 char * kwnames
[] = {
10360 (char *) "self",(char *) "min", NULL
10363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10365 if (!SWIG_IsOK(res1
)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10368 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10370 if (!SWIG_IsOK(ecode2
)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10373 arg2
= static_cast< int >(val2
);
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 (arg1
)->SetMinimumPaneSize(arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= SWIG_Py_Void();
10387 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10388 PyObject
*resultobj
= 0;
10389 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10393 PyObject
*swig_obj
[1] ;
10395 if (!args
) SWIG_fail
;
10396 swig_obj
[0] = args
;
10397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10398 if (!SWIG_IsOK(res1
)) {
10399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10401 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 resultobj
= SWIG_From_int(static_cast< int >(result
));
10415 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
= 0;
10417 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10420 int arg4
= (int) 5 ;
10430 PyObject
* obj0
= 0 ;
10431 PyObject
* obj1
= 0 ;
10432 PyObject
* obj2
= 0 ;
10433 PyObject
* obj3
= 0 ;
10434 char * kwnames
[] = {
10435 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10440 if (!SWIG_IsOK(res1
)) {
10441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10443 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10445 if (!SWIG_IsOK(ecode2
)) {
10446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10448 arg2
= static_cast< int >(val2
);
10449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10450 if (!SWIG_IsOK(ecode3
)) {
10451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10453 arg3
= static_cast< int >(val3
);
10455 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10456 if (!SWIG_IsOK(ecode4
)) {
10457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10459 arg4
= static_cast< int >(val4
);
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10476 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10477 PyObject
*resultobj
= 0;
10478 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10481 PyObject
*swig_obj
[1] ;
10483 if (!args
) SWIG_fail
;
10484 swig_obj
[0] = args
;
10485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10489 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 (arg1
)->SizeWindows();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_Py_Void();
10503 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
= 0;
10505 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 char * kwnames
[] = {
10514 (char *) "self",(char *) "needUpdating", NULL
10517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10519 if (!SWIG_IsOK(res1
)) {
10520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10522 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10523 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10524 if (!SWIG_IsOK(ecode2
)) {
10525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10527 arg2
= static_cast< bool >(val2
);
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 (arg1
)->SetNeedUpdating(arg2
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_Py_Void();
10541 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10542 PyObject
*resultobj
= 0;
10543 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10547 PyObject
*swig_obj
[1] ;
10549 if (!args
) SWIG_fail
;
10550 swig_obj
[0] = args
;
10551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10552 if (!SWIG_IsOK(res1
)) {
10553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10555 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10571 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
= 0;
10573 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10574 SwigValueWrapper
<wxVisualAttributes
> result
;
10577 PyObject
* obj0
= 0 ;
10578 char * kwnames
[] = {
10579 (char *) "variant", NULL
10582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10584 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10585 if (!SWIG_IsOK(ecode1
)) {
10586 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10588 arg1
= static_cast< wxWindowVariant
>(val1
);
10591 if (!wxPyCheckForApp()) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10604 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10607 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10608 return SWIG_Py_Void();
10611 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10612 return SWIG_Python_InitShadowInstance(args
);
10615 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
= 0;
10617 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10618 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10619 wxSplitterEvent
*result
= 0 ;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 char * kwnames
[] = {
10627 (char *) "type",(char *) "splitter", NULL
10630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10632 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10633 if (!SWIG_IsOK(ecode1
)) {
10634 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10636 arg1
= static_cast< wxEventType
>(val1
);
10639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10640 if (!SWIG_IsOK(res2
)) {
10641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10643 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10658 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
= 0;
10660 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 char * kwnames
[] = {
10669 (char *) "self",(char *) "pos", NULL
10672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10674 if (!SWIG_IsOK(res1
)) {
10675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10677 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10679 if (!SWIG_IsOK(ecode2
)) {
10680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10682 arg2
= static_cast< int >(val2
);
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 (arg1
)->SetSashPosition(arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= SWIG_Py_Void();
10696 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10697 PyObject
*resultobj
= 0;
10698 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10702 PyObject
*swig_obj
[1] ;
10704 if (!args
) SWIG_fail
;
10705 swig_obj
[0] = args
;
10706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10707 if (!SWIG_IsOK(res1
)) {
10708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10710 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 resultobj
= SWIG_From_int(static_cast< int >(result
));
10724 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10725 PyObject
*resultobj
= 0;
10726 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10727 wxWindow
*result
= 0 ;
10730 PyObject
*swig_obj
[1] ;
10732 if (!args
) SWIG_fail
;
10733 swig_obj
[0] = args
;
10734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10735 if (!SWIG_IsOK(res1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10738 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= wxPyMake_wxObject(result
, 0);
10754 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10755 PyObject
*resultobj
= 0;
10756 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10760 PyObject
*swig_obj
[1] ;
10762 if (!args
) SWIG_fail
;
10763 swig_obj
[0] = args
;
10764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10765 if (!SWIG_IsOK(res1
)) {
10766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10768 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= SWIG_From_int(static_cast< int >(result
));
10782 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10783 PyObject
*resultobj
= 0;
10784 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10788 PyObject
*swig_obj
[1] ;
10790 if (!args
) SWIG_fail
;
10791 swig_obj
[0] = args
;
10792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10793 if (!SWIG_IsOK(res1
)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10796 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_From_int(static_cast< int >(result
));
10810 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10813 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10814 return SWIG_Py_Void();
10817 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10818 return SWIG_Python_InitShadowInstance(args
);
10821 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10822 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10827 SWIGINTERN PyObject
*SashNameStr_get(void) {
10828 PyObject
*pyobj
= 0;
10832 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10834 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10841 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10842 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10847 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10848 PyObject
*pyobj
= 0;
10852 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10854 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10861 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
= 0;
10863 wxWindow
*arg1
= (wxWindow
*) 0 ;
10864 int arg2
= (int) -1 ;
10865 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10866 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10867 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10868 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10869 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10870 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10871 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10872 wxSashWindow
*result
= 0 ;
10881 bool temp6
= false ;
10882 PyObject
* obj0
= 0 ;
10883 PyObject
* obj1
= 0 ;
10884 PyObject
* obj2
= 0 ;
10885 PyObject
* obj3
= 0 ;
10886 PyObject
* obj4
= 0 ;
10887 PyObject
* obj5
= 0 ;
10888 char * kwnames
[] = {
10889 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10894 if (!SWIG_IsOK(res1
)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10897 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10900 if (!SWIG_IsOK(ecode2
)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10903 arg2
= static_cast< int >(val2
);
10908 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10914 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10918 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10919 if (!SWIG_IsOK(ecode5
)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10922 arg5
= static_cast< long >(val5
);
10926 arg6
= wxString_in_helper(obj5
);
10927 if (arg6
== NULL
) SWIG_fail
;
10932 if (!wxPyCheckForApp()) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10953 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10954 PyObject
*resultobj
= 0;
10955 wxSashWindow
*result
= 0 ;
10957 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10959 if (!wxPyCheckForApp()) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= (wxSashWindow
*)new wxSashWindow();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10972 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
= 0;
10974 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10975 wxWindow
*arg2
= (wxWindow
*) 0 ;
10976 int arg3
= (int) -1 ;
10977 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10978 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10979 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10980 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10981 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10982 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10983 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10995 bool temp7
= false ;
10996 PyObject
* obj0
= 0 ;
10997 PyObject
* obj1
= 0 ;
10998 PyObject
* obj2
= 0 ;
10999 PyObject
* obj3
= 0 ;
11000 PyObject
* obj4
= 0 ;
11001 PyObject
* obj5
= 0 ;
11002 PyObject
* obj6
= 0 ;
11003 char * kwnames
[] = {
11004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11009 if (!SWIG_IsOK(res1
)) {
11010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11012 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11014 if (!SWIG_IsOK(res2
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11017 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11020 if (!SWIG_IsOK(ecode3
)) {
11021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11023 arg3
= static_cast< int >(val3
);
11028 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11034 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11038 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11039 if (!SWIG_IsOK(ecode6
)) {
11040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11042 arg6
= static_cast< long >(val6
);
11046 arg7
= wxString_in_helper(obj6
);
11047 if (arg7
== NULL
) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11074 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
= 0;
11076 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11077 wxSashEdgePosition arg2
;
11085 PyObject
* obj0
= 0 ;
11086 PyObject
* obj1
= 0 ;
11087 PyObject
* obj2
= 0 ;
11088 char * kwnames
[] = {
11089 (char *) "self",(char *) "edge",(char *) "sash", NULL
11092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11094 if (!SWIG_IsOK(res1
)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11097 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11099 if (!SWIG_IsOK(ecode2
)) {
11100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11102 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11103 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11104 if (!SWIG_IsOK(ecode3
)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11107 arg3
= static_cast< bool >(val3
);
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 (arg1
)->SetSashVisible(arg2
,arg3
);
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 resultobj
= SWIG_Py_Void();
11121 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
= 0;
11123 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11124 wxSashEdgePosition arg2
;
11130 PyObject
* obj0
= 0 ;
11131 PyObject
* obj1
= 0 ;
11132 char * kwnames
[] = {
11133 (char *) "self",(char *) "edge", NULL
11136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11138 if (!SWIG_IsOK(res1
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11141 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11143 if (!SWIG_IsOK(ecode2
)) {
11144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11146 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11162 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
= 0;
11164 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11165 wxSashEdgePosition arg2
;
11173 PyObject
* obj0
= 0 ;
11174 PyObject
* obj1
= 0 ;
11175 PyObject
* obj2
= 0 ;
11176 char * kwnames
[] = {
11177 (char *) "self",(char *) "edge",(char *) "border", NULL
11180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11182 if (!SWIG_IsOK(res1
)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11185 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11187 if (!SWIG_IsOK(ecode2
)) {
11188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11190 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11191 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11192 if (!SWIG_IsOK(ecode3
)) {
11193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11195 arg3
= static_cast< bool >(val3
);
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 (arg1
)->SetSashBorder(arg2
,arg3
);
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= SWIG_Py_Void();
11209 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
= 0;
11211 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11212 wxSashEdgePosition arg2
;
11218 PyObject
* obj0
= 0 ;
11219 PyObject
* obj1
= 0 ;
11220 char * kwnames
[] = {
11221 (char *) "self",(char *) "edge", NULL
11224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11226 if (!SWIG_IsOK(res1
)) {
11227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11229 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11231 if (!SWIG_IsOK(ecode2
)) {
11232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11234 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11250 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
= 0;
11252 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11253 wxSashEdgePosition arg2
;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 char * kwnames
[] = {
11262 (char *) "self",(char *) "edge", NULL
11265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11267 if (!SWIG_IsOK(res1
)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11270 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11272 if (!SWIG_IsOK(ecode2
)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11275 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= SWIG_From_int(static_cast< int >(result
));
11289 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(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_SetDefaultBorderSize",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_SetDefaultBorderSize" "', 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_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11313 arg2
= static_cast< int >(val2
);
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->SetDefaultBorderSize(arg2
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= SWIG_Py_Void();
11327 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(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_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11341 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_From_int(static_cast< int >(result
));
11355 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(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 *) "width", NULL
11369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",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_SetExtraBorderSize" "', 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_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11379 arg2
= static_cast< int >(val2
);
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 (arg1
)->SetExtraBorderSize(arg2
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= SWIG_Py_Void();
11393 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11394 PyObject
*resultobj
= 0;
11395 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11399 PyObject
*swig_obj
[1] ;
11401 if (!args
) SWIG_fail
;
11402 swig_obj
[0] = args
;
11403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11404 if (!SWIG_IsOK(res1
)) {
11405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11407 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= SWIG_From_int(static_cast< int >(result
));
11421 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
= 0;
11423 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11429 PyObject
* obj0
= 0 ;
11430 PyObject
* obj1
= 0 ;
11431 char * kwnames
[] = {
11432 (char *) "self",(char *) "min", NULL
11435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11437 if (!SWIG_IsOK(res1
)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11440 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11442 if (!SWIG_IsOK(ecode2
)) {
11443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11445 arg2
= static_cast< int >(val2
);
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 (arg1
)->SetMinimumSizeX(arg2
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_Py_Void();
11459 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
= 0;
11461 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 char * kwnames
[] = {
11470 (char *) "self",(char *) "min", NULL
11473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11475 if (!SWIG_IsOK(res1
)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11478 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11480 if (!SWIG_IsOK(ecode2
)) {
11481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11483 arg2
= static_cast< int >(val2
);
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 (arg1
)->SetMinimumSizeY(arg2
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_Py_Void();
11497 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11498 PyObject
*resultobj
= 0;
11499 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11503 PyObject
*swig_obj
[1] ;
11505 if (!args
) SWIG_fail
;
11506 swig_obj
[0] = args
;
11507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11508 if (!SWIG_IsOK(res1
)) {
11509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11511 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= SWIG_From_int(static_cast< int >(result
));
11525 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11526 PyObject
*resultobj
= 0;
11527 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11531 PyObject
*swig_obj
[1] ;
11533 if (!args
) SWIG_fail
;
11534 swig_obj
[0] = args
;
11535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11536 if (!SWIG_IsOK(res1
)) {
11537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11539 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= SWIG_From_int(static_cast< int >(result
));
11553 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
= 0;
11555 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 char * kwnames
[] = {
11564 (char *) "self",(char *) "max", NULL
11567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11569 if (!SWIG_IsOK(res1
)) {
11570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11572 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11574 if (!SWIG_IsOK(ecode2
)) {
11575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11577 arg2
= static_cast< int >(val2
);
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 (arg1
)->SetMaximumSizeX(arg2
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 resultobj
= SWIG_Py_Void();
11591 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
= 0;
11593 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 char * kwnames
[] = {
11602 (char *) "self",(char *) "max", NULL
11605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11607 if (!SWIG_IsOK(res1
)) {
11608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11610 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11612 if (!SWIG_IsOK(ecode2
)) {
11613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11615 arg2
= static_cast< int >(val2
);
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 (arg1
)->SetMaximumSizeY(arg2
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= SWIG_Py_Void();
11629 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11630 PyObject
*resultobj
= 0;
11631 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11635 PyObject
*swig_obj
[1] ;
11637 if (!args
) SWIG_fail
;
11638 swig_obj
[0] = args
;
11639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11640 if (!SWIG_IsOK(res1
)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11643 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11647 wxPyEndAllowThreads(__tstate
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11650 resultobj
= SWIG_From_int(static_cast< int >(result
));
11657 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11658 PyObject
*resultobj
= 0;
11659 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11663 PyObject
*swig_obj
[1] ;
11665 if (!args
) SWIG_fail
;
11666 swig_obj
[0] = args
;
11667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11668 if (!SWIG_IsOK(res1
)) {
11669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11671 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 resultobj
= SWIG_From_int(static_cast< int >(result
));
11685 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
= 0;
11687 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11690 int arg4
= (int) 2 ;
11691 wxSashEdgePosition result
;
11700 PyObject
* obj0
= 0 ;
11701 PyObject
* obj1
= 0 ;
11702 PyObject
* obj2
= 0 ;
11703 PyObject
* obj3
= 0 ;
11704 char * kwnames
[] = {
11705 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11710 if (!SWIG_IsOK(res1
)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11713 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11715 if (!SWIG_IsOK(ecode2
)) {
11716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11718 arg2
= static_cast< int >(val2
);
11719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11720 if (!SWIG_IsOK(ecode3
)) {
11721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11723 arg3
= static_cast< int >(val3
);
11725 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11726 if (!SWIG_IsOK(ecode4
)) {
11727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11729 arg4
= static_cast< int >(val4
);
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= SWIG_From_int(static_cast< int >(result
));
11744 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11745 PyObject
*resultobj
= 0;
11746 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11749 PyObject
*swig_obj
[1] ;
11751 if (!args
) SWIG_fail
;
11752 swig_obj
[0] = args
;
11753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11754 if (!SWIG_IsOK(res1
)) {
11755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11757 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 (arg1
)->SizeWindows();
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= SWIG_Py_Void();
11771 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11774 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11775 return SWIG_Py_Void();
11778 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11779 return SWIG_Python_InitShadowInstance(args
);
11782 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
= 0;
11784 int arg1
= (int) 0 ;
11785 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11786 wxSashEvent
*result
= 0 ;
11791 PyObject
* obj0
= 0 ;
11792 PyObject
* obj1
= 0 ;
11793 char * kwnames
[] = {
11794 (char *) "id",(char *) "edge", NULL
11797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11800 if (!SWIG_IsOK(ecode1
)) {
11801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11803 arg1
= static_cast< int >(val1
);
11806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11807 if (!SWIG_IsOK(ecode2
)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11810 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11825 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
= 0;
11827 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11828 wxSashEdgePosition arg2
;
11833 PyObject
* obj0
= 0 ;
11834 PyObject
* obj1
= 0 ;
11835 char * kwnames
[] = {
11836 (char *) "self",(char *) "edge", NULL
11839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11841 if (!SWIG_IsOK(res1
)) {
11842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11844 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11846 if (!SWIG_IsOK(ecode2
)) {
11847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11849 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 (arg1
)->SetEdge(arg2
);
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_Py_Void();
11863 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11864 PyObject
*resultobj
= 0;
11865 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11866 wxSashEdgePosition result
;
11869 PyObject
*swig_obj
[1] ;
11871 if (!args
) SWIG_fail
;
11872 swig_obj
[0] = args
;
11873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11874 if (!SWIG_IsOK(res1
)) {
11875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11877 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= SWIG_From_int(static_cast< int >(result
));
11891 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
= 0;
11893 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 char * kwnames
[] = {
11901 (char *) "self",(char *) "rect", NULL
11904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11909 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11912 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= SWIG_Py_Void();
11927 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11928 PyObject
*resultobj
= 0;
11929 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
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_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11941 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11955 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
= 0;
11957 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11958 wxSashDragStatus arg2
;
11963 PyObject
* obj0
= 0 ;
11964 PyObject
* obj1
= 0 ;
11965 char * kwnames
[] = {
11966 (char *) "self",(char *) "status", NULL
11969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11971 if (!SWIG_IsOK(res1
)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11974 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11976 if (!SWIG_IsOK(ecode2
)) {
11977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11979 arg2
= static_cast< wxSashDragStatus
>(val2
);
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 (arg1
)->SetDragStatus(arg2
);
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11986 resultobj
= SWIG_Py_Void();
11993 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11994 PyObject
*resultobj
= 0;
11995 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11996 wxSashDragStatus result
;
11999 PyObject
*swig_obj
[1] ;
12001 if (!args
) SWIG_fail
;
12002 swig_obj
[0] = args
;
12003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12004 if (!SWIG_IsOK(res1
)) {
12005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12007 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= SWIG_From_int(static_cast< int >(result
));
12021 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12024 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12025 return SWIG_Py_Void();
12028 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12029 return SWIG_Python_InitShadowInstance(args
);
12032 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
= 0;
12034 int arg1
= (int) 0 ;
12035 wxQueryLayoutInfoEvent
*result
= 0 ;
12038 PyObject
* obj0
= 0 ;
12039 char * kwnames
[] = {
12040 (char *) "id", NULL
12043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12046 if (!SWIG_IsOK(ecode1
)) {
12047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12049 arg1
= static_cast< int >(val1
);
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12064 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(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 *) "length", NULL
12078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",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_SetRequestedLength" "', 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_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12088 arg2
= static_cast< int >(val2
);
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 (arg1
)->SetRequestedLength(arg2
);
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_Py_Void();
12102 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(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_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12116 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= SWIG_From_int(static_cast< int >(result
));
12130 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
= 0;
12132 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char * kwnames
[] = {
12141 (char *) "self",(char *) "flags", NULL
12144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12146 if (!SWIG_IsOK(res1
)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12149 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12151 if (!SWIG_IsOK(ecode2
)) {
12152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12154 arg2
= static_cast< int >(val2
);
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->SetFlags(arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= SWIG_Py_Void();
12168 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12169 PyObject
*resultobj
= 0;
12170 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12174 PyObject
*swig_obj
[1] ;
12176 if (!args
) SWIG_fail
;
12177 swig_obj
[0] = args
;
12178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12179 if (!SWIG_IsOK(res1
)) {
12180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12182 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= SWIG_From_int(static_cast< int >(result
));
12196 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
= 0;
12198 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 PyObject
* obj1
= 0 ;
12205 char * kwnames
[] = {
12206 (char *) "self",(char *) "size", NULL
12209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12211 if (!SWIG_IsOK(res1
)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12214 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12217 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 (arg1
)->SetSize((wxSize
const &)*arg2
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_Py_Void();
12232 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12233 PyObject
*resultobj
= 0;
12234 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
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_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12246 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12260 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
= 0;
12262 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12263 wxLayoutOrientation arg2
;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 char * kwnames
[] = {
12271 (char *) "self",(char *) "orient", NULL
12274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",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_SetOrientation" "', 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_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12284 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 (arg1
)->SetOrientation(arg2
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= SWIG_Py_Void();
12298 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12299 PyObject
*resultobj
= 0;
12300 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12301 wxLayoutOrientation 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_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12312 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= SWIG_From_int(static_cast< int >(result
));
12326 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
= 0;
12328 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12329 wxLayoutAlignment arg2
;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj1
= 0 ;
12336 char * kwnames
[] = {
12337 (char *) "self",(char *) "align", NULL
12340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12342 if (!SWIG_IsOK(res1
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12345 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12347 if (!SWIG_IsOK(ecode2
)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12350 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 (arg1
)->SetAlignment(arg2
);
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_Py_Void();
12364 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12365 PyObject
*resultobj
= 0;
12366 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12367 wxLayoutAlignment result
;
12370 PyObject
*swig_obj
[1] ;
12372 if (!args
) SWIG_fail
;
12373 swig_obj
[0] = args
;
12374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12375 if (!SWIG_IsOK(res1
)) {
12376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12378 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= SWIG_From_int(static_cast< int >(result
));
12392 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12395 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12396 return SWIG_Py_Void();
12399 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12400 return SWIG_Python_InitShadowInstance(args
);
12403 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
= 0;
12405 int arg1
= (int) 0 ;
12406 wxCalculateLayoutEvent
*result
= 0 ;
12409 PyObject
* obj0
= 0 ;
12410 char * kwnames
[] = {
12411 (char *) "id", NULL
12414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12416 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12417 if (!SWIG_IsOK(ecode1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12420 arg1
= static_cast< int >(val1
);
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12435 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
= 0;
12437 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 char * kwnames
[] = {
12446 (char *) "self",(char *) "flags", NULL
12449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12451 if (!SWIG_IsOK(res1
)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12454 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12456 if (!SWIG_IsOK(ecode2
)) {
12457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12459 arg2
= static_cast< int >(val2
);
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 (arg1
)->SetFlags(arg2
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_Py_Void();
12473 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12474 PyObject
*resultobj
= 0;
12475 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12479 PyObject
*swig_obj
[1] ;
12481 if (!args
) SWIG_fail
;
12482 swig_obj
[0] = args
;
12483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12484 if (!SWIG_IsOK(res1
)) {
12485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12487 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= SWIG_From_int(static_cast< int >(result
));
12501 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
= 0;
12503 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 PyObject
* obj1
= 0 ;
12510 char * kwnames
[] = {
12511 (char *) "self",(char *) "rect", NULL
12514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12516 if (!SWIG_IsOK(res1
)) {
12517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12519 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12522 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 (arg1
)->SetRect((wxRect
const &)*arg2
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= SWIG_Py_Void();
12537 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12538 PyObject
*resultobj
= 0;
12539 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12543 PyObject
*swig_obj
[1] ;
12545 if (!args
) SWIG_fail
;
12546 swig_obj
[0] = args
;
12547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12548 if (!SWIG_IsOK(res1
)) {
12549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12551 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12565 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12568 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12569 return SWIG_Py_Void();
12572 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12573 return SWIG_Python_InitShadowInstance(args
);
12576 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
= 0;
12578 wxWindow
*arg1
= (wxWindow
*) 0 ;
12579 int arg2
= (int) -1 ;
12580 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12581 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12582 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12583 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12584 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12585 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12586 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12587 wxSashLayoutWindow
*result
= 0 ;
12596 bool temp6
= false ;
12597 PyObject
* obj0
= 0 ;
12598 PyObject
* obj1
= 0 ;
12599 PyObject
* obj2
= 0 ;
12600 PyObject
* obj3
= 0 ;
12601 PyObject
* obj4
= 0 ;
12602 PyObject
* obj5
= 0 ;
12603 char * kwnames
[] = {
12604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12609 if (!SWIG_IsOK(res1
)) {
12610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12612 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12615 if (!SWIG_IsOK(ecode2
)) {
12616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12618 arg2
= static_cast< int >(val2
);
12623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12629 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12633 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12634 if (!SWIG_IsOK(ecode5
)) {
12635 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12637 arg5
= static_cast< long >(val5
);
12641 arg6
= wxString_in_helper(obj5
);
12642 if (arg6
== NULL
) SWIG_fail
;
12647 if (!wxPyCheckForApp()) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12668 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12669 PyObject
*resultobj
= 0;
12670 wxSashLayoutWindow
*result
= 0 ;
12672 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12674 if (!wxPyCheckForApp()) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12687 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
= 0;
12689 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12690 wxWindow
*arg2
= (wxWindow
*) 0 ;
12691 int arg3
= (int) -1 ;
12692 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12693 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12694 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12695 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12696 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12697 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12698 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12710 bool temp7
= false ;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 PyObject
* obj2
= 0 ;
12714 PyObject
* obj3
= 0 ;
12715 PyObject
* obj4
= 0 ;
12716 PyObject
* obj5
= 0 ;
12717 PyObject
* obj6
= 0 ;
12718 char * kwnames
[] = {
12719 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12724 if (!SWIG_IsOK(res1
)) {
12725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12727 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12729 if (!SWIG_IsOK(res2
)) {
12730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12732 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12735 if (!SWIG_IsOK(ecode3
)) {
12736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12738 arg3
= static_cast< int >(val3
);
12743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12753 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12754 if (!SWIG_IsOK(ecode6
)) {
12755 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12757 arg6
= static_cast< long >(val6
);
12761 arg7
= wxString_in_helper(obj6
);
12762 if (arg7
== NULL
) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12789 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12790 PyObject
*resultobj
= 0;
12791 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12792 wxLayoutAlignment result
;
12795 PyObject
*swig_obj
[1] ;
12797 if (!args
) SWIG_fail
;
12798 swig_obj
[0] = args
;
12799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12800 if (!SWIG_IsOK(res1
)) {
12801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12803 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= SWIG_From_int(static_cast< int >(result
));
12817 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12818 PyObject
*resultobj
= 0;
12819 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12820 wxLayoutOrientation result
;
12823 PyObject
*swig_obj
[1] ;
12825 if (!args
) SWIG_fail
;
12826 swig_obj
[0] = args
;
12827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12831 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12838 resultobj
= SWIG_From_int(static_cast< int >(result
));
12845 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
= 0;
12847 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12848 wxLayoutAlignment arg2
;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 char * kwnames
[] = {
12856 (char *) "self",(char *) "alignment", NULL
12859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12861 if (!SWIG_IsOK(res1
)) {
12862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12864 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12866 if (!SWIG_IsOK(ecode2
)) {
12867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12869 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 (arg1
)->SetAlignment(arg2
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= SWIG_Py_Void();
12883 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
= 0;
12885 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char * kwnames
[] = {
12893 (char *) "self",(char *) "size", NULL
12896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12898 if (!SWIG_IsOK(res1
)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12901 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12904 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12912 resultobj
= SWIG_Py_Void();
12919 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
= 0;
12921 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12922 wxLayoutOrientation arg2
;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 char * kwnames
[] = {
12930 (char *) "self",(char *) "orientation", NULL
12933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12935 if (!SWIG_IsOK(res1
)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12938 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12940 if (!SWIG_IsOK(ecode2
)) {
12941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12943 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 (arg1
)->SetOrientation(arg2
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= SWIG_Py_Void();
12957 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12959 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12960 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12961 return SWIG_Py_Void();
12964 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12965 return SWIG_Python_InitShadowInstance(args
);
12968 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 PyObject
*resultobj
= 0;
12970 wxLayoutAlgorithm
*result
= 0 ;
12972 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12986 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12987 PyObject
*resultobj
= 0;
12988 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12991 PyObject
*swig_obj
[1] ;
12993 if (!args
) SWIG_fail
;
12994 swig_obj
[0] = args
;
12995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12996 if (!SWIG_IsOK(res1
)) {
12997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12999 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_Py_Void();
13014 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
= 0;
13016 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13017 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13018 wxRect
*arg3
= (wxRect
*) NULL
;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 PyObject
* obj2
= 0 ;
13029 char * kwnames
[] = {
13030 (char *) "self",(char *) "frame",(char *) "rect", NULL
13033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13035 if (!SWIG_IsOK(res1
)) {
13036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13038 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13040 if (!SWIG_IsOK(res2
)) {
13041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13043 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13045 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13046 if (!SWIG_IsOK(res3
)) {
13047 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13049 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13066 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
= 0;
13068 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13069 wxFrame
*arg2
= (wxFrame
*) 0 ;
13070 wxWindow
*arg3
= (wxWindow
*) NULL
;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 PyObject
* obj2
= 0 ;
13081 char * kwnames
[] = {
13082 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13087 if (!SWIG_IsOK(res1
)) {
13088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13090 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13091 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13092 if (!SWIG_IsOK(res2
)) {
13093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13095 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13097 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13098 if (!SWIG_IsOK(res3
)) {
13099 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13101 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13118 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
= 0;
13120 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13121 wxWindow
*arg2
= (wxWindow
*) 0 ;
13122 wxWindow
*arg3
= (wxWindow
*) NULL
;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 PyObject
* obj2
= 0 ;
13133 char * kwnames
[] = {
13134 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13139 if (!SWIG_IsOK(res1
)) {
13140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13142 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13144 if (!SWIG_IsOK(res2
)) {
13145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13147 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13149 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13150 if (!SWIG_IsOK(res3
)) {
13151 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13153 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13170 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13173 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13174 return SWIG_Py_Void();
13177 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13178 return SWIG_Python_InitShadowInstance(args
);
13181 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
= 0;
13183 wxWindow
*arg1
= (wxWindow
*) 0 ;
13184 int arg2
= (int) wxBORDER_NONE
;
13185 wxPopupWindow
*result
= 0 ;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 char * kwnames
[] = {
13193 (char *) "parent",(char *) "flags", NULL
13196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13198 if (!SWIG_IsOK(res1
)) {
13199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13201 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13204 if (!SWIG_IsOK(ecode2
)) {
13205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13207 arg2
= static_cast< int >(val2
);
13210 if (!wxPyCheckForApp()) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13223 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13224 PyObject
*resultobj
= 0;
13225 wxPopupWindow
*result
= 0 ;
13227 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13229 if (!wxPyCheckForApp()) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (wxPopupWindow
*)new wxPopupWindow();
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13242 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
= 0;
13244 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13245 wxWindow
*arg2
= (wxWindow
*) 0 ;
13246 int arg3
= (int) wxBORDER_NONE
;
13254 PyObject
* obj0
= 0 ;
13255 PyObject
* obj1
= 0 ;
13256 PyObject
* obj2
= 0 ;
13257 char * kwnames
[] = {
13258 (char *) "self",(char *) "parent",(char *) "flags", NULL
13261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13263 if (!SWIG_IsOK(res1
)) {
13264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13266 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13268 if (!SWIG_IsOK(res2
)) {
13269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13274 if (!SWIG_IsOK(ecode3
)) {
13275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13277 arg3
= static_cast< int >(val3
);
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13294 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
= 0;
13296 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13297 wxPoint
*arg2
= 0 ;
13303 PyObject
* obj0
= 0 ;
13304 PyObject
* obj1
= 0 ;
13305 PyObject
* obj2
= 0 ;
13306 char * kwnames
[] = {
13307 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13312 if (!SWIG_IsOK(res1
)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13315 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13318 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13322 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_Py_Void();
13337 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13340 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13341 return SWIG_Py_Void();
13344 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13345 return SWIG_Python_InitShadowInstance(args
);
13348 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
= 0;
13350 wxWindow
*arg1
= (wxWindow
*) 0 ;
13351 int arg2
= (int) wxBORDER_NONE
;
13352 wxPyPopupTransientWindow
*result
= 0 ;
13357 PyObject
* obj0
= 0 ;
13358 PyObject
* obj1
= 0 ;
13359 char * kwnames
[] = {
13360 (char *) "parent",(char *) "style", NULL
13363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13365 if (!SWIG_IsOK(res1
)) {
13366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13368 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13371 if (!SWIG_IsOK(ecode2
)) {
13372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13374 arg2
= static_cast< int >(val2
);
13377 if (!wxPyCheckForApp()) SWIG_fail
;
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13390 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 PyObject
*resultobj
= 0;
13392 wxPyPopupTransientWindow
*result
= 0 ;
13394 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13396 if (!wxPyCheckForApp()) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13409 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
= 0;
13411 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13412 PyObject
*arg2
= (PyObject
*) 0 ;
13413 PyObject
*arg3
= (PyObject
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 PyObject
* obj1
= 0 ;
13418 PyObject
* obj2
= 0 ;
13419 char * kwnames
[] = {
13420 (char *) "self",(char *) "self",(char *) "_class", NULL
13423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13425 if (!SWIG_IsOK(res1
)) {
13426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13428 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_Py_Void();
13444 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
= 0;
13446 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13447 wxWindow
*arg2
= (wxWindow
*) NULL
;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 char * kwnames
[] = {
13455 (char *) "self",(char *) "focus", NULL
13458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13460 if (!SWIG_IsOK(res1
)) {
13461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13463 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13465 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13466 if (!SWIG_IsOK(res2
)) {
13467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13469 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 (arg1
)->Popup(arg2
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_Py_Void();
13484 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13485 PyObject
*resultobj
= 0;
13486 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13489 PyObject
*swig_obj
[1] ;
13491 if (!args
) SWIG_fail
;
13492 swig_obj
[0] = args
;
13493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13494 if (!SWIG_IsOK(res1
)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13497 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= SWIG_Py_Void();
13511 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13514 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13515 return SWIG_Py_Void();
13518 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13519 return SWIG_Python_InitShadowInstance(args
);
13522 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
= 0;
13524 wxWindow
*arg1
= (wxWindow
*) 0 ;
13525 wxString
*arg2
= 0 ;
13526 int arg3
= (int) 100 ;
13527 wxRect
*arg4
= (wxRect
*) NULL
;
13528 wxTipWindow
*result
= 0 ;
13531 bool temp2
= false ;
13536 PyObject
* obj0
= 0 ;
13537 PyObject
* obj1
= 0 ;
13538 PyObject
* obj2
= 0 ;
13539 PyObject
* obj3
= 0 ;
13540 char * kwnames
[] = {
13541 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13546 if (!SWIG_IsOK(res1
)) {
13547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13551 arg2
= wxString_in_helper(obj1
);
13552 if (arg2
== NULL
) SWIG_fail
;
13556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13557 if (!SWIG_IsOK(ecode3
)) {
13558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13560 arg3
= static_cast< int >(val3
);
13563 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13564 if (!SWIG_IsOK(res4
)) {
13565 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13567 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13570 if (!wxPyCheckForApp()) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13591 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
= 0;
13593 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 char * kwnames
[] = {
13601 (char *) "self",(char *) "rectBound", NULL
13604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13606 if (!SWIG_IsOK(res1
)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13609 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13612 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= SWIG_Py_Void();
13627 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13628 PyObject
*resultobj
= 0;
13629 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13632 PyObject
*swig_obj
[1] ;
13634 if (!args
) SWIG_fail
;
13635 swig_obj
[0] = args
;
13636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13637 if (!SWIG_IsOK(res1
)) {
13638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13640 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= SWIG_Py_Void();
13654 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13657 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13658 return SWIG_Py_Void();
13661 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13662 return SWIG_Python_InitShadowInstance(args
);
13665 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13666 PyObject
*resultobj
= 0;
13667 wxWindow
*arg1
= (wxWindow
*) 0 ;
13668 int arg2
= (int) wxID_ANY
;
13669 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13670 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13671 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13672 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13673 long arg5
= (long) 0 ;
13674 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13675 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13676 wxPyVScrolledWindow
*result
= 0 ;
13685 bool temp6
= false ;
13686 PyObject
* obj0
= 0 ;
13687 PyObject
* obj1
= 0 ;
13688 PyObject
* obj2
= 0 ;
13689 PyObject
* obj3
= 0 ;
13690 PyObject
* obj4
= 0 ;
13691 PyObject
* obj5
= 0 ;
13692 char * kwnames
[] = {
13693 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13698 if (!SWIG_IsOK(res1
)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13701 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13704 if (!SWIG_IsOK(ecode2
)) {
13705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13707 arg2
= static_cast< int >(val2
);
13712 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13718 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13722 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13723 if (!SWIG_IsOK(ecode5
)) {
13724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13726 arg5
= static_cast< long >(val5
);
13730 arg6
= wxString_in_helper(obj5
);
13731 if (arg6
== NULL
) SWIG_fail
;
13736 if (!wxPyCheckForApp()) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13739 wxPyEndAllowThreads(__tstate
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13757 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13758 PyObject
*resultobj
= 0;
13759 wxPyVScrolledWindow
*result
= 0 ;
13761 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13763 if (!wxPyCheckForApp()) SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13776 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
= 0;
13778 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13779 PyObject
*arg2
= (PyObject
*) 0 ;
13780 PyObject
*arg3
= (PyObject
*) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 PyObject
* obj1
= 0 ;
13785 PyObject
* obj2
= 0 ;
13786 char * kwnames
[] = {
13787 (char *) "self",(char *) "self",(char *) "_class", NULL
13790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13792 if (!SWIG_IsOK(res1
)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13795 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 resultobj
= SWIG_Py_Void();
13811 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
= 0;
13813 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13814 wxWindow
*arg2
= (wxWindow
*) 0 ;
13815 int arg3
= (int) wxID_ANY
;
13816 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13817 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13818 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13819 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13820 long arg6
= (long) 0 ;
13821 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13822 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13834 bool temp7
= false ;
13835 PyObject
* obj0
= 0 ;
13836 PyObject
* obj1
= 0 ;
13837 PyObject
* obj2
= 0 ;
13838 PyObject
* obj3
= 0 ;
13839 PyObject
* obj4
= 0 ;
13840 PyObject
* obj5
= 0 ;
13841 PyObject
* obj6
= 0 ;
13842 char * kwnames
[] = {
13843 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13848 if (!SWIG_IsOK(res1
)) {
13849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13851 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13852 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13853 if (!SWIG_IsOK(res2
)) {
13854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13856 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13858 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13859 if (!SWIG_IsOK(ecode3
)) {
13860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13862 arg3
= static_cast< int >(val3
);
13867 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13873 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13877 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13878 if (!SWIG_IsOK(ecode6
)) {
13879 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13881 arg6
= static_cast< long >(val6
);
13885 arg7
= wxString_in_helper(obj6
);
13886 if (arg7
== NULL
) SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13913 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
= 0;
13915 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 char * kwnames
[] = {
13924 (char *) "self",(char *) "count", NULL
13927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13929 if (!SWIG_IsOK(res1
)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13932 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13933 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13934 if (!SWIG_IsOK(ecode2
)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13937 arg2
= static_cast< size_t >(val2
);
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 (arg1
)->SetLineCount(arg2
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= SWIG_Py_Void();
13951 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
= 0;
13953 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13960 PyObject
* obj0
= 0 ;
13961 PyObject
* obj1
= 0 ;
13962 char * kwnames
[] = {
13963 (char *) "self",(char *) "line", NULL
13966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13968 if (!SWIG_IsOK(res1
)) {
13969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13971 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13972 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13973 if (!SWIG_IsOK(ecode2
)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13976 arg2
= static_cast< size_t >(val2
);
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13992 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13993 PyObject
*resultobj
= 0;
13994 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 PyObject
* obj1
= 0 ;
14002 char * kwnames
[] = {
14003 (char *) "self",(char *) "line", NULL
14006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14008 if (!SWIG_IsOK(res1
)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14011 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14012 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14013 if (!SWIG_IsOK(ecode2
)) {
14014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14016 arg2
= static_cast< size_t >(val2
);
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 (arg1
)->RefreshLine(arg2
);
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= SWIG_Py_Void();
14030 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
= 0;
14032 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 PyObject
* obj2
= 0 ;
14044 char * kwnames
[] = {
14045 (char *) "self",(char *) "from",(char *) "to", NULL
14048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14050 if (!SWIG_IsOK(res1
)) {
14051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14053 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14054 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14055 if (!SWIG_IsOK(ecode2
)) {
14056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14058 arg2
= static_cast< size_t >(val2
);
14059 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14060 if (!SWIG_IsOK(ecode3
)) {
14061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14063 arg3
= static_cast< size_t >(val3
);
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 (arg1
)->RefreshLines(arg2
,arg3
);
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14070 resultobj
= SWIG_Py_Void();
14077 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
= 0;
14079 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14089 PyObject
* obj0
= 0 ;
14090 PyObject
* obj1
= 0 ;
14091 PyObject
* obj2
= 0 ;
14092 char * kwnames
[] = {
14093 (char *) "self",(char *) "x",(char *) "y", NULL
14096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14098 if (!SWIG_IsOK(res1
)) {
14099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14101 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14103 if (!SWIG_IsOK(ecode2
)) {
14104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14106 arg2
= static_cast< int >(val2
);
14107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14108 if (!SWIG_IsOK(ecode3
)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14111 arg3
= static_cast< int >(val3
);
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= SWIG_From_int(static_cast< int >(result
));
14125 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
= 0;
14127 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14128 wxPoint
*arg2
= 0 ;
14133 PyObject
* obj0
= 0 ;
14134 PyObject
* obj1
= 0 ;
14135 char * kwnames
[] = {
14136 (char *) "self",(char *) "pt", NULL
14139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14141 if (!SWIG_IsOK(res1
)) {
14142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14144 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_From_int(static_cast< int >(result
));
14162 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14163 PyObject
*resultobj
= 0;
14164 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14167 PyObject
*swig_obj
[1] ;
14169 if (!args
) SWIG_fail
;
14170 swig_obj
[0] = args
;
14171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14172 if (!SWIG_IsOK(res1
)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14175 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 (arg1
)->RefreshAll();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= SWIG_Py_Void();
14189 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14190 PyObject
*resultobj
= 0;
14191 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14195 PyObject
*swig_obj
[1] ;
14197 if (!args
) SWIG_fail
;
14198 swig_obj
[0] = args
;
14199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14200 if (!SWIG_IsOK(res1
)) {
14201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14203 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14217 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14218 PyObject
*resultobj
= 0;
14219 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14223 PyObject
*swig_obj
[1] ;
14225 if (!args
) SWIG_fail
;
14226 swig_obj
[0] = args
;
14227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14228 if (!SWIG_IsOK(res1
)) {
14229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14231 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14245 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14246 PyObject
*resultobj
= 0;
14247 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14251 PyObject
*swig_obj
[1] ;
14253 if (!args
) SWIG_fail
;
14254 swig_obj
[0] = args
;
14255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14256 if (!SWIG_IsOK(res1
)) {
14257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14259 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14273 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
= 0;
14275 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 PyObject
* obj1
= 0 ;
14284 char * kwnames
[] = {
14285 (char *) "self",(char *) "line", NULL
14288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14290 if (!SWIG_IsOK(res1
)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14293 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14294 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14295 if (!SWIG_IsOK(ecode2
)) {
14296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14298 arg2
= static_cast< size_t >(val2
);
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14314 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14315 PyObject
*resultobj
= 0;
14316 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14320 PyObject
*swig_obj
[1] ;
14322 if (!args
) SWIG_fail
;
14323 swig_obj
[0] = args
;
14324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14325 if (!SWIG_IsOK(res1
)) {
14326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14328 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14342 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14343 PyObject
*resultobj
= 0;
14344 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14348 PyObject
*swig_obj
[1] ;
14350 if (!args
) SWIG_fail
;
14351 swig_obj
[0] = args
;
14352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14356 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14370 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
= 0;
14372 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14374 bool arg3
= (bool) false ;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 PyObject
* obj2
= 0 ;
14385 char * kwnames
[] = {
14386 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14391 if (!SWIG_IsOK(res1
)) {
14392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14394 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14395 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14396 if (!SWIG_IsOK(ecode2
)) {
14397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14399 arg2
= static_cast< size_t >(val2
);
14401 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14402 if (!SWIG_IsOK(ecode3
)) {
14403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14405 arg3
= static_cast< bool >(val3
);
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14420 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
= 0;
14422 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14432 PyObject
* obj0
= 0 ;
14433 PyObject
* obj1
= 0 ;
14434 PyObject
* obj2
= 0 ;
14435 char * kwnames
[] = {
14436 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14441 if (!SWIG_IsOK(res1
)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14444 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14445 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14446 if (!SWIG_IsOK(ecode2
)) {
14447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14449 arg2
= static_cast< size_t >(val2
);
14450 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14451 if (!SWIG_IsOK(ecode3
)) {
14452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14454 arg3
= static_cast< size_t >(val3
);
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_From_int(static_cast< int >(result
));
14468 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14471 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14472 return SWIG_Py_Void();
14475 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14476 return SWIG_Python_InitShadowInstance(args
);
14479 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14480 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14485 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14486 PyObject
*pyobj
= 0;
14490 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14492 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14499 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14500 PyObject
*resultobj
= 0;
14501 wxWindow
*arg1
= (wxWindow
*) 0 ;
14502 int arg2
= (int) wxID_ANY
;
14503 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14504 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14505 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14506 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14507 long arg5
= (long) 0 ;
14508 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14509 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14510 wxPyVListBox
*result
= 0 ;
14519 bool temp6
= false ;
14520 PyObject
* obj0
= 0 ;
14521 PyObject
* obj1
= 0 ;
14522 PyObject
* obj2
= 0 ;
14523 PyObject
* obj3
= 0 ;
14524 PyObject
* obj4
= 0 ;
14525 PyObject
* obj5
= 0 ;
14526 char * kwnames
[] = {
14527 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14532 if (!SWIG_IsOK(res1
)) {
14533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14535 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14538 if (!SWIG_IsOK(ecode2
)) {
14539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14541 arg2
= static_cast< int >(val2
);
14546 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14552 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14556 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14557 if (!SWIG_IsOK(ecode5
)) {
14558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14560 arg5
= static_cast< long >(val5
);
14564 arg6
= wxString_in_helper(obj5
);
14565 if (arg6
== NULL
) SWIG_fail
;
14570 if (!wxPyCheckForApp()) SWIG_fail
;
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14591 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14592 PyObject
*resultobj
= 0;
14593 wxPyVListBox
*result
= 0 ;
14595 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14597 if (!wxPyCheckForApp()) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (wxPyVListBox
*)new wxPyVListBox();
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14610 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
= 0;
14612 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14613 PyObject
*arg2
= (PyObject
*) 0 ;
14614 PyObject
*arg3
= (PyObject
*) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 PyObject
* obj1
= 0 ;
14619 PyObject
* obj2
= 0 ;
14620 char * kwnames
[] = {
14621 (char *) "self",(char *) "self",(char *) "_class", NULL
14624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14626 if (!SWIG_IsOK(res1
)) {
14627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14629 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_Py_Void();
14645 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
= 0;
14647 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14648 wxWindow
*arg2
= (wxWindow
*) 0 ;
14649 int arg3
= (int) wxID_ANY
;
14650 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14651 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14652 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14653 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14654 long arg6
= (long) 0 ;
14655 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14656 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14668 bool temp7
= false ;
14669 PyObject
* obj0
= 0 ;
14670 PyObject
* obj1
= 0 ;
14671 PyObject
* obj2
= 0 ;
14672 PyObject
* obj3
= 0 ;
14673 PyObject
* obj4
= 0 ;
14674 PyObject
* obj5
= 0 ;
14675 PyObject
* obj6
= 0 ;
14676 char * kwnames
[] = {
14677 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14682 if (!SWIG_IsOK(res1
)) {
14683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14685 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14686 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14687 if (!SWIG_IsOK(res2
)) {
14688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14690 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14693 if (!SWIG_IsOK(ecode3
)) {
14694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14696 arg3
= static_cast< int >(val3
);
14701 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14707 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14711 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14712 if (!SWIG_IsOK(ecode6
)) {
14713 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14715 arg6
= static_cast< long >(val6
);
14719 arg7
= wxString_in_helper(obj6
);
14720 if (arg7
== NULL
) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14747 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14748 PyObject
*resultobj
= 0;
14749 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14753 PyObject
*swig_obj
[1] ;
14755 if (!args
) SWIG_fail
;
14756 swig_obj
[0] = args
;
14757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14758 if (!SWIG_IsOK(res1
)) {
14759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14761 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14775 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14776 PyObject
*resultobj
= 0;
14777 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14781 PyObject
*swig_obj
[1] ;
14783 if (!args
) SWIG_fail
;
14784 swig_obj
[0] = args
;
14785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14786 if (!SWIG_IsOK(res1
)) {
14787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14789 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14805 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14806 PyObject
*resultobj
= 0;
14807 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14811 PyObject
*swig_obj
[1] ;
14813 if (!args
) SWIG_fail
;
14814 swig_obj
[0] = args
;
14815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14816 if (!SWIG_IsOK(res1
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14819 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= SWIG_From_int(static_cast< int >(result
));
14833 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
= 0;
14835 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 char * kwnames
[] = {
14845 (char *) "self",(char *) "item", NULL
14848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14850 if (!SWIG_IsOK(res1
)) {
14851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14853 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14854 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14855 if (!SWIG_IsOK(ecode2
)) {
14856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14858 arg2
= static_cast< size_t >(val2
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14874 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
= 0;
14876 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj1
= 0 ;
14885 char * kwnames
[] = {
14886 (char *) "self",(char *) "item", NULL
14889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14891 if (!SWIG_IsOK(res1
)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14894 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14895 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14896 if (!SWIG_IsOK(ecode2
)) {
14897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14899 arg2
= static_cast< size_t >(val2
);
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14915 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14916 PyObject
*resultobj
= 0;
14917 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14921 PyObject
*swig_obj
[1] ;
14923 if (!args
) SWIG_fail
;
14924 swig_obj
[0] = args
;
14925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14926 if (!SWIG_IsOK(res1
)) {
14927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14929 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14943 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14944 PyObject
*resultobj
= 0;
14945 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14946 PyObject
*result
= 0 ;
14949 PyObject
*swig_obj
[1] ;
14951 if (!args
) SWIG_fail
;
14952 swig_obj
[0] = args
;
14953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14954 if (!SWIG_IsOK(res1
)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14957 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= result
;
14971 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
= 0;
14973 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14974 unsigned long arg2
;
14975 PyObject
*result
= 0 ;
14978 unsigned long val2
;
14980 PyObject
* obj0
= 0 ;
14981 PyObject
* obj1
= 0 ;
14982 char * kwnames
[] = {
14983 (char *) "self",(char *) "cookie", NULL
14986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14988 if (!SWIG_IsOK(res1
)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14991 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14992 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14993 if (!SWIG_IsOK(ecode2
)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14996 arg2
= static_cast< unsigned long >(val2
);
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= result
;
15010 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15011 PyObject
*resultobj
= 0;
15012 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15016 PyObject
*swig_obj
[1] ;
15018 if (!args
) SWIG_fail
;
15019 swig_obj
[0] = args
;
15020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15021 if (!SWIG_IsOK(res1
)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15024 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15038 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15039 PyObject
*resultobj
= 0;
15040 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15041 wxColour
*result
= 0 ;
15044 PyObject
*swig_obj
[1] ;
15046 if (!args
) SWIG_fail
;
15047 swig_obj
[0] = args
;
15048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15049 if (!SWIG_IsOK(res1
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15052 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15057 result
= (wxColour
*) &_result_ref
;
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15069 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
= 0;
15071 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char * kwnames
[] = {
15080 (char *) "self",(char *) "count", NULL
15083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15085 if (!SWIG_IsOK(res1
)) {
15086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15088 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15089 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15090 if (!SWIG_IsOK(ecode2
)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15093 arg2
= static_cast< size_t >(val2
);
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 (arg1
)->SetItemCount(arg2
);
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= SWIG_Py_Void();
15107 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15108 PyObject
*resultobj
= 0;
15109 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15112 PyObject
*swig_obj
[1] ;
15114 if (!args
) SWIG_fail
;
15115 swig_obj
[0] = args
;
15116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15117 if (!SWIG_IsOK(res1
)) {
15118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15120 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= SWIG_Py_Void();
15134 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
= 0;
15136 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 char * kwnames
[] = {
15145 (char *) "self",(char *) "selection", NULL
15148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15153 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15155 if (!SWIG_IsOK(ecode2
)) {
15156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15158 arg2
= static_cast< int >(val2
);
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 (arg1
)->SetSelection(arg2
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= SWIG_Py_Void();
15172 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
= 0;
15174 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15176 bool arg3
= (bool) true ;
15184 PyObject
* obj0
= 0 ;
15185 PyObject
* obj1
= 0 ;
15186 PyObject
* obj2
= 0 ;
15187 char * kwnames
[] = {
15188 (char *) "self",(char *) "item",(char *) "select", NULL
15191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15193 if (!SWIG_IsOK(res1
)) {
15194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15196 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15197 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15198 if (!SWIG_IsOK(ecode2
)) {
15199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15201 arg2
= static_cast< size_t >(val2
);
15203 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15204 if (!SWIG_IsOK(ecode3
)) {
15205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15207 arg3
= static_cast< bool >(val3
);
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15224 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15225 PyObject
*resultobj
= 0;
15226 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15236 PyObject
* obj0
= 0 ;
15237 PyObject
* obj1
= 0 ;
15238 PyObject
* obj2
= 0 ;
15239 char * kwnames
[] = {
15240 (char *) "self",(char *) "from",(char *) "to", NULL
15243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15245 if (!SWIG_IsOK(res1
)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15248 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15249 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15250 if (!SWIG_IsOK(ecode2
)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15253 arg2
= static_cast< size_t >(val2
);
15254 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15255 if (!SWIG_IsOK(ecode3
)) {
15256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15258 arg3
= static_cast< size_t >(val3
);
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15274 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
= 0;
15276 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 PyObject
* obj1
= 0 ;
15284 char * kwnames
[] = {
15285 (char *) "self",(char *) "item", NULL
15288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15290 if (!SWIG_IsOK(res1
)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15293 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15294 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15295 if (!SWIG_IsOK(ecode2
)) {
15296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15298 arg2
= static_cast< size_t >(val2
);
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 (arg1
)->Toggle(arg2
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= SWIG_Py_Void();
15312 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15313 PyObject
*resultobj
= 0;
15314 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15318 PyObject
*swig_obj
[1] ;
15320 if (!args
) SWIG_fail
;
15321 swig_obj
[0] = args
;
15322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15323 if (!SWIG_IsOK(res1
)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15326 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 result
= (bool)(arg1
)->SelectAll();
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15342 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15343 PyObject
*resultobj
= 0;
15344 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15348 PyObject
*swig_obj
[1] ;
15350 if (!args
) SWIG_fail
;
15351 swig_obj
[0] = args
;
15352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15353 if (!SWIG_IsOK(res1
)) {
15354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15356 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 result
= (bool)(arg1
)->DeselectAll();
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15372 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
= 0;
15374 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15375 wxPoint
*arg2
= 0 ;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 char * kwnames
[] = {
15382 (char *) "self",(char *) "pt", NULL
15385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15387 if (!SWIG_IsOK(res1
)) {
15388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15390 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15393 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= SWIG_Py_Void();
15408 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
= 0;
15410 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 PyObject
* obj2
= 0 ;
15422 char * kwnames
[] = {
15423 (char *) "self",(char *) "x",(char *) "y", NULL
15426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15428 if (!SWIG_IsOK(res1
)) {
15429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15431 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15433 if (!SWIG_IsOK(ecode2
)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15436 arg2
= static_cast< int >(val2
);
15437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15438 if (!SWIG_IsOK(ecode3
)) {
15439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15441 arg3
= static_cast< int >(val3
);
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 (arg1
)->SetMargins(arg2
,arg3
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= SWIG_Py_Void();
15455 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
= 0;
15457 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15458 wxColour
*arg2
= 0 ;
15462 PyObject
* obj0
= 0 ;
15463 PyObject
* obj1
= 0 ;
15464 char * kwnames
[] = {
15465 (char *) "self",(char *) "col", NULL
15468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15470 if (!SWIG_IsOK(res1
)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15473 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15476 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= SWIG_Py_Void();
15491 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
= 0;
15493 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 PyObject
* obj2
= 0 ;
15507 PyObject
* obj3
= 0 ;
15508 char * kwnames
[] = {
15509 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15514 if (!SWIG_IsOK(res1
)) {
15515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15517 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15519 if (!SWIG_IsOK(res2
)) {
15520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15525 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15528 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15530 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15531 if (!SWIG_IsOK(ecode4
)) {
15532 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15534 arg4
= static_cast< size_t >(val4
);
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 resultobj
= SWIG_Py_Void();
15548 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
= 0;
15550 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 PyObject
* obj2
= 0 ;
15564 PyObject
* obj3
= 0 ;
15565 char * kwnames
[] = {
15566 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15571 if (!SWIG_IsOK(res1
)) {
15572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15574 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15576 if (!SWIG_IsOK(res2
)) {
15577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15582 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15585 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15587 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15588 if (!SWIG_IsOK(ecode4
)) {
15589 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15591 arg4
= static_cast< size_t >(val4
);
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= SWIG_Py_Void();
15605 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15608 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15609 return SWIG_Py_Void();
15612 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15613 return SWIG_Python_InitShadowInstance(args
);
15616 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
= 0;
15618 wxWindow
*arg1
= (wxWindow
*) 0 ;
15619 int arg2
= (int) wxID_ANY
;
15620 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15621 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15622 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15623 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15624 long arg5
= (long) 0 ;
15625 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15626 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15627 wxPyHtmlListBox
*result
= 0 ;
15636 bool temp6
= false ;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 PyObject
* obj2
= 0 ;
15640 PyObject
* obj3
= 0 ;
15641 PyObject
* obj4
= 0 ;
15642 PyObject
* obj5
= 0 ;
15643 char * kwnames
[] = {
15644 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15649 if (!SWIG_IsOK(res1
)) {
15650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15652 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15655 if (!SWIG_IsOK(ecode2
)) {
15656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15658 arg2
= static_cast< int >(val2
);
15663 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15669 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15673 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15674 if (!SWIG_IsOK(ecode5
)) {
15675 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15677 arg5
= static_cast< long >(val5
);
15681 arg6
= wxString_in_helper(obj5
);
15682 if (arg6
== NULL
) SWIG_fail
;
15687 if (!wxPyCheckForApp()) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15708 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15709 PyObject
*resultobj
= 0;
15710 wxPyHtmlListBox
*result
= 0 ;
15712 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15714 if (!wxPyCheckForApp()) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15727 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
= 0;
15729 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15730 PyObject
*arg2
= (PyObject
*) 0 ;
15731 PyObject
*arg3
= (PyObject
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 PyObject
* obj2
= 0 ;
15737 char * kwnames
[] = {
15738 (char *) "self",(char *) "self",(char *) "_class", NULL
15741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15743 if (!SWIG_IsOK(res1
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15746 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_Py_Void();
15762 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
= 0;
15764 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15765 wxWindow
*arg2
= (wxWindow
*) 0 ;
15766 int arg3
= (int) wxID_ANY
;
15767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15771 long arg6
= (long) 0 ;
15772 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15773 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15785 bool temp7
= false ;
15786 PyObject
* obj0
= 0 ;
15787 PyObject
* obj1
= 0 ;
15788 PyObject
* obj2
= 0 ;
15789 PyObject
* obj3
= 0 ;
15790 PyObject
* obj4
= 0 ;
15791 PyObject
* obj5
= 0 ;
15792 PyObject
* obj6
= 0 ;
15793 char * kwnames
[] = {
15794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15799 if (!SWIG_IsOK(res1
)) {
15800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15802 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15804 if (!SWIG_IsOK(res2
)) {
15805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15807 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15810 if (!SWIG_IsOK(ecode3
)) {
15811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15813 arg3
= static_cast< int >(val3
);
15818 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15824 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15828 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15829 if (!SWIG_IsOK(ecode6
)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15832 arg6
= static_cast< long >(val6
);
15836 arg7
= wxString_in_helper(obj6
);
15837 if (arg7
== NULL
) SWIG_fail
;
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15864 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
= 0;
15866 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 PyObject
* obj1
= 0 ;
15874 char * kwnames
[] = {
15875 (char *) "self",(char *) "count", NULL
15878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15883 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15884 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15885 if (!SWIG_IsOK(ecode2
)) {
15886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15888 arg2
= static_cast< size_t >(val2
);
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 (arg1
)->SetItemCount(arg2
);
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= SWIG_Py_Void();
15902 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15903 PyObject
*resultobj
= 0;
15904 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15905 wxFileSystem
*result
= 0 ;
15908 PyObject
*swig_obj
[1] ;
15910 if (!args
) SWIG_fail
;
15911 swig_obj
[0] = args
;
15912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15913 if (!SWIG_IsOK(res1
)) {
15914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15916 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15921 result
= (wxFileSystem
*) &_result_ref
;
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15933 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
= 0;
15935 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15937 wxHtmlLinkInfo
*arg3
= 0 ;
15944 PyObject
* obj0
= 0 ;
15945 PyObject
* obj1
= 0 ;
15946 PyObject
* obj2
= 0 ;
15947 char * kwnames
[] = {
15948 (char *) "self",(char *) "n",(char *) "link", NULL
15951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15953 if (!SWIG_IsOK(res1
)) {
15954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15956 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15957 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15958 if (!SWIG_IsOK(ecode2
)) {
15959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15961 arg2
= static_cast< size_t >(val2
);
15962 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15963 if (!SWIG_IsOK(res3
)) {
15964 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15969 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= SWIG_Py_Void();
15983 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15987 return SWIG_Py_Void();
15990 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15991 return SWIG_Python_InitShadowInstance(args
);
15994 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15995 PyObject
*resultobj
= 0;
15996 wxPyTaskBarIcon
*result
= 0 ;
15998 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16000 if (!wxPyCheckForApp()) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16013 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16014 PyObject
*resultobj
= 0;
16015 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16018 PyObject
*swig_obj
[1] ;
16020 if (!args
) SWIG_fail
;
16021 swig_obj
[0] = args
;
16022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16023 if (!SWIG_IsOK(res1
)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16026 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= SWIG_Py_Void();
16041 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
= 0;
16043 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16044 PyObject
*arg2
= (PyObject
*) 0 ;
16045 PyObject
*arg3
= (PyObject
*) 0 ;
16051 PyObject
* obj0
= 0 ;
16052 PyObject
* obj1
= 0 ;
16053 PyObject
* obj2
= 0 ;
16054 PyObject
* obj3
= 0 ;
16055 char * kwnames
[] = {
16056 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16061 if (!SWIG_IsOK(res1
)) {
16062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16064 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16067 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16068 if (!SWIG_IsOK(ecode4
)) {
16069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16071 arg4
= static_cast< int >(val4
);
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16078 resultobj
= SWIG_Py_Void();
16085 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16086 PyObject
*resultobj
= 0;
16087 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16090 PyObject
*swig_obj
[1] ;
16092 if (!args
) SWIG_fail
;
16093 swig_obj
[0] = args
;
16094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16095 if (!SWIG_IsOK(res1
)) {
16096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16098 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 wxPyTaskBarIcon_Destroy(arg1
);
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= SWIG_Py_Void();
16112 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16113 PyObject
*resultobj
= 0;
16114 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16118 PyObject
*swig_obj
[1] ;
16120 if (!args
) SWIG_fail
;
16121 swig_obj
[0] = args
;
16122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16123 if (!SWIG_IsOK(res1
)) {
16124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16126 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16142 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16143 PyObject
*resultobj
= 0;
16144 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16148 PyObject
*swig_obj
[1] ;
16150 if (!args
) SWIG_fail
;
16151 swig_obj
[0] = args
;
16152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16153 if (!SWIG_IsOK(res1
)) {
16154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16156 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16172 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
= 0;
16174 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16176 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16177 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16183 bool temp3
= false ;
16184 PyObject
* obj0
= 0 ;
16185 PyObject
* obj1
= 0 ;
16186 PyObject
* obj2
= 0 ;
16187 char * kwnames
[] = {
16188 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16193 if (!SWIG_IsOK(res1
)) {
16194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16196 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16198 if (!SWIG_IsOK(res2
)) {
16199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16204 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16207 arg3
= wxString_in_helper(obj2
);
16208 if (arg3
== NULL
) SWIG_fail
;
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16235 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16236 PyObject
*resultobj
= 0;
16237 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16241 PyObject
*swig_obj
[1] ;
16243 if (!args
) SWIG_fail
;
16244 swig_obj
[0] = args
;
16245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16246 if (!SWIG_IsOK(res1
)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16249 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (bool)(arg1
)->RemoveIcon();
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16265 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
= 0;
16267 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16268 wxMenu
*arg2
= (wxMenu
*) 0 ;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 char * kwnames
[] = {
16277 (char *) "self",(char *) "menu", NULL
16280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16282 if (!SWIG_IsOK(res1
)) {
16283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16285 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16287 if (!SWIG_IsOK(res2
)) {
16288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16290 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= (bool)(arg1
)->PopupMenu(arg2
);
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16306 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16310 return SWIG_Py_Void();
16313 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16314 return SWIG_Python_InitShadowInstance(args
);
16317 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
= 0;
16320 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16321 wxTaskBarIconEvent
*result
= 0 ;
16326 PyObject
* obj0
= 0 ;
16327 PyObject
* obj1
= 0 ;
16328 char * kwnames
[] = {
16329 (char *) "evtType",(char *) "tbIcon", NULL
16332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16334 if (!SWIG_IsOK(ecode1
)) {
16335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16337 arg1
= static_cast< wxEventType
>(val1
);
16338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16339 if (!SWIG_IsOK(res2
)) {
16340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16342 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16356 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16359 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16360 return SWIG_Py_Void();
16363 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16364 return SWIG_Python_InitShadowInstance(args
);
16367 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16368 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16373 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16374 PyObject
*pyobj
= 0;
16378 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16380 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16387 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16388 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16393 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16394 PyObject
*pyobj
= 0;
16398 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16400 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16407 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16408 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16413 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16414 PyObject
*pyobj
= 0;
16418 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16420 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16427 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16428 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16433 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16434 PyObject
*pyobj
= 0;
16438 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16440 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16447 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16448 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16453 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16454 PyObject
*pyobj
= 0;
16458 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16460 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16467 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16468 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16473 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16474 PyObject
*pyobj
= 0;
16478 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16480 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16487 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16488 PyObject
*resultobj
= 0;
16489 wxColourData
*result
= 0 ;
16491 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 result
= (wxColourData
*)new wxColourData();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16505 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16506 PyObject
*resultobj
= 0;
16507 wxColourData
*arg1
= (wxColourData
*) 0 ;
16510 PyObject
*swig_obj
[1] ;
16512 if (!args
) SWIG_fail
;
16513 swig_obj
[0] = args
;
16514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16515 if (!SWIG_IsOK(res1
)) {
16516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16518 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= SWIG_Py_Void();
16533 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16534 PyObject
*resultobj
= 0;
16535 wxColourData
*arg1
= (wxColourData
*) 0 ;
16539 PyObject
*swig_obj
[1] ;
16541 if (!args
) SWIG_fail
;
16542 swig_obj
[0] = args
;
16543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16544 if (!SWIG_IsOK(res1
)) {
16545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16547 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (bool)(arg1
)->GetChooseFull();
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16563 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16564 PyObject
*resultobj
= 0;
16565 wxColourData
*arg1
= (wxColourData
*) 0 ;
16569 PyObject
*swig_obj
[1] ;
16571 if (!args
) SWIG_fail
;
16572 swig_obj
[0] = args
;
16573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16574 if (!SWIG_IsOK(res1
)) {
16575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16577 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (arg1
)->GetColour();
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16591 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
= 0;
16593 wxColourData
*arg1
= (wxColourData
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 PyObject
* obj1
= 0 ;
16602 char * kwnames
[] = {
16603 (char *) "self",(char *) "i", NULL
16606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16608 if (!SWIG_IsOK(res1
)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16611 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16613 if (!SWIG_IsOK(ecode2
)) {
16614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16616 arg2
= static_cast< int >(val2
);
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (arg1
)->GetCustomColour(arg2
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16630 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
= 0;
16632 wxColourData
*arg1
= (wxColourData
*) 0 ;
16638 PyObject
* obj0
= 0 ;
16639 PyObject
* obj1
= 0 ;
16640 char * kwnames
[] = {
16641 (char *) "self",(char *) "flag", NULL
16644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16646 if (!SWIG_IsOK(res1
)) {
16647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16649 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16651 if (!SWIG_IsOK(ecode2
)) {
16652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16654 arg2
= static_cast< int >(val2
);
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 (arg1
)->SetChooseFull(arg2
);
16658 wxPyEndAllowThreads(__tstate
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16661 resultobj
= SWIG_Py_Void();
16668 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
= 0;
16670 wxColourData
*arg1
= (wxColourData
*) 0 ;
16671 wxColour
*arg2
= 0 ;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 char * kwnames
[] = {
16678 (char *) "self",(char *) "colour", NULL
16681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16683 if (!SWIG_IsOK(res1
)) {
16684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16686 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16689 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 (arg1
)->SetColour((wxColour
const &)*arg2
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= SWIG_Py_Void();
16704 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
= 0;
16706 wxColourData
*arg1
= (wxColourData
*) 0 ;
16708 wxColour
*arg3
= 0 ;
16714 PyObject
* obj0
= 0 ;
16715 PyObject
* obj1
= 0 ;
16716 PyObject
* obj2
= 0 ;
16717 char * kwnames
[] = {
16718 (char *) "self",(char *) "i",(char *) "colour", NULL
16721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16723 if (!SWIG_IsOK(res1
)) {
16724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16726 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16728 if (!SWIG_IsOK(ecode2
)) {
16729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16731 arg2
= static_cast< int >(val2
);
16734 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 resultobj
= SWIG_Py_Void();
16749 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16752 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16753 return SWIG_Py_Void();
16756 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16757 return SWIG_Python_InitShadowInstance(args
);
16760 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
= 0;
16762 wxWindow
*arg1
= (wxWindow
*) 0 ;
16763 wxColourData
*arg2
= (wxColourData
*) NULL
;
16764 wxColourDialog
*result
= 0 ;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 char * kwnames
[] = {
16772 (char *) "parent",(char *) "data", NULL
16775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16777 if (!SWIG_IsOK(res1
)) {
16778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16780 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16782 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16783 if (!SWIG_IsOK(res2
)) {
16784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16786 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16789 if (!wxPyCheckForApp()) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16802 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16803 PyObject
*resultobj
= 0;
16804 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16805 wxColourData
*result
= 0 ;
16808 PyObject
*swig_obj
[1] ;
16810 if (!args
) SWIG_fail
;
16811 swig_obj
[0] = args
;
16812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16813 if (!SWIG_IsOK(res1
)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16816 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16821 result
= (wxColourData
*) &_result_ref
;
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16833 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16836 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16837 return SWIG_Py_Void();
16840 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16841 return SWIG_Python_InitShadowInstance(args
);
16844 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
= 0;
16846 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16847 wxColour
const &arg2_defvalue
= wxNullColour
;
16848 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16849 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16850 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16855 bool temp3
= false ;
16856 PyObject
* obj0
= 0 ;
16857 PyObject
* obj1
= 0 ;
16858 PyObject
* obj2
= 0 ;
16859 char * kwnames
[] = {
16860 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16866 if (!SWIG_IsOK(res1
)) {
16867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16869 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16874 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16879 arg3
= wxString_in_helper(obj2
);
16880 if (arg3
== NULL
) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16905 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
= 0;
16907 wxWindow
*arg1
= (wxWindow
*) 0 ;
16908 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16909 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16910 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16911 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16912 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16913 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16914 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16915 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16916 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16917 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16918 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16919 wxDirDialog
*result
= 0 ;
16922 bool temp2
= false ;
16923 bool temp3
= false ;
16928 bool temp7
= false ;
16929 PyObject
* obj0
= 0 ;
16930 PyObject
* obj1
= 0 ;
16931 PyObject
* obj2
= 0 ;
16932 PyObject
* obj3
= 0 ;
16933 PyObject
* obj4
= 0 ;
16934 PyObject
* obj5
= 0 ;
16935 PyObject
* obj6
= 0 ;
16936 char * kwnames
[] = {
16937 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16942 if (!SWIG_IsOK(res1
)) {
16943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16945 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16948 arg2
= wxString_in_helper(obj1
);
16949 if (arg2
== NULL
) SWIG_fail
;
16955 arg3
= wxString_in_helper(obj2
);
16956 if (arg3
== NULL
) SWIG_fail
;
16961 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16962 if (!SWIG_IsOK(ecode4
)) {
16963 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16965 arg4
= static_cast< long >(val4
);
16970 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16976 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16981 arg7
= wxString_in_helper(obj6
);
16982 if (arg7
== NULL
) SWIG_fail
;
16987 if (!wxPyCheckForApp()) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17024 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17025 PyObject
*resultobj
= 0;
17026 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17030 PyObject
*swig_obj
[1] ;
17032 if (!args
) SWIG_fail
;
17033 swig_obj
[0] = args
;
17034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17035 if (!SWIG_IsOK(res1
)) {
17036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17038 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 result
= (arg1
)->GetPath();
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17058 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17059 PyObject
*resultobj
= 0;
17060 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17064 PyObject
*swig_obj
[1] ;
17066 if (!args
) SWIG_fail
;
17067 swig_obj
[0] = args
;
17068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17069 if (!SWIG_IsOK(res1
)) {
17070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17072 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 result
= (arg1
)->GetMessage();
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17092 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
= 0;
17094 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17095 wxString
*arg2
= 0 ;
17098 bool temp2
= false ;
17099 PyObject
* obj0
= 0 ;
17100 PyObject
* obj1
= 0 ;
17101 char * kwnames
[] = {
17102 (char *) "self",(char *) "message", NULL
17105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17107 if (!SWIG_IsOK(res1
)) {
17108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17110 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17112 arg2
= wxString_in_helper(obj1
);
17113 if (arg2
== NULL
) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 (arg1
)->SetMessage((wxString
const &)*arg2
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= SWIG_Py_Void();
17137 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
= 0;
17139 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17140 wxString
*arg2
= 0 ;
17143 bool temp2
= false ;
17144 PyObject
* obj0
= 0 ;
17145 PyObject
* obj1
= 0 ;
17146 char * kwnames
[] = {
17147 (char *) "self",(char *) "path", NULL
17150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17152 if (!SWIG_IsOK(res1
)) {
17153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17155 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17157 arg2
= wxString_in_helper(obj1
);
17158 if (arg2
== NULL
) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 (arg1
)->SetPath((wxString
const &)*arg2
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= SWIG_Py_Void();
17182 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17185 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17186 return SWIG_Py_Void();
17189 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17190 return SWIG_Python_InitShadowInstance(args
);
17193 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
= 0;
17195 wxWindow
*arg1
= (wxWindow
*) 0 ;
17196 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17197 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17198 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17199 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17200 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17201 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17202 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17203 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17204 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17205 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17206 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17207 wxFileDialog
*result
= 0 ;
17210 bool temp2
= false ;
17211 bool temp3
= false ;
17212 bool temp4
= false ;
17213 bool temp5
= false ;
17217 PyObject
* obj0
= 0 ;
17218 PyObject
* obj1
= 0 ;
17219 PyObject
* obj2
= 0 ;
17220 PyObject
* obj3
= 0 ;
17221 PyObject
* obj4
= 0 ;
17222 PyObject
* obj5
= 0 ;
17223 PyObject
* obj6
= 0 ;
17224 char * kwnames
[] = {
17225 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17230 if (!SWIG_IsOK(res1
)) {
17231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17233 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17236 arg2
= wxString_in_helper(obj1
);
17237 if (arg2
== NULL
) SWIG_fail
;
17243 arg3
= wxString_in_helper(obj2
);
17244 if (arg3
== NULL
) SWIG_fail
;
17250 arg4
= wxString_in_helper(obj3
);
17251 if (arg4
== NULL
) SWIG_fail
;
17257 arg5
= wxString_in_helper(obj4
);
17258 if (arg5
== NULL
) SWIG_fail
;
17263 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17264 if (!SWIG_IsOK(ecode6
)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17267 arg6
= static_cast< long >(val6
);
17272 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17276 if (!wxPyCheckForApp()) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17321 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
= 0;
17323 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17324 wxString
*arg2
= 0 ;
17327 bool temp2
= false ;
17328 PyObject
* obj0
= 0 ;
17329 PyObject
* obj1
= 0 ;
17330 char * kwnames
[] = {
17331 (char *) "self",(char *) "message", NULL
17334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17336 if (!SWIG_IsOK(res1
)) {
17337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17339 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17341 arg2
= wxString_in_helper(obj1
);
17342 if (arg2
== NULL
) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 (arg1
)->SetMessage((wxString
const &)*arg2
);
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 resultobj
= SWIG_Py_Void();
17366 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
= 0;
17368 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17369 wxString
*arg2
= 0 ;
17372 bool temp2
= false ;
17373 PyObject
* obj0
= 0 ;
17374 PyObject
* obj1
= 0 ;
17375 char * kwnames
[] = {
17376 (char *) "self",(char *) "path", NULL
17379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17381 if (!SWIG_IsOK(res1
)) {
17382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17384 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17386 arg2
= wxString_in_helper(obj1
);
17387 if (arg2
== NULL
) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 (arg1
)->SetPath((wxString
const &)*arg2
);
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= SWIG_Py_Void();
17411 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
= 0;
17413 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17414 wxString
*arg2
= 0 ;
17417 bool temp2
= false ;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 char * kwnames
[] = {
17421 (char *) "self",(char *) "dir", NULL
17424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17426 if (!SWIG_IsOK(res1
)) {
17427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17429 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17431 arg2
= wxString_in_helper(obj1
);
17432 if (arg2
== NULL
) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17441 resultobj
= SWIG_Py_Void();
17456 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
= 0;
17458 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17459 wxString
*arg2
= 0 ;
17462 bool temp2
= false ;
17463 PyObject
* obj0
= 0 ;
17464 PyObject
* obj1
= 0 ;
17465 char * kwnames
[] = {
17466 (char *) "self",(char *) "name", NULL
17469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17471 if (!SWIG_IsOK(res1
)) {
17472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17474 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17476 arg2
= wxString_in_helper(obj1
);
17477 if (arg2
== NULL
) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 (arg1
)->SetFilename((wxString
const &)*arg2
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= SWIG_Py_Void();
17501 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
= 0;
17503 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17504 wxString
*arg2
= 0 ;
17507 bool temp2
= false ;
17508 PyObject
* obj0
= 0 ;
17509 PyObject
* obj1
= 0 ;
17510 char * kwnames
[] = {
17511 (char *) "self",(char *) "wildCard", NULL
17514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17516 if (!SWIG_IsOK(res1
)) {
17517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17519 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17521 arg2
= wxString_in_helper(obj1
);
17522 if (arg2
== NULL
) SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= SWIG_Py_Void();
17546 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
= 0;
17548 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17554 PyObject
* obj0
= 0 ;
17555 PyObject
* obj1
= 0 ;
17556 char * kwnames
[] = {
17557 (char *) "self",(char *) "filterIndex", NULL
17560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17562 if (!SWIG_IsOK(res1
)) {
17563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17565 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17567 if (!SWIG_IsOK(ecode2
)) {
17568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17570 arg2
= static_cast< int >(val2
);
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 (arg1
)->SetFilterIndex(arg2
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= SWIG_Py_Void();
17584 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17585 PyObject
*resultobj
= 0;
17586 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17590 PyObject
*swig_obj
[1] ;
17592 if (!args
) SWIG_fail
;
17593 swig_obj
[0] = args
;
17594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17595 if (!SWIG_IsOK(res1
)) {
17596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17598 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17618 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17619 PyObject
*resultobj
= 0;
17620 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17624 PyObject
*swig_obj
[1] ;
17626 if (!args
) SWIG_fail
;
17627 swig_obj
[0] = args
;
17628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17629 if (!SWIG_IsOK(res1
)) {
17630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17632 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17652 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17653 PyObject
*resultobj
= 0;
17654 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17658 PyObject
*swig_obj
[1] ;
17660 if (!args
) SWIG_fail
;
17661 swig_obj
[0] = args
;
17662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17663 if (!SWIG_IsOK(res1
)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17666 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17686 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17687 PyObject
*resultobj
= 0;
17688 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17692 PyObject
*swig_obj
[1] ;
17694 if (!args
) SWIG_fail
;
17695 swig_obj
[0] = args
;
17696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17697 if (!SWIG_IsOK(res1
)) {
17698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17700 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17720 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17721 PyObject
*resultobj
= 0;
17722 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17726 PyObject
*swig_obj
[1] ;
17728 if (!args
) SWIG_fail
;
17729 swig_obj
[0] = args
;
17730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17731 if (!SWIG_IsOK(res1
)) {
17732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17734 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17754 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17755 PyObject
*resultobj
= 0;
17756 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17760 PyObject
*swig_obj
[1] ;
17762 if (!args
) SWIG_fail
;
17763 swig_obj
[0] = args
;
17764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17765 if (!SWIG_IsOK(res1
)) {
17766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17768 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 resultobj
= SWIG_From_int(static_cast< int >(result
));
17782 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17783 PyObject
*resultobj
= 0;
17784 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17785 PyObject
*result
= 0 ;
17788 PyObject
*swig_obj
[1] ;
17790 if (!args
) SWIG_fail
;
17791 swig_obj
[0] = args
;
17792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17793 if (!SWIG_IsOK(res1
)) {
17794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17796 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= result
;
17810 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17811 PyObject
*resultobj
= 0;
17812 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17813 PyObject
*result
= 0 ;
17816 PyObject
*swig_obj
[1] ;
17818 if (!args
) SWIG_fail
;
17819 swig_obj
[0] = args
;
17820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17821 if (!SWIG_IsOK(res1
)) {
17822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17824 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= result
;
17838 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17841 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17842 return SWIG_Py_Void();
17845 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17846 return SWIG_Python_InitShadowInstance(args
);
17849 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
= 0;
17851 wxWindow
*arg1
= (wxWindow
*) 0 ;
17852 wxString
*arg2
= 0 ;
17853 wxString
*arg3
= 0 ;
17854 int arg4
= (int) 0 ;
17855 wxString
*arg5
= (wxString
*) NULL
;
17856 long arg6
= (long) wxCHOICEDLG_STYLE
;
17857 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17858 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17859 wxMultiChoiceDialog
*result
= 0 ;
17862 bool temp2
= false ;
17863 bool temp3
= false ;
17867 PyObject
* obj0
= 0 ;
17868 PyObject
* obj1
= 0 ;
17869 PyObject
* obj2
= 0 ;
17870 PyObject
* obj3
= 0 ;
17871 PyObject
* obj4
= 0 ;
17872 PyObject
* obj5
= 0 ;
17873 char * kwnames
[] = {
17874 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17879 if (!SWIG_IsOK(res1
)) {
17880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17884 arg2
= wxString_in_helper(obj1
);
17885 if (arg2
== NULL
) SWIG_fail
;
17889 arg3
= wxString_in_helper(obj2
);
17890 if (arg3
== NULL
) SWIG_fail
;
17895 arg4
= PyList_Size(obj3
);
17896 arg5
= wxString_LIST_helper(obj3
);
17897 if (arg5
== NULL
) SWIG_fail
;
17901 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17902 if (!SWIG_IsOK(ecode6
)) {
17903 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17905 arg6
= static_cast< long >(val6
);
17910 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17914 if (!wxPyCheckForApp()) SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17930 if (arg5
) delete [] arg5
;
17943 if (arg5
) delete [] arg5
;
17949 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
= 0;
17951 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17952 wxArrayInt
*arg2
= 0 ;
17955 bool temp2
= false ;
17956 PyObject
* obj0
= 0 ;
17957 PyObject
* obj1
= 0 ;
17958 char * kwnames
[] = {
17959 (char *) "self",(char *) "selections", NULL
17962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17964 if (!SWIG_IsOK(res1
)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17967 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17969 if (! PySequence_Check(obj1
)) {
17970 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17973 arg2
= new wxArrayInt
;
17975 int i
, len
=PySequence_Length(obj1
);
17976 for (i
=0; i
<len
; i
++) {
17977 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17978 PyObject
* number
= PyNumber_Int(item
);
17979 arg2
->Add(PyInt_AS_LONG(number
));
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= SWIG_Py_Void();
17992 if (temp2
) delete arg2
;
17997 if (temp2
) delete arg2
;
18003 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18004 PyObject
*resultobj
= 0;
18005 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18006 PyObject
*result
= 0 ;
18009 PyObject
*swig_obj
[1] ;
18011 if (!args
) SWIG_fail
;
18012 swig_obj
[0] = args
;
18013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18014 if (!SWIG_IsOK(res1
)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18017 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= result
;
18031 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18034 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18035 return SWIG_Py_Void();
18038 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18039 return SWIG_Python_InitShadowInstance(args
);
18042 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18043 PyObject
*resultobj
= 0;
18044 wxWindow
*arg1
= (wxWindow
*) 0 ;
18045 wxString
*arg2
= 0 ;
18046 wxString
*arg3
= 0 ;
18048 wxString
*arg5
= (wxString
*) 0 ;
18049 long arg6
= (long) wxCHOICEDLG_STYLE
;
18050 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18051 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18052 wxSingleChoiceDialog
*result
= 0 ;
18055 bool temp2
= false ;
18056 bool temp3
= false ;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 PyObject
* obj2
= 0 ;
18063 PyObject
* obj3
= 0 ;
18064 PyObject
* obj4
= 0 ;
18065 PyObject
* obj5
= 0 ;
18066 char * kwnames
[] = {
18067 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18072 if (!SWIG_IsOK(res1
)) {
18073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18075 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18077 arg2
= wxString_in_helper(obj1
);
18078 if (arg2
== NULL
) SWIG_fail
;
18082 arg3
= wxString_in_helper(obj2
);
18083 if (arg3
== NULL
) SWIG_fail
;
18087 arg4
= PyList_Size(obj3
);
18088 arg5
= wxString_LIST_helper(obj3
);
18089 if (arg5
== NULL
) SWIG_fail
;
18092 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18093 if (!SWIG_IsOK(ecode6
)) {
18094 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18096 arg6
= static_cast< long >(val6
);
18101 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18105 if (!wxPyCheckForApp()) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18121 if (arg5
) delete [] arg5
;
18134 if (arg5
) delete [] arg5
;
18140 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18141 PyObject
*resultobj
= 0;
18142 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18146 PyObject
*swig_obj
[1] ;
18148 if (!args
) SWIG_fail
;
18149 swig_obj
[0] = args
;
18150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18151 if (!SWIG_IsOK(res1
)) {
18152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18154 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= (int)(arg1
)->GetSelection();
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 resultobj
= SWIG_From_int(static_cast< int >(result
));
18168 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18169 PyObject
*resultobj
= 0;
18170 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18174 PyObject
*swig_obj
[1] ;
18176 if (!args
) SWIG_fail
;
18177 swig_obj
[0] = args
;
18178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18179 if (!SWIG_IsOK(res1
)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18182 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (arg1
)->GetStringSelection();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18202 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
= 0;
18204 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18210 PyObject
* obj0
= 0 ;
18211 PyObject
* obj1
= 0 ;
18212 char * kwnames
[] = {
18213 (char *) "self",(char *) "sel", NULL
18216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18218 if (!SWIG_IsOK(res1
)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18221 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18223 if (!SWIG_IsOK(ecode2
)) {
18224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18226 arg2
= static_cast< int >(val2
);
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 (arg1
)->SetSelection(arg2
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 resultobj
= SWIG_Py_Void();
18240 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18243 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18244 return SWIG_Py_Void();
18247 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18248 return SWIG_Python_InitShadowInstance(args
);
18251 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
= 0;
18253 wxWindow
*arg1
= (wxWindow
*) 0 ;
18254 wxString
*arg2
= 0 ;
18255 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18257 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18258 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18259 long arg5
= (long) wxTextEntryDialogStyle
;
18260 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18261 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18262 wxTextEntryDialog
*result
= 0 ;
18265 bool temp2
= false ;
18266 bool temp3
= false ;
18267 bool temp4
= false ;
18271 PyObject
* obj0
= 0 ;
18272 PyObject
* obj1
= 0 ;
18273 PyObject
* obj2
= 0 ;
18274 PyObject
* obj3
= 0 ;
18275 PyObject
* obj4
= 0 ;
18276 PyObject
* obj5
= 0 ;
18277 char * kwnames
[] = {
18278 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18283 if (!SWIG_IsOK(res1
)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18286 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18288 arg2
= wxString_in_helper(obj1
);
18289 if (arg2
== NULL
) SWIG_fail
;
18294 arg3
= wxString_in_helper(obj2
);
18295 if (arg3
== NULL
) SWIG_fail
;
18301 arg4
= wxString_in_helper(obj3
);
18302 if (arg4
== NULL
) SWIG_fail
;
18307 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18308 if (!SWIG_IsOK(ecode5
)) {
18309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18311 arg5
= static_cast< long >(val5
);
18316 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18320 if (!wxPyCheckForApp()) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18357 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18358 PyObject
*resultobj
= 0;
18359 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18363 PyObject
*swig_obj
[1] ;
18365 if (!args
) SWIG_fail
;
18366 swig_obj
[0] = args
;
18367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18368 if (!SWIG_IsOK(res1
)) {
18369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18371 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 result
= (arg1
)->GetValue();
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18391 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
= 0;
18393 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18394 wxString
*arg2
= 0 ;
18397 bool temp2
= false ;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 char * kwnames
[] = {
18401 (char *) "self",(char *) "value", NULL
18404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18406 if (!SWIG_IsOK(res1
)) {
18407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18409 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18411 arg2
= wxString_in_helper(obj1
);
18412 if (arg2
== NULL
) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 (arg1
)->SetValue((wxString
const &)*arg2
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= SWIG_Py_Void();
18436 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18439 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18440 return SWIG_Py_Void();
18443 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18444 return SWIG_Python_InitShadowInstance(args
);
18447 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18448 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18453 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18454 PyObject
*pyobj
= 0;
18458 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18460 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18467 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
= 0;
18469 wxWindow
*arg1
= (wxWindow
*) 0 ;
18470 wxString
*arg2
= 0 ;
18471 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18472 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18473 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18474 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18475 long arg5
= (long) wxTextEntryDialogStyle
;
18476 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18477 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18478 wxPasswordEntryDialog
*result
= 0 ;
18481 bool temp2
= false ;
18482 bool temp3
= false ;
18483 bool temp4
= false ;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj1
= 0 ;
18489 PyObject
* obj2
= 0 ;
18490 PyObject
* obj3
= 0 ;
18491 PyObject
* obj4
= 0 ;
18492 PyObject
* obj5
= 0 ;
18493 char * kwnames
[] = {
18494 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18499 if (!SWIG_IsOK(res1
)) {
18500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18502 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18504 arg2
= wxString_in_helper(obj1
);
18505 if (arg2
== NULL
) SWIG_fail
;
18510 arg3
= wxString_in_helper(obj2
);
18511 if (arg3
== NULL
) SWIG_fail
;
18517 arg4
= wxString_in_helper(obj3
);
18518 if (arg4
== NULL
) SWIG_fail
;
18523 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18524 if (!SWIG_IsOK(ecode5
)) {
18525 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18527 arg5
= static_cast< long >(val5
);
18532 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18572 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18575 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18576 return SWIG_Py_Void();
18579 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18580 return SWIG_Python_InitShadowInstance(args
);
18583 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
= 0;
18585 wxWindow
*arg1
= (wxWindow
*) 0 ;
18586 wxString
*arg2
= 0 ;
18587 wxString
*arg3
= 0 ;
18588 wxString
*arg4
= 0 ;
18592 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18593 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18594 wxNumberEntryDialog
*result
= 0 ;
18597 bool temp2
= false ;
18598 bool temp3
= false ;
18599 bool temp4
= false ;
18607 PyObject
* obj0
= 0 ;
18608 PyObject
* obj1
= 0 ;
18609 PyObject
* obj2
= 0 ;
18610 PyObject
* obj3
= 0 ;
18611 PyObject
* obj4
= 0 ;
18612 PyObject
* obj5
= 0 ;
18613 PyObject
* obj6
= 0 ;
18614 PyObject
* obj7
= 0 ;
18615 char * kwnames
[] = {
18616 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18621 if (!SWIG_IsOK(res1
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18626 arg2
= wxString_in_helper(obj1
);
18627 if (arg2
== NULL
) SWIG_fail
;
18631 arg3
= wxString_in_helper(obj2
);
18632 if (arg3
== NULL
) SWIG_fail
;
18636 arg4
= wxString_in_helper(obj3
);
18637 if (arg4
== NULL
) SWIG_fail
;
18640 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18641 if (!SWIG_IsOK(ecode5
)) {
18642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18644 arg5
= static_cast< long >(val5
);
18645 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18646 if (!SWIG_IsOK(ecode6
)) {
18647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18649 arg6
= static_cast< long >(val6
);
18650 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18651 if (!SWIG_IsOK(ecode7
)) {
18652 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18654 arg7
= static_cast< long >(val7
);
18658 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18662 if (!wxPyCheckForApp()) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18699 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18700 PyObject
*resultobj
= 0;
18701 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18705 PyObject
*swig_obj
[1] ;
18707 if (!args
) SWIG_fail
;
18708 swig_obj
[0] = args
;
18709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18710 if (!SWIG_IsOK(res1
)) {
18711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18713 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (long)(arg1
)->GetValue();
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 resultobj
= SWIG_From_long(static_cast< long >(result
));
18727 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18730 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18731 return SWIG_Py_Void();
18734 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18735 return SWIG_Python_InitShadowInstance(args
);
18738 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18739 PyObject
*resultobj
= 0;
18740 wxFontData
*result
= 0 ;
18742 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (wxFontData
*)new wxFontData();
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18756 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18757 PyObject
*resultobj
= 0;
18758 wxFontData
*arg1
= (wxFontData
*) 0 ;
18761 PyObject
*swig_obj
[1] ;
18763 if (!args
) SWIG_fail
;
18764 swig_obj
[0] = args
;
18765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18766 if (!SWIG_IsOK(res1
)) {
18767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18769 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= SWIG_Py_Void();
18784 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
= 0;
18786 wxFontData
*arg1
= (wxFontData
*) 0 ;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 char * kwnames
[] = {
18795 (char *) "self",(char *) "enable", NULL
18798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18800 if (!SWIG_IsOK(res1
)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18803 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18804 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18805 if (!SWIG_IsOK(ecode2
)) {
18806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18808 arg2
= static_cast< bool >(val2
);
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 (arg1
)->EnableEffects(arg2
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= SWIG_Py_Void();
18822 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18823 PyObject
*resultobj
= 0;
18824 wxFontData
*arg1
= (wxFontData
*) 0 ;
18828 PyObject
*swig_obj
[1] ;
18830 if (!args
) SWIG_fail
;
18831 swig_obj
[0] = args
;
18832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18833 if (!SWIG_IsOK(res1
)) {
18834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18836 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18839 result
= (bool)(arg1
)->GetAllowSymbols();
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18852 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18853 PyObject
*resultobj
= 0;
18854 wxFontData
*arg1
= (wxFontData
*) 0 ;
18858 PyObject
*swig_obj
[1] ;
18860 if (!args
) SWIG_fail
;
18861 swig_obj
[0] = args
;
18862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18863 if (!SWIG_IsOK(res1
)) {
18864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18866 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 result
= (arg1
)->GetColour();
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18873 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18880 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18881 PyObject
*resultobj
= 0;
18882 wxFontData
*arg1
= (wxFontData
*) 0 ;
18886 PyObject
*swig_obj
[1] ;
18888 if (!args
) SWIG_fail
;
18889 swig_obj
[0] = args
;
18890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18891 if (!SWIG_IsOK(res1
)) {
18892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18894 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= (arg1
)->GetChosenFont();
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18908 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18909 PyObject
*resultobj
= 0;
18910 wxFontData
*arg1
= (wxFontData
*) 0 ;
18914 PyObject
*swig_obj
[1] ;
18916 if (!args
) SWIG_fail
;
18917 swig_obj
[0] = args
;
18918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18919 if (!SWIG_IsOK(res1
)) {
18920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18922 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (bool)(arg1
)->GetEnableEffects();
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18938 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18939 PyObject
*resultobj
= 0;
18940 wxFontData
*arg1
= (wxFontData
*) 0 ;
18944 PyObject
*swig_obj
[1] ;
18946 if (!args
) SWIG_fail
;
18947 swig_obj
[0] = args
;
18948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18949 if (!SWIG_IsOK(res1
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18952 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (arg1
)->GetInitialFont();
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18966 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18967 PyObject
*resultobj
= 0;
18968 wxFontData
*arg1
= (wxFontData
*) 0 ;
18972 PyObject
*swig_obj
[1] ;
18974 if (!args
) SWIG_fail
;
18975 swig_obj
[0] = args
;
18976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18977 if (!SWIG_IsOK(res1
)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18980 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 result
= (bool)(arg1
)->GetShowHelp();
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18996 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
= 0;
18998 wxFontData
*arg1
= (wxFontData
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 PyObject
* obj1
= 0 ;
19006 char * kwnames
[] = {
19007 (char *) "self",(char *) "allowSymbols", NULL
19010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19012 if (!SWIG_IsOK(res1
)) {
19013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19015 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19016 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19017 if (!SWIG_IsOK(ecode2
)) {
19018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19020 arg2
= static_cast< bool >(val2
);
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 (arg1
)->SetAllowSymbols(arg2
);
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19027 resultobj
= SWIG_Py_Void();
19034 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
= 0;
19036 wxFontData
*arg1
= (wxFontData
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 PyObject
* obj1
= 0 ;
19044 char * kwnames
[] = {
19045 (char *) "self",(char *) "font", NULL
19048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19050 if (!SWIG_IsOK(res1
)) {
19051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19053 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19055 if (!SWIG_IsOK(res2
)) {
19056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19061 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= SWIG_Py_Void();
19075 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
= 0;
19077 wxFontData
*arg1
= (wxFontData
*) 0 ;
19078 wxColour
*arg2
= 0 ;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char * kwnames
[] = {
19085 (char *) "self",(char *) "colour", NULL
19088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19090 if (!SWIG_IsOK(res1
)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19093 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19096 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19100 (arg1
)->SetColour((wxColour
const &)*arg2
);
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= SWIG_Py_Void();
19111 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
= 0;
19113 wxFontData
*arg1
= (wxFontData
*) 0 ;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 char * kwnames
[] = {
19122 (char *) "self",(char *) "font", NULL
19125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19127 if (!SWIG_IsOK(res1
)) {
19128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19130 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19132 if (!SWIG_IsOK(res2
)) {
19133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19138 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= SWIG_Py_Void();
19152 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
= 0;
19154 wxFontData
*arg1
= (wxFontData
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 PyObject
* obj2
= 0 ;
19166 char * kwnames
[] = {
19167 (char *) "self",(char *) "min",(char *) "max", NULL
19170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19172 if (!SWIG_IsOK(res1
)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19175 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19177 if (!SWIG_IsOK(ecode2
)) {
19178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19180 arg2
= static_cast< int >(val2
);
19181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19182 if (!SWIG_IsOK(ecode3
)) {
19183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19185 arg3
= static_cast< int >(val3
);
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 (arg1
)->SetRange(arg2
,arg3
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_Py_Void();
19199 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
= 0;
19201 wxFontData
*arg1
= (wxFontData
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 PyObject
* obj1
= 0 ;
19209 char * kwnames
[] = {
19210 (char *) "self",(char *) "showHelp", NULL
19213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19215 if (!SWIG_IsOK(res1
)) {
19216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19218 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19219 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19220 if (!SWIG_IsOK(ecode2
)) {
19221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19223 arg2
= static_cast< bool >(val2
);
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 (arg1
)->SetShowHelp(arg2
);
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= SWIG_Py_Void();
19237 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19240 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19241 return SWIG_Py_Void();
19244 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19245 return SWIG_Python_InitShadowInstance(args
);
19248 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
= 0;
19250 wxWindow
*arg1
= (wxWindow
*) 0 ;
19251 wxFontData
*arg2
= 0 ;
19252 wxFontDialog
*result
= 0 ;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 char * kwnames
[] = {
19260 (char *) "parent",(char *) "data", NULL
19263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19265 if (!SWIG_IsOK(res1
)) {
19266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19268 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19270 if (!SWIG_IsOK(res2
)) {
19271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19276 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19278 if (!wxPyCheckForApp()) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19291 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19292 PyObject
*resultobj
= 0;
19293 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19294 wxFontData
*result
= 0 ;
19297 PyObject
*swig_obj
[1] ;
19299 if (!args
) SWIG_fail
;
19300 swig_obj
[0] = args
;
19301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19302 if (!SWIG_IsOK(res1
)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19305 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19310 result
= (wxFontData
*) &_result_ref
;
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19322 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19325 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19326 return SWIG_Py_Void();
19329 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19330 return SWIG_Python_InitShadowInstance(args
);
19333 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
= 0;
19335 wxWindow
*arg1
= (wxWindow
*) NULL
;
19336 wxFont
const &arg2_defvalue
= wxNullFont
;
19337 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19338 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19339 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19345 bool temp3
= false ;
19346 PyObject
* obj0
= 0 ;
19347 PyObject
* obj1
= 0 ;
19348 PyObject
* obj2
= 0 ;
19349 char * kwnames
[] = {
19350 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19356 if (!SWIG_IsOK(res1
)) {
19357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19359 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19362 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19363 if (!SWIG_IsOK(res2
)) {
19364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19369 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19373 arg3
= wxString_in_helper(obj2
);
19374 if (arg3
== NULL
) SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19399 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
= 0;
19401 wxWindow
*arg1
= (wxWindow
*) 0 ;
19402 wxString
*arg2
= 0 ;
19403 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19404 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19405 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19406 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19407 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19408 wxMessageDialog
*result
= 0 ;
19411 bool temp2
= false ;
19412 bool temp3
= false ;
19416 PyObject
* obj0
= 0 ;
19417 PyObject
* obj1
= 0 ;
19418 PyObject
* obj2
= 0 ;
19419 PyObject
* obj3
= 0 ;
19420 PyObject
* obj4
= 0 ;
19421 char * kwnames
[] = {
19422 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19427 if (!SWIG_IsOK(res1
)) {
19428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19430 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19432 arg2
= wxString_in_helper(obj1
);
19433 if (arg2
== NULL
) SWIG_fail
;
19438 arg3
= wxString_in_helper(obj2
);
19439 if (arg3
== NULL
) SWIG_fail
;
19444 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19445 if (!SWIG_IsOK(ecode4
)) {
19446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19448 arg4
= static_cast< long >(val4
);
19453 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19457 if (!wxPyCheckForApp()) SWIG_fail
;
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19486 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19489 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19490 return SWIG_Py_Void();
19493 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19494 return SWIG_Python_InitShadowInstance(args
);
19497 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
= 0;
19499 wxString
*arg1
= 0 ;
19500 wxString
*arg2
= 0 ;
19501 int arg3
= (int) 100 ;
19502 wxWindow
*arg4
= (wxWindow
*) NULL
;
19503 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19504 wxProgressDialog
*result
= 0 ;
19505 bool temp1
= false ;
19506 bool temp2
= false ;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 PyObject
* obj2
= 0 ;
19516 PyObject
* obj3
= 0 ;
19517 PyObject
* obj4
= 0 ;
19518 char * kwnames
[] = {
19519 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19524 arg1
= wxString_in_helper(obj0
);
19525 if (arg1
== NULL
) SWIG_fail
;
19529 arg2
= wxString_in_helper(obj1
);
19530 if (arg2
== NULL
) SWIG_fail
;
19534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19535 if (!SWIG_IsOK(ecode3
)) {
19536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19538 arg3
= static_cast< int >(val3
);
19541 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19542 if (!SWIG_IsOK(res4
)) {
19543 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19545 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19548 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19549 if (!SWIG_IsOK(ecode5
)) {
19550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19552 arg5
= static_cast< int >(val5
);
19555 if (!wxPyCheckForApp()) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19584 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
= 0;
19586 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19588 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19589 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19590 bool *arg4
= (bool *) 0 ;
19596 bool temp3
= false ;
19598 int res4
= SWIG_TMPOBJ
;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 PyObject
* obj2
= 0 ;
19602 char * kwnames
[] = {
19603 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19609 if (!SWIG_IsOK(res1
)) {
19610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19612 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19614 if (!SWIG_IsOK(ecode2
)) {
19615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19617 arg2
= static_cast< int >(val2
);
19620 arg3
= wxString_in_helper(obj2
);
19621 if (arg3
== NULL
) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19634 if (SWIG_IsTmpObj(res4
)) {
19635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19637 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19654 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
= 0;
19656 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19657 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19658 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19659 bool *arg3
= (bool *) 0 ;
19663 bool temp2
= false ;
19665 int res3
= SWIG_TMPOBJ
;
19666 PyObject
* obj0
= 0 ;
19667 PyObject
* obj1
= 0 ;
19668 char * kwnames
[] = {
19669 (char *) "self",(char *) "newmsg", NULL
19673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19675 if (!SWIG_IsOK(res1
)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19678 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19681 arg2
= wxString_in_helper(obj1
);
19682 if (arg2
== NULL
) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19695 if (SWIG_IsTmpObj(res3
)) {
19696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19698 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19715 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19716 PyObject
*resultobj
= 0;
19717 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19720 PyObject
*swig_obj
[1] ;
19722 if (!args
) SWIG_fail
;
19723 swig_obj
[0] = args
;
19724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19725 if (!SWIG_IsOK(res1
)) {
19726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19728 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= SWIG_Py_Void();
19742 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19745 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19746 return SWIG_Py_Void();
19749 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19750 return SWIG_Python_InitShadowInstance(args
);
19753 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
= 0;
19755 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19756 int arg2
= (int) 0 ;
19757 wxFindDialogEvent
*result
= 0 ;
19762 PyObject
* obj0
= 0 ;
19763 PyObject
* obj1
= 0 ;
19764 char * kwnames
[] = {
19765 (char *) "commandType",(char *) "id", NULL
19768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19770 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19771 if (!SWIG_IsOK(ecode1
)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19774 arg1
= static_cast< wxEventType
>(val1
);
19777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19778 if (!SWIG_IsOK(ecode2
)) {
19779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19781 arg2
= static_cast< int >(val2
);
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19796 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19797 PyObject
*resultobj
= 0;
19798 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19802 PyObject
*swig_obj
[1] ;
19804 if (!args
) SWIG_fail
;
19805 swig_obj
[0] = args
;
19806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19807 if (!SWIG_IsOK(res1
)) {
19808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19810 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (int)(arg1
)->GetFlags();
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= SWIG_From_int(static_cast< int >(result
));
19824 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19825 PyObject
*resultobj
= 0;
19826 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19827 wxString
*result
= 0 ;
19830 PyObject
*swig_obj
[1] ;
19832 if (!args
) SWIG_fail
;
19833 swig_obj
[0] = args
;
19834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19835 if (!SWIG_IsOK(res1
)) {
19836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19838 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 wxString
const &_result_ref
= (arg1
)->GetFindString();
19843 result
= (wxString
*) &_result_ref
;
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19850 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19852 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19861 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19862 PyObject
*resultobj
= 0;
19863 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19864 wxString
*result
= 0 ;
19867 PyObject
*swig_obj
[1] ;
19869 if (!args
) SWIG_fail
;
19870 swig_obj
[0] = args
;
19871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19872 if (!SWIG_IsOK(res1
)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19875 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19880 result
= (wxString
*) &_result_ref
;
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19889 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19898 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19899 PyObject
*resultobj
= 0;
19900 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19901 wxFindReplaceDialog
*result
= 0 ;
19904 PyObject
*swig_obj
[1] ;
19906 if (!args
) SWIG_fail
;
19907 swig_obj
[0] = args
;
19908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19909 if (!SWIG_IsOK(res1
)) {
19910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19912 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19926 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
= 0;
19928 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 char * kwnames
[] = {
19937 (char *) "self",(char *) "flags", NULL
19940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19942 if (!SWIG_IsOK(res1
)) {
19943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19945 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19947 if (!SWIG_IsOK(ecode2
)) {
19948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19950 arg2
= static_cast< int >(val2
);
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 (arg1
)->SetFlags(arg2
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= SWIG_Py_Void();
19964 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
= 0;
19966 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19967 wxString
*arg2
= 0 ;
19970 bool temp2
= false ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 char * kwnames
[] = {
19974 (char *) "self",(char *) "str", NULL
19977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19979 if (!SWIG_IsOK(res1
)) {
19980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19982 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19984 arg2
= wxString_in_helper(obj1
);
19985 if (arg2
== NULL
) SWIG_fail
;
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 (arg1
)->SetFindString((wxString
const &)*arg2
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_Py_Void();
20009 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
= 0;
20011 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20012 wxString
*arg2
= 0 ;
20015 bool temp2
= false ;
20016 PyObject
* obj0
= 0 ;
20017 PyObject
* obj1
= 0 ;
20018 char * kwnames
[] = {
20019 (char *) "self",(char *) "str", NULL
20022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20024 if (!SWIG_IsOK(res1
)) {
20025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20027 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20029 arg2
= wxString_in_helper(obj1
);
20030 if (arg2
== NULL
) SWIG_fail
;
20034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 resultobj
= SWIG_Py_Void();
20054 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20057 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20058 return SWIG_Py_Void();
20061 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20062 return SWIG_Python_InitShadowInstance(args
);
20065 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
= 0;
20067 int arg1
= (int) 0 ;
20068 wxFindReplaceData
*result
= 0 ;
20071 PyObject
* obj0
= 0 ;
20072 char * kwnames
[] = {
20073 (char *) "flags", NULL
20076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20079 if (!SWIG_IsOK(ecode1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20082 arg1
= static_cast< int >(val1
);
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20097 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20098 PyObject
*resultobj
= 0;
20099 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20102 PyObject
*swig_obj
[1] ;
20104 if (!args
) SWIG_fail
;
20105 swig_obj
[0] = args
;
20106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20107 if (!SWIG_IsOK(res1
)) {
20108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20110 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= SWIG_Py_Void();
20125 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20126 PyObject
*resultobj
= 0;
20127 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20128 wxString
*result
= 0 ;
20131 PyObject
*swig_obj
[1] ;
20133 if (!args
) SWIG_fail
;
20134 swig_obj
[0] = args
;
20135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20136 if (!SWIG_IsOK(res1
)) {
20137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20139 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 wxString
const &_result_ref
= (arg1
)->GetFindString();
20144 result
= (wxString
*) &_result_ref
;
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20153 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20162 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20163 PyObject
*resultobj
= 0;
20164 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20165 wxString
*result
= 0 ;
20168 PyObject
*swig_obj
[1] ;
20170 if (!args
) SWIG_fail
;
20171 swig_obj
[0] = args
;
20172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20173 if (!SWIG_IsOK(res1
)) {
20174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20176 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20181 result
= (wxString
*) &_result_ref
;
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20188 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20190 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20199 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20200 PyObject
*resultobj
= 0;
20201 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20205 PyObject
*swig_obj
[1] ;
20207 if (!args
) SWIG_fail
;
20208 swig_obj
[0] = args
;
20209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20210 if (!SWIG_IsOK(res1
)) {
20211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20213 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (int)(arg1
)->GetFlags();
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20220 resultobj
= SWIG_From_int(static_cast< int >(result
));
20227 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
= 0;
20229 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 PyObject
* obj1
= 0 ;
20237 char * kwnames
[] = {
20238 (char *) "self",(char *) "flags", NULL
20241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20243 if (!SWIG_IsOK(res1
)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20246 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20248 if (!SWIG_IsOK(ecode2
)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20251 arg2
= static_cast< int >(val2
);
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->SetFlags(arg2
);
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= SWIG_Py_Void();
20265 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
= 0;
20267 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20268 wxString
*arg2
= 0 ;
20271 bool temp2
= false ;
20272 PyObject
* obj0
= 0 ;
20273 PyObject
* obj1
= 0 ;
20274 char * kwnames
[] = {
20275 (char *) "self",(char *) "str", NULL
20278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20280 if (!SWIG_IsOK(res1
)) {
20281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20283 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20285 arg2
= wxString_in_helper(obj1
);
20286 if (arg2
== NULL
) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 (arg1
)->SetFindString((wxString
const &)*arg2
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= SWIG_Py_Void();
20310 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
= 0;
20312 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20313 wxString
*arg2
= 0 ;
20316 bool temp2
= false ;
20317 PyObject
* obj0
= 0 ;
20318 PyObject
* obj1
= 0 ;
20319 char * kwnames
[] = {
20320 (char *) "self",(char *) "str", NULL
20323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20325 if (!SWIG_IsOK(res1
)) {
20326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20328 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20330 arg2
= wxString_in_helper(obj1
);
20331 if (arg2
== NULL
) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= SWIG_Py_Void();
20355 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20358 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20359 return SWIG_Py_Void();
20362 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20363 return SWIG_Python_InitShadowInstance(args
);
20366 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
= 0;
20368 wxWindow
*arg1
= (wxWindow
*) 0 ;
20369 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20370 wxString
*arg3
= 0 ;
20371 int arg4
= (int) 0 ;
20372 wxFindReplaceDialog
*result
= 0 ;
20377 bool temp3
= false ;
20380 PyObject
* obj0
= 0 ;
20381 PyObject
* obj1
= 0 ;
20382 PyObject
* obj2
= 0 ;
20383 PyObject
* obj3
= 0 ;
20384 char * kwnames
[] = {
20385 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20390 if (!SWIG_IsOK(res1
)) {
20391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20393 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20395 if (!SWIG_IsOK(res2
)) {
20396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20398 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20400 arg3
= wxString_in_helper(obj2
);
20401 if (arg3
== NULL
) SWIG_fail
;
20405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20406 if (!SWIG_IsOK(ecode4
)) {
20407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20409 arg4
= static_cast< int >(val4
);
20412 if (!wxPyCheckForApp()) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20433 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20434 PyObject
*resultobj
= 0;
20435 wxFindReplaceDialog
*result
= 0 ;
20437 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20439 if (!wxPyCheckForApp()) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20442 wxPyEndAllowThreads(__tstate
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20452 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
= 0;
20454 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20455 wxWindow
*arg2
= (wxWindow
*) 0 ;
20456 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20457 wxString
*arg4
= 0 ;
20458 int arg5
= (int) 0 ;
20466 bool temp4
= false ;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20471 PyObject
* obj2
= 0 ;
20472 PyObject
* obj3
= 0 ;
20473 PyObject
* obj4
= 0 ;
20474 char * kwnames
[] = {
20475 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20480 if (!SWIG_IsOK(res1
)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20483 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20485 if (!SWIG_IsOK(res2
)) {
20486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20488 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20489 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20490 if (!SWIG_IsOK(res3
)) {
20491 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20493 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20495 arg4
= wxString_in_helper(obj3
);
20496 if (arg4
== NULL
) SWIG_fail
;
20500 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20501 if (!SWIG_IsOK(ecode5
)) {
20502 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20504 arg5
= static_cast< int >(val5
);
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20529 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20530 PyObject
*resultobj
= 0;
20531 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20532 wxFindReplaceData
*result
= 0 ;
20535 PyObject
*swig_obj
[1] ;
20537 if (!args
) SWIG_fail
;
20538 swig_obj
[0] = args
;
20539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20540 if (!SWIG_IsOK(res1
)) {
20541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20543 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20557 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
= 0;
20559 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20560 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 char * kwnames
[] = {
20568 (char *) "self",(char *) "data", NULL
20571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20573 if (!SWIG_IsOK(res1
)) {
20574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20576 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20578 if (!SWIG_IsOK(res2
)) {
20579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20581 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 (arg1
)->SetData(arg2
);
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= SWIG_Py_Void();
20595 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20598 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20599 return SWIG_Py_Void();
20602 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20603 return SWIG_Python_InitShadowInstance(args
);
20606 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
= 0;
20608 wxWindow
*arg1
= (wxWindow
*) 0 ;
20609 int arg2
= (int) (int)-1 ;
20610 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20611 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20612 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20613 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20614 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20615 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20616 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20617 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20618 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20619 wxMDIParentFrame
*result
= 0 ;
20624 bool temp3
= false ;
20629 bool temp7
= false ;
20630 PyObject
* obj0
= 0 ;
20631 PyObject
* obj1
= 0 ;
20632 PyObject
* obj2
= 0 ;
20633 PyObject
* obj3
= 0 ;
20634 PyObject
* obj4
= 0 ;
20635 PyObject
* obj5
= 0 ;
20636 PyObject
* obj6
= 0 ;
20637 char * kwnames
[] = {
20638 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20643 if (!SWIG_IsOK(res1
)) {
20644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20646 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20649 if (!SWIG_IsOK(ecode2
)) {
20650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20652 arg2
= static_cast< int >(val2
);
20656 arg3
= wxString_in_helper(obj2
);
20657 if (arg3
== NULL
) SWIG_fail
;
20664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20674 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20675 if (!SWIG_IsOK(ecode6
)) {
20676 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20678 arg6
= static_cast< long >(val6
);
20682 arg7
= wxString_in_helper(obj6
);
20683 if (arg7
== NULL
) SWIG_fail
;
20688 if (!wxPyCheckForApp()) SWIG_fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20717 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20718 PyObject
*resultobj
= 0;
20719 wxMDIParentFrame
*result
= 0 ;
20721 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20723 if (!wxPyCheckForApp()) SWIG_fail
;
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20736 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
= 0;
20738 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20739 wxWindow
*arg2
= (wxWindow
*) 0 ;
20740 int arg3
= (int) (int)-1 ;
20741 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20742 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20743 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20744 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20745 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20746 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20747 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20748 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20749 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20757 bool temp4
= false ;
20762 bool temp8
= false ;
20763 PyObject
* obj0
= 0 ;
20764 PyObject
* obj1
= 0 ;
20765 PyObject
* obj2
= 0 ;
20766 PyObject
* obj3
= 0 ;
20767 PyObject
* obj4
= 0 ;
20768 PyObject
* obj5
= 0 ;
20769 PyObject
* obj6
= 0 ;
20770 PyObject
* obj7
= 0 ;
20771 char * kwnames
[] = {
20772 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20777 if (!SWIG_IsOK(res1
)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20780 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20782 if (!SWIG_IsOK(res2
)) {
20783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20785 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20788 if (!SWIG_IsOK(ecode3
)) {
20789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20791 arg3
= static_cast< int >(val3
);
20795 arg4
= wxString_in_helper(obj3
);
20796 if (arg4
== NULL
) SWIG_fail
;
20803 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20809 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20813 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20814 if (!SWIG_IsOK(ecode7
)) {
20815 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20817 arg7
= static_cast< long >(val7
);
20821 arg8
= wxString_in_helper(obj7
);
20822 if (arg8
== NULL
) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20857 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20858 PyObject
*resultobj
= 0;
20859 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20862 PyObject
*swig_obj
[1] ;
20864 if (!args
) SWIG_fail
;
20865 swig_obj
[0] = args
;
20866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20867 if (!SWIG_IsOK(res1
)) {
20868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20870 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 (arg1
)->ActivateNext();
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 resultobj
= SWIG_Py_Void();
20884 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20885 PyObject
*resultobj
= 0;
20886 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20889 PyObject
*swig_obj
[1] ;
20891 if (!args
) SWIG_fail
;
20892 swig_obj
[0] = args
;
20893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20894 if (!SWIG_IsOK(res1
)) {
20895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20897 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 (arg1
)->ActivatePrevious();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= SWIG_Py_Void();
20911 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20912 PyObject
*resultobj
= 0;
20913 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20916 PyObject
*swig_obj
[1] ;
20918 if (!args
) SWIG_fail
;
20919 swig_obj
[0] = args
;
20920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20921 if (!SWIG_IsOK(res1
)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20924 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 (arg1
)->ArrangeIcons();
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 resultobj
= SWIG_Py_Void();
20938 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20939 PyObject
*resultobj
= 0;
20940 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20943 PyObject
*swig_obj
[1] ;
20945 if (!args
) SWIG_fail
;
20946 swig_obj
[0] = args
;
20947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20948 if (!SWIG_IsOK(res1
)) {
20949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20951 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_Py_Void();
20965 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20966 PyObject
*resultobj
= 0;
20967 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20968 wxMDIChildFrame
*result
= 0 ;
20971 PyObject
*swig_obj
[1] ;
20973 if (!args
) SWIG_fail
;
20974 swig_obj
[0] = args
;
20975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20976 if (!SWIG_IsOK(res1
)) {
20977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20979 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20983 wxPyEndAllowThreads(__tstate
);
20984 if (PyErr_Occurred()) SWIG_fail
;
20987 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20995 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20996 PyObject
*resultobj
= 0;
20997 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20998 wxMDIClientWindow
*result
= 0 ;
21001 PyObject
*swig_obj
[1] ;
21003 if (!args
) SWIG_fail
;
21004 swig_obj
[0] = args
;
21005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21006 if (!SWIG_IsOK(res1
)) {
21007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21009 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21017 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21025 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21026 PyObject
*resultobj
= 0;
21027 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21028 wxMenu
*result
= 0 ;
21031 PyObject
*swig_obj
[1] ;
21033 if (!args
) SWIG_fail
;
21034 swig_obj
[0] = args
;
21035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21036 if (!SWIG_IsOK(res1
)) {
21037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21039 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= wxPyMake_wxObject(result
, 0);
21055 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
= 0;
21057 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21058 wxMenu
*arg2
= (wxMenu
*) 0 ;
21063 PyObject
* obj0
= 0 ;
21064 PyObject
* obj1
= 0 ;
21065 char * kwnames
[] = {
21066 (char *) "self",(char *) "menu", NULL
21069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21071 if (!SWIG_IsOK(res1
)) {
21072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21074 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
21076 if (!SWIG_IsOK(res2
)) {
21077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21079 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 (arg1
)->SetWindowMenu(arg2
);
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= SWIG_Py_Void();
21093 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
= 0;
21095 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21096 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21101 PyObject
* obj0
= 0 ;
21102 PyObject
* obj1
= 0 ;
21103 char * kwnames
[] = {
21104 (char *) "self",(char *) "orient", NULL
21107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21109 if (!SWIG_IsOK(res1
)) {
21110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21112 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21115 if (!SWIG_IsOK(ecode2
)) {
21116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21118 arg2
= static_cast< wxOrientation
>(val2
);
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 (arg1
)->Tile(arg2
);
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_Py_Void();
21133 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21136 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21137 return SWIG_Py_Void();
21140 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21141 return SWIG_Python_InitShadowInstance(args
);
21144 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
= 0;
21146 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21147 int arg2
= (int) (int)-1 ;
21148 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21149 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21154 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21155 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21157 wxMDIChildFrame
*result
= 0 ;
21162 bool temp3
= false ;
21167 bool temp7
= false ;
21168 PyObject
* obj0
= 0 ;
21169 PyObject
* obj1
= 0 ;
21170 PyObject
* obj2
= 0 ;
21171 PyObject
* obj3
= 0 ;
21172 PyObject
* obj4
= 0 ;
21173 PyObject
* obj5
= 0 ;
21174 PyObject
* obj6
= 0 ;
21175 char * kwnames
[] = {
21176 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21181 if (!SWIG_IsOK(res1
)) {
21182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21184 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21187 if (!SWIG_IsOK(ecode2
)) {
21188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21190 arg2
= static_cast< int >(val2
);
21194 arg3
= wxString_in_helper(obj2
);
21195 if (arg3
== NULL
) SWIG_fail
;
21202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21212 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21213 if (!SWIG_IsOK(ecode6
)) {
21214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21216 arg6
= static_cast< long >(val6
);
21220 arg7
= wxString_in_helper(obj6
);
21221 if (arg7
== NULL
) SWIG_fail
;
21226 if (!wxPyCheckForApp()) SWIG_fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21228 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21255 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21256 PyObject
*resultobj
= 0;
21257 wxMDIChildFrame
*result
= 0 ;
21259 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21261 if (!wxPyCheckForApp()) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21274 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
= 0;
21276 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21277 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21278 int arg3
= (int) (int)-1 ;
21279 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21280 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21281 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21282 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21283 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21284 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21285 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21286 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21287 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21295 bool temp4
= false ;
21300 bool temp8
= false ;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 PyObject
* obj2
= 0 ;
21304 PyObject
* obj3
= 0 ;
21305 PyObject
* obj4
= 0 ;
21306 PyObject
* obj5
= 0 ;
21307 PyObject
* obj6
= 0 ;
21308 PyObject
* obj7
= 0 ;
21309 char * kwnames
[] = {
21310 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21315 if (!SWIG_IsOK(res1
)) {
21316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21318 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21320 if (!SWIG_IsOK(res2
)) {
21321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21323 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21326 if (!SWIG_IsOK(ecode3
)) {
21327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21329 arg3
= static_cast< int >(val3
);
21333 arg4
= wxString_in_helper(obj3
);
21334 if (arg4
== NULL
) SWIG_fail
;
21341 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21347 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21351 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21352 if (!SWIG_IsOK(ecode7
)) {
21353 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21355 arg7
= static_cast< long >(val7
);
21359 arg8
= wxString_in_helper(obj7
);
21360 if (arg8
== NULL
) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21395 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21396 PyObject
*resultobj
= 0;
21397 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21400 PyObject
*swig_obj
[1] ;
21402 if (!args
) SWIG_fail
;
21403 swig_obj
[0] = args
;
21404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21405 if (!SWIG_IsOK(res1
)) {
21406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21408 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 (arg1
)->Activate();
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= SWIG_Py_Void();
21422 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21425 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21426 return SWIG_Py_Void();
21429 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21430 return SWIG_Python_InitShadowInstance(args
);
21433 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
= 0;
21435 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21436 long arg2
= (long) 0 ;
21437 wxMDIClientWindow
*result
= 0 ;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 char * kwnames
[] = {
21445 (char *) "parent",(char *) "style", NULL
21448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21450 if (!SWIG_IsOK(res1
)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21453 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21455 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21456 if (!SWIG_IsOK(ecode2
)) {
21457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21459 arg2
= static_cast< long >(val2
);
21462 if (!wxPyCheckForApp()) SWIG_fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21475 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21476 PyObject
*resultobj
= 0;
21477 wxMDIClientWindow
*result
= 0 ;
21479 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21481 if (!wxPyCheckForApp()) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21494 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
= 0;
21496 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21497 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21498 long arg3
= (long) 0 ;
21506 PyObject
* obj0
= 0 ;
21507 PyObject
* obj1
= 0 ;
21508 PyObject
* obj2
= 0 ;
21509 char * kwnames
[] = {
21510 (char *) "self",(char *) "parent",(char *) "style", NULL
21513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21515 if (!SWIG_IsOK(res1
)) {
21516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21518 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21520 if (!SWIG_IsOK(res2
)) {
21521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21523 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21525 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21526 if (!SWIG_IsOK(ecode3
)) {
21527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21529 arg3
= static_cast< long >(val3
);
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21546 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21549 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21550 return SWIG_Py_Void();
21553 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21554 return SWIG_Python_InitShadowInstance(args
);
21557 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
= 0;
21559 wxWindow
*arg1
= (wxWindow
*) 0 ;
21560 int arg2
= (int) (int)-1 ;
21561 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21562 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21563 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21564 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21565 long arg5
= (long) 0 ;
21566 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21567 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21568 wxPyWindow
*result
= 0 ;
21577 bool temp6
= false ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 PyObject
* obj2
= 0 ;
21581 PyObject
* obj3
= 0 ;
21582 PyObject
* obj4
= 0 ;
21583 PyObject
* obj5
= 0 ;
21584 char * kwnames
[] = {
21585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21590 if (!SWIG_IsOK(res1
)) {
21591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21593 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21596 if (!SWIG_IsOK(ecode2
)) {
21597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21599 arg2
= static_cast< int >(val2
);
21604 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21610 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21614 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21615 if (!SWIG_IsOK(ecode5
)) {
21616 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21618 arg5
= static_cast< long >(val5
);
21622 arg6
= wxString_in_helper(obj5
);
21623 if (arg6
== NULL
) SWIG_fail
;
21628 if (!wxPyCheckForApp()) SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21649 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21650 PyObject
*resultobj
= 0;
21651 wxPyWindow
*result
= 0 ;
21653 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21655 if (!wxPyCheckForApp()) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 result
= (wxPyWindow
*)new wxPyWindow();
21658 wxPyEndAllowThreads(__tstate
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21668 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
= 0;
21670 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21671 PyObject
*arg2
= (PyObject
*) 0 ;
21672 PyObject
*arg3
= (PyObject
*) 0 ;
21675 PyObject
* obj0
= 0 ;
21676 PyObject
* obj1
= 0 ;
21677 PyObject
* obj2
= 0 ;
21678 char * kwnames
[] = {
21679 (char *) "self",(char *) "self",(char *) "_class", NULL
21682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21684 if (!SWIG_IsOK(res1
)) {
21685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21687 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21696 resultobj
= SWIG_Py_Void();
21703 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21704 PyObject
*resultobj
= 0;
21705 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21712 char * kwnames
[] = {
21713 (char *) "self",(char *) "size", NULL
21716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21718 if (!SWIG_IsOK(res1
)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21721 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21724 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= SWIG_Py_Void();
21739 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
= 0;
21741 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21742 wxDC
*arg2
= (wxDC
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 char * kwnames
[] = {
21751 (char *) "self",(char *) "dc", NULL
21754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21756 if (!SWIG_IsOK(res1
)) {
21757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21759 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21761 if (!SWIG_IsOK(res2
)) {
21762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21764 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21780 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21781 PyObject
*resultobj
= 0;
21782 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21797 PyObject
* obj0
= 0 ;
21798 PyObject
* obj1
= 0 ;
21799 PyObject
* obj2
= 0 ;
21800 PyObject
* obj3
= 0 ;
21801 PyObject
* obj4
= 0 ;
21802 char * kwnames
[] = {
21803 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21808 if (!SWIG_IsOK(res1
)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21811 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21813 if (!SWIG_IsOK(ecode2
)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21816 arg2
= static_cast< int >(val2
);
21817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21818 if (!SWIG_IsOK(ecode3
)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21821 arg3
= static_cast< int >(val3
);
21822 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21823 if (!SWIG_IsOK(ecode4
)) {
21824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21826 arg4
= static_cast< int >(val4
);
21827 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21828 if (!SWIG_IsOK(ecode5
)) {
21829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21831 arg5
= static_cast< int >(val5
);
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= SWIG_Py_Void();
21845 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
= 0;
21847 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21852 int arg6
= (int) wxSIZE_AUTO
;
21865 PyObject
* obj0
= 0 ;
21866 PyObject
* obj1
= 0 ;
21867 PyObject
* obj2
= 0 ;
21868 PyObject
* obj3
= 0 ;
21869 PyObject
* obj4
= 0 ;
21870 PyObject
* obj5
= 0 ;
21871 char * kwnames
[] = {
21872 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21877 if (!SWIG_IsOK(res1
)) {
21878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21880 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21882 if (!SWIG_IsOK(ecode2
)) {
21883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21885 arg2
= static_cast< int >(val2
);
21886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21887 if (!SWIG_IsOK(ecode3
)) {
21888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21890 arg3
= static_cast< int >(val3
);
21891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21892 if (!SWIG_IsOK(ecode4
)) {
21893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21895 arg4
= static_cast< int >(val4
);
21896 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21897 if (!SWIG_IsOK(ecode5
)) {
21898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21900 arg5
= static_cast< int >(val5
);
21902 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21903 if (!SWIG_IsOK(ecode6
)) {
21904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21906 arg6
= static_cast< int >(val6
);
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= SWIG_Py_Void();
21921 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
= 0;
21923 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21932 PyObject
* obj0
= 0 ;
21933 PyObject
* obj1
= 0 ;
21934 PyObject
* obj2
= 0 ;
21935 char * kwnames
[] = {
21936 (char *) "self",(char *) "width",(char *) "height", NULL
21939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21941 if (!SWIG_IsOK(res1
)) {
21942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21944 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21946 if (!SWIG_IsOK(ecode2
)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21949 arg2
= static_cast< int >(val2
);
21950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21951 if (!SWIG_IsOK(ecode3
)) {
21952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21954 arg3
= static_cast< int >(val3
);
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 (arg1
)->DoSetClientSize(arg2
,arg3
);
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= SWIG_Py_Void();
21968 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21969 PyObject
*resultobj
= 0;
21970 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21979 PyObject
* obj0
= 0 ;
21980 PyObject
* obj1
= 0 ;
21981 PyObject
* obj2
= 0 ;
21982 char * kwnames
[] = {
21983 (char *) "self",(char *) "x",(char *) "y", NULL
21986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21988 if (!SWIG_IsOK(res1
)) {
21989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21991 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21993 if (!SWIG_IsOK(ecode2
)) {
21994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21996 arg2
= static_cast< int >(val2
);
21997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21998 if (!SWIG_IsOK(ecode3
)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22001 arg3
= static_cast< int >(val3
);
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= SWIG_Py_Void();
22015 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22016 PyObject
*resultobj
= 0;
22017 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22018 int *arg2
= (int *) 0 ;
22019 int *arg3
= (int *) 0 ;
22023 int res2
= SWIG_TMPOBJ
;
22025 int res3
= SWIG_TMPOBJ
;
22026 PyObject
*swig_obj
[1] ;
22030 if (!args
) SWIG_fail
;
22031 swig_obj
[0] = args
;
22032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22033 if (!SWIG_IsOK(res1
)) {
22034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22036 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= SWIG_Py_Void();
22044 if (SWIG_IsTmpObj(res2
)) {
22045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22047 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22050 if (SWIG_IsTmpObj(res3
)) {
22051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22053 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22062 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22063 PyObject
*resultobj
= 0;
22064 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22065 int *arg2
= (int *) 0 ;
22066 int *arg3
= (int *) 0 ;
22070 int res2
= SWIG_TMPOBJ
;
22072 int res3
= SWIG_TMPOBJ
;
22073 PyObject
*swig_obj
[1] ;
22077 if (!args
) SWIG_fail
;
22078 swig_obj
[0] = args
;
22079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22080 if (!SWIG_IsOK(res1
)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22083 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_Py_Void();
22091 if (SWIG_IsTmpObj(res2
)) {
22092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22094 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22097 if (SWIG_IsTmpObj(res3
)) {
22098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22100 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22109 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22110 PyObject
*resultobj
= 0;
22111 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22112 int *arg2
= (int *) 0 ;
22113 int *arg3
= (int *) 0 ;
22117 int res2
= SWIG_TMPOBJ
;
22119 int res3
= SWIG_TMPOBJ
;
22120 PyObject
*swig_obj
[1] ;
22124 if (!args
) SWIG_fail
;
22125 swig_obj
[0] = args
;
22126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22127 if (!SWIG_IsOK(res1
)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22130 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= SWIG_Py_Void();
22138 if (SWIG_IsTmpObj(res2
)) {
22139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22141 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22144 if (SWIG_IsTmpObj(res3
)) {
22145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22147 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22156 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22157 PyObject
*resultobj
= 0;
22158 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22162 PyObject
*swig_obj
[1] ;
22164 if (!args
) SWIG_fail
;
22165 swig_obj
[0] = args
;
22166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22167 if (!SWIG_IsOK(res1
)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22170 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22184 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22185 PyObject
*resultobj
= 0;
22186 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22190 PyObject
*swig_obj
[1] ;
22192 if (!args
) SWIG_fail
;
22193 swig_obj
[0] = args
;
22194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22195 if (!SWIG_IsOK(res1
)) {
22196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22198 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22205 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22212 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22213 PyObject
*resultobj
= 0;
22214 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22215 SwigValueWrapper
<wxVisualAttributes
> result
;
22218 PyObject
*swig_obj
[1] ;
22220 if (!args
) SWIG_fail
;
22221 swig_obj
[0] = args
;
22222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22223 if (!SWIG_IsOK(res1
)) {
22224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22226 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (arg1
)->GetDefaultAttributes();
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22240 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22241 PyObject
*resultobj
= 0;
22242 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22245 PyObject
*swig_obj
[1] ;
22247 if (!args
) SWIG_fail
;
22248 swig_obj
[0] = args
;
22249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22250 if (!SWIG_IsOK(res1
)) {
22251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22253 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 (arg1
)->OnInternalIdle();
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22260 resultobj
= SWIG_Py_Void();
22267 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22270 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22271 return SWIG_Py_Void();
22274 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22275 return SWIG_Python_InitShadowInstance(args
);
22278 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
= 0;
22280 wxWindow
*arg1
= (wxWindow
*) 0 ;
22281 int arg2
= (int) (int)-1 ;
22282 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22283 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22284 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22285 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22286 long arg5
= (long) 0 ;
22287 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22288 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22289 wxPyPanel
*result
= 0 ;
22298 bool temp6
= false ;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 PyObject
* obj2
= 0 ;
22302 PyObject
* obj3
= 0 ;
22303 PyObject
* obj4
= 0 ;
22304 PyObject
* obj5
= 0 ;
22305 char * kwnames
[] = {
22306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22311 if (!SWIG_IsOK(res1
)) {
22312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22314 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22317 if (!SWIG_IsOK(ecode2
)) {
22318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22320 arg2
= static_cast< int >(val2
);
22325 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22331 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22335 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22336 if (!SWIG_IsOK(ecode5
)) {
22337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22339 arg5
= static_cast< long >(val5
);
22343 arg6
= wxString_in_helper(obj5
);
22344 if (arg6
== NULL
) SWIG_fail
;
22349 if (!wxPyCheckForApp()) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22370 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22371 PyObject
*resultobj
= 0;
22372 wxPyPanel
*result
= 0 ;
22374 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22376 if (!wxPyCheckForApp()) SWIG_fail
;
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 result
= (wxPyPanel
*)new wxPyPanel();
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22389 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
= 0;
22391 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22392 PyObject
*arg2
= (PyObject
*) 0 ;
22393 PyObject
*arg3
= (PyObject
*) 0 ;
22396 PyObject
* obj0
= 0 ;
22397 PyObject
* obj1
= 0 ;
22398 PyObject
* obj2
= 0 ;
22399 char * kwnames
[] = {
22400 (char *) "self",(char *) "self",(char *) "_class", NULL
22403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22405 if (!SWIG_IsOK(res1
)) {
22406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22408 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_Py_Void();
22424 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
= 0;
22426 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 PyObject
* obj1
= 0 ;
22433 char * kwnames
[] = {
22434 (char *) "self",(char *) "size", NULL
22437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22439 if (!SWIG_IsOK(res1
)) {
22440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22442 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22445 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_Py_Void();
22460 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
= 0;
22462 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22463 wxDC
*arg2
= (wxDC
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 PyObject
* obj1
= 0 ;
22471 char * kwnames
[] = {
22472 (char *) "self",(char *) "dc", NULL
22475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22477 if (!SWIG_IsOK(res1
)) {
22478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22480 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22481 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22482 if (!SWIG_IsOK(res2
)) {
22483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22485 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22501 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22502 PyObject
*resultobj
= 0;
22503 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22518 PyObject
* obj0
= 0 ;
22519 PyObject
* obj1
= 0 ;
22520 PyObject
* obj2
= 0 ;
22521 PyObject
* obj3
= 0 ;
22522 PyObject
* obj4
= 0 ;
22523 char * kwnames
[] = {
22524 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22529 if (!SWIG_IsOK(res1
)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22532 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22534 if (!SWIG_IsOK(ecode2
)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22537 arg2
= static_cast< int >(val2
);
22538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22539 if (!SWIG_IsOK(ecode3
)) {
22540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22542 arg3
= static_cast< int >(val3
);
22543 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22544 if (!SWIG_IsOK(ecode4
)) {
22545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22547 arg4
= static_cast< int >(val4
);
22548 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22549 if (!SWIG_IsOK(ecode5
)) {
22550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22552 arg5
= static_cast< int >(val5
);
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22559 resultobj
= SWIG_Py_Void();
22566 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
= 0;
22568 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22573 int arg6
= (int) wxSIZE_AUTO
;
22586 PyObject
* obj0
= 0 ;
22587 PyObject
* obj1
= 0 ;
22588 PyObject
* obj2
= 0 ;
22589 PyObject
* obj3
= 0 ;
22590 PyObject
* obj4
= 0 ;
22591 PyObject
* obj5
= 0 ;
22592 char * kwnames
[] = {
22593 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22598 if (!SWIG_IsOK(res1
)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22601 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22603 if (!SWIG_IsOK(ecode2
)) {
22604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22606 arg2
= static_cast< int >(val2
);
22607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22608 if (!SWIG_IsOK(ecode3
)) {
22609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22611 arg3
= static_cast< int >(val3
);
22612 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22613 if (!SWIG_IsOK(ecode4
)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22616 arg4
= static_cast< int >(val4
);
22617 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22618 if (!SWIG_IsOK(ecode5
)) {
22619 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22621 arg5
= static_cast< int >(val5
);
22623 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22624 if (!SWIG_IsOK(ecode6
)) {
22625 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22627 arg6
= static_cast< int >(val6
);
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= SWIG_Py_Void();
22642 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
= 0;
22644 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 PyObject
* obj1
= 0 ;
22655 PyObject
* obj2
= 0 ;
22656 char * kwnames
[] = {
22657 (char *) "self",(char *) "width",(char *) "height", NULL
22660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22662 if (!SWIG_IsOK(res1
)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22665 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22667 if (!SWIG_IsOK(ecode2
)) {
22668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22670 arg2
= static_cast< int >(val2
);
22671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22672 if (!SWIG_IsOK(ecode3
)) {
22673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22675 arg3
= static_cast< int >(val3
);
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 (arg1
)->DoSetClientSize(arg2
,arg3
);
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_Py_Void();
22689 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
= 0;
22691 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 PyObject
* obj1
= 0 ;
22702 PyObject
* obj2
= 0 ;
22703 char * kwnames
[] = {
22704 (char *) "self",(char *) "x",(char *) "y", NULL
22707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22709 if (!SWIG_IsOK(res1
)) {
22710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22712 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22714 if (!SWIG_IsOK(ecode2
)) {
22715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22717 arg2
= static_cast< int >(val2
);
22718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22719 if (!SWIG_IsOK(ecode3
)) {
22720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22722 arg3
= static_cast< int >(val3
);
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= SWIG_Py_Void();
22736 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22737 PyObject
*resultobj
= 0;
22738 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22739 int *arg2
= (int *) 0 ;
22740 int *arg3
= (int *) 0 ;
22744 int res2
= SWIG_TMPOBJ
;
22746 int res3
= SWIG_TMPOBJ
;
22747 PyObject
*swig_obj
[1] ;
22751 if (!args
) SWIG_fail
;
22752 swig_obj
[0] = args
;
22753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22754 if (!SWIG_IsOK(res1
)) {
22755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22757 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= SWIG_Py_Void();
22765 if (SWIG_IsTmpObj(res2
)) {
22766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22768 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22771 if (SWIG_IsTmpObj(res3
)) {
22772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22774 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22783 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22784 PyObject
*resultobj
= 0;
22785 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22786 int *arg2
= (int *) 0 ;
22787 int *arg3
= (int *) 0 ;
22791 int res2
= SWIG_TMPOBJ
;
22793 int res3
= SWIG_TMPOBJ
;
22794 PyObject
*swig_obj
[1] ;
22798 if (!args
) SWIG_fail
;
22799 swig_obj
[0] = args
;
22800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22801 if (!SWIG_IsOK(res1
)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22804 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_Py_Void();
22812 if (SWIG_IsTmpObj(res2
)) {
22813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22815 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22818 if (SWIG_IsTmpObj(res3
)) {
22819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22821 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22830 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22831 PyObject
*resultobj
= 0;
22832 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22833 int *arg2
= (int *) 0 ;
22834 int *arg3
= (int *) 0 ;
22838 int res2
= SWIG_TMPOBJ
;
22840 int res3
= SWIG_TMPOBJ
;
22841 PyObject
*swig_obj
[1] ;
22845 if (!args
) SWIG_fail
;
22846 swig_obj
[0] = args
;
22847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22848 if (!SWIG_IsOK(res1
)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22851 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= SWIG_Py_Void();
22859 if (SWIG_IsTmpObj(res2
)) {
22860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22862 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22865 if (SWIG_IsTmpObj(res3
)) {
22866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22868 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22877 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22878 PyObject
*resultobj
= 0;
22879 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22883 PyObject
*swig_obj
[1] ;
22885 if (!args
) SWIG_fail
;
22886 swig_obj
[0] = args
;
22887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22888 if (!SWIG_IsOK(res1
)) {
22889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22891 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22905 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22906 PyObject
*resultobj
= 0;
22907 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22911 PyObject
*swig_obj
[1] ;
22913 if (!args
) SWIG_fail
;
22914 swig_obj
[0] = args
;
22915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22916 if (!SWIG_IsOK(res1
)) {
22917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22919 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22933 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22934 PyObject
*resultobj
= 0;
22935 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22936 SwigValueWrapper
<wxVisualAttributes
> result
;
22939 PyObject
*swig_obj
[1] ;
22941 if (!args
) SWIG_fail
;
22942 swig_obj
[0] = args
;
22943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22947 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 result
= (arg1
)->GetDefaultAttributes();
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22961 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22962 PyObject
*resultobj
= 0;
22963 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22966 PyObject
*swig_obj
[1] ;
22968 if (!args
) SWIG_fail
;
22969 swig_obj
[0] = args
;
22970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22974 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 (arg1
)->OnInternalIdle();
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_Py_Void();
22988 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22992 return SWIG_Py_Void();
22995 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22996 return SWIG_Python_InitShadowInstance(args
);
22999 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
= 0;
23001 wxWindow
*arg1
= (wxWindow
*) 0 ;
23002 int arg2
= (int) (int)-1 ;
23003 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23004 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23005 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23006 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23007 long arg5
= (long) 0 ;
23008 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23009 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23010 wxPyScrolledWindow
*result
= 0 ;
23019 bool temp6
= false ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 PyObject
* obj2
= 0 ;
23023 PyObject
* obj3
= 0 ;
23024 PyObject
* obj4
= 0 ;
23025 PyObject
* obj5
= 0 ;
23026 char * kwnames
[] = {
23027 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23032 if (!SWIG_IsOK(res1
)) {
23033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23035 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23038 if (!SWIG_IsOK(ecode2
)) {
23039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23041 arg2
= static_cast< int >(val2
);
23046 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23052 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23056 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23057 if (!SWIG_IsOK(ecode5
)) {
23058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23060 arg5
= static_cast< long >(val5
);
23064 arg6
= wxString_in_helper(obj5
);
23065 if (arg6
== NULL
) SWIG_fail
;
23070 if (!wxPyCheckForApp()) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23091 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23092 PyObject
*resultobj
= 0;
23093 wxPyScrolledWindow
*result
= 0 ;
23095 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23097 if (!wxPyCheckForApp()) SWIG_fail
;
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23110 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
= 0;
23112 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23113 PyObject
*arg2
= (PyObject
*) 0 ;
23114 PyObject
*arg3
= (PyObject
*) 0 ;
23117 PyObject
* obj0
= 0 ;
23118 PyObject
* obj1
= 0 ;
23119 PyObject
* obj2
= 0 ;
23120 char * kwnames
[] = {
23121 (char *) "self",(char *) "self",(char *) "_class", NULL
23124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23126 if (!SWIG_IsOK(res1
)) {
23127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23129 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= SWIG_Py_Void();
23145 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
= 0;
23147 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23152 PyObject
* obj0
= 0 ;
23153 PyObject
* obj1
= 0 ;
23154 char * kwnames
[] = {
23155 (char *) "self",(char *) "size", NULL
23158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23160 if (!SWIG_IsOK(res1
)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23163 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23166 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= SWIG_Py_Void();
23181 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23182 PyObject
*resultobj
= 0;
23183 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23184 wxDC
*arg2
= (wxDC
*) 0 ;
23190 PyObject
* obj0
= 0 ;
23191 PyObject
* obj1
= 0 ;
23192 char * kwnames
[] = {
23193 (char *) "self",(char *) "dc", NULL
23196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23198 if (!SWIG_IsOK(res1
)) {
23199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23201 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23203 if (!SWIG_IsOK(res2
)) {
23204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23206 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23222 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
= 0;
23224 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23239 PyObject
* obj0
= 0 ;
23240 PyObject
* obj1
= 0 ;
23241 PyObject
* obj2
= 0 ;
23242 PyObject
* obj3
= 0 ;
23243 PyObject
* obj4
= 0 ;
23244 char * kwnames
[] = {
23245 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23250 if (!SWIG_IsOK(res1
)) {
23251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23253 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23255 if (!SWIG_IsOK(ecode2
)) {
23256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23258 arg2
= static_cast< int >(val2
);
23259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23260 if (!SWIG_IsOK(ecode3
)) {
23261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23263 arg3
= static_cast< int >(val3
);
23264 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23265 if (!SWIG_IsOK(ecode4
)) {
23266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23268 arg4
= static_cast< int >(val4
);
23269 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23270 if (!SWIG_IsOK(ecode5
)) {
23271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23273 arg5
= static_cast< int >(val5
);
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 resultobj
= SWIG_Py_Void();
23287 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
= 0;
23289 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23294 int arg6
= (int) wxSIZE_AUTO
;
23307 PyObject
* obj0
= 0 ;
23308 PyObject
* obj1
= 0 ;
23309 PyObject
* obj2
= 0 ;
23310 PyObject
* obj3
= 0 ;
23311 PyObject
* obj4
= 0 ;
23312 PyObject
* obj5
= 0 ;
23313 char * kwnames
[] = {
23314 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23319 if (!SWIG_IsOK(res1
)) {
23320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23322 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23324 if (!SWIG_IsOK(ecode2
)) {
23325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23327 arg2
= static_cast< int >(val2
);
23328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23329 if (!SWIG_IsOK(ecode3
)) {
23330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23332 arg3
= static_cast< int >(val3
);
23333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23334 if (!SWIG_IsOK(ecode4
)) {
23335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23337 arg4
= static_cast< int >(val4
);
23338 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23339 if (!SWIG_IsOK(ecode5
)) {
23340 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23342 arg5
= static_cast< int >(val5
);
23344 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23345 if (!SWIG_IsOK(ecode6
)) {
23346 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23348 arg6
= static_cast< int >(val6
);
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= SWIG_Py_Void();
23363 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
= 0;
23365 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23374 PyObject
* obj0
= 0 ;
23375 PyObject
* obj1
= 0 ;
23376 PyObject
* obj2
= 0 ;
23377 char * kwnames
[] = {
23378 (char *) "self",(char *) "width",(char *) "height", NULL
23381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23383 if (!SWIG_IsOK(res1
)) {
23384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23386 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23388 if (!SWIG_IsOK(ecode2
)) {
23389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23391 arg2
= static_cast< int >(val2
);
23392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23393 if (!SWIG_IsOK(ecode3
)) {
23394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23396 arg3
= static_cast< int >(val3
);
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 (arg1
)->DoSetClientSize(arg2
,arg3
);
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= SWIG_Py_Void();
23410 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
= 0;
23412 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 PyObject
* obj1
= 0 ;
23423 PyObject
* obj2
= 0 ;
23424 char * kwnames
[] = {
23425 (char *) "self",(char *) "x",(char *) "y", NULL
23428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23430 if (!SWIG_IsOK(res1
)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23433 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23435 if (!SWIG_IsOK(ecode2
)) {
23436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23438 arg2
= static_cast< int >(val2
);
23439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23440 if (!SWIG_IsOK(ecode3
)) {
23441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23443 arg3
= static_cast< int >(val3
);
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_Py_Void();
23457 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23458 PyObject
*resultobj
= 0;
23459 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23460 int *arg2
= (int *) 0 ;
23461 int *arg3
= (int *) 0 ;
23465 int res2
= SWIG_TMPOBJ
;
23467 int res3
= SWIG_TMPOBJ
;
23468 PyObject
*swig_obj
[1] ;
23472 if (!args
) SWIG_fail
;
23473 swig_obj
[0] = args
;
23474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23475 if (!SWIG_IsOK(res1
)) {
23476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23478 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 resultobj
= SWIG_Py_Void();
23486 if (SWIG_IsTmpObj(res2
)) {
23487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23489 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23492 if (SWIG_IsTmpObj(res3
)) {
23493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23495 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23504 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23505 PyObject
*resultobj
= 0;
23506 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23507 int *arg2
= (int *) 0 ;
23508 int *arg3
= (int *) 0 ;
23512 int res2
= SWIG_TMPOBJ
;
23514 int res3
= SWIG_TMPOBJ
;
23515 PyObject
*swig_obj
[1] ;
23519 if (!args
) SWIG_fail
;
23520 swig_obj
[0] = args
;
23521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23522 if (!SWIG_IsOK(res1
)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23525 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= SWIG_Py_Void();
23533 if (SWIG_IsTmpObj(res2
)) {
23534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23536 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23539 if (SWIG_IsTmpObj(res3
)) {
23540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23542 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23551 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23552 PyObject
*resultobj
= 0;
23553 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23554 int *arg2
= (int *) 0 ;
23555 int *arg3
= (int *) 0 ;
23559 int res2
= SWIG_TMPOBJ
;
23561 int res3
= SWIG_TMPOBJ
;
23562 PyObject
*swig_obj
[1] ;
23566 if (!args
) SWIG_fail
;
23567 swig_obj
[0] = args
;
23568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23569 if (!SWIG_IsOK(res1
)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23572 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= SWIG_Py_Void();
23580 if (SWIG_IsTmpObj(res2
)) {
23581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23583 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23586 if (SWIG_IsTmpObj(res3
)) {
23587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23589 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23598 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23599 PyObject
*resultobj
= 0;
23600 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23604 PyObject
*swig_obj
[1] ;
23606 if (!args
) SWIG_fail
;
23607 swig_obj
[0] = args
;
23608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23609 if (!SWIG_IsOK(res1
)) {
23610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23612 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23626 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23627 PyObject
*resultobj
= 0;
23628 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23632 PyObject
*swig_obj
[1] ;
23634 if (!args
) SWIG_fail
;
23635 swig_obj
[0] = args
;
23636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23637 if (!SWIG_IsOK(res1
)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23640 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23654 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23655 PyObject
*resultobj
= 0;
23656 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23657 SwigValueWrapper
<wxVisualAttributes
> result
;
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_wxPyScrolledWindow
, 0 | 0 );
23665 if (!SWIG_IsOK(res1
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23668 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (arg1
)->GetDefaultAttributes();
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23682 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23683 PyObject
*resultobj
= 0;
23684 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23687 PyObject
*swig_obj
[1] ;
23689 if (!args
) SWIG_fail
;
23690 swig_obj
[0] = args
;
23691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23692 if (!SWIG_IsOK(res1
)) {
23693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23695 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 (arg1
)->OnInternalIdle();
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= SWIG_Py_Void();
23709 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23712 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23713 return SWIG_Py_Void();
23716 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23717 return SWIG_Python_InitShadowInstance(args
);
23720 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23721 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23726 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23727 PyObject
*pyobj
= 0;
23731 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23733 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23740 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23741 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23746 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23747 PyObject
*pyobj
= 0;
23751 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23753 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23760 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23761 PyObject
*resultobj
= 0;
23762 wxPrintData
*result
= 0 ;
23764 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (wxPrintData
*)new wxPrintData();
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23778 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23779 PyObject
*resultobj
= 0;
23780 wxPrintData
*arg1
= 0 ;
23781 wxPrintData
*result
= 0 ;
23785 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23787 if (!SWIG_IsOK(res1
)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23793 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23807 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23811 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23814 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23817 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23821 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23826 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23827 PyObject
*resultobj
= 0;
23828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23831 PyObject
*swig_obj
[1] ;
23833 if (!args
) SWIG_fail
;
23834 swig_obj
[0] = args
;
23835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23836 if (!SWIG_IsOK(res1
)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23839 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= SWIG_Py_Void();
23854 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23855 PyObject
*resultobj
= 0;
23856 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23860 PyObject
*swig_obj
[1] ;
23862 if (!args
) SWIG_fail
;
23863 swig_obj
[0] = args
;
23864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23865 if (!SWIG_IsOK(res1
)) {
23866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23868 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (int)(arg1
)->GetNoCopies();
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_From_int(static_cast< int >(result
));
23882 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23883 PyObject
*resultobj
= 0;
23884 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23888 PyObject
*swig_obj
[1] ;
23890 if (!args
) SWIG_fail
;
23891 swig_obj
[0] = args
;
23892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23893 if (!SWIG_IsOK(res1
)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23896 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 result
= (bool)(arg1
)->GetCollate();
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23912 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23913 PyObject
*resultobj
= 0;
23914 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23918 PyObject
*swig_obj
[1] ;
23920 if (!args
) SWIG_fail
;
23921 swig_obj
[0] = args
;
23922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23923 if (!SWIG_IsOK(res1
)) {
23924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23926 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 result
= (int)(arg1
)->GetOrientation();
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 resultobj
= SWIG_From_int(static_cast< int >(result
));
23940 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23941 PyObject
*resultobj
= 0;
23942 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23946 PyObject
*swig_obj
[1] ;
23948 if (!args
) SWIG_fail
;
23949 swig_obj
[0] = args
;
23950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23951 if (!SWIG_IsOK(res1
)) {
23952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23954 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= (bool)(arg1
)->IsOk();
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23970 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23971 PyObject
*resultobj
= 0;
23972 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23973 wxString
*result
= 0 ;
23976 PyObject
*swig_obj
[1] ;
23978 if (!args
) SWIG_fail
;
23979 swig_obj
[0] = args
;
23980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23981 if (!SWIG_IsOK(res1
)) {
23982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23984 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23989 result
= (wxString
*) &_result_ref
;
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23998 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24007 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24008 PyObject
*resultobj
= 0;
24009 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24013 PyObject
*swig_obj
[1] ;
24015 if (!args
) SWIG_fail
;
24016 swig_obj
[0] = args
;
24017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24018 if (!SWIG_IsOK(res1
)) {
24019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24021 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (bool)(arg1
)->GetColour();
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24037 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24038 PyObject
*resultobj
= 0;
24039 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24040 wxDuplexMode result
;
24043 PyObject
*swig_obj
[1] ;
24045 if (!args
) SWIG_fail
;
24046 swig_obj
[0] = args
;
24047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24048 if (!SWIG_IsOK(res1
)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24051 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= SWIG_From_int(static_cast< int >(result
));
24065 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24066 PyObject
*resultobj
= 0;
24067 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24068 wxPaperSize result
;
24071 PyObject
*swig_obj
[1] ;
24073 if (!args
) SWIG_fail
;
24074 swig_obj
[0] = args
;
24075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24076 if (!SWIG_IsOK(res1
)) {
24077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24079 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_From_int(static_cast< int >(result
));
24093 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 PyObject
*resultobj
= 0;
24095 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24096 wxSize
*result
= 0 ;
24099 PyObject
*swig_obj
[1] ;
24101 if (!args
) SWIG_fail
;
24102 swig_obj
[0] = args
;
24103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24104 if (!SWIG_IsOK(res1
)) {
24105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24107 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24112 result
= (wxSize
*) &_result_ref
;
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24124 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24125 PyObject
*resultobj
= 0;
24126 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24130 PyObject
*swig_obj
[1] ;
24132 if (!args
) SWIG_fail
;
24133 swig_obj
[0] = args
;
24134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24135 if (!SWIG_IsOK(res1
)) {
24136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24138 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 result
= (int)(arg1
)->GetQuality();
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 resultobj
= SWIG_From_int(static_cast< int >(result
));
24152 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24153 PyObject
*resultobj
= 0;
24154 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24158 PyObject
*swig_obj
[1] ;
24160 if (!args
) SWIG_fail
;
24161 swig_obj
[0] = args
;
24162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24163 if (!SWIG_IsOK(res1
)) {
24164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24166 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 result
= (wxPrintBin
)(arg1
)->GetBin();
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= SWIG_From_int(static_cast< int >(result
));
24180 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24181 PyObject
*resultobj
= 0;
24182 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24183 wxPrintMode result
;
24186 PyObject
*swig_obj
[1] ;
24188 if (!args
) SWIG_fail
;
24189 swig_obj
[0] = args
;
24190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24191 if (!SWIG_IsOK(res1
)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24194 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 resultobj
= SWIG_From_int(static_cast< int >(result
));
24208 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
= 0;
24210 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24216 PyObject
* obj0
= 0 ;
24217 PyObject
* obj1
= 0 ;
24218 char * kwnames
[] = {
24219 (char *) "self",(char *) "v", NULL
24222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24224 if (!SWIG_IsOK(res1
)) {
24225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24227 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24229 if (!SWIG_IsOK(ecode2
)) {
24230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24232 arg2
= static_cast< int >(val2
);
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 (arg1
)->SetNoCopies(arg2
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_Py_Void();
24246 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
= 0;
24248 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 PyObject
* obj1
= 0 ;
24256 char * kwnames
[] = {
24257 (char *) "self",(char *) "flag", NULL
24260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24262 if (!SWIG_IsOK(res1
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24265 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24266 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24267 if (!SWIG_IsOK(ecode2
)) {
24268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24270 arg2
= static_cast< bool >(val2
);
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 (arg1
)->SetCollate(arg2
);
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= SWIG_Py_Void();
24284 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
= 0;
24286 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24292 PyObject
* obj0
= 0 ;
24293 PyObject
* obj1
= 0 ;
24294 char * kwnames
[] = {
24295 (char *) "self",(char *) "orient", NULL
24298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24300 if (!SWIG_IsOK(res1
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24303 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24305 if (!SWIG_IsOK(ecode2
)) {
24306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24308 arg2
= static_cast< int >(val2
);
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 (arg1
)->SetOrientation(arg2
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_Py_Void();
24322 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
= 0;
24324 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24325 wxString
*arg2
= 0 ;
24328 bool temp2
= false ;
24329 PyObject
* obj0
= 0 ;
24330 PyObject
* obj1
= 0 ;
24331 char * kwnames
[] = {
24332 (char *) "self",(char *) "name", NULL
24335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24337 if (!SWIG_IsOK(res1
)) {
24338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24340 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24342 arg2
= wxString_in_helper(obj1
);
24343 if (arg2
== NULL
) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= SWIG_Py_Void();
24367 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
= 0;
24369 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 PyObject
* obj1
= 0 ;
24377 char * kwnames
[] = {
24378 (char *) "self",(char *) "colour", NULL
24381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24383 if (!SWIG_IsOK(res1
)) {
24384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24386 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24387 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24388 if (!SWIG_IsOK(ecode2
)) {
24389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24391 arg2
= static_cast< bool >(val2
);
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 (arg1
)->SetColour(arg2
);
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24398 resultobj
= SWIG_Py_Void();
24405 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
= 0;
24407 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24408 wxDuplexMode arg2
;
24413 PyObject
* obj0
= 0 ;
24414 PyObject
* obj1
= 0 ;
24415 char * kwnames
[] = {
24416 (char *) "self",(char *) "duplex", NULL
24419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24421 if (!SWIG_IsOK(res1
)) {
24422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24424 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24426 if (!SWIG_IsOK(ecode2
)) {
24427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24429 arg2
= static_cast< wxDuplexMode
>(val2
);
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 (arg1
)->SetDuplex(arg2
);
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= SWIG_Py_Void();
24443 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
= 0;
24445 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24451 PyObject
* obj0
= 0 ;
24452 PyObject
* obj1
= 0 ;
24453 char * kwnames
[] = {
24454 (char *) "self",(char *) "sizeId", NULL
24457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24459 if (!SWIG_IsOK(res1
)) {
24460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24462 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24464 if (!SWIG_IsOK(ecode2
)) {
24465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24467 arg2
= static_cast< wxPaperSize
>(val2
);
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 (arg1
)->SetPaperId(arg2
);
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24474 resultobj
= SWIG_Py_Void();
24481 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
= 0;
24483 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24488 PyObject
* obj0
= 0 ;
24489 PyObject
* obj1
= 0 ;
24490 char * kwnames
[] = {
24491 (char *) "self",(char *) "sz", NULL
24494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24496 if (!SWIG_IsOK(res1
)) {
24497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24499 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24502 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= SWIG_Py_Void();
24517 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
= 0;
24519 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24525 PyObject
* obj0
= 0 ;
24526 PyObject
* obj1
= 0 ;
24527 char * kwnames
[] = {
24528 (char *) "self",(char *) "quality", NULL
24531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24533 if (!SWIG_IsOK(res1
)) {
24534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24536 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24538 if (!SWIG_IsOK(ecode2
)) {
24539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24541 arg2
= static_cast< int >(val2
);
24543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 (arg1
)->SetQuality(arg2
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 resultobj
= SWIG_Py_Void();
24555 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
= 0;
24557 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24563 PyObject
* obj0
= 0 ;
24564 PyObject
* obj1
= 0 ;
24565 char * kwnames
[] = {
24566 (char *) "self",(char *) "bin", NULL
24569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24571 if (!SWIG_IsOK(res1
)) {
24572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24574 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24576 if (!SWIG_IsOK(ecode2
)) {
24577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24579 arg2
= static_cast< wxPrintBin
>(val2
);
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 (arg1
)->SetBin(arg2
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_Py_Void();
24593 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
= 0;
24595 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24601 PyObject
* obj0
= 0 ;
24602 PyObject
* obj1
= 0 ;
24603 char * kwnames
[] = {
24604 (char *) "self",(char *) "printMode", NULL
24607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24609 if (!SWIG_IsOK(res1
)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24612 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24614 if (!SWIG_IsOK(ecode2
)) {
24615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24617 arg2
= static_cast< wxPrintMode
>(val2
);
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 (arg1
)->SetPrintMode(arg2
);
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= SWIG_Py_Void();
24631 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24632 PyObject
*resultobj
= 0;
24633 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24637 PyObject
*swig_obj
[1] ;
24639 if (!args
) SWIG_fail
;
24640 swig_obj
[0] = args
;
24641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24642 if (!SWIG_IsOK(res1
)) {
24643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24645 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24665 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
= 0;
24667 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24668 wxString
*arg2
= 0 ;
24671 bool temp2
= false ;
24672 PyObject
* obj0
= 0 ;
24673 PyObject
* obj1
= 0 ;
24674 char * kwnames
[] = {
24675 (char *) "self",(char *) "filename", NULL
24678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24680 if (!SWIG_IsOK(res1
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24683 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24685 arg2
= wxString_in_helper(obj1
);
24686 if (arg2
== NULL
) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 (arg1
)->SetFilename((wxString
const &)*arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= SWIG_Py_Void();
24710 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24711 PyObject
*resultobj
= 0;
24712 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24713 PyObject
*result
= 0 ;
24716 PyObject
*swig_obj
[1] ;
24718 if (!args
) SWIG_fail
;
24719 swig_obj
[0] = args
;
24720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24721 if (!SWIG_IsOK(res1
)) {
24722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24724 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= result
;
24738 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
= 0;
24740 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24741 PyObject
*arg2
= (PyObject
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 char * kwnames
[] = {
24747 (char *) "self",(char *) "data", NULL
24750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24752 if (!SWIG_IsOK(res1
)) {
24753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24755 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 wxPrintData_SetPrivData(arg1
,arg2
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= SWIG_Py_Void();
24770 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24773 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24774 return SWIG_Py_Void();
24777 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24778 return SWIG_Python_InitShadowInstance(args
);
24781 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24782 PyObject
*resultobj
= 0;
24783 wxPageSetupDialogData
*result
= 0 ;
24785 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24799 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24800 PyObject
*resultobj
= 0;
24801 wxPageSetupDialogData
*arg1
= 0 ;
24802 wxPageSetupDialogData
*result
= 0 ;
24806 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24808 if (!SWIG_IsOK(res1
)) {
24809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24814 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24828 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24829 PyObject
*resultobj
= 0;
24830 wxPrintData
*arg1
= 0 ;
24831 wxPageSetupDialogData
*result
= 0 ;
24835 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24837 if (!SWIG_IsOK(res1
)) {
24838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24843 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24857 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24861 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24864 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24869 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24870 _v
= SWIG_CheckState(res
);
24872 if (!_v
) goto check_2
;
24873 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24878 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24882 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24887 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24888 PyObject
*resultobj
= 0;
24889 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24892 PyObject
*swig_obj
[1] ;
24894 if (!args
) SWIG_fail
;
24895 swig_obj
[0] = args
;
24896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24897 if (!SWIG_IsOK(res1
)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24900 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 wxPyEndAllowThreads(__tstate
);
24906 if (PyErr_Occurred()) SWIG_fail
;
24908 resultobj
= SWIG_Py_Void();
24915 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24916 PyObject
*resultobj
= 0;
24917 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24923 PyObject
* obj0
= 0 ;
24924 PyObject
* obj1
= 0 ;
24925 char * kwnames
[] = {
24926 (char *) "self",(char *) "flag", NULL
24929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24931 if (!SWIG_IsOK(res1
)) {
24932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24934 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24935 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24936 if (!SWIG_IsOK(ecode2
)) {
24937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24939 arg2
= static_cast< bool >(val2
);
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 (arg1
)->EnableHelp(arg2
);
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_Py_Void();
24953 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
= 0;
24955 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24961 PyObject
* obj0
= 0 ;
24962 PyObject
* obj1
= 0 ;
24963 char * kwnames
[] = {
24964 (char *) "self",(char *) "flag", NULL
24967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24969 if (!SWIG_IsOK(res1
)) {
24970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24972 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24973 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24974 if (!SWIG_IsOK(ecode2
)) {
24975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24977 arg2
= static_cast< bool >(val2
);
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 (arg1
)->EnableMargins(arg2
);
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= SWIG_Py_Void();
24991 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
= 0;
24993 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24999 PyObject
* obj0
= 0 ;
25000 PyObject
* obj1
= 0 ;
25001 char * kwnames
[] = {
25002 (char *) "self",(char *) "flag", NULL
25005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25007 if (!SWIG_IsOK(res1
)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25010 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25011 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25012 if (!SWIG_IsOK(ecode2
)) {
25013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25015 arg2
= static_cast< bool >(val2
);
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 (arg1
)->EnableOrientation(arg2
);
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= SWIG_Py_Void();
25029 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
= 0;
25031 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25037 PyObject
* obj0
= 0 ;
25038 PyObject
* obj1
= 0 ;
25039 char * kwnames
[] = {
25040 (char *) "self",(char *) "flag", NULL
25043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25045 if (!SWIG_IsOK(res1
)) {
25046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25048 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25049 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25050 if (!SWIG_IsOK(ecode2
)) {
25051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25053 arg2
= static_cast< bool >(val2
);
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 (arg1
)->EnablePaper(arg2
);
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= SWIG_Py_Void();
25067 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25068 PyObject
*resultobj
= 0;
25069 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25075 PyObject
* obj0
= 0 ;
25076 PyObject
* obj1
= 0 ;
25077 char * kwnames
[] = {
25078 (char *) "self",(char *) "flag", NULL
25081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25083 if (!SWIG_IsOK(res1
)) {
25084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25086 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25087 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25088 if (!SWIG_IsOK(ecode2
)) {
25089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25091 arg2
= static_cast< bool >(val2
);
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 (arg1
)->EnablePrinter(arg2
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 resultobj
= SWIG_Py_Void();
25105 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25106 PyObject
*resultobj
= 0;
25107 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25111 PyObject
*swig_obj
[1] ;
25113 if (!args
) SWIG_fail
;
25114 swig_obj
[0] = args
;
25115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25116 if (!SWIG_IsOK(res1
)) {
25117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25119 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 result
= (bool)(arg1
)->GetDefaultMinMargins();
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25135 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25136 PyObject
*resultobj
= 0;
25137 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25141 PyObject
*swig_obj
[1] ;
25143 if (!args
) SWIG_fail
;
25144 swig_obj
[0] = args
;
25145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25146 if (!SWIG_IsOK(res1
)) {
25147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25149 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 result
= (bool)(arg1
)->GetEnableMargins();
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25165 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25166 PyObject
*resultobj
= 0;
25167 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25171 PyObject
*swig_obj
[1] ;
25173 if (!args
) SWIG_fail
;
25174 swig_obj
[0] = args
;
25175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25176 if (!SWIG_IsOK(res1
)) {
25177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25179 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (bool)(arg1
)->GetEnableOrientation();
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25195 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25196 PyObject
*resultobj
= 0;
25197 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25201 PyObject
*swig_obj
[1] ;
25203 if (!args
) SWIG_fail
;
25204 swig_obj
[0] = args
;
25205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25206 if (!SWIG_IsOK(res1
)) {
25207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25209 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 result
= (bool)(arg1
)->GetEnablePaper();
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25225 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25226 PyObject
*resultobj
= 0;
25227 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25231 PyObject
*swig_obj
[1] ;
25233 if (!args
) SWIG_fail
;
25234 swig_obj
[0] = args
;
25235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25236 if (!SWIG_IsOK(res1
)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25239 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 result
= (bool)(arg1
)->GetEnablePrinter();
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25255 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25256 PyObject
*resultobj
= 0;
25257 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25261 PyObject
*swig_obj
[1] ;
25263 if (!args
) SWIG_fail
;
25264 swig_obj
[0] = args
;
25265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25266 if (!SWIG_IsOK(res1
)) {
25267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25269 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 result
= (bool)(arg1
)->GetEnableHelp();
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25285 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25286 PyObject
*resultobj
= 0;
25287 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25291 PyObject
*swig_obj
[1] ;
25293 if (!args
) SWIG_fail
;
25294 swig_obj
[0] = args
;
25295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25296 if (!SWIG_IsOK(res1
)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25299 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 result
= (bool)(arg1
)->GetDefaultInfo();
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25315 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25316 PyObject
*resultobj
= 0;
25317 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25321 PyObject
*swig_obj
[1] ;
25323 if (!args
) SWIG_fail
;
25324 swig_obj
[0] = args
;
25325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25326 if (!SWIG_IsOK(res1
)) {
25327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25329 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= (arg1
)->GetMarginTopLeft();
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25343 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25344 PyObject
*resultobj
= 0;
25345 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25349 PyObject
*swig_obj
[1] ;
25351 if (!args
) SWIG_fail
;
25352 swig_obj
[0] = args
;
25353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25354 if (!SWIG_IsOK(res1
)) {
25355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25357 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 result
= (arg1
)->GetMarginBottomRight();
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25364 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25371 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25372 PyObject
*resultobj
= 0;
25373 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25377 PyObject
*swig_obj
[1] ;
25379 if (!args
) SWIG_fail
;
25380 swig_obj
[0] = args
;
25381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25382 if (!SWIG_IsOK(res1
)) {
25383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25385 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 result
= (arg1
)->GetMinMarginTopLeft();
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25399 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25400 PyObject
*resultobj
= 0;
25401 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25405 PyObject
*swig_obj
[1] ;
25407 if (!args
) SWIG_fail
;
25408 swig_obj
[0] = args
;
25409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25410 if (!SWIG_IsOK(res1
)) {
25411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25413 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= (arg1
)->GetMinMarginBottomRight();
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25427 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25428 PyObject
*resultobj
= 0;
25429 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25430 wxPaperSize result
;
25433 PyObject
*swig_obj
[1] ;
25435 if (!args
) SWIG_fail
;
25436 swig_obj
[0] = args
;
25437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25438 if (!SWIG_IsOK(res1
)) {
25439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25441 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25448 resultobj
= SWIG_From_int(static_cast< int >(result
));
25455 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25456 PyObject
*resultobj
= 0;
25457 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25461 PyObject
*swig_obj
[1] ;
25463 if (!args
) SWIG_fail
;
25464 swig_obj
[0] = args
;
25465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25466 if (!SWIG_IsOK(res1
)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25469 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25472 result
= (arg1
)->GetPaperSize();
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25483 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25484 PyObject
*resultobj
= 0;
25485 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25486 wxPrintData
*result
= 0 ;
25489 PyObject
*swig_obj
[1] ;
25491 if (!args
) SWIG_fail
;
25492 swig_obj
[0] = args
;
25493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25494 if (!SWIG_IsOK(res1
)) {
25495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25497 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25501 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25502 result
= (wxPrintData
*) &_result_ref
;
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25514 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25515 PyObject
*resultobj
= 0;
25516 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25520 PyObject
*swig_obj
[1] ;
25522 if (!args
) SWIG_fail
;
25523 swig_obj
[0] = args
;
25524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25525 if (!SWIG_IsOK(res1
)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25528 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 result
= (bool)(arg1
)->IsOk();
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25544 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
= 0;
25546 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25552 PyObject
* obj0
= 0 ;
25553 PyObject
* obj1
= 0 ;
25554 char * kwnames
[] = {
25555 (char *) "self",(char *) "flag", NULL
25558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25560 if (!SWIG_IsOK(res1
)) {
25561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25563 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25564 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25565 if (!SWIG_IsOK(ecode2
)) {
25566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25568 arg2
= static_cast< bool >(val2
);
25570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 (arg1
)->SetDefaultInfo(arg2
);
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 resultobj
= SWIG_Py_Void();
25582 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
= 0;
25584 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25590 PyObject
* obj0
= 0 ;
25591 PyObject
* obj1
= 0 ;
25592 char * kwnames
[] = {
25593 (char *) "self",(char *) "flag", NULL
25596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25598 if (!SWIG_IsOK(res1
)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25601 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25602 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25603 if (!SWIG_IsOK(ecode2
)) {
25604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25606 arg2
= static_cast< bool >(val2
);
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 (arg1
)->SetDefaultMinMargins(arg2
);
25610 wxPyEndAllowThreads(__tstate
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25613 resultobj
= SWIG_Py_Void();
25620 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25621 PyObject
*resultobj
= 0;
25622 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25623 wxPoint
*arg2
= 0 ;
25627 PyObject
* obj0
= 0 ;
25628 PyObject
* obj1
= 0 ;
25629 char * kwnames
[] = {
25630 (char *) "self",(char *) "pt", NULL
25633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25635 if (!SWIG_IsOK(res1
)) {
25636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25638 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25645 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= SWIG_Py_Void();
25656 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25657 PyObject
*resultobj
= 0;
25658 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25659 wxPoint
*arg2
= 0 ;
25663 PyObject
* obj0
= 0 ;
25664 PyObject
* obj1
= 0 ;
25665 char * kwnames
[] = {
25666 (char *) "self",(char *) "pt", NULL
25669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25671 if (!SWIG_IsOK(res1
)) {
25672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25674 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25677 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= SWIG_Py_Void();
25692 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
= 0;
25694 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25695 wxPoint
*arg2
= 0 ;
25699 PyObject
* obj0
= 0 ;
25700 PyObject
* obj1
= 0 ;
25701 char * kwnames
[] = {
25702 (char *) "self",(char *) "pt", NULL
25705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25707 if (!SWIG_IsOK(res1
)) {
25708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25710 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25713 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25718 wxPyEndAllowThreads(__tstate
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25721 resultobj
= SWIG_Py_Void();
25728 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25729 PyObject
*resultobj
= 0;
25730 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25731 wxPoint
*arg2
= 0 ;
25735 PyObject
* obj0
= 0 ;
25736 PyObject
* obj1
= 0 ;
25737 char * kwnames
[] = {
25738 (char *) "self",(char *) "pt", NULL
25741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25743 if (!SWIG_IsOK(res1
)) {
25744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25746 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25749 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= SWIG_Py_Void();
25764 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25765 PyObject
*resultobj
= 0;
25766 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25772 PyObject
* obj0
= 0 ;
25773 PyObject
* obj1
= 0 ;
25774 char * kwnames
[] = {
25775 (char *) "self",(char *) "id", NULL
25778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25780 if (!SWIG_IsOK(res1
)) {
25781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25783 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25785 if (!SWIG_IsOK(ecode2
)) {
25786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25788 arg2
= static_cast< wxPaperSize
>(val2
);
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 (arg1
)->SetPaperId(arg2
);
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25795 resultobj
= SWIG_Py_Void();
25802 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25803 PyObject
*resultobj
= 0;
25804 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25809 PyObject
* obj0
= 0 ;
25810 PyObject
* obj1
= 0 ;
25811 char * kwnames
[] = {
25812 (char *) "self",(char *) "size", NULL
25815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25817 if (!SWIG_IsOK(res1
)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25820 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25823 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 resultobj
= SWIG_Py_Void();
25838 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
= 0;
25840 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25841 wxPrintData
*arg2
= 0 ;
25846 PyObject
* obj0
= 0 ;
25847 PyObject
* obj1
= 0 ;
25848 char * kwnames
[] = {
25849 (char *) "self",(char *) "printData", NULL
25852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25854 if (!SWIG_IsOK(res1
)) {
25855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25857 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25859 if (!SWIG_IsOK(res2
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25865 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25872 resultobj
= SWIG_Py_Void();
25879 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25880 PyObject
*resultobj
= 0;
25881 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25884 PyObject
*swig_obj
[1] ;
25886 if (!args
) SWIG_fail
;
25887 swig_obj
[0] = args
;
25888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25889 if (!SWIG_IsOK(res1
)) {
25890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25892 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 (arg1
)->CalculateIdFromPaperSize();
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25899 resultobj
= SWIG_Py_Void();
25906 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25907 PyObject
*resultobj
= 0;
25908 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25911 PyObject
*swig_obj
[1] ;
25913 if (!args
) SWIG_fail
;
25914 swig_obj
[0] = args
;
25915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25916 if (!SWIG_IsOK(res1
)) {
25917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25919 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 (arg1
)->CalculatePaperSizeFromId();
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 resultobj
= SWIG_Py_Void();
25933 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25935 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25936 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25937 return SWIG_Py_Void();
25940 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25941 return SWIG_Python_InitShadowInstance(args
);
25944 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
= 0;
25946 wxWindow
*arg1
= (wxWindow
*) 0 ;
25947 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25948 wxPageSetupDialog
*result
= 0 ;
25953 PyObject
* obj0
= 0 ;
25954 PyObject
* obj1
= 0 ;
25955 char * kwnames
[] = {
25956 (char *) "parent",(char *) "data", NULL
25959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25961 if (!SWIG_IsOK(res1
)) {
25962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25964 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25967 if (!SWIG_IsOK(res2
)) {
25968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25970 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25973 if (!wxPyCheckForApp()) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25986 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25987 PyObject
*resultobj
= 0;
25988 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25991 PyObject
*swig_obj
[1] ;
25993 if (!args
) SWIG_fail
;
25994 swig_obj
[0] = args
;
25995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25996 if (!SWIG_IsOK(res1
)) {
25997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25999 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= SWIG_Py_Void();
26014 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26015 PyObject
*resultobj
= 0;
26016 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26017 wxPageSetupDialogData
*result
= 0 ;
26020 PyObject
*swig_obj
[1] ;
26022 if (!args
) SWIG_fail
;
26023 swig_obj
[0] = args
;
26024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26025 if (!SWIG_IsOK(res1
)) {
26026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26028 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26033 result
= (wxPageSetupDialogData
*) &_result_ref
;
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26045 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26046 PyObject
*resultobj
= 0;
26047 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26048 wxPageSetupDialogData
*result
= 0 ;
26051 PyObject
*swig_obj
[1] ;
26053 if (!args
) SWIG_fail
;
26054 swig_obj
[0] = args
;
26055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26056 if (!SWIG_IsOK(res1
)) {
26057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26059 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26064 result
= (wxPageSetupDialogData
*) &_result_ref
;
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26076 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26077 PyObject
*resultobj
= 0;
26078 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26082 PyObject
*swig_obj
[1] ;
26084 if (!args
) SWIG_fail
;
26085 swig_obj
[0] = args
;
26086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26087 if (!SWIG_IsOK(res1
)) {
26088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26090 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 result
= (int)(arg1
)->ShowModal();
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_From_int(static_cast< int >(result
));
26104 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26107 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26108 return SWIG_Py_Void();
26111 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26112 return SWIG_Python_InitShadowInstance(args
);
26115 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26116 PyObject
*resultobj
= 0;
26117 wxPrintDialogData
*result
= 0 ;
26119 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26133 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26134 PyObject
*resultobj
= 0;
26135 wxPrintData
*arg1
= 0 ;
26136 wxPrintDialogData
*result
= 0 ;
26140 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26142 if (!SWIG_IsOK(res1
)) {
26143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26148 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26162 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26163 PyObject
*resultobj
= 0;
26164 wxPrintDialogData
*arg1
= 0 ;
26165 wxPrintDialogData
*result
= 0 ;
26169 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26171 if (!SWIG_IsOK(res1
)) {
26172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26177 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26180 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26191 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26195 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26198 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26203 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26204 _v
= SWIG_CheckState(res
);
26206 if (!_v
) goto check_2
;
26207 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26212 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26216 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26221 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26222 PyObject
*resultobj
= 0;
26223 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26226 PyObject
*swig_obj
[1] ;
26228 if (!args
) SWIG_fail
;
26229 swig_obj
[0] = args
;
26230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26231 if (!SWIG_IsOK(res1
)) {
26232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26234 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= SWIG_Py_Void();
26249 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26250 PyObject
*resultobj
= 0;
26251 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26255 PyObject
*swig_obj
[1] ;
26257 if (!args
) SWIG_fail
;
26258 swig_obj
[0] = args
;
26259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26260 if (!SWIG_IsOK(res1
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26263 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= SWIG_From_int(static_cast< int >(result
));
26277 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26278 PyObject
*resultobj
= 0;
26279 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26283 PyObject
*swig_obj
[1] ;
26285 if (!args
) SWIG_fail
;
26286 swig_obj
[0] = args
;
26287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26288 if (!SWIG_IsOK(res1
)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26291 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_From_int(static_cast< int >(result
));
26305 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26306 PyObject
*resultobj
= 0;
26307 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26311 PyObject
*swig_obj
[1] ;
26313 if (!args
) SWIG_fail
;
26314 swig_obj
[0] = args
;
26315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26316 if (!SWIG_IsOK(res1
)) {
26317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26319 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26326 resultobj
= SWIG_From_int(static_cast< int >(result
));
26333 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26334 PyObject
*resultobj
= 0;
26335 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26339 PyObject
*swig_obj
[1] ;
26341 if (!args
) SWIG_fail
;
26342 swig_obj
[0] = args
;
26343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26344 if (!SWIG_IsOK(res1
)) {
26345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26347 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26351 wxPyEndAllowThreads(__tstate
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26354 resultobj
= SWIG_From_int(static_cast< int >(result
));
26361 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26362 PyObject
*resultobj
= 0;
26363 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26367 PyObject
*swig_obj
[1] ;
26369 if (!args
) SWIG_fail
;
26370 swig_obj
[0] = args
;
26371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26372 if (!SWIG_IsOK(res1
)) {
26373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26375 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= SWIG_From_int(static_cast< int >(result
));
26389 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26390 PyObject
*resultobj
= 0;
26391 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26395 PyObject
*swig_obj
[1] ;
26397 if (!args
) SWIG_fail
;
26398 swig_obj
[0] = args
;
26399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26400 if (!SWIG_IsOK(res1
)) {
26401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26403 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26419 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26420 PyObject
*resultobj
= 0;
26421 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26425 PyObject
*swig_obj
[1] ;
26427 if (!args
) SWIG_fail
;
26428 swig_obj
[0] = args
;
26429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26430 if (!SWIG_IsOK(res1
)) {
26431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26433 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26449 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26450 PyObject
*resultobj
= 0;
26451 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26455 PyObject
*swig_obj
[1] ;
26457 if (!args
) SWIG_fail
;
26458 swig_obj
[0] = args
;
26459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26460 if (!SWIG_IsOK(res1
)) {
26461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26463 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26479 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26480 PyObject
*resultobj
= 0;
26481 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26485 PyObject
*swig_obj
[1] ;
26487 if (!args
) SWIG_fail
;
26488 swig_obj
[0] = args
;
26489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26490 if (!SWIG_IsOK(res1
)) {
26491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26493 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26509 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
= 0;
26511 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26517 PyObject
* obj0
= 0 ;
26518 PyObject
* obj1
= 0 ;
26519 char * kwnames
[] = {
26520 (char *) "self",(char *) "v", NULL
26523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26525 if (!SWIG_IsOK(res1
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26528 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26530 if (!SWIG_IsOK(ecode2
)) {
26531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26533 arg2
= static_cast< int >(val2
);
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26536 (arg1
)->SetFromPage(arg2
);
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= SWIG_Py_Void();
26547 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
= 0;
26549 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26555 PyObject
* obj0
= 0 ;
26556 PyObject
* obj1
= 0 ;
26557 char * kwnames
[] = {
26558 (char *) "self",(char *) "v", NULL
26561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26563 if (!SWIG_IsOK(res1
)) {
26564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26566 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26568 if (!SWIG_IsOK(ecode2
)) {
26569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26571 arg2
= static_cast< int >(val2
);
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 (arg1
)->SetToPage(arg2
);
26575 wxPyEndAllowThreads(__tstate
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26578 resultobj
= SWIG_Py_Void();
26585 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26586 PyObject
*resultobj
= 0;
26587 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26593 PyObject
* obj0
= 0 ;
26594 PyObject
* obj1
= 0 ;
26595 char * kwnames
[] = {
26596 (char *) "self",(char *) "v", NULL
26599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26601 if (!SWIG_IsOK(res1
)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26604 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26606 if (!SWIG_IsOK(ecode2
)) {
26607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26609 arg2
= static_cast< int >(val2
);
26611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26612 (arg1
)->SetMinPage(arg2
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 resultobj
= SWIG_Py_Void();
26623 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
= 0;
26625 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 PyObject
* obj1
= 0 ;
26633 char * kwnames
[] = {
26634 (char *) "self",(char *) "v", NULL
26637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26639 if (!SWIG_IsOK(res1
)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26642 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26644 if (!SWIG_IsOK(ecode2
)) {
26645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26647 arg2
= static_cast< int >(val2
);
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 (arg1
)->SetMaxPage(arg2
);
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= SWIG_Py_Void();
26661 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26662 PyObject
*resultobj
= 0;
26663 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26669 PyObject
* obj0
= 0 ;
26670 PyObject
* obj1
= 0 ;
26671 char * kwnames
[] = {
26672 (char *) "self",(char *) "v", NULL
26675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26677 if (!SWIG_IsOK(res1
)) {
26678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26680 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26682 if (!SWIG_IsOK(ecode2
)) {
26683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26685 arg2
= static_cast< int >(val2
);
26687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26688 (arg1
)->SetNoCopies(arg2
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= SWIG_Py_Void();
26699 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
= 0;
26701 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 PyObject
* obj1
= 0 ;
26709 char * kwnames
[] = {
26710 (char *) "self",(char *) "flag", NULL
26713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26715 if (!SWIG_IsOK(res1
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26718 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26719 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26720 if (!SWIG_IsOK(ecode2
)) {
26721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26723 arg2
= static_cast< bool >(val2
);
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 (arg1
)->SetAllPages(arg2
);
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 resultobj
= SWIG_Py_Void();
26737 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
= 0;
26739 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26745 PyObject
* obj0
= 0 ;
26746 PyObject
* obj1
= 0 ;
26747 char * kwnames
[] = {
26748 (char *) "self",(char *) "flag", NULL
26751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26753 if (!SWIG_IsOK(res1
)) {
26754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26756 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26757 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26758 if (!SWIG_IsOK(ecode2
)) {
26759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26761 arg2
= static_cast< bool >(val2
);
26763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 (arg1
)->SetSelection(arg2
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= SWIG_Py_Void();
26775 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
= 0;
26777 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26783 PyObject
* obj0
= 0 ;
26784 PyObject
* obj1
= 0 ;
26785 char * kwnames
[] = {
26786 (char *) "self",(char *) "flag", NULL
26789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26791 if (!SWIG_IsOK(res1
)) {
26792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26794 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26795 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26796 if (!SWIG_IsOK(ecode2
)) {
26797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26799 arg2
= static_cast< bool >(val2
);
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 (arg1
)->SetCollate(arg2
);
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= SWIG_Py_Void();
26813 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
= 0;
26815 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26821 PyObject
* obj0
= 0 ;
26822 PyObject
* obj1
= 0 ;
26823 char * kwnames
[] = {
26824 (char *) "self",(char *) "flag", NULL
26827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26829 if (!SWIG_IsOK(res1
)) {
26830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26832 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26833 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26834 if (!SWIG_IsOK(ecode2
)) {
26835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26837 arg2
= static_cast< bool >(val2
);
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 (arg1
)->SetPrintToFile(arg2
);
26841 wxPyEndAllowThreads(__tstate
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26844 resultobj
= SWIG_Py_Void();
26851 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
= 0;
26853 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 char * kwnames
[] = {
26862 (char *) "self",(char *) "flag", NULL
26865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26867 if (!SWIG_IsOK(res1
)) {
26868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26870 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26871 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26872 if (!SWIG_IsOK(ecode2
)) {
26873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26875 arg2
= static_cast< bool >(val2
);
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 (arg1
)->EnablePrintToFile(arg2
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 resultobj
= SWIG_Py_Void();
26889 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
= 0;
26891 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26897 PyObject
* obj0
= 0 ;
26898 PyObject
* obj1
= 0 ;
26899 char * kwnames
[] = {
26900 (char *) "self",(char *) "flag", NULL
26903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26905 if (!SWIG_IsOK(res1
)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26908 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26909 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26910 if (!SWIG_IsOK(ecode2
)) {
26911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26913 arg2
= static_cast< bool >(val2
);
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 (arg1
)->EnableSelection(arg2
);
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26920 resultobj
= SWIG_Py_Void();
26927 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
= 0;
26929 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26935 PyObject
* obj0
= 0 ;
26936 PyObject
* obj1
= 0 ;
26937 char * kwnames
[] = {
26938 (char *) "self",(char *) "flag", NULL
26941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26943 if (!SWIG_IsOK(res1
)) {
26944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26946 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26947 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26948 if (!SWIG_IsOK(ecode2
)) {
26949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26951 arg2
= static_cast< bool >(val2
);
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 (arg1
)->EnablePageNumbers(arg2
);
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26958 resultobj
= SWIG_Py_Void();
26965 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26966 PyObject
*resultobj
= 0;
26967 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26973 PyObject
* obj0
= 0 ;
26974 PyObject
* obj1
= 0 ;
26975 char * kwnames
[] = {
26976 (char *) "self",(char *) "flag", NULL
26979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26981 if (!SWIG_IsOK(res1
)) {
26982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26984 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26985 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26986 if (!SWIG_IsOK(ecode2
)) {
26987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26989 arg2
= static_cast< bool >(val2
);
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 (arg1
)->EnableHelp(arg2
);
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= SWIG_Py_Void();
27003 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27004 PyObject
*resultobj
= 0;
27005 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27009 PyObject
*swig_obj
[1] ;
27011 if (!args
) SWIG_fail
;
27012 swig_obj
[0] = args
;
27013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27014 if (!SWIG_IsOK(res1
)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27017 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27033 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27034 PyObject
*resultobj
= 0;
27035 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27039 PyObject
*swig_obj
[1] ;
27041 if (!args
) SWIG_fail
;
27042 swig_obj
[0] = args
;
27043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27044 if (!SWIG_IsOK(res1
)) {
27045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27047 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27063 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27064 PyObject
*resultobj
= 0;
27065 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27069 PyObject
*swig_obj
[1] ;
27071 if (!args
) SWIG_fail
;
27072 swig_obj
[0] = args
;
27073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27074 if (!SWIG_IsOK(res1
)) {
27075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27077 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27081 wxPyEndAllowThreads(__tstate
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27093 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27094 PyObject
*resultobj
= 0;
27095 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27099 PyObject
*swig_obj
[1] ;
27101 if (!args
) SWIG_fail
;
27102 swig_obj
[0] = args
;
27103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27104 if (!SWIG_IsOK(res1
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27107 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27123 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27124 PyObject
*resultobj
= 0;
27125 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27129 PyObject
*swig_obj
[1] ;
27131 if (!args
) SWIG_fail
;
27132 swig_obj
[0] = args
;
27133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27134 if (!SWIG_IsOK(res1
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27137 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27153 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27154 PyObject
*resultobj
= 0;
27155 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27156 wxPrintData
*result
= 0 ;
27159 PyObject
*swig_obj
[1] ;
27161 if (!args
) SWIG_fail
;
27162 swig_obj
[0] = args
;
27163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27164 if (!SWIG_IsOK(res1
)) {
27165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27167 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27171 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27172 result
= (wxPrintData
*) &_result_ref
;
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27184 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
= 0;
27186 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27187 wxPrintData
*arg2
= 0 ;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 char * kwnames
[] = {
27195 (char *) "self",(char *) "printData", NULL
27198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27203 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27205 if (!SWIG_IsOK(res2
)) {
27206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27211 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 resultobj
= SWIG_Py_Void();
27225 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27228 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27229 return SWIG_Py_Void();
27232 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27233 return SWIG_Python_InitShadowInstance(args
);
27236 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27237 PyObject
*resultobj
= 0;
27238 wxWindow
*arg1
= (wxWindow
*) 0 ;
27239 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27240 wxPrintDialog
*result
= 0 ;
27245 PyObject
* obj0
= 0 ;
27246 PyObject
* obj1
= 0 ;
27247 char * kwnames
[] = {
27248 (char *) "parent",(char *) "data", NULL
27251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27253 if (!SWIG_IsOK(res1
)) {
27254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27259 if (!SWIG_IsOK(res2
)) {
27260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27262 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27265 if (!wxPyCheckForApp()) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27278 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27279 PyObject
*resultobj
= 0;
27280 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27283 PyObject
*swig_obj
[1] ;
27285 if (!args
) SWIG_fail
;
27286 swig_obj
[0] = args
;
27287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27288 if (!SWIG_IsOK(res1
)) {
27289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27291 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27296 wxPyEndAllowThreads(__tstate
);
27297 if (PyErr_Occurred()) SWIG_fail
;
27299 resultobj
= SWIG_Py_Void();
27306 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27307 PyObject
*resultobj
= 0;
27308 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27312 PyObject
*swig_obj
[1] ;
27314 if (!args
) SWIG_fail
;
27315 swig_obj
[0] = args
;
27316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27317 if (!SWIG_IsOK(res1
)) {
27318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27320 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 result
= (int)(arg1
)->ShowModal();
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= SWIG_From_int(static_cast< int >(result
));
27334 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27335 PyObject
*resultobj
= 0;
27336 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27337 wxPrintDialogData
*result
= 0 ;
27340 PyObject
*swig_obj
[1] ;
27342 if (!args
) SWIG_fail
;
27343 swig_obj
[0] = args
;
27344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27345 if (!SWIG_IsOK(res1
)) {
27346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27348 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27352 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27353 result
= (wxPrintDialogData
*) &_result_ref
;
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27365 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27366 PyObject
*resultobj
= 0;
27367 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27368 wxPrintData
*result
= 0 ;
27371 PyObject
*swig_obj
[1] ;
27373 if (!args
) SWIG_fail
;
27374 swig_obj
[0] = args
;
27375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27376 if (!SWIG_IsOK(res1
)) {
27377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27379 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27384 result
= (wxPrintData
*) &_result_ref
;
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27396 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27397 PyObject
*resultobj
= 0;
27398 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27402 PyObject
*swig_obj
[1] ;
27404 if (!args
) SWIG_fail
;
27405 swig_obj
[0] = args
;
27406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27407 if (!SWIG_IsOK(res1
)) {
27408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27410 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 result
= (wxDC
*)(arg1
)->GetPrintDC();
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27426 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27429 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27430 return SWIG_Py_Void();
27433 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27434 return SWIG_Python_InitShadowInstance(args
);
27437 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
= 0;
27439 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27440 wxPrinter
*result
= 0 ;
27443 PyObject
* obj0
= 0 ;
27444 char * kwnames
[] = {
27445 (char *) "data", NULL
27448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27451 if (!SWIG_IsOK(res1
)) {
27452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27454 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27457 if (!wxPyCheckForApp()) SWIG_fail
;
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= (wxPrinter
*)new wxPrinter(arg1
);
27460 wxPyEndAllowThreads(__tstate
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27470 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27471 PyObject
*resultobj
= 0;
27472 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27475 PyObject
*swig_obj
[1] ;
27477 if (!args
) SWIG_fail
;
27478 swig_obj
[0] = args
;
27479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27480 if (!SWIG_IsOK(res1
)) {
27481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27483 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27491 resultobj
= SWIG_Py_Void();
27498 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27499 PyObject
*resultobj
= 0;
27500 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27501 wxWindow
*arg2
= (wxWindow
*) 0 ;
27502 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27503 wxWindow
*result
= 0 ;
27510 PyObject
* obj0
= 0 ;
27511 PyObject
* obj1
= 0 ;
27512 PyObject
* obj2
= 0 ;
27513 char * kwnames
[] = {
27514 (char *) "self",(char *) "parent",(char *) "printout", NULL
27517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27519 if (!SWIG_IsOK(res1
)) {
27520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27522 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27524 if (!SWIG_IsOK(res2
)) {
27525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27527 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27528 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27529 if (!SWIG_IsOK(res3
)) {
27530 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27532 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27540 resultobj
= wxPyMake_wxObject(result
, 0);
27548 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
= 0;
27550 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27551 wxWindow
*arg2
= (wxWindow
*) 0 ;
27552 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27553 wxString
*arg4
= 0 ;
27560 bool temp4
= false ;
27561 PyObject
* obj0
= 0 ;
27562 PyObject
* obj1
= 0 ;
27563 PyObject
* obj2
= 0 ;
27564 PyObject
* obj3
= 0 ;
27565 char * kwnames
[] = {
27566 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27571 if (!SWIG_IsOK(res1
)) {
27572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27574 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27576 if (!SWIG_IsOK(res2
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27579 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27580 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27581 if (!SWIG_IsOK(res3
)) {
27582 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27584 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27586 arg4
= wxString_in_helper(obj3
);
27587 if (arg4
== NULL
) SWIG_fail
;
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27592 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27593 wxPyEndAllowThreads(__tstate
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27596 resultobj
= SWIG_Py_Void();
27611 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27612 PyObject
*resultobj
= 0;
27613 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27614 wxWindow
*arg2
= (wxWindow
*) 0 ;
27620 PyObject
* obj0
= 0 ;
27621 PyObject
* obj1
= 0 ;
27622 char * kwnames
[] = {
27623 (char *) "self",(char *) "parent", NULL
27626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27628 if (!SWIG_IsOK(res1
)) {
27629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27631 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27632 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27633 if (!SWIG_IsOK(res2
)) {
27634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27636 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27639 result
= (bool)(arg1
)->Setup(arg2
);
27640 wxPyEndAllowThreads(__tstate
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27652 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27653 PyObject
*resultobj
= 0;
27654 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27655 wxWindow
*arg2
= (wxWindow
*) 0 ;
27656 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27657 bool arg4
= (bool) true ;
27667 PyObject
* obj0
= 0 ;
27668 PyObject
* obj1
= 0 ;
27669 PyObject
* obj2
= 0 ;
27670 PyObject
* obj3
= 0 ;
27671 char * kwnames
[] = {
27672 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27677 if (!SWIG_IsOK(res1
)) {
27678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27680 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27681 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27682 if (!SWIG_IsOK(res2
)) {
27683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27685 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27686 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27687 if (!SWIG_IsOK(res3
)) {
27688 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27690 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27692 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27693 if (!SWIG_IsOK(ecode4
)) {
27694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27696 arg4
= static_cast< bool >(val4
);
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27713 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
= 0;
27715 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27716 wxWindow
*arg2
= (wxWindow
*) 0 ;
27722 PyObject
* obj0
= 0 ;
27723 PyObject
* obj1
= 0 ;
27724 char * kwnames
[] = {
27725 (char *) "self",(char *) "parent", NULL
27728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27730 if (!SWIG_IsOK(res1
)) {
27731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27733 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27735 if (!SWIG_IsOK(res2
)) {
27736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27738 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27746 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27754 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27755 PyObject
*resultobj
= 0;
27756 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27757 wxPrintDialogData
*result
= 0 ;
27760 PyObject
*swig_obj
[1] ;
27762 if (!args
) SWIG_fail
;
27763 swig_obj
[0] = args
;
27764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27765 if (!SWIG_IsOK(res1
)) {
27766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27768 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27773 result
= (wxPrintDialogData
*) &_result_ref
;
27775 wxPyEndAllowThreads(__tstate
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27785 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27786 PyObject
*resultobj
= 0;
27787 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27791 PyObject
*swig_obj
[1] ;
27793 if (!args
) SWIG_fail
;
27794 swig_obj
[0] = args
;
27795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27796 if (!SWIG_IsOK(res1
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27799 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 result
= (bool)(arg1
)->GetAbort();
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27815 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27816 PyObject
*resultobj
= 0;
27817 wxPrinterError result
;
27819 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27822 result
= (wxPrinterError
)wxPrinter::GetLastError();
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 resultobj
= SWIG_From_int(static_cast< int >(result
));
27833 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27836 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27837 return SWIG_Py_Void();
27840 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27841 return SWIG_Python_InitShadowInstance(args
);
27844 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
= 0;
27846 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27847 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27848 wxPyPrintout
*result
= 0 ;
27849 bool temp1
= false ;
27850 PyObject
* obj0
= 0 ;
27851 char * kwnames
[] = {
27852 (char *) "title", NULL
27855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27858 arg1
= wxString_in_helper(obj0
);
27859 if (arg1
== NULL
) SWIG_fail
;
27864 if (!wxPyCheckForApp()) SWIG_fail
;
27865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27866 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27885 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27886 PyObject
*resultobj
= 0;
27887 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27890 PyObject
*swig_obj
[1] ;
27892 if (!args
) SWIG_fail
;
27893 swig_obj
[0] = args
;
27894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27895 if (!SWIG_IsOK(res1
)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27898 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 wxPyEndAllowThreads(__tstate
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27906 resultobj
= SWIG_Py_Void();
27913 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
= 0;
27915 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27916 PyObject
*arg2
= (PyObject
*) 0 ;
27917 PyObject
*arg3
= (PyObject
*) 0 ;
27920 PyObject
* obj0
= 0 ;
27921 PyObject
* obj1
= 0 ;
27922 PyObject
* obj2
= 0 ;
27923 char * kwnames
[] = {
27924 (char *) "self",(char *) "self",(char *) "_class", NULL
27927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27929 if (!SWIG_IsOK(res1
)) {
27930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27932 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27937 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27938 wxPyEndAllowThreads(__tstate
);
27939 if (PyErr_Occurred()) SWIG_fail
;
27941 resultobj
= SWIG_Py_Void();
27948 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27949 PyObject
*resultobj
= 0;
27950 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27954 PyObject
*swig_obj
[1] ;
27956 if (!args
) SWIG_fail
;
27957 swig_obj
[0] = args
;
27958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27959 if (!SWIG_IsOK(res1
)) {
27960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27962 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27965 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27966 wxPyEndAllowThreads(__tstate
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27982 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27983 PyObject
*resultobj
= 0;
27984 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27988 PyObject
*swig_obj
[1] ;
27990 if (!args
) SWIG_fail
;
27991 swig_obj
[0] = args
;
27992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27993 if (!SWIG_IsOK(res1
)) {
27994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27996 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27999 result
= (wxDC
*)(arg1
)->GetDC();
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28004 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28012 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
= 0;
28014 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28015 wxDC
*arg2
= (wxDC
*) 0 ;
28020 PyObject
* obj0
= 0 ;
28021 PyObject
* obj1
= 0 ;
28022 char * kwnames
[] = {
28023 (char *) "self",(char *) "dc", NULL
28026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28028 if (!SWIG_IsOK(res1
)) {
28029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28031 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28033 if (!SWIG_IsOK(res2
)) {
28034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28036 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 (arg1
)->SetDC(arg2
);
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 resultobj
= SWIG_Py_Void();
28050 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
= 0;
28052 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28057 PyObject
* obj0
= 0 ;
28058 PyObject
* obj1
= 0 ;
28059 char * kwnames
[] = {
28060 (char *) "self",(char *) "imageSize", NULL
28063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28065 if (!SWIG_IsOK(res1
)) {
28066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28068 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28071 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28079 resultobj
= SWIG_Py_Void();
28086 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
= 0;
28088 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28093 PyObject
* obj0
= 0 ;
28094 PyObject
* obj1
= 0 ;
28095 char * kwnames
[] = {
28096 (char *) "self",(char *) "imageSize", NULL
28099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28101 if (!SWIG_IsOK(res1
)) {
28102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28104 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28107 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= SWIG_Py_Void();
28122 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
= 0;
28124 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28126 wxPageSetupDialogData
*arg3
= 0 ;
28132 PyObject
* obj0
= 0 ;
28133 PyObject
* obj1
= 0 ;
28134 PyObject
* obj2
= 0 ;
28135 char * kwnames
[] = {
28136 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28141 if (!SWIG_IsOK(res1
)) {
28142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28144 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28147 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28149 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28150 if (!SWIG_IsOK(res3
)) {
28151 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28156 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28163 resultobj
= SWIG_Py_Void();
28170 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28171 PyObject
*resultobj
= 0;
28172 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28175 PyObject
*swig_obj
[1] ;
28177 if (!args
) SWIG_fail
;
28178 swig_obj
[0] = args
;
28179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28180 if (!SWIG_IsOK(res1
)) {
28181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28183 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28186 (arg1
)->MapScreenSizeToPaper();
28187 wxPyEndAllowThreads(__tstate
);
28188 if (PyErr_Occurred()) SWIG_fail
;
28190 resultobj
= SWIG_Py_Void();
28197 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28198 PyObject
*resultobj
= 0;
28199 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28202 PyObject
*swig_obj
[1] ;
28204 if (!args
) SWIG_fail
;
28205 swig_obj
[0] = args
;
28206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28207 if (!SWIG_IsOK(res1
)) {
28208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28210 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28213 (arg1
)->MapScreenSizeToPage();
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28217 resultobj
= SWIG_Py_Void();
28224 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28225 PyObject
*resultobj
= 0;
28226 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28227 wxPageSetupDialogData
*arg2
= 0 ;
28232 PyObject
* obj0
= 0 ;
28233 PyObject
* obj1
= 0 ;
28234 char * kwnames
[] = {
28235 (char *) "self",(char *) "pageSetupData", NULL
28238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28243 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28245 if (!SWIG_IsOK(res2
)) {
28246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28251 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= SWIG_Py_Void();
28265 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28266 PyObject
*resultobj
= 0;
28267 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28270 PyObject
*swig_obj
[1] ;
28272 if (!args
) SWIG_fail
;
28273 swig_obj
[0] = args
;
28274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28275 if (!SWIG_IsOK(res1
)) {
28276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28278 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28281 (arg1
)->MapScreenSizeToDevice();
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28285 resultobj
= SWIG_Py_Void();
28292 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28293 PyObject
*resultobj
= 0;
28294 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28298 PyObject
*swig_obj
[1] ;
28300 if (!args
) SWIG_fail
;
28301 swig_obj
[0] = args
;
28302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28303 if (!SWIG_IsOK(res1
)) {
28304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28306 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28309 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28313 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28320 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28321 PyObject
*resultobj
= 0;
28322 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28326 PyObject
*swig_obj
[1] ;
28328 if (!args
) SWIG_fail
;
28329 swig_obj
[0] = args
;
28330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28331 if (!SWIG_IsOK(res1
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28334 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28341 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28348 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28349 PyObject
*resultobj
= 0;
28350 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28351 wxPageSetupDialogData
*arg2
= 0 ;
28357 PyObject
* obj0
= 0 ;
28358 PyObject
* obj1
= 0 ;
28359 char * kwnames
[] = {
28360 (char *) "self",(char *) "pageSetupData", NULL
28363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28365 if (!SWIG_IsOK(res1
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28368 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28370 if (!SWIG_IsOK(res2
)) {
28371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28376 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28379 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28383 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28390 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
= 0;
28392 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28401 PyObject
* obj0
= 0 ;
28402 PyObject
* obj1
= 0 ;
28403 PyObject
* obj2
= 0 ;
28404 char * kwnames
[] = {
28405 (char *) "self",(char *) "x",(char *) "y", NULL
28408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28410 if (!SWIG_IsOK(res1
)) {
28411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28413 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28415 if (!SWIG_IsOK(ecode2
)) {
28416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28418 arg2
= static_cast< int >(val2
);
28419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28420 if (!SWIG_IsOK(ecode3
)) {
28421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28423 arg3
= static_cast< int >(val3
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_Py_Void();
28437 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
= 0;
28439 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28448 PyObject
* obj0
= 0 ;
28449 PyObject
* obj1
= 0 ;
28450 PyObject
* obj2
= 0 ;
28451 char * kwnames
[] = {
28452 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28457 if (!SWIG_IsOK(res1
)) {
28458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28460 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28462 if (!SWIG_IsOK(ecode2
)) {
28463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28465 arg2
= static_cast< int >(val2
);
28466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28467 if (!SWIG_IsOK(ecode3
)) {
28468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28470 arg3
= static_cast< int >(val3
);
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28473 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28477 resultobj
= SWIG_Py_Void();
28484 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
= 0;
28486 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28495 PyObject
* obj0
= 0 ;
28496 PyObject
* obj1
= 0 ;
28497 PyObject
* obj2
= 0 ;
28498 char * kwnames
[] = {
28499 (char *) "self",(char *) "w",(char *) "h", NULL
28502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28504 if (!SWIG_IsOK(res1
)) {
28505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28507 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28509 if (!SWIG_IsOK(ecode2
)) {
28510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28512 arg2
= static_cast< int >(val2
);
28513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28514 if (!SWIG_IsOK(ecode3
)) {
28515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28517 arg3
= static_cast< int >(val3
);
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28521 wxPyEndAllowThreads(__tstate
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= SWIG_Py_Void();
28531 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28532 PyObject
*resultobj
= 0;
28533 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28534 int *arg2
= (int *) 0 ;
28535 int *arg3
= (int *) 0 ;
28539 int res2
= SWIG_TMPOBJ
;
28541 int res3
= SWIG_TMPOBJ
;
28542 PyObject
*swig_obj
[1] ;
28546 if (!args
) SWIG_fail
;
28547 swig_obj
[0] = args
;
28548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28549 if (!SWIG_IsOK(res1
)) {
28550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28552 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28555 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28556 wxPyEndAllowThreads(__tstate
);
28557 if (PyErr_Occurred()) SWIG_fail
;
28559 resultobj
= SWIG_Py_Void();
28560 if (SWIG_IsTmpObj(res2
)) {
28561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28563 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28566 if (SWIG_IsTmpObj(res3
)) {
28567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28569 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28578 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28579 PyObject
*resultobj
= 0;
28580 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28589 PyObject
* obj0
= 0 ;
28590 PyObject
* obj1
= 0 ;
28591 PyObject
* obj2
= 0 ;
28592 char * kwnames
[] = {
28593 (char *) "self",(char *) "w",(char *) "h", NULL
28596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28598 if (!SWIG_IsOK(res1
)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28601 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28603 if (!SWIG_IsOK(ecode2
)) {
28604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28606 arg2
= static_cast< int >(val2
);
28607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28608 if (!SWIG_IsOK(ecode3
)) {
28609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28611 arg3
= static_cast< int >(val3
);
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= SWIG_Py_Void();
28625 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28626 PyObject
*resultobj
= 0;
28627 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28628 int *arg2
= (int *) 0 ;
28629 int *arg3
= (int *) 0 ;
28633 int res2
= SWIG_TMPOBJ
;
28635 int res3
= SWIG_TMPOBJ
;
28636 PyObject
*swig_obj
[1] ;
28640 if (!args
) SWIG_fail
;
28641 swig_obj
[0] = args
;
28642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28643 if (!SWIG_IsOK(res1
)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28646 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28649 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= SWIG_Py_Void();
28654 if (SWIG_IsTmpObj(res2
)) {
28655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28657 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28660 if (SWIG_IsTmpObj(res3
)) {
28661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28663 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28672 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28673 PyObject
*resultobj
= 0;
28674 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28683 PyObject
* obj0
= 0 ;
28684 PyObject
* obj1
= 0 ;
28685 PyObject
* obj2
= 0 ;
28686 char * kwnames
[] = {
28687 (char *) "self",(char *) "x",(char *) "y", NULL
28690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28692 if (!SWIG_IsOK(res1
)) {
28693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28695 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28697 if (!SWIG_IsOK(ecode2
)) {
28698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28700 arg2
= static_cast< int >(val2
);
28701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28702 if (!SWIG_IsOK(ecode3
)) {
28703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28705 arg3
= static_cast< int >(val3
);
28707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28708 (arg1
)->SetPPIScreen(arg2
,arg3
);
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 resultobj
= SWIG_Py_Void();
28719 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28720 PyObject
*resultobj
= 0;
28721 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28722 int *arg2
= (int *) 0 ;
28723 int *arg3
= (int *) 0 ;
28727 int res2
= SWIG_TMPOBJ
;
28729 int res3
= SWIG_TMPOBJ
;
28730 PyObject
*swig_obj
[1] ;
28734 if (!args
) SWIG_fail
;
28735 swig_obj
[0] = args
;
28736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28737 if (!SWIG_IsOK(res1
)) {
28738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28740 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 (arg1
)->GetPPIScreen(arg2
,arg3
);
28744 wxPyEndAllowThreads(__tstate
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28747 resultobj
= SWIG_Py_Void();
28748 if (SWIG_IsTmpObj(res2
)) {
28749 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28751 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28752 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28754 if (SWIG_IsTmpObj(res3
)) {
28755 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28757 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28758 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28766 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
= 0;
28768 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28777 PyObject
* obj0
= 0 ;
28778 PyObject
* obj1
= 0 ;
28779 PyObject
* obj2
= 0 ;
28780 char * kwnames
[] = {
28781 (char *) "self",(char *) "x",(char *) "y", NULL
28784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28786 if (!SWIG_IsOK(res1
)) {
28787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28789 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28791 if (!SWIG_IsOK(ecode2
)) {
28792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28794 arg2
= static_cast< int >(val2
);
28795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28796 if (!SWIG_IsOK(ecode3
)) {
28797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28799 arg3
= static_cast< int >(val3
);
28801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28802 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28803 wxPyEndAllowThreads(__tstate
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28806 resultobj
= SWIG_Py_Void();
28813 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28814 PyObject
*resultobj
= 0;
28815 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28816 int *arg2
= (int *) 0 ;
28817 int *arg3
= (int *) 0 ;
28821 int res2
= SWIG_TMPOBJ
;
28823 int res3
= SWIG_TMPOBJ
;
28824 PyObject
*swig_obj
[1] ;
28828 if (!args
) SWIG_fail
;
28829 swig_obj
[0] = args
;
28830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28831 if (!SWIG_IsOK(res1
)) {
28832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28834 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 resultobj
= SWIG_Py_Void();
28842 if (SWIG_IsTmpObj(res2
)) {
28843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28845 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28848 if (SWIG_IsTmpObj(res3
)) {
28849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28851 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28860 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
= 0;
28862 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28867 PyObject
* obj0
= 0 ;
28868 PyObject
* obj1
= 0 ;
28869 char * kwnames
[] = {
28870 (char *) "self",(char *) "paperRectPixels", NULL
28873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28875 if (!SWIG_IsOK(res1
)) {
28876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28878 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28881 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28885 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28886 wxPyEndAllowThreads(__tstate
);
28887 if (PyErr_Occurred()) SWIG_fail
;
28889 resultobj
= SWIG_Py_Void();
28896 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28897 PyObject
*resultobj
= 0;
28898 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28902 PyObject
*swig_obj
[1] ;
28904 if (!args
) SWIG_fail
;
28905 swig_obj
[0] = args
;
28906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28907 if (!SWIG_IsOK(res1
)) {
28908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28910 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28913 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28924 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28925 PyObject
*resultobj
= 0;
28926 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28930 PyObject
*swig_obj
[1] ;
28932 if (!args
) SWIG_fail
;
28933 swig_obj
[0] = args
;
28934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28935 if (!SWIG_IsOK(res1
)) {
28936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28938 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 result
= (bool)(arg1
)->IsPreview();
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28954 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28955 PyObject
*resultobj
= 0;
28956 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28962 PyObject
* obj0
= 0 ;
28963 PyObject
* obj1
= 0 ;
28964 char * kwnames
[] = {
28965 (char *) "self",(char *) "p", NULL
28968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28970 if (!SWIG_IsOK(res1
)) {
28971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28973 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28974 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28975 if (!SWIG_IsOK(ecode2
)) {
28976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28978 arg2
= static_cast< bool >(val2
);
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 (arg1
)->SetIsPreview(arg2
);
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= SWIG_Py_Void();
28992 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28993 PyObject
*resultobj
= 0;
28994 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29004 PyObject
* obj0
= 0 ;
29005 PyObject
* obj1
= 0 ;
29006 PyObject
* obj2
= 0 ;
29007 char * kwnames
[] = {
29008 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29013 if (!SWIG_IsOK(res1
)) {
29014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29016 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29018 if (!SWIG_IsOK(ecode2
)) {
29019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29021 arg2
= static_cast< int >(val2
);
29022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29023 if (!SWIG_IsOK(ecode3
)) {
29024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29026 arg3
= static_cast< int >(val3
);
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29030 wxPyEndAllowThreads(__tstate
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29042 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29043 PyObject
*resultobj
= 0;
29044 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29047 PyObject
*swig_obj
[1] ;
29049 if (!args
) SWIG_fail
;
29050 swig_obj
[0] = args
;
29051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29052 if (!SWIG_IsOK(res1
)) {
29053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29055 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 (arg1
)->OnEndDocument();
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 resultobj
= SWIG_Py_Void();
29069 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29070 PyObject
*resultobj
= 0;
29071 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29074 PyObject
*swig_obj
[1] ;
29076 if (!args
) SWIG_fail
;
29077 swig_obj
[0] = args
;
29078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29079 if (!SWIG_IsOK(res1
)) {
29080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29082 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29085 (arg1
)->OnBeginPrinting();
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= SWIG_Py_Void();
29096 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29097 PyObject
*resultobj
= 0;
29098 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29101 PyObject
*swig_obj
[1] ;
29103 if (!args
) SWIG_fail
;
29104 swig_obj
[0] = args
;
29105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29106 if (!SWIG_IsOK(res1
)) {
29107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29109 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 (arg1
)->OnEndPrinting();
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= SWIG_Py_Void();
29123 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29124 PyObject
*resultobj
= 0;
29125 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29128 PyObject
*swig_obj
[1] ;
29130 if (!args
) SWIG_fail
;
29131 swig_obj
[0] = args
;
29132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29133 if (!SWIG_IsOK(res1
)) {
29134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29136 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29139 (arg1
)->OnPreparePrinting();
29140 wxPyEndAllowThreads(__tstate
);
29141 if (PyErr_Occurred()) SWIG_fail
;
29143 resultobj
= SWIG_Py_Void();
29150 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29151 PyObject
*resultobj
= 0;
29152 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29159 PyObject
* obj0
= 0 ;
29160 PyObject
* obj1
= 0 ;
29161 char * kwnames
[] = {
29162 (char *) "self",(char *) "page", NULL
29165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29167 if (!SWIG_IsOK(res1
)) {
29168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29170 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29172 if (!SWIG_IsOK(ecode2
)) {
29173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29175 arg2
= static_cast< int >(val2
);
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 result
= (bool)(arg1
)->HasPage(arg2
);
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29191 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29192 PyObject
*resultobj
= 0;
29193 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29194 int *arg2
= (int *) 0 ;
29195 int *arg3
= (int *) 0 ;
29196 int *arg4
= (int *) 0 ;
29197 int *arg5
= (int *) 0 ;
29201 int res2
= SWIG_TMPOBJ
;
29203 int res3
= SWIG_TMPOBJ
;
29205 int res4
= SWIG_TMPOBJ
;
29207 int res5
= SWIG_TMPOBJ
;
29208 PyObject
*swig_obj
[1] ;
29214 if (!args
) SWIG_fail
;
29215 swig_obj
[0] = args
;
29216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29217 if (!SWIG_IsOK(res1
)) {
29218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29220 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29223 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29224 wxPyEndAllowThreads(__tstate
);
29225 if (PyErr_Occurred()) SWIG_fail
;
29227 resultobj
= SWIG_Py_Void();
29228 if (SWIG_IsTmpObj(res2
)) {
29229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29231 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29234 if (SWIG_IsTmpObj(res3
)) {
29235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29237 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29240 if (SWIG_IsTmpObj(res4
)) {
29241 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29243 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29244 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29246 if (SWIG_IsTmpObj(res5
)) {
29247 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29249 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29258 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29261 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29262 return SWIG_Py_Void();
29265 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29266 return SWIG_Python_InitShadowInstance(args
);
29269 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
= 0;
29271 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29272 wxWindow
*arg2
= (wxWindow
*) 0 ;
29273 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29274 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29275 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29276 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29277 long arg5
= (long) 0 ;
29278 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29279 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29280 wxPreviewCanvas
*result
= 0 ;
29289 bool temp6
= false ;
29290 PyObject
* obj0
= 0 ;
29291 PyObject
* obj1
= 0 ;
29292 PyObject
* obj2
= 0 ;
29293 PyObject
* obj3
= 0 ;
29294 PyObject
* obj4
= 0 ;
29295 PyObject
* obj5
= 0 ;
29296 char * kwnames
[] = {
29297 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29302 if (!SWIG_IsOK(res1
)) {
29303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29305 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29307 if (!SWIG_IsOK(res2
)) {
29308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29310 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29314 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29320 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29324 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29325 if (!SWIG_IsOK(ecode5
)) {
29326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29328 arg5
= static_cast< long >(val5
);
29332 arg6
= wxString_in_helper(obj5
);
29333 if (arg6
== NULL
) SWIG_fail
;
29338 if (!wxPyCheckForApp()) SWIG_fail
;
29339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29340 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29359 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29362 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29363 return SWIG_Py_Void();
29366 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29367 return SWIG_Python_InitShadowInstance(args
);
29370 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29371 PyObject
*resultobj
= 0;
29372 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29373 wxFrame
*arg2
= (wxFrame
*) 0 ;
29374 wxString
*arg3
= 0 ;
29375 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29376 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29377 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29378 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29379 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29380 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29381 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29382 wxPreviewFrame
*result
= 0 ;
29386 bool temp3
= false ;
29391 bool temp7
= false ;
29392 PyObject
* obj0
= 0 ;
29393 PyObject
* obj1
= 0 ;
29394 PyObject
* obj2
= 0 ;
29395 PyObject
* obj3
= 0 ;
29396 PyObject
* obj4
= 0 ;
29397 PyObject
* obj5
= 0 ;
29398 PyObject
* obj6
= 0 ;
29399 char * kwnames
[] = {
29400 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29404 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29405 if (!SWIG_IsOK(res1
)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29409 if (!SWIG_IsOK(res2
)) {
29410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29412 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29414 arg3
= wxString_in_helper(obj2
);
29415 if (arg3
== NULL
) SWIG_fail
;
29421 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29427 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29431 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29432 if (!SWIG_IsOK(ecode6
)) {
29433 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29435 arg6
= static_cast< long >(val6
);
29439 arg7
= wxString_in_helper(obj6
);
29440 if (arg7
== NULL
) SWIG_fail
;
29445 if (!wxPyCheckForApp()) SWIG_fail
;
29446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29447 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29474 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29475 PyObject
*resultobj
= 0;
29476 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29479 PyObject
*swig_obj
[1] ;
29481 if (!args
) SWIG_fail
;
29482 swig_obj
[0] = args
;
29483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29484 if (!SWIG_IsOK(res1
)) {
29485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29487 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29490 (arg1
)->Initialize();
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29494 resultobj
= SWIG_Py_Void();
29501 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29502 PyObject
*resultobj
= 0;
29503 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29506 PyObject
*swig_obj
[1] ;
29508 if (!args
) SWIG_fail
;
29509 swig_obj
[0] = args
;
29510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29511 if (!SWIG_IsOK(res1
)) {
29512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29514 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 (arg1
)->CreateControlBar();
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29521 resultobj
= SWIG_Py_Void();
29528 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29529 PyObject
*resultobj
= 0;
29530 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29533 PyObject
*swig_obj
[1] ;
29535 if (!args
) SWIG_fail
;
29536 swig_obj
[0] = args
;
29537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29538 if (!SWIG_IsOK(res1
)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29541 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 (arg1
)->CreateCanvas();
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= SWIG_Py_Void();
29555 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29556 PyObject
*resultobj
= 0;
29557 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29558 wxPreviewControlBar
*result
= 0 ;
29561 PyObject
*swig_obj
[1] ;
29563 if (!args
) SWIG_fail
;
29564 swig_obj
[0] = args
;
29565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29566 if (!SWIG_IsOK(res1
)) {
29567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29569 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29573 wxPyEndAllowThreads(__tstate
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29583 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29586 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29587 return SWIG_Py_Void();
29590 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29591 return SWIG_Python_InitShadowInstance(args
);
29594 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29595 PyObject
*resultobj
= 0;
29596 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29598 wxWindow
*arg3
= (wxWindow
*) 0 ;
29599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29603 long arg6
= (long) wxTAB_TRAVERSAL
;
29604 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29605 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29606 wxPreviewControlBar
*result
= 0 ;
29617 bool temp7
= false ;
29618 PyObject
* obj0
= 0 ;
29619 PyObject
* obj1
= 0 ;
29620 PyObject
* obj2
= 0 ;
29621 PyObject
* obj3
= 0 ;
29622 PyObject
* obj4
= 0 ;
29623 PyObject
* obj5
= 0 ;
29624 PyObject
* obj6
= 0 ;
29625 char * kwnames
[] = {
29626 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29631 if (!SWIG_IsOK(res1
)) {
29632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29634 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29635 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29636 if (!SWIG_IsOK(ecode2
)) {
29637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29639 arg2
= static_cast< long >(val2
);
29640 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29641 if (!SWIG_IsOK(res3
)) {
29642 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29644 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29648 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29654 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29658 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29659 if (!SWIG_IsOK(ecode6
)) {
29660 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29662 arg6
= static_cast< long >(val6
);
29666 arg7
= wxString_in_helper(obj6
);
29667 if (arg7
== NULL
) SWIG_fail
;
29672 if (!wxPyCheckForApp()) SWIG_fail
;
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29693 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29694 PyObject
*resultobj
= 0;
29695 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29699 PyObject
*swig_obj
[1] ;
29701 if (!args
) SWIG_fail
;
29702 swig_obj
[0] = args
;
29703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29704 if (!SWIG_IsOK(res1
)) {
29705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29707 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 result
= (int)(arg1
)->GetZoomControl();
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29714 resultobj
= SWIG_From_int(static_cast< int >(result
));
29721 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29722 PyObject
*resultobj
= 0;
29723 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29729 PyObject
* obj0
= 0 ;
29730 PyObject
* obj1
= 0 ;
29731 char * kwnames
[] = {
29732 (char *) "self",(char *) "zoom", NULL
29735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29737 if (!SWIG_IsOK(res1
)) {
29738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29740 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29742 if (!SWIG_IsOK(ecode2
)) {
29743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29745 arg2
= static_cast< int >(val2
);
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 (arg1
)->SetZoomControl(arg2
);
29749 wxPyEndAllowThreads(__tstate
);
29750 if (PyErr_Occurred()) SWIG_fail
;
29752 resultobj
= SWIG_Py_Void();
29759 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29760 PyObject
*resultobj
= 0;
29761 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29762 wxPrintPreview
*result
= 0 ;
29765 PyObject
*swig_obj
[1] ;
29767 if (!args
) SWIG_fail
;
29768 swig_obj
[0] = args
;
29769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29770 if (!SWIG_IsOK(res1
)) {
29771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29773 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29777 wxPyEndAllowThreads(__tstate
);
29778 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29787 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29788 PyObject
*resultobj
= 0;
29789 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29792 PyObject
*swig_obj
[1] ;
29794 if (!args
) SWIG_fail
;
29795 swig_obj
[0] = args
;
29796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29797 if (!SWIG_IsOK(res1
)) {
29798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29800 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= SWIG_Py_Void();
29814 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29815 PyObject
*resultobj
= 0;
29816 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29819 PyObject
*swig_obj
[1] ;
29821 if (!args
) SWIG_fail
;
29822 swig_obj
[0] = args
;
29823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29824 if (!SWIG_IsOK(res1
)) {
29825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29827 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 (arg1
)->OnPrevious();
29831 wxPyEndAllowThreads(__tstate
);
29832 if (PyErr_Occurred()) SWIG_fail
;
29834 resultobj
= SWIG_Py_Void();
29841 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29842 PyObject
*resultobj
= 0;
29843 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29846 PyObject
*swig_obj
[1] ;
29848 if (!args
) SWIG_fail
;
29849 swig_obj
[0] = args
;
29850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29851 if (!SWIG_IsOK(res1
)) {
29852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29854 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 wxPyEndAllowThreads(__tstate
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29861 resultobj
= SWIG_Py_Void();
29868 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29869 PyObject
*resultobj
= 0;
29870 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29873 PyObject
*swig_obj
[1] ;
29875 if (!args
) SWIG_fail
;
29876 swig_obj
[0] = args
;
29877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29878 if (!SWIG_IsOK(res1
)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29881 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29888 resultobj
= SWIG_Py_Void();
29895 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29896 PyObject
*resultobj
= 0;
29897 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29900 PyObject
*swig_obj
[1] ;
29902 if (!args
) SWIG_fail
;
29903 swig_obj
[0] = args
;
29904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29905 if (!SWIG_IsOK(res1
)) {
29906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29908 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29915 resultobj
= SWIG_Py_Void();
29922 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29925 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29926 return SWIG_Py_Void();
29929 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29930 return SWIG_Python_InitShadowInstance(args
);
29933 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29934 PyObject
*resultobj
= 0;
29935 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29936 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29937 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29938 wxPrintPreview
*result
= 0 ;
29944 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29945 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29946 if (!SWIG_IsOK(res1
)) {
29947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29949 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29950 if (!SWIG_IsOK(res2
)) {
29951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29954 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29955 if (!SWIG_IsOK(res3
)) {
29956 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29958 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29961 if (!wxPyCheckForApp()) SWIG_fail
;
29962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29963 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29974 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29975 PyObject
*resultobj
= 0;
29976 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29977 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29978 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29979 wxPrintPreview
*result
= 0 ;
29985 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29986 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29987 if (!SWIG_IsOK(res1
)) {
29988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29990 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29991 if (!SWIG_IsOK(res2
)) {
29992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29994 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29995 if (!SWIG_IsOK(res3
)) {
29996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29998 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30000 if (!wxPyCheckForApp()) SWIG_fail
;
30001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30002 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30003 wxPyEndAllowThreads(__tstate
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30013 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30017 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30019 if ((argc
>= 2) && (argc
<= 3)) {
30024 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30025 _v
= SWIG_CheckState(res
);
30027 if (!_v
) goto check_1
;
30029 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30034 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30038 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30043 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30044 PyObject
*resultobj
= 0;
30045 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30048 PyObject
*swig_obj
[1] ;
30050 if (!args
) SWIG_fail
;
30051 swig_obj
[0] = args
;
30052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30053 if (!SWIG_IsOK(res1
)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30056 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30061 wxPyEndAllowThreads(__tstate
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30064 resultobj
= SWIG_Py_Void();
30071 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30072 PyObject
*resultobj
= 0;
30073 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30080 PyObject
* obj0
= 0 ;
30081 PyObject
* obj1
= 0 ;
30082 char * kwnames
[] = {
30083 (char *) "self",(char *) "pageNum", NULL
30086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30088 if (!SWIG_IsOK(res1
)) {
30089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30091 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30093 if (!SWIG_IsOK(ecode2
)) {
30094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30096 arg2
= static_cast< int >(val2
);
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30100 wxPyEndAllowThreads(__tstate
);
30101 if (PyErr_Occurred()) SWIG_fail
;
30104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30112 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30113 PyObject
*resultobj
= 0;
30114 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30118 PyObject
*swig_obj
[1] ;
30120 if (!args
) SWIG_fail
;
30121 swig_obj
[0] = args
;
30122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30123 if (!SWIG_IsOK(res1
)) {
30124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30126 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30129 result
= (int)(arg1
)->GetCurrentPage();
30130 wxPyEndAllowThreads(__tstate
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30133 resultobj
= SWIG_From_int(static_cast< int >(result
));
30140 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30141 PyObject
*resultobj
= 0;
30142 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30143 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30147 PyObject
* obj0
= 0 ;
30148 PyObject
* obj1
= 0 ;
30149 char * kwnames
[] = {
30150 (char *) "self",(char *) "printout", NULL
30153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30155 if (!SWIG_IsOK(res1
)) {
30156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30158 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30159 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30160 if (!SWIG_IsOK(res2
)) {
30161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30165 (arg1
)->SetPrintout(arg2
);
30166 wxPyEndAllowThreads(__tstate
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30169 resultobj
= SWIG_Py_Void();
30176 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30177 PyObject
*resultobj
= 0;
30178 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30179 wxPyPrintout
*result
= 0 ;
30182 PyObject
*swig_obj
[1] ;
30184 if (!args
) SWIG_fail
;
30185 swig_obj
[0] = args
;
30186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30187 if (!SWIG_IsOK(res1
)) {
30188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30190 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30193 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30194 wxPyEndAllowThreads(__tstate
);
30195 if (PyErr_Occurred()) SWIG_fail
;
30198 resultobj
= wxPyMake_wxObject(result
, 0);
30206 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30207 PyObject
*resultobj
= 0;
30208 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30209 wxPyPrintout
*result
= 0 ;
30212 PyObject
*swig_obj
[1] ;
30214 if (!args
) SWIG_fail
;
30215 swig_obj
[0] = args
;
30216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30217 if (!SWIG_IsOK(res1
)) {
30218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30220 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30223 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30228 resultobj
= wxPyMake_wxObject(result
, 0);
30236 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30237 PyObject
*resultobj
= 0;
30238 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30239 wxFrame
*arg2
= (wxFrame
*) 0 ;
30244 PyObject
* obj0
= 0 ;
30245 PyObject
* obj1
= 0 ;
30246 char * kwnames
[] = {
30247 (char *) "self",(char *) "frame", NULL
30250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30252 if (!SWIG_IsOK(res1
)) {
30253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30255 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30257 if (!SWIG_IsOK(res2
)) {
30258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30260 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 (arg1
)->SetFrame(arg2
);
30264 wxPyEndAllowThreads(__tstate
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30267 resultobj
= SWIG_Py_Void();
30274 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30275 PyObject
*resultobj
= 0;
30276 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30277 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30282 PyObject
* obj0
= 0 ;
30283 PyObject
* obj1
= 0 ;
30284 char * kwnames
[] = {
30285 (char *) "self",(char *) "canvas", NULL
30288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30290 if (!SWIG_IsOK(res1
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30293 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30295 if (!SWIG_IsOK(res2
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30298 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 (arg1
)->SetCanvas(arg2
);
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_Py_Void();
30312 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30313 PyObject
*resultobj
= 0;
30314 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30315 wxFrame
*result
= 0 ;
30318 PyObject
*swig_obj
[1] ;
30320 if (!args
) SWIG_fail
;
30321 swig_obj
[0] = args
;
30322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30323 if (!SWIG_IsOK(res1
)) {
30324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30326 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 result
= (wxFrame
*)(arg1
)->GetFrame();
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30334 resultobj
= wxPyMake_wxObject(result
, 0);
30342 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30343 PyObject
*resultobj
= 0;
30344 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30345 wxPreviewCanvas
*result
= 0 ;
30348 PyObject
*swig_obj
[1] ;
30350 if (!args
) SWIG_fail
;
30351 swig_obj
[0] = args
;
30352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30353 if (!SWIG_IsOK(res1
)) {
30354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30356 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30360 wxPyEndAllowThreads(__tstate
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30370 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30371 PyObject
*resultobj
= 0;
30372 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30373 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30382 PyObject
* obj0
= 0 ;
30383 PyObject
* obj1
= 0 ;
30384 PyObject
* obj2
= 0 ;
30385 char * kwnames
[] = {
30386 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30391 if (!SWIG_IsOK(res1
)) {
30392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30394 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30395 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30396 if (!SWIG_IsOK(res2
)) {
30397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30399 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30400 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30401 if (!SWIG_IsOK(res3
)) {
30402 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30407 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30423 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30424 PyObject
*resultobj
= 0;
30425 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30426 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30435 PyObject
* obj0
= 0 ;
30436 PyObject
* obj1
= 0 ;
30437 PyObject
* obj2
= 0 ;
30438 char * kwnames
[] = {
30439 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30444 if (!SWIG_IsOK(res1
)) {
30445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30447 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30448 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30449 if (!SWIG_IsOK(res2
)) {
30450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30452 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30453 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30454 if (!SWIG_IsOK(res3
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30460 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30463 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30464 wxPyEndAllowThreads(__tstate
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30476 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30477 PyObject
*resultobj
= 0;
30478 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30485 PyObject
* obj0
= 0 ;
30486 PyObject
* obj1
= 0 ;
30487 char * kwnames
[] = {
30488 (char *) "self",(char *) "pageNum", NULL
30491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30493 if (!SWIG_IsOK(res1
)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30496 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30498 if (!SWIG_IsOK(ecode2
)) {
30499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30501 arg2
= static_cast< int >(val2
);
30503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30504 result
= (bool)(arg1
)->RenderPage(arg2
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30517 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30518 PyObject
*resultobj
= 0;
30519 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30520 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30525 PyObject
* obj0
= 0 ;
30526 PyObject
* obj1
= 0 ;
30527 char * kwnames
[] = {
30528 (char *) "self",(char *) "canvas", NULL
30531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30533 if (!SWIG_IsOK(res1
)) {
30534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30536 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30537 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30538 if (!SWIG_IsOK(res2
)) {
30539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30541 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 (arg1
)->AdjustScrollbars(arg2
);
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= SWIG_Py_Void();
30555 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30556 PyObject
*resultobj
= 0;
30557 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30558 wxPrintDialogData
*result
= 0 ;
30561 PyObject
*swig_obj
[1] ;
30563 if (!args
) SWIG_fail
;
30564 swig_obj
[0] = args
;
30565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30566 if (!SWIG_IsOK(res1
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30569 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30574 result
= (wxPrintDialogData
*) &_result_ref
;
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30586 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
= 0;
30588 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30594 PyObject
* obj0
= 0 ;
30595 PyObject
* obj1
= 0 ;
30596 char * kwnames
[] = {
30597 (char *) "self",(char *) "percent", NULL
30600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30602 if (!SWIG_IsOK(res1
)) {
30603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30605 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30607 if (!SWIG_IsOK(ecode2
)) {
30608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30610 arg2
= static_cast< int >(val2
);
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30613 (arg1
)->SetZoom(arg2
);
30614 wxPyEndAllowThreads(__tstate
);
30615 if (PyErr_Occurred()) SWIG_fail
;
30617 resultobj
= SWIG_Py_Void();
30624 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30625 PyObject
*resultobj
= 0;
30626 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30630 PyObject
*swig_obj
[1] ;
30632 if (!args
) SWIG_fail
;
30633 swig_obj
[0] = args
;
30634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30635 if (!SWIG_IsOK(res1
)) {
30636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30638 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 result
= (int)(arg1
)->GetZoom();
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30645 resultobj
= SWIG_From_int(static_cast< int >(result
));
30652 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30653 PyObject
*resultobj
= 0;
30654 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30658 PyObject
*swig_obj
[1] ;
30660 if (!args
) SWIG_fail
;
30661 swig_obj
[0] = args
;
30662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30663 if (!SWIG_IsOK(res1
)) {
30664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30666 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30669 result
= (int)(arg1
)->GetMaxPage();
30670 wxPyEndAllowThreads(__tstate
);
30671 if (PyErr_Occurred()) SWIG_fail
;
30673 resultobj
= SWIG_From_int(static_cast< int >(result
));
30680 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30681 PyObject
*resultobj
= 0;
30682 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30686 PyObject
*swig_obj
[1] ;
30688 if (!args
) SWIG_fail
;
30689 swig_obj
[0] = args
;
30690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30691 if (!SWIG_IsOK(res1
)) {
30692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30694 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30697 result
= (int)(arg1
)->GetMinPage();
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30701 resultobj
= SWIG_From_int(static_cast< int >(result
));
30708 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30709 PyObject
*resultobj
= 0;
30710 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30714 PyObject
*swig_obj
[1] ;
30716 if (!args
) SWIG_fail
;
30717 swig_obj
[0] = args
;
30718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30719 if (!SWIG_IsOK(res1
)) {
30720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30722 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30725 result
= (bool)(arg1
)->IsOk();
30726 wxPyEndAllowThreads(__tstate
);
30727 if (PyErr_Occurred()) SWIG_fail
;
30730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30738 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30739 PyObject
*resultobj
= 0;
30740 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30746 PyObject
* obj0
= 0 ;
30747 PyObject
* obj1
= 0 ;
30748 char * kwnames
[] = {
30749 (char *) "self",(char *) "ok", NULL
30752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30754 if (!SWIG_IsOK(res1
)) {
30755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30757 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30758 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30759 if (!SWIG_IsOK(ecode2
)) {
30760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30762 arg2
= static_cast< bool >(val2
);
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 (arg1
)->SetOk(arg2
);
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30769 resultobj
= SWIG_Py_Void();
30776 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30777 PyObject
*resultobj
= 0;
30778 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30785 PyObject
* obj0
= 0 ;
30786 PyObject
* obj1
= 0 ;
30787 char * kwnames
[] = {
30788 (char *) "self",(char *) "interactive", NULL
30791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30793 if (!SWIG_IsOK(res1
)) {
30794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30796 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30797 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30798 if (!SWIG_IsOK(ecode2
)) {
30799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30801 arg2
= static_cast< bool >(val2
);
30803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30804 result
= (bool)(arg1
)->Print(arg2
);
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30817 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30818 PyObject
*resultobj
= 0;
30819 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30822 PyObject
*swig_obj
[1] ;
30824 if (!args
) SWIG_fail
;
30825 swig_obj
[0] = args
;
30826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30827 if (!SWIG_IsOK(res1
)) {
30828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30830 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 (arg1
)->DetermineScaling();
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30837 resultobj
= SWIG_Py_Void();
30844 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30847 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30848 return SWIG_Py_Void();
30851 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30852 return SWIG_Python_InitShadowInstance(args
);
30855 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30856 PyObject
*resultobj
= 0;
30857 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30858 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30859 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30860 wxPyPrintPreview
*result
= 0 ;
30866 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30867 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30868 if (!SWIG_IsOK(res1
)) {
30869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30871 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30872 if (!SWIG_IsOK(res2
)) {
30873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30876 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30877 if (!SWIG_IsOK(res3
)) {
30878 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30880 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30883 if (!wxPyCheckForApp()) SWIG_fail
;
30884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30885 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30886 wxPyEndAllowThreads(__tstate
);
30887 if (PyErr_Occurred()) SWIG_fail
;
30889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30896 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30897 PyObject
*resultobj
= 0;
30898 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30899 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30900 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30901 wxPyPrintPreview
*result
= 0 ;
30907 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30908 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30909 if (!SWIG_IsOK(res1
)) {
30910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30912 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30913 if (!SWIG_IsOK(res2
)) {
30914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30916 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30917 if (!SWIG_IsOK(res3
)) {
30918 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30920 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30922 if (!wxPyCheckForApp()) SWIG_fail
;
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30924 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30935 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30939 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30941 if ((argc
>= 2) && (argc
<= 3)) {
30946 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30947 _v
= SWIG_CheckState(res
);
30949 if (!_v
) goto check_1
;
30951 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30956 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30960 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30965 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
= 0;
30967 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30968 PyObject
*arg2
= (PyObject
*) 0 ;
30969 PyObject
*arg3
= (PyObject
*) 0 ;
30972 PyObject
* obj0
= 0 ;
30973 PyObject
* obj1
= 0 ;
30974 PyObject
* obj2
= 0 ;
30975 char * kwnames
[] = {
30976 (char *) "self",(char *) "self",(char *) "_class", NULL
30979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30981 if (!SWIG_IsOK(res1
)) {
30982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30984 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30989 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30990 wxPyEndAllowThreads(__tstate
);
30991 if (PyErr_Occurred()) SWIG_fail
;
30993 resultobj
= SWIG_Py_Void();
31000 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31003 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31004 return SWIG_Py_Void();
31007 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31008 return SWIG_Python_InitShadowInstance(args
);
31011 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31012 PyObject
*resultobj
= 0;
31013 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31014 wxFrame
*arg2
= (wxFrame
*) 0 ;
31015 wxString
*arg3
= 0 ;
31016 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31017 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31018 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31019 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31020 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31021 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31022 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31023 wxPyPreviewFrame
*result
= 0 ;
31028 bool temp3
= false ;
31033 bool temp7
= false ;
31034 PyObject
* obj0
= 0 ;
31035 PyObject
* obj1
= 0 ;
31036 PyObject
* obj2
= 0 ;
31037 PyObject
* obj3
= 0 ;
31038 PyObject
* obj4
= 0 ;
31039 PyObject
* obj5
= 0 ;
31040 PyObject
* obj6
= 0 ;
31041 char * kwnames
[] = {
31042 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31047 if (!SWIG_IsOK(res1
)) {
31048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31050 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31051 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31052 if (!SWIG_IsOK(res2
)) {
31053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31055 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31057 arg3
= wxString_in_helper(obj2
);
31058 if (arg3
== NULL
) SWIG_fail
;
31064 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31070 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31074 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31075 if (!SWIG_IsOK(ecode6
)) {
31076 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31078 arg6
= static_cast< long >(val6
);
31082 arg7
= wxString_in_helper(obj6
);
31083 if (arg7
== NULL
) SWIG_fail
;
31088 if (!wxPyCheckForApp()) SWIG_fail
;
31089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31090 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31091 wxPyEndAllowThreads(__tstate
);
31092 if (PyErr_Occurred()) SWIG_fail
;
31094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31117 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31118 PyObject
*resultobj
= 0;
31119 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31120 PyObject
*arg2
= (PyObject
*) 0 ;
31121 PyObject
*arg3
= (PyObject
*) 0 ;
31124 PyObject
* obj0
= 0 ;
31125 PyObject
* obj1
= 0 ;
31126 PyObject
* obj2
= 0 ;
31127 char * kwnames
[] = {
31128 (char *) "self",(char *) "self",(char *) "_class", NULL
31131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31133 if (!SWIG_IsOK(res1
)) {
31134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31136 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31141 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31142 wxPyEndAllowThreads(__tstate
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31145 resultobj
= SWIG_Py_Void();
31152 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31153 PyObject
*resultobj
= 0;
31154 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31155 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31160 PyObject
* obj0
= 0 ;
31161 PyObject
* obj1
= 0 ;
31162 char * kwnames
[] = {
31163 (char *) "self",(char *) "canvas", NULL
31166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31168 if (!SWIG_IsOK(res1
)) {
31169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31171 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31172 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31173 if (!SWIG_IsOK(res2
)) {
31174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31176 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31179 (arg1
)->SetPreviewCanvas(arg2
);
31180 wxPyEndAllowThreads(__tstate
);
31181 if (PyErr_Occurred()) SWIG_fail
;
31183 resultobj
= SWIG_Py_Void();
31190 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31191 PyObject
*resultobj
= 0;
31192 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31193 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31198 PyObject
* obj0
= 0 ;
31199 PyObject
* obj1
= 0 ;
31200 char * kwnames
[] = {
31201 (char *) "self",(char *) "bar", NULL
31204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31206 if (!SWIG_IsOK(res1
)) {
31207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31209 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31211 if (!SWIG_IsOK(res2
)) {
31212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31214 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 (arg1
)->SetControlBar(arg2
);
31218 wxPyEndAllowThreads(__tstate
);
31219 if (PyErr_Occurred()) SWIG_fail
;
31221 resultobj
= SWIG_Py_Void();
31228 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31229 PyObject
*resultobj
= 0;
31230 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31233 PyObject
*swig_obj
[1] ;
31235 if (!args
) SWIG_fail
;
31236 swig_obj
[0] = args
;
31237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31238 if (!SWIG_IsOK(res1
)) {
31239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31241 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31244 (arg1
)->Initialize();
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31248 resultobj
= SWIG_Py_Void();
31255 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31256 PyObject
*resultobj
= 0;
31257 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31260 PyObject
*swig_obj
[1] ;
31262 if (!args
) SWIG_fail
;
31263 swig_obj
[0] = args
;
31264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31265 if (!SWIG_IsOK(res1
)) {
31266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31268 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31271 (arg1
)->CreateCanvas();
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 resultobj
= SWIG_Py_Void();
31282 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31283 PyObject
*resultobj
= 0;
31284 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31287 PyObject
*swig_obj
[1] ;
31289 if (!args
) SWIG_fail
;
31290 swig_obj
[0] = args
;
31291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31292 if (!SWIG_IsOK(res1
)) {
31293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31295 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 (arg1
)->CreateControlBar();
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 resultobj
= SWIG_Py_Void();
31309 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31312 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31313 return SWIG_Py_Void();
31316 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31317 return SWIG_Python_InitShadowInstance(args
);
31320 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31321 PyObject
*resultobj
= 0;
31322 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31324 wxWindow
*arg3
= (wxWindow
*) 0 ;
31325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31329 long arg6
= (long) 0 ;
31330 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31331 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31332 wxPyPreviewControlBar
*result
= 0 ;
31343 bool temp7
= false ;
31344 PyObject
* obj0
= 0 ;
31345 PyObject
* obj1
= 0 ;
31346 PyObject
* obj2
= 0 ;
31347 PyObject
* obj3
= 0 ;
31348 PyObject
* obj4
= 0 ;
31349 PyObject
* obj5
= 0 ;
31350 PyObject
* obj6
= 0 ;
31351 char * kwnames
[] = {
31352 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31357 if (!SWIG_IsOK(res1
)) {
31358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31360 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31361 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31362 if (!SWIG_IsOK(ecode2
)) {
31363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31365 arg2
= static_cast< long >(val2
);
31366 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31367 if (!SWIG_IsOK(res3
)) {
31368 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31370 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31374 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31380 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31384 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31385 if (!SWIG_IsOK(ecode6
)) {
31386 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31388 arg6
= static_cast< long >(val6
);
31392 arg7
= wxString_in_helper(obj6
);
31393 if (arg7
== NULL
) SWIG_fail
;
31398 if (!wxPyCheckForApp()) SWIG_fail
;
31399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31400 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31419 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
= 0;
31421 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31422 PyObject
*arg2
= (PyObject
*) 0 ;
31423 PyObject
*arg3
= (PyObject
*) 0 ;
31426 PyObject
* obj0
= 0 ;
31427 PyObject
* obj1
= 0 ;
31428 PyObject
* obj2
= 0 ;
31429 char * kwnames
[] = {
31430 (char *) "self",(char *) "self",(char *) "_class", NULL
31433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31435 if (!SWIG_IsOK(res1
)) {
31436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31438 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31443 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31444 wxPyEndAllowThreads(__tstate
);
31445 if (PyErr_Occurred()) SWIG_fail
;
31447 resultobj
= SWIG_Py_Void();
31454 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31455 PyObject
*resultobj
= 0;
31456 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31457 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31462 PyObject
* obj0
= 0 ;
31463 PyObject
* obj1
= 0 ;
31464 char * kwnames
[] = {
31465 (char *) "self",(char *) "preview", NULL
31468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31470 if (!SWIG_IsOK(res1
)) {
31471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31473 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31475 if (!SWIG_IsOK(res2
)) {
31476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31478 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
31480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31481 (arg1
)->SetPrintPreview(arg2
);
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31485 resultobj
= SWIG_Py_Void();
31492 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31493 PyObject
*resultobj
= 0;
31494 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31497 PyObject
*swig_obj
[1] ;
31499 if (!args
) SWIG_fail
;
31500 swig_obj
[0] = args
;
31501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31502 if (!SWIG_IsOK(res1
)) {
31503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31505 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31508 (arg1
)->CreateButtons();
31509 wxPyEndAllowThreads(__tstate
);
31510 if (PyErr_Occurred()) SWIG_fail
;
31512 resultobj
= SWIG_Py_Void();
31519 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31520 PyObject
*resultobj
= 0;
31521 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31527 PyObject
* obj0
= 0 ;
31528 PyObject
* obj1
= 0 ;
31529 char * kwnames
[] = {
31530 (char *) "self",(char *) "zoom", NULL
31533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31535 if (!SWIG_IsOK(res1
)) {
31536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31538 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31540 if (!SWIG_IsOK(ecode2
)) {
31541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31543 arg2
= static_cast< int >(val2
);
31545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31546 (arg1
)->SetZoomControl(arg2
);
31547 wxPyEndAllowThreads(__tstate
);
31548 if (PyErr_Occurred()) SWIG_fail
;
31550 resultobj
= SWIG_Py_Void();
31557 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31560 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31561 return SWIG_Py_Void();
31564 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31565 return SWIG_Python_InitShadowInstance(args
);
31568 static PyMethodDef SwigMethods
[] = {
31569 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31571 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31573 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31575 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31576 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31578 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31585 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31587 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31589 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31590 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31591 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31592 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31593 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31596 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31598 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31601 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31602 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31604 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31606 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31607 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31608 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31609 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31613 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31615 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31619 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31621 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31623 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31626 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31627 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31629 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31631 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31633 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31636 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31643 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31645 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31650 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31651 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31653 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31656 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31658 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31660 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31665 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31666 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31669 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31670 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31672 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31674 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31675 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31678 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31679 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31680 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31682 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31683 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31684 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31685 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31686 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31688 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31691 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31700 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31701 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31703 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31704 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31706 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31708 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31709 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31711 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31717 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31718 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31721 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31722 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31724 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31726 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31728 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31730 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31732 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31734 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31735 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31738 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31739 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31740 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31741 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31742 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31743 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31745 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31753 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31755 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31758 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31759 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31762 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31763 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31765 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31766 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31767 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31770 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31772 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31774 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31775 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31776 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31779 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31781 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31783 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31785 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31787 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31788 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31789 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31792 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31794 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31795 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31796 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31798 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31800 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31801 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31805 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31806 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31807 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31808 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31812 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31813 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31815 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31818 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31819 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31821 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31824 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31825 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31826 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31829 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31830 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31831 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31833 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31842 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31843 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31844 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31845 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31847 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31848 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31851 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31852 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31854 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31857 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31858 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31859 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31862 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31863 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31865 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31866 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31868 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31873 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31874 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31880 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31881 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31883 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31887 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31889 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31890 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31891 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31892 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31894 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31895 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31896 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31898 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31900 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31901 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31903 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31904 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31905 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31906 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31907 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31908 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31913 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31914 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31916 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31917 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31918 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31921 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31922 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31925 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31926 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31934 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31935 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31936 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31937 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31938 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31939 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31940 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31941 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31942 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31943 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31946 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31947 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31948 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31950 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31951 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31953 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31954 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31956 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31958 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31959 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31961 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31962 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31964 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31965 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31966 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31967 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31968 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31970 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31971 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31972 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31973 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31974 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31975 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31982 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31983 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31985 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31986 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31987 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31990 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31991 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31995 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31996 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31997 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31999 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32000 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32001 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32002 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32006 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32007 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32009 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32010 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32011 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32012 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32016 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32017 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32019 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32021 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32023 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32024 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32026 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32028 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32029 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32030 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32031 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32032 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32033 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
32034 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32037 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32038 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32040 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32042 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32043 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32044 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32046 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32049 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32051 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32059 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32060 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32061 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32062 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32063 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32064 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32065 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32066 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32067 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32069 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32077 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32078 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32079 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32080 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32081 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32082 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32083 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32084 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32085 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32087 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32095 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32096 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32097 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32098 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32099 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32100 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32101 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32102 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32103 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32104 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32105 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32106 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32107 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32108 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32109 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32110 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32111 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32112 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32113 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32114 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32115 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32116 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32117 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32129 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32131 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32133 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32134 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32135 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32136 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32142 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32143 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32144 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32145 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32146 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32147 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32148 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32149 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32150 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32151 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32152 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32153 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32154 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32155 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32156 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32166 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32167 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32168 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32169 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32171 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32172 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32173 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32174 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32175 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32176 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32177 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32178 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32179 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32180 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32181 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32182 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32183 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32184 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32185 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32186 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32187 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32201 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32202 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32203 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32204 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32205 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32206 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32208 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32209 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32211 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32212 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32213 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32214 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32215 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32216 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32217 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32219 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32225 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32226 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32227 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32228 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32229 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32231 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32233 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32234 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32239 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32240 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32242 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32243 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32244 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32249 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32251 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32253 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32255 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32257 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32258 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32261 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32262 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32263 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32264 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32266 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32267 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32268 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32270 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32271 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32273 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32274 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32275 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32276 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32277 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32278 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32280 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32282 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32283 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32284 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32285 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32286 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32287 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32288 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32289 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32290 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32291 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32293 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32295 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32296 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32299 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32300 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32305 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32307 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32308 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32309 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32310 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32313 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32314 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32315 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32316 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32318 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32319 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32324 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32325 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32326 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32327 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32328 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32332 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32334 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32335 { NULL
, NULL
, 0, NULL
}
32339 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32341 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32342 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32344 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32345 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32347 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32348 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32350 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32351 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32353 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32354 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32356 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32357 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32359 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32360 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32362 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32363 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32365 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32366 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32368 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32369 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32371 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32372 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32374 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32375 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32377 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32378 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32380 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32381 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32383 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32384 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32386 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32387 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32389 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32390 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32392 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32393 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32395 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32396 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32398 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32399 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32401 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32402 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32404 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32405 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32407 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32408 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32410 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32411 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32413 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32414 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32416 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32417 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32419 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32420 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32422 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32423 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32425 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32426 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32428 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32429 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32431 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32432 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32434 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32435 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32437 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32438 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32440 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32441 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32443 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32444 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32446 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32447 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32449 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32450 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32452 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32453 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32455 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32456 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32458 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32459 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32461 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32462 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32464 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32465 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32467 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32468 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32470 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32471 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32473 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32474 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32476 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32477 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32479 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32480 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32482 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32485 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32488 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32491 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32492 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32494 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32495 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32497 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32498 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32500 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32501 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32503 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32506 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32509 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32512 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32515 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32518 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32521 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32524 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32527 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32530 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32531 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32533 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32534 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32536 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32539 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32542 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32545 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32546 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32548 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32551 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32552 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32554 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32555 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32557 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32558 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32560 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32561 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32563 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32566 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32567 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32569 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32570 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32572 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32575 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32576 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32578 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32581 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32584 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32587 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32588 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32590 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32593 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32594 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32596 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32599 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32602 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32605 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32608 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32611 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32612 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32614 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32617 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32620 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32623 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32626 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32629 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32632 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32633 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32635 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32636 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32638 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32639 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32641 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32642 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32644 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32645 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32647 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32648 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32650 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32651 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32653 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32654 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32656 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32659 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32662 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32665 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32668 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32671 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32674 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32675 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32677 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32678 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32680 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32681 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32683 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32684 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32686 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32687 return (void *)((wxObject
*) ((wxSizer
*) x
));
32689 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32690 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32692 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32693 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32695 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32698 static void *_p_wxEventTo_p_wxObject(void *x
) {
32699 return (void *)((wxObject
*) ((wxEvent
*) x
));
32701 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32702 return (void *)((wxObject
*) ((wxFontData
*) x
));
32704 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32705 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32707 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32708 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32710 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32711 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32713 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32714 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32716 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32719 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32722 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32725 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32728 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32731 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32734 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32737 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32740 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32743 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32746 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32749 static void *_p_wxControlTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32752 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32755 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32758 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32761 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32764 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32767 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32770 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) ((wxColourData
*) x
));
32773 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32776 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32779 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32782 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32785 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32788 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32791 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32794 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32797 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32800 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32803 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32806 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32809 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32812 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32813 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32815 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32816 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32818 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32819 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32821 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32824 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32825 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32827 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32830 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32831 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32833 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32834 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32836 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32837 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32839 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32840 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32842 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32843 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32845 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32846 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32848 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32849 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32851 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32852 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32854 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32855 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32857 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32858 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32860 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32861 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32863 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32864 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32866 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32867 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32869 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32870 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32872 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32873 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32875 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32876 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32878 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32879 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32881 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32882 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32884 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32885 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32887 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32888 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32890 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32891 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32893 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32894 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32896 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32899 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32902 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32903 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32905 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32906 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32908 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32911 static void *_p_wxImageTo_p_wxObject(void *x
) {
32912 return (void *)((wxObject
*) ((wxImage
*) x
));
32914 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32917 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32918 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32920 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32921 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32923 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32924 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32926 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32929 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32932 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32933 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32935 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32936 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32938 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32939 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32941 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32942 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32944 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32945 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32947 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32950 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32953 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32956 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32959 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32962 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32965 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32968 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32971 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32974 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32977 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32980 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32983 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32986 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32989 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32990 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32992 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32993 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32995 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32998 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33001 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33004 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33007 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33010 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33013 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33016 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33019 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33020 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33022 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33023 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33025 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33026 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33028 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33029 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33031 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33032 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33034 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33035 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33037 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33040 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33041 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33043 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33046 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33049 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33050 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33052 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33053 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33055 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33056 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33058 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33061 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33062 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33064 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33065 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33067 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33070 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33071 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33073 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33074 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33076 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33077 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33079 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
33080 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33082 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33083 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33085 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
33086 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33088 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33089 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33091 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33092 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33094 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33095 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33097 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33098 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33100 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33101 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33103 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33104 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33106 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33107 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33109 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33110 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33112 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33113 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33115 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33116 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33118 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33119 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33121 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33122 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33124 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33125 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33127 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33128 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33130 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33131 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33133 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33134 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33136 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33137 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33139 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33140 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33142 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33143 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33145 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33146 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33148 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33149 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33151 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33152 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33154 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33155 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33157 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33158 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33160 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33161 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33163 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33164 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33166 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33167 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33169 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33170 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33172 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33173 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33175 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33176 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33178 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33179 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33181 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33182 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33184 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33185 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33187 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33188 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33190 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33191 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33193 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33194 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33196 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33197 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33199 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33200 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33202 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33203 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33205 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33206 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33208 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33209 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33211 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33212 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33214 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33215 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33217 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33218 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33220 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33221 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33223 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33224 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33226 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33227 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33229 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33230 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33232 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33233 return (void *)((wxWindow
*) ((wxControl
*) x
));
33235 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33236 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33238 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33239 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33241 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33242 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33244 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33245 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33247 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33248 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33250 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33251 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33253 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33254 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33256 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33257 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33259 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33260 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33262 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33263 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33265 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33266 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33268 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33269 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33271 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33272 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33274 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33275 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33277 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33278 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33280 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33281 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33283 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33284 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33286 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33287 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33289 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33290 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33292 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33293 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33295 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33296 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33298 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33299 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33301 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33302 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33304 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33305 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33307 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33308 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33310 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33311 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33313 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33314 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33316 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33317 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33319 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33320 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33322 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33323 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33325 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33326 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33328 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33329 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33331 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33332 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33334 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33335 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33337 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33338 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33340 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33341 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33343 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33344 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33346 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33347 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33349 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33350 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33352 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33353 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33355 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33356 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33358 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33359 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33361 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33362 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33364 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33365 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33367 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33368 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33370 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33371 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33373 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33374 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33376 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33377 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33379 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33380 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33382 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33383 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33385 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33386 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33388 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33389 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33391 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33392 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33394 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33395 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33396 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};
33397 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33398 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33399 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33400 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33401 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33402 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33403 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33404 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33405 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33406 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33407 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33408 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33409 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33410 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33411 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33412 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33413 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33414 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33415 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33416 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33417 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33418 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33419 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33420 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33421 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33422 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33423 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33424 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33425 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33426 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33427 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33428 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33429 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33430 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33431 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33432 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33433 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33434 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33435 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33436 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33437 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33438 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33439 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33440 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33441 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33442 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33443 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33444 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33445 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33446 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33447 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33448 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33449 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33450 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33451 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33452 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33453 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33454 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33455 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33456 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33457 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33458 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33459 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33460 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33461 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33462 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33463 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33464 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33465 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33466 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33467 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33468 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33469 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33470 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33471 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33472 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33473 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33474 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33475 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33476 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33477 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33478 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33479 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33480 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33481 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33482 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33483 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33484 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33485 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33486 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33487 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33488 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33489 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33490 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33491 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33492 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33493 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33494 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33495 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33496 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33497 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33498 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33499 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33500 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33501 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33502 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33503 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33504 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33505 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33506 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33507 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33508 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33509 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33510 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33511 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33512 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33513 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33514 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33515 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33516 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33517 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33518 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33519 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33520 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33521 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33522 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33523 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33524 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33525 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33526 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33527 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33528 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33529 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33530 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33531 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33532 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33533 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33534 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33535 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33536 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33537 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33538 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33539 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33540 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33541 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33542 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33543 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33544 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33545 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33546 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33547 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33548 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33549 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33550 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33551 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33552 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33553 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33554 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33555 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33556 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33557 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33558 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33560 static swig_type_info
*swig_type_initial
[] = {
33563 &_swigt__p_form_ops_t
,
33565 &_swigt__p_unsigned_char
,
33566 &_swigt__p_unsigned_int
,
33567 &_swigt__p_unsigned_long
,
33568 &_swigt__p_wxANIHandler
,
33569 &_swigt__p_wxAcceleratorTable
,
33570 &_swigt__p_wxActivateEvent
,
33571 &_swigt__p_wxArrayInt
,
33572 &_swigt__p_wxBMPHandler
,
33573 &_swigt__p_wxBitmap
,
33574 &_swigt__p_wxBoxSizer
,
33575 &_swigt__p_wxCURHandler
,
33576 &_swigt__p_wxCalculateLayoutEvent
,
33577 &_swigt__p_wxChildFocusEvent
,
33578 &_swigt__p_wxClipboardTextEvent
,
33579 &_swigt__p_wxCloseEvent
,
33580 &_swigt__p_wxColour
,
33581 &_swigt__p_wxColourData
,
33582 &_swigt__p_wxColourDialog
,
33583 &_swigt__p_wxCommandEvent
,
33584 &_swigt__p_wxContextMenuEvent
,
33585 &_swigt__p_wxControl
,
33586 &_swigt__p_wxControlWithItems
,
33588 &_swigt__p_wxDateEvent
,
33589 &_swigt__p_wxDialog
,
33590 &_swigt__p_wxDirDialog
,
33591 &_swigt__p_wxDisplayChangedEvent
,
33592 &_swigt__p_wxDropFilesEvent
,
33593 &_swigt__p_wxDuplexMode
,
33594 &_swigt__p_wxEraseEvent
,
33595 &_swigt__p_wxEvent
,
33596 &_swigt__p_wxEvtHandler
,
33597 &_swigt__p_wxFSFile
,
33598 &_swigt__p_wxFileDialog
,
33599 &_swigt__p_wxFileSystem
,
33600 &_swigt__p_wxFindDialogEvent
,
33601 &_swigt__p_wxFindReplaceData
,
33602 &_swigt__p_wxFindReplaceDialog
,
33603 &_swigt__p_wxFlexGridSizer
,
33604 &_swigt__p_wxFocusEvent
,
33606 &_swigt__p_wxFontData
,
33607 &_swigt__p_wxFontDialog
,
33608 &_swigt__p_wxFrame
,
33609 &_swigt__p_wxGBSizerItem
,
33610 &_swigt__p_wxGIFHandler
,
33611 &_swigt__p_wxGridBagSizer
,
33612 &_swigt__p_wxGridSizer
,
33613 &_swigt__p_wxHtmlLinkInfo
,
33614 &_swigt__p_wxICOHandler
,
33616 &_swigt__p_wxIconBundle
,
33617 &_swigt__p_wxIconizeEvent
,
33618 &_swigt__p_wxIdleEvent
,
33619 &_swigt__p_wxImage
,
33620 &_swigt__p_wxImageHandler
,
33621 &_swigt__p_wxIndividualLayoutConstraint
,
33622 &_swigt__p_wxInitDialogEvent
,
33623 &_swigt__p_wxJPEGHandler
,
33624 &_swigt__p_wxKeyEvent
,
33625 &_swigt__p_wxLayoutAlgorithm
,
33626 &_swigt__p_wxLayoutConstraints
,
33627 &_swigt__p_wxMDIChildFrame
,
33628 &_swigt__p_wxMDIClientWindow
,
33629 &_swigt__p_wxMDIParentFrame
,
33630 &_swigt__p_wxMaximizeEvent
,
33632 &_swigt__p_wxMenuBar
,
33633 &_swigt__p_wxMenuEvent
,
33634 &_swigt__p_wxMenuItem
,
33635 &_swigt__p_wxMessageDialog
,
33636 &_swigt__p_wxMiniFrame
,
33637 &_swigt__p_wxMouseCaptureChangedEvent
,
33638 &_swigt__p_wxMouseCaptureLostEvent
,
33639 &_swigt__p_wxMouseEvent
,
33640 &_swigt__p_wxMoveEvent
,
33641 &_swigt__p_wxMultiChoiceDialog
,
33642 &_swigt__p_wxNavigationKeyEvent
,
33643 &_swigt__p_wxNcPaintEvent
,
33644 &_swigt__p_wxNotifyEvent
,
33645 &_swigt__p_wxNumberEntryDialog
,
33646 &_swigt__p_wxObject
,
33647 &_swigt__p_wxPCXHandler
,
33648 &_swigt__p_wxPNGHandler
,
33649 &_swigt__p_wxPNMHandler
,
33650 &_swigt__p_wxPageSetupDialog
,
33651 &_swigt__p_wxPageSetupDialogData
,
33652 &_swigt__p_wxPaintEvent
,
33653 &_swigt__p_wxPaletteChangedEvent
,
33654 &_swigt__p_wxPanel
,
33655 &_swigt__p_wxPaperSize
,
33656 &_swigt__p_wxPasswordEntryDialog
,
33657 &_swigt__p_wxPoint
,
33658 &_swigt__p_wxPopupWindow
,
33659 &_swigt__p_wxPreviewCanvas
,
33660 &_swigt__p_wxPreviewControlBar
,
33661 &_swigt__p_wxPreviewFrame
,
33662 &_swigt__p_wxPrintData
,
33663 &_swigt__p_wxPrintDialog
,
33664 &_swigt__p_wxPrintDialogData
,
33665 &_swigt__p_wxPrintPreview
,
33666 &_swigt__p_wxPrinter
,
33667 &_swigt__p_wxProgressDialog
,
33668 &_swigt__p_wxPyApp
,
33669 &_swigt__p_wxPyCommandEvent
,
33670 &_swigt__p_wxPyEvent
,
33671 &_swigt__p_wxPyHtmlListBox
,
33672 &_swigt__p_wxPyImageHandler
,
33673 &_swigt__p_wxPyPanel
,
33674 &_swigt__p_wxPyPopupTransientWindow
,
33675 &_swigt__p_wxPyPreviewControlBar
,
33676 &_swigt__p_wxPyPreviewFrame
,
33677 &_swigt__p_wxPyPrintPreview
,
33678 &_swigt__p_wxPyPrintout
,
33679 &_swigt__p_wxPyScrolledWindow
,
33680 &_swigt__p_wxPySizer
,
33681 &_swigt__p_wxPyTaskBarIcon
,
33682 &_swigt__p_wxPyVListBox
,
33683 &_swigt__p_wxPyVScrolledWindow
,
33684 &_swigt__p_wxPyValidator
,
33685 &_swigt__p_wxPyWindow
,
33686 &_swigt__p_wxQueryLayoutInfoEvent
,
33687 &_swigt__p_wxQueryNewPaletteEvent
,
33689 &_swigt__p_wxRegion
,
33690 &_swigt__p_wxSashEvent
,
33691 &_swigt__p_wxSashLayoutWindow
,
33692 &_swigt__p_wxSashWindow
,
33693 &_swigt__p_wxScrollEvent
,
33694 &_swigt__p_wxScrollWinEvent
,
33695 &_swigt__p_wxScrolledWindow
,
33696 &_swigt__p_wxSetCursorEvent
,
33697 &_swigt__p_wxShowEvent
,
33698 &_swigt__p_wxSingleChoiceDialog
,
33700 &_swigt__p_wxSizeEvent
,
33701 &_swigt__p_wxSizer
,
33702 &_swigt__p_wxSizerItem
,
33703 &_swigt__p_wxSplashScreen
,
33704 &_swigt__p_wxSplashScreenWindow
,
33705 &_swigt__p_wxSplitterEvent
,
33706 &_swigt__p_wxSplitterWindow
,
33707 &_swigt__p_wxStaticBoxSizer
,
33708 &_swigt__p_wxStatusBar
,
33709 &_swigt__p_wxStdDialogButtonSizer
,
33710 &_swigt__p_wxString
,
33711 &_swigt__p_wxSysColourChangedEvent
,
33712 &_swigt__p_wxTIFFHandler
,
33713 &_swigt__p_wxTaskBarIcon
,
33714 &_swigt__p_wxTaskBarIconEvent
,
33715 &_swigt__p_wxTextEntryDialog
,
33716 &_swigt__p_wxTipWindow
,
33717 &_swigt__p_wxToolBar
,
33718 &_swigt__p_wxTopLevelWindow
,
33719 &_swigt__p_wxUpdateUIEvent
,
33720 &_swigt__p_wxValidator
,
33721 &_swigt__p_wxVisualAttributes
,
33722 &_swigt__p_wxWindow
,
33723 &_swigt__p_wxWindowCreateEvent
,
33724 &_swigt__p_wxWindowDestroyEvent
,
33725 &_swigt__p_wxXPMHandler
,
33728 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33729 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33730 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33731 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33732 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33733 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33734 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33735 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33736 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33737 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33738 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33739 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33740 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33741 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33742 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33743 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33744 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33745 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33746 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33747 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33748 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33749 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33750 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}};
33751 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33752 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}};
33753 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33754 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33755 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33756 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33757 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33758 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33759 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33760 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33761 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33762 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33763 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33764 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33765 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33766 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33767 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33768 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33769 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33770 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33771 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33772 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33773 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33774 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33775 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33776 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33777 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33778 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33779 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33780 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33781 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}};
33782 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33783 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33784 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33785 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33786 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33787 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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}};
33788 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33789 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33790 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33791 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33792 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33793 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33794 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33795 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33796 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}};
33797 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33798 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33799 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33800 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33801 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33802 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33803 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33804 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33805 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33806 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33807 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33808 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33809 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}};
33810 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33811 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33812 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33813 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33814 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33815 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33816 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33817 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33818 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33819 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33820 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33821 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33822 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33823 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33824 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33825 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33826 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33827 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33828 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33829 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33830 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33831 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33832 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33833 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33834 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33835 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33836 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33837 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33838 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33839 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33840 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33841 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33842 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_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}};
33843 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33844 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33845 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33846 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}};
33847 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33848 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}};
33849 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}};
33850 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33851 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33852 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33853 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}};
33854 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33855 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33856 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33857 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33858 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}};
33859 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33860 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33861 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33862 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33863 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33864 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33865 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
33866 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},{0, 0, 0, 0}};
33867 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33868 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33869 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33870 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33871 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33872 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33873 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}};
33874 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33875 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}};
33876 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33877 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33878 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33879 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33880 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33881 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33882 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33883 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33884 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33885 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33886 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33887 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}};
33888 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33889 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33890 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}};
33891 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33892 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_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_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}};
33894 static swig_cast_info
*swig_cast_initial
[] = {
33897 _swigc__p_form_ops_t
,
33899 _swigc__p_unsigned_char
,
33900 _swigc__p_unsigned_int
,
33901 _swigc__p_unsigned_long
,
33902 _swigc__p_wxANIHandler
,
33903 _swigc__p_wxAcceleratorTable
,
33904 _swigc__p_wxActivateEvent
,
33905 _swigc__p_wxArrayInt
,
33906 _swigc__p_wxBMPHandler
,
33907 _swigc__p_wxBitmap
,
33908 _swigc__p_wxBoxSizer
,
33909 _swigc__p_wxCURHandler
,
33910 _swigc__p_wxCalculateLayoutEvent
,
33911 _swigc__p_wxChildFocusEvent
,
33912 _swigc__p_wxClipboardTextEvent
,
33913 _swigc__p_wxCloseEvent
,
33914 _swigc__p_wxColour
,
33915 _swigc__p_wxColourData
,
33916 _swigc__p_wxColourDialog
,
33917 _swigc__p_wxCommandEvent
,
33918 _swigc__p_wxContextMenuEvent
,
33919 _swigc__p_wxControl
,
33920 _swigc__p_wxControlWithItems
,
33922 _swigc__p_wxDateEvent
,
33923 _swigc__p_wxDialog
,
33924 _swigc__p_wxDirDialog
,
33925 _swigc__p_wxDisplayChangedEvent
,
33926 _swigc__p_wxDropFilesEvent
,
33927 _swigc__p_wxDuplexMode
,
33928 _swigc__p_wxEraseEvent
,
33930 _swigc__p_wxEvtHandler
,
33931 _swigc__p_wxFSFile
,
33932 _swigc__p_wxFileDialog
,
33933 _swigc__p_wxFileSystem
,
33934 _swigc__p_wxFindDialogEvent
,
33935 _swigc__p_wxFindReplaceData
,
33936 _swigc__p_wxFindReplaceDialog
,
33937 _swigc__p_wxFlexGridSizer
,
33938 _swigc__p_wxFocusEvent
,
33940 _swigc__p_wxFontData
,
33941 _swigc__p_wxFontDialog
,
33943 _swigc__p_wxGBSizerItem
,
33944 _swigc__p_wxGIFHandler
,
33945 _swigc__p_wxGridBagSizer
,
33946 _swigc__p_wxGridSizer
,
33947 _swigc__p_wxHtmlLinkInfo
,
33948 _swigc__p_wxICOHandler
,
33950 _swigc__p_wxIconBundle
,
33951 _swigc__p_wxIconizeEvent
,
33952 _swigc__p_wxIdleEvent
,
33954 _swigc__p_wxImageHandler
,
33955 _swigc__p_wxIndividualLayoutConstraint
,
33956 _swigc__p_wxInitDialogEvent
,
33957 _swigc__p_wxJPEGHandler
,
33958 _swigc__p_wxKeyEvent
,
33959 _swigc__p_wxLayoutAlgorithm
,
33960 _swigc__p_wxLayoutConstraints
,
33961 _swigc__p_wxMDIChildFrame
,
33962 _swigc__p_wxMDIClientWindow
,
33963 _swigc__p_wxMDIParentFrame
,
33964 _swigc__p_wxMaximizeEvent
,
33966 _swigc__p_wxMenuBar
,
33967 _swigc__p_wxMenuEvent
,
33968 _swigc__p_wxMenuItem
,
33969 _swigc__p_wxMessageDialog
,
33970 _swigc__p_wxMiniFrame
,
33971 _swigc__p_wxMouseCaptureChangedEvent
,
33972 _swigc__p_wxMouseCaptureLostEvent
,
33973 _swigc__p_wxMouseEvent
,
33974 _swigc__p_wxMoveEvent
,
33975 _swigc__p_wxMultiChoiceDialog
,
33976 _swigc__p_wxNavigationKeyEvent
,
33977 _swigc__p_wxNcPaintEvent
,
33978 _swigc__p_wxNotifyEvent
,
33979 _swigc__p_wxNumberEntryDialog
,
33980 _swigc__p_wxObject
,
33981 _swigc__p_wxPCXHandler
,
33982 _swigc__p_wxPNGHandler
,
33983 _swigc__p_wxPNMHandler
,
33984 _swigc__p_wxPageSetupDialog
,
33985 _swigc__p_wxPageSetupDialogData
,
33986 _swigc__p_wxPaintEvent
,
33987 _swigc__p_wxPaletteChangedEvent
,
33989 _swigc__p_wxPaperSize
,
33990 _swigc__p_wxPasswordEntryDialog
,
33992 _swigc__p_wxPopupWindow
,
33993 _swigc__p_wxPreviewCanvas
,
33994 _swigc__p_wxPreviewControlBar
,
33995 _swigc__p_wxPreviewFrame
,
33996 _swigc__p_wxPrintData
,
33997 _swigc__p_wxPrintDialog
,
33998 _swigc__p_wxPrintDialogData
,
33999 _swigc__p_wxPrintPreview
,
34000 _swigc__p_wxPrinter
,
34001 _swigc__p_wxProgressDialog
,
34003 _swigc__p_wxPyCommandEvent
,
34004 _swigc__p_wxPyEvent
,
34005 _swigc__p_wxPyHtmlListBox
,
34006 _swigc__p_wxPyImageHandler
,
34007 _swigc__p_wxPyPanel
,
34008 _swigc__p_wxPyPopupTransientWindow
,
34009 _swigc__p_wxPyPreviewControlBar
,
34010 _swigc__p_wxPyPreviewFrame
,
34011 _swigc__p_wxPyPrintPreview
,
34012 _swigc__p_wxPyPrintout
,
34013 _swigc__p_wxPyScrolledWindow
,
34014 _swigc__p_wxPySizer
,
34015 _swigc__p_wxPyTaskBarIcon
,
34016 _swigc__p_wxPyVListBox
,
34017 _swigc__p_wxPyVScrolledWindow
,
34018 _swigc__p_wxPyValidator
,
34019 _swigc__p_wxPyWindow
,
34020 _swigc__p_wxQueryLayoutInfoEvent
,
34021 _swigc__p_wxQueryNewPaletteEvent
,
34023 _swigc__p_wxRegion
,
34024 _swigc__p_wxSashEvent
,
34025 _swigc__p_wxSashLayoutWindow
,
34026 _swigc__p_wxSashWindow
,
34027 _swigc__p_wxScrollEvent
,
34028 _swigc__p_wxScrollWinEvent
,
34029 _swigc__p_wxScrolledWindow
,
34030 _swigc__p_wxSetCursorEvent
,
34031 _swigc__p_wxShowEvent
,
34032 _swigc__p_wxSingleChoiceDialog
,
34034 _swigc__p_wxSizeEvent
,
34036 _swigc__p_wxSizerItem
,
34037 _swigc__p_wxSplashScreen
,
34038 _swigc__p_wxSplashScreenWindow
,
34039 _swigc__p_wxSplitterEvent
,
34040 _swigc__p_wxSplitterWindow
,
34041 _swigc__p_wxStaticBoxSizer
,
34042 _swigc__p_wxStatusBar
,
34043 _swigc__p_wxStdDialogButtonSizer
,
34044 _swigc__p_wxString
,
34045 _swigc__p_wxSysColourChangedEvent
,
34046 _swigc__p_wxTIFFHandler
,
34047 _swigc__p_wxTaskBarIcon
,
34048 _swigc__p_wxTaskBarIconEvent
,
34049 _swigc__p_wxTextEntryDialog
,
34050 _swigc__p_wxTipWindow
,
34051 _swigc__p_wxToolBar
,
34052 _swigc__p_wxTopLevelWindow
,
34053 _swigc__p_wxUpdateUIEvent
,
34054 _swigc__p_wxValidator
,
34055 _swigc__p_wxVisualAttributes
,
34056 _swigc__p_wxWindow
,
34057 _swigc__p_wxWindowCreateEvent
,
34058 _swigc__p_wxWindowDestroyEvent
,
34059 _swigc__p_wxXPMHandler
,
34063 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34065 static swig_const_info swig_const_table
[] = {
34066 {0, 0, 0, 0.0, 0, 0}};
34071 /* -----------------------------------------------------------------------------
34072 * Type initialization:
34073 * This problem is tough by the requirement that no dynamic
34074 * memory is used. Also, since swig_type_info structures store pointers to
34075 * swig_cast_info structures and swig_cast_info structures store pointers back
34076 * to swig_type_info structures, we need some lookup code at initialization.
34077 * The idea is that swig generates all the structures that are needed.
34078 * The runtime then collects these partially filled structures.
34079 * The SWIG_InitializeModule function takes these initial arrays out of
34080 * swig_module, and does all the lookup, filling in the swig_module.types
34081 * array with the correct data and linking the correct swig_cast_info
34082 * structures together.
34084 * The generated swig_type_info structures are assigned staticly to an initial
34085 * array. We just loop though that array, and handle each type individually.
34086 * First we lookup if this type has been already loaded, and if so, use the
34087 * loaded structure instead of the generated one. Then we have to fill in the
34088 * cast linked list. The cast data is initially stored in something like a
34089 * two-dimensional array. Each row corresponds to a type (there are the same
34090 * number of rows as there are in the swig_type_initial array). Each entry in
34091 * a column is one of the swig_cast_info structures for that type.
34092 * The cast_initial array is actually an array of arrays, because each row has
34093 * a variable number of columns. So to actually build the cast linked list,
34094 * we find the array of casts associated with the type, and loop through it
34095 * adding the casts to the list. The one last trick we need to do is making
34096 * sure the type pointer in the swig_cast_info struct is correct.
34098 * First off, we lookup the cast->type name to see if it is already loaded.
34099 * There are three cases to handle:
34100 * 1) If the cast->type has already been loaded AND the type we are adding
34101 * casting info to has not been loaded (it is in this module), THEN we
34102 * replace the cast->type pointer with the type pointer that has already
34104 * 2) If BOTH types (the one we are adding casting info to, and the
34105 * cast->type) are loaded, THEN the cast info has already been loaded by
34106 * the previous module so we just ignore it.
34107 * 3) Finally, if cast->type has not already been loaded, then we add that
34108 * swig_cast_info to the linked list (because the cast->type) pointer will
34110 * ----------------------------------------------------------------------------- */
34120 #define SWIGRUNTIME_DEBUG
34124 SWIG_InitializeModule(void *clientdata
) {
34126 swig_module_info
*module_head
;
34127 static int init_run
= 0;
34129 clientdata
= clientdata
;
34131 if (init_run
) return;
34134 /* Initialize the swig_module */
34135 swig_module
.type_initial
= swig_type_initial
;
34136 swig_module
.cast_initial
= swig_cast_initial
;
34138 /* Try and load any already created modules */
34139 module_head
= SWIG_GetModule(clientdata
);
34141 swig_module
.next
= module_head
->next
;
34142 module_head
->next
= &swig_module
;
34144 /* This is the first module loaded */
34145 swig_module
.next
= &swig_module
;
34146 SWIG_SetModule(clientdata
, &swig_module
);
34149 /* Now work on filling in swig_module.types */
34150 #ifdef SWIGRUNTIME_DEBUG
34151 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34153 for (i
= 0; i
< swig_module
.size
; ++i
) {
34154 swig_type_info
*type
= 0;
34155 swig_type_info
*ret
;
34156 swig_cast_info
*cast
;
34158 #ifdef SWIGRUNTIME_DEBUG
34159 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34162 /* if there is another module already loaded */
34163 if (swig_module
.next
!= &swig_module
) {
34164 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34167 /* Overwrite clientdata field */
34168 #ifdef SWIGRUNTIME_DEBUG
34169 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34171 if (swig_module
.type_initial
[i
]->clientdata
) {
34172 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34173 #ifdef SWIGRUNTIME_DEBUG
34174 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34178 type
= swig_module
.type_initial
[i
];
34181 /* Insert casting types */
34182 cast
= swig_module
.cast_initial
[i
];
34183 while (cast
->type
) {
34184 /* Don't need to add information already in the list */
34186 #ifdef SWIGRUNTIME_DEBUG
34187 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34189 if (swig_module
.next
!= &swig_module
) {
34190 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34191 #ifdef SWIGRUNTIME_DEBUG
34192 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34196 if (type
== swig_module
.type_initial
[i
]) {
34197 #ifdef SWIGRUNTIME_DEBUG
34198 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34203 /* Check for casting already in the list */
34204 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34205 #ifdef SWIGRUNTIME_DEBUG
34206 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34208 if (!ocast
) ret
= 0;
34213 #ifdef SWIGRUNTIME_DEBUG
34214 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34217 type
->cast
->prev
= cast
;
34218 cast
->next
= type
->cast
;
34224 /* Set entry in modules->types array equal to the type */
34225 swig_module
.types
[i
] = type
;
34227 swig_module
.types
[i
] = 0;
34229 #ifdef SWIGRUNTIME_DEBUG
34230 printf("**** SWIG_InitializeModule: Cast List ******\n");
34231 for (i
= 0; i
< swig_module
.size
; ++i
) {
34233 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34234 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34235 while (cast
->type
) {
34236 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34240 printf("---- Total casts: %d\n",j
);
34242 printf("**** SWIG_InitializeModule: Cast List ******\n");
34246 /* This function will propagate the clientdata field of type to
34247 * any new swig_type_info structures that have been added into the list
34248 * of equivalent types. It is like calling
34249 * SWIG_TypeClientData(type, clientdata) a second time.
34252 SWIG_PropagateClientData(void) {
34254 swig_cast_info
*equiv
;
34255 static int init_run
= 0;
34257 if (init_run
) return;
34260 for (i
= 0; i
< swig_module
.size
; i
++) {
34261 if (swig_module
.types
[i
]->clientdata
) {
34262 equiv
= swig_module
.types
[i
]->cast
;
34264 if (!equiv
->converter
) {
34265 if (equiv
->type
&& !equiv
->type
->clientdata
)
34266 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34268 equiv
= equiv
->next
;
34288 /* Python-specific SWIG API */
34289 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34290 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34291 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34293 /* -----------------------------------------------------------------------------
34294 * global variable support code.
34295 * ----------------------------------------------------------------------------- */
34297 typedef struct swig_globalvar
{
34298 char *name
; /* Name of global variable */
34299 PyObject
*(*get_attr
)(void); /* Return the current value */
34300 int (*set_attr
)(PyObject
*); /* Set the value */
34301 struct swig_globalvar
*next
;
34304 typedef struct swig_varlinkobject
{
34306 swig_globalvar
*vars
;
34307 } swig_varlinkobject
;
34309 SWIGINTERN PyObject
*
34310 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34311 return PyString_FromString("<Swig global variables>");
34314 SWIGINTERN PyObject
*
34315 swig_varlink_str(swig_varlinkobject
*v
) {
34316 PyObject
*str
= PyString_FromString("(");
34317 swig_globalvar
*var
;
34318 for (var
= v
->vars
; var
; var
=var
->next
) {
34319 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34320 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34322 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34327 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34328 PyObject
*str
= swig_varlink_str(v
);
34329 fprintf(fp
,"Swig global variables ");
34330 fprintf(fp
,"%s\n", PyString_AsString(str
));
34336 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34337 swig_globalvar
*var
= v
->vars
;
34339 swig_globalvar
*n
= var
->next
;
34346 SWIGINTERN PyObject
*
34347 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34348 PyObject
*res
= NULL
;
34349 swig_globalvar
*var
= v
->vars
;
34351 if (strcmp(var
->name
,n
) == 0) {
34352 res
= (*var
->get_attr
)();
34357 if (res
== NULL
&& !PyErr_Occurred()) {
34358 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34364 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34366 swig_globalvar
*var
= v
->vars
;
34368 if (strcmp(var
->name
,n
) == 0) {
34369 res
= (*var
->set_attr
)(p
);
34374 if (res
== 1 && !PyErr_Occurred()) {
34375 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34380 SWIGINTERN PyTypeObject
*
34381 swig_varlink_type(void) {
34382 static char varlink__doc__
[] = "Swig var link object";
34383 static PyTypeObject varlink_type
;
34384 static int type_init
= 0;
34386 const PyTypeObject tmp
34388 PyObject_HEAD_INIT(NULL
)
34389 0, /* Number of items in variable part (ob_size) */
34390 (char *)"swigvarlink", /* Type name (tp_name) */
34391 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34392 0, /* Itemsize (tp_itemsize) */
34393 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34394 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34395 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34396 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34397 0, /* tp_compare */
34398 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34399 0, /* tp_as_number */
34400 0, /* tp_as_sequence */
34401 0, /* tp_as_mapping */
34404 (reprfunc
)swig_varlink_str
, /* tp_str */
34405 0, /* tp_getattro */
34406 0, /* tp_setattro */
34407 0, /* tp_as_buffer */
34409 varlink__doc__
, /* tp_doc */
34410 0, /* tp_traverse */
34412 0, /* tp_richcompare */
34413 0, /* tp_weaklistoffset */
34414 #if PY_VERSION_HEX >= 0x02020000
34415 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34417 #if PY_VERSION_HEX >= 0x02030000
34420 #ifdef COUNT_ALLOCS
34421 0,0,0,0 /* tp_alloc -> tp_next */
34424 varlink_type
= tmp
;
34425 varlink_type
.ob_type
= &PyType_Type
;
34428 return &varlink_type
;
34431 /* Create a variable linking object for use later */
34432 SWIGINTERN PyObject
*
34433 SWIG_Python_newvarlink(void) {
34434 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34438 return ((PyObject
*) result
);
34442 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34443 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34444 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34446 size_t size
= strlen(name
)+1;
34447 gv
->name
= (char *)malloc(size
);
34449 strncpy(gv
->name
,name
,size
);
34450 gv
->get_attr
= get_attr
;
34451 gv
->set_attr
= set_attr
;
34452 gv
->next
= v
->vars
;
34458 SWIGINTERN PyObject
*
34460 static PyObject
*_SWIG_globals
= 0;
34461 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34462 return _SWIG_globals
;
34465 /* -----------------------------------------------------------------------------
34466 * constants/methods manipulation
34467 * ----------------------------------------------------------------------------- */
34469 /* Install Constants */
34471 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34474 for (i
= 0; constants
[i
].type
; ++i
) {
34475 switch(constants
[i
].type
) {
34476 case SWIG_PY_POINTER
:
34477 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34479 case SWIG_PY_BINARY
:
34480 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34487 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34493 /* -----------------------------------------------------------------------------*/
34494 /* Fix SwigMethods to carry the callback ptrs when needed */
34495 /* -----------------------------------------------------------------------------*/
34498 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34499 swig_const_info
*const_table
,
34500 swig_type_info
**types
,
34501 swig_type_info
**types_initial
) {
34503 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34504 const char *c
= methods
[i
].ml_doc
;
34505 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34507 swig_const_info
*ci
= 0;
34508 const char *name
= c
+ 10;
34509 for (j
= 0; const_table
[j
].type
; ++j
) {
34510 if (strncmp(const_table
[j
].name
, name
,
34511 strlen(const_table
[j
].name
)) == 0) {
34512 ci
= &(const_table
[j
]);
34517 size_t shift
= (ci
->ptype
) - types
;
34518 swig_type_info
*ty
= types_initial
[shift
];
34519 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34520 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34521 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34524 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34526 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34528 strncpy(buff
, "swig_ptr: ", 10);
34530 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34531 methods
[i
].ml_doc
= ndoc
;
34543 /* -----------------------------------------------------------------------------*
34544 * Partial Init method
34545 * -----------------------------------------------------------------------------*/
34550 SWIGEXPORT
void SWIG_init(void) {
34553 /* Fix SwigMethods to carry the callback ptrs when needed */
34554 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34556 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34557 d
= PyModule_GetDict(m
);
34559 SWIG_InitializeModule(0);
34560 SWIG_InstallConstants(d
,swig_const_table
);
34563 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34564 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34565 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34566 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34567 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34568 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34569 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34570 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34571 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34572 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34573 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34574 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34575 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34576 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34577 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34578 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34579 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34580 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34581 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34582 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34583 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34584 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34585 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34586 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34587 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34588 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34589 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34590 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34591 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34592 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34593 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34594 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34595 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34596 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34597 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34598 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34599 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34600 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34601 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34602 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34603 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34604 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34605 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34606 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34607 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34608 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34609 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34610 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34611 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34612 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34613 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34614 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34615 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34616 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34617 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34618 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34619 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34620 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34621 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34622 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34623 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34624 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34625 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34626 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34627 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34628 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34629 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34630 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34631 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34632 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34633 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34634 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34635 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34636 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34637 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34638 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34639 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34640 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34641 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34642 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34643 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34644 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34645 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34646 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34647 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34648 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34649 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34650 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34651 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34652 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34653 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34654 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34655 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34656 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34657 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34658 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34659 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34660 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34661 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34662 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34663 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34664 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34665 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34666 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34667 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34669 // Map renamed classes back to their common name for OOR
34670 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34671 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34672 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34674 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34675 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34676 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34677 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34678 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34679 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34680 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34681 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34682 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34683 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34684 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34685 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34686 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34687 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34688 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34689 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34690 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34691 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34692 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34693 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34694 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34695 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34696 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34697 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34698 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34699 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34700 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34701 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34702 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34703 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34704 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34705 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34706 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34707 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34708 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34709 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34710 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34711 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34712 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34713 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34714 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34715 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34716 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34717 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34718 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34719 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34720 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34721 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34722 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34723 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34724 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34725 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34726 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34727 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34728 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34729 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34730 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34731 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34732 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34733 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34734 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34735 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34736 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34737 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34738 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34739 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34740 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34741 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34742 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34743 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34744 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34745 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34746 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34747 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34748 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34749 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34750 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34751 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34752 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34753 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34754 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34755 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34756 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34757 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34758 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34759 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34760 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34761 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34762 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34763 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34764 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34765 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34766 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34767 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34768 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34769 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34770 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34771 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34772 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34773 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34774 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34775 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34776 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34777 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34779 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");