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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPanel swig_types[91]
2554 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2555 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556 #define SWIGTYPE_p_wxPoint swig_types[94]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565 #define SWIGTYPE_p_wxPrinter swig_types[103]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPySizer swig_types[117]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRect swig_types[125]
2588 #define SWIGTYPE_p_wxRegion swig_types[126]
2589 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxToolBar swig_types[154]
2617 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_windows_
2652 #define SWIG_name "_windows_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2735 # define LLONG_MIN LONG_LONG_MIN
2738 # define LLONG_MAX LONG_LONG_MAX
2741 # define ULLONG_MAX ULONG_LONG_MAX
2746 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2748 if (PyNumber_Check(obj
)) {
2749 if (val
) *val
= PyInt_AsLong(obj
);
2752 return SWIG_TypeError
;
2757 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2760 int res
= SWIG_AsVal_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< int >(v
);
2773 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2775 if (obj
== Py_True
) {
2776 if (val
) *val
= true;
2778 } else if (obj
== Py_False
) {
2779 if (val
) *val
= false;
2783 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2784 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2790 #define SWIG_From_long PyInt_FromLong
2793 SWIGINTERNINLINE PyObject
*
2794 SWIG_From_int (int value
)
2796 return SWIG_From_long (value
);
2801 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2803 if (PyNumber_Check(obj
)) {
2804 if (val
) *val
= PyFloat_AsDouble(obj
);
2807 return SWIG_TypeError
;
2811 #define SWIG_From_double PyFloat_FromDouble
2813 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2814 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2815 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2816 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2817 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2818 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2821 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2823 self
->GetFieldRect(i
, r
);
2826 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2827 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2828 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2830 #include <wx/popupwin.h>
2833 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2836 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2837 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2838 : wxPopupTransientWindow(parent
, style
) {}
2840 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2841 DEC_PYCALLBACK__(OnDismiss
);
2842 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2847 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2848 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2849 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2852 #include <wx/tipwin.h>
2854 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2855 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2858 #include <wx/tipwin.h>
2861 #include <wx/vscroll.h>
2864 class wxPyVScrolledWindow
: public wxVScrolledWindow
2866 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2868 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2870 wxPyVScrolledWindow(wxWindow
*parent
,
2871 wxWindowID id
= wxID_ANY
,
2872 const wxPoint
& pos
= wxDefaultPosition
,
2873 const wxSize
& size
= wxDefaultSize
,
2875 const wxString
& name
= wxPyPanelNameStr
)
2876 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2879 // Overridable virtuals
2881 // this function must be overridden in the derived class and it should
2882 // return the height of the given line in pixels
2883 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2886 // this function doesn't have to be overridden but it may be useful to do
2887 // it if calculating the lines heights is a relatively expensive operation
2888 // as it gives the user code a possibility to calculate several of them at
2891 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2892 // shouldn't rely on the latter being called for all lines in the interval
2893 // specified here. It is also possible that OnGetLineHeight() will be
2894 // called for the lines outside of this interval, so this is really just a
2895 // hint, not a promise.
2897 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2899 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2902 // when the number of lines changes, we try to estimate the total height
2903 // of all lines which is a rather expensive operation in terms of lines
2904 // access, so if the user code may estimate the average height
2905 // better/faster than we do, it should override this function to implement
2908 // this function should return the best guess for the total height it may
2910 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2913 // Also expose some other interesting protected methods
2916 // find the index of the line we need to show at the top of the window such
2917 // that the last (fully or partially) visible line is the given one
2918 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2919 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2921 // get the total height of the lines between lineMin (inclusive) and
2922 // lineMax (exclusive)
2923 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2924 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2926 // update the thumb size shown by the scrollbar
2927 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2929 // remove the scrollbar completely because we don't need it
2930 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2935 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2937 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2938 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2939 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2943 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2946 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2947 return SWIG_TypeError
;
2950 *val
= (unsigned long)v
;
2955 SWIGINTERNINLINE
int
2956 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2959 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2960 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2965 SWIGINTERNINLINE PyObject
*
2966 SWIG_From_unsigned_SS_long (unsigned long value
)
2968 return (value
> LONG_MAX
) ?
2969 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2973 SWIGINTERNINLINE PyObject
*
2974 SWIG_From_size_t (size_t value
)
2976 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2980 #include <wx/vlbox.h>
2982 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2984 class wxPyVListBox
: public wxVListBox
2986 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2988 wxPyVListBox() : wxVListBox() {}
2990 wxPyVListBox(wxWindow
*parent
,
2991 wxWindowID id
= wxID_ANY
,
2992 const wxPoint
& pos
= wxDefaultPosition
,
2993 const wxSize
& size
= wxDefaultSize
,
2995 const wxString
& name
= wxPyVListBoxNameStr
)
2996 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2999 // Overridable virtuals
3001 // the derived class must implement this function to actually draw the item
3002 // with the given index on the provided DC
3003 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3004 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3007 // the derived class must implement this method to return the height of the
3009 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3010 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3013 // this method may be used to draw separators between the lines; note that
3014 // the rectangle may be modified, typically to deflate it a bit before
3015 // passing to OnDrawItem()
3017 // the base class version doesn't do anything
3018 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3019 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3022 // this method is used to draw the items background and, maybe, a border
3025 // the base class version implements a reasonable default behaviour which
3026 // consists in drawing the selected item with the standard background
3027 // colour and drawing a border around the item if it is either selected or
3029 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3030 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3036 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3038 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3039 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3040 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3041 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3044 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3045 unsigned long cookie
= 0;
3046 int selected
= self
->GetFirstSelected(cookie
);
3047 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3048 PyObject
* tup
= PyTuple_New(2);
3049 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3050 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3051 wxPyEndBlockThreads(blocked
);
3054 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3055 int selected
= self
->GetNextSelected(cookie
);
3056 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3057 PyObject
* tup
= PyTuple_New(2);
3058 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3059 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3060 wxPyEndBlockThreads(blocked
);
3064 #include <wx/htmllbox.h>
3067 class wxPyHtmlListBox
: public wxHtmlListBox
3069 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3071 wxPyHtmlListBox() : wxHtmlListBox() {}
3073 wxPyHtmlListBox(wxWindow
*parent
,
3074 wxWindowID id
= wxID_ANY
,
3075 const wxPoint
& pos
= wxDefaultPosition
,
3076 const wxSize
& size
= wxDefaultSize
,
3078 const wxString
& name
= wxPyVListBoxNameStr
)
3079 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3082 // Overridable virtuals
3084 // this method must be implemented in the derived class and should return
3085 // the body (i.e. without <html>) of the HTML for the given item
3086 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3088 // this function may be overridden to decorate HTML returned by OnGetItem()
3089 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3091 // These are from wxVListBox
3092 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3093 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3096 // // this method allows to customize the selection appearance: it may be used
3097 // // to specify the colour of the text which normally has the given colour
3098 // // colFg when it is inside the selection
3100 // // by default, the original colour is not used at all and all text has the
3101 // // same (default for this system) colour inside selection
3102 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3104 // // this is the same as GetSelectedTextColour() but allows to customize the
3105 // // background colour -- this is even more rarely used as you can change it
3106 // // globally using SetSelectionBackground()
3107 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3110 // This method may be overriden to handle clicking on a link in
3111 // the listbox. By default, clicking links is ignored.
3112 virtual void OnLinkClicked(size_t n
,
3113 const wxHtmlLinkInfo
& link
);
3119 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3121 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3122 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3123 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3124 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3127 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3128 const wxHtmlLinkInfo
& link
) {
3130 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3131 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3132 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3133 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3136 wxPyEndBlockThreads(blocked
);
3138 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3145 #ifndef wxHAS_TASK_BAR_ICON
3146 // implement dummy classes for platforms that don't have it
3148 class wxTaskBarIcon
: public wxEvtHandler
3151 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3155 class wxTaskBarIconEvent
: public wxEvent
3158 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3159 { wxPyRaiseNotImplemented(); }
3160 virtual wxEvent
* Clone() const { return NULL
; }
3161 bool IsOk() const { return false; }
3162 bool IsIconInstalled() const { return false; }
3163 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3164 bool RemoveIcon() { return false; }
3165 bool PopupMenu(wxMenu
*menu
) { return false; }
3169 wxEVT_TASKBAR_MOVE
= 0,
3170 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3171 wxEVT_TASKBAR_LEFT_UP
= 0,
3172 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3173 wxEVT_TASKBAR_RIGHT_UP
= 0,
3174 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3175 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3180 // Otherwise make a class that can virtualize CreatePopupMenu
3181 class wxPyTaskBarIcon
: public wxTaskBarIcon
3183 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3185 wxPyTaskBarIcon() : wxTaskBarIcon()
3188 wxMenu
* CreatePopupMenu() {
3189 wxMenu
*rval
= NULL
;
3191 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3192 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3195 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3197 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3202 wxPyEndBlockThreads(blocked
);
3204 rval
= wxTaskBarIcon::CreatePopupMenu();
3211 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3215 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3219 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3220 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3221 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3222 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3223 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3224 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3226 // for compatibility only
3227 #define wxHIDE_READONLY 0
3229 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3231 self
->GetFilenames(arr
);
3232 return wxArrayString2PyList_helper(arr
);
3234 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3236 self
->GetPaths(arr
);
3237 return wxArrayString2PyList_helper(arr
);
3239 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3240 return wxArrayInt2PyList_helper(self
->GetSelections());
3242 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
){
3243 return new wxSingleChoiceDialog(parent
, message
, caption
,
3244 choices
, choices_array
, NULL
, style
, pos
);
3246 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3248 SWIGINTERNINLINE PyObject
*
3249 SWIG_From_bool (bool value
)
3251 return PyBool_FromLong(value
? 1 : 0);
3257 // C++ version of Python aware wxWindow
3258 class wxPyWindow
: public wxWindow
3260 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3262 wxPyWindow() : wxWindow() {}
3263 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3264 const wxPoint
& pos
= wxDefaultPosition
,
3265 const wxSize
& size
= wxDefaultSize
,
3267 const wxString
& name
= wxPyPanelNameStr
)
3268 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3270 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3272 bool DoEraseBackground(wxDC
* dc
) {
3274 return wxWindow::DoEraseBackground(dc
->GetHDC());
3276 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3282 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3283 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3284 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3287 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3291 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3294 DEC_PYCALLBACK__(InitDialog
);
3295 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3297 DEC_PYCALLBACK_BOOL_(Validate
);
3299 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3301 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3303 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3306 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3307 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3309 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3311 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3316 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3318 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3319 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3320 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3323 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3327 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3330 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3331 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3332 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3335 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3337 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3339 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3343 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3345 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3347 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3349 // C++ version of Python aware wxPanel
3350 class wxPyPanel
: public wxPanel
3352 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3354 wxPyPanel() : wxPanel() {}
3355 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3356 const wxPoint
& pos
= wxDefaultPosition
,
3357 const wxSize
& size
= wxDefaultSize
,
3359 const wxString
& name
= wxPyPanelNameStr
)
3360 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3362 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3363 bool DoEraseBackground(wxDC
* dc
) {
3365 return wxWindow::DoEraseBackground(dc
->GetHDC());
3367 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3374 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3375 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3376 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3377 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3379 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3380 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3381 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3383 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3384 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3386 DEC_PYCALLBACK__(InitDialog
);
3387 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3388 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3389 DEC_PYCALLBACK_BOOL_(Validate
);
3391 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3392 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3393 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3395 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3396 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3398 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3399 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3401 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3403 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3408 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3410 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3411 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3412 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3413 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3415 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3416 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3417 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3419 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3420 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3422 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3423 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3424 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3425 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3427 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3428 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3429 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3431 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3432 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3435 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3437 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3439 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3441 // C++ version of Python aware wxScrolledWindow
3442 class wxPyScrolledWindow
: public wxScrolledWindow
3444 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3446 wxPyScrolledWindow() : wxScrolledWindow() {}
3447 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3448 const wxPoint
& pos
= wxDefaultPosition
,
3449 const wxSize
& size
= wxDefaultSize
,
3451 const wxString
& name
= wxPyPanelNameStr
)
3452 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3454 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3455 bool DoEraseBackground(wxDC
* dc
) {
3457 return wxWindow::DoEraseBackground(dc
->GetHDC());
3459 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3465 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3466 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3467 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3468 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3470 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3471 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3472 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3474 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3475 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3477 DEC_PYCALLBACK__(InitDialog
);
3478 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3479 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3480 DEC_PYCALLBACK_BOOL_(Validate
);
3482 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3483 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3484 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3486 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3487 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3489 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3490 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3492 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3494 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3499 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3501 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3502 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3503 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3504 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3506 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3507 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3508 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3510 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3511 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3513 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3514 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3515 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3516 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3518 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3519 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3520 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3522 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3523 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3526 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3528 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3530 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3533 #include "wx/wxPython/printfw.h"
3536 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3537 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3538 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3540 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3541 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3542 self
->GetPrivDataLen());
3543 wxPyEndBlockThreads(blocked
);
3546 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3547 if (! PyString_Check(data
)) {
3548 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3549 "Expected string object"));
3553 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3554 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3555 wxPyEndBlockThreads(blocked
);
3559 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3561 // Since this one would be tough and ugly to do with the Macros...
3562 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3563 bool hadErr
= false;
3566 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3567 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3568 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3569 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3572 val
= PyTuple_GetItem(result
, 0);
3573 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3576 val
= PyTuple_GetItem(result
, 1);
3577 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3580 val
= PyTuple_GetItem(result
, 2);
3581 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3584 val
= PyTuple_GetItem(result
, 3);
3585 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3592 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3597 wxPyEndBlockThreads(blocked
);
3599 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3604 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3605 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3606 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3607 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3608 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3609 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3610 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3616 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3617 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3620 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3621 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3624 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3625 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3626 PyObject* win = wxPyMake_wxObject(a,false); \
3627 PyObject* dc = wxPyMake_wxObject(&b,false); \
3628 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3632 wxPyEndBlockThreads(blocked); \
3634 rval = PCLASS::CBNAME(a, b); \
3641 class wxPyPrintPreview
: public wxPrintPreview
3643 DECLARE_CLASS(wxPyPrintPreview
)
3645 wxPyPrintPreview(wxPyPrintout
* printout
,
3646 wxPyPrintout
* printoutForPrinting
,
3647 wxPrintDialogData
* data
=NULL
)
3648 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3650 wxPyPrintPreview(wxPyPrintout
* printout
,
3651 wxPyPrintout
* printoutForPrinting
,
3653 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3656 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3657 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3658 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3659 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3660 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3661 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3662 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3667 // Stupid renamed classes... Fix this in 2.5...
3668 #if defined(__WXMSW__)
3669 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3670 #elif defined(__WXMAC__)
3671 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3673 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3676 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3677 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3678 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3679 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3680 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3681 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3682 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3685 class wxPyPreviewFrame
: public wxPreviewFrame
3687 DECLARE_CLASS(wxPyPreviewFrame
)
3689 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3690 const wxString
& title
,
3691 const wxPoint
& pos
= wxDefaultPosition
,
3692 const wxSize
& size
= wxDefaultSize
,
3693 long style
= wxDEFAULT_FRAME_STYLE
,
3694 const wxString
& name
= wxPyFrameNameStr
)
3695 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3698 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3699 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3701 DEC_PYCALLBACK_VOID_(Initialize
);
3702 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3703 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3708 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3710 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3711 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3712 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3715 class wxPyPreviewControlBar
: public wxPreviewControlBar
3717 DECLARE_CLASS(wxPyPreviewControlBar
)
3719 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3722 const wxPoint
& pos
= wxDefaultPosition
,
3723 const wxSize
& size
= wxDefaultSize
,
3725 const wxString
& name
= wxPyPanelNameStr
)
3726 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3729 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3731 DEC_PYCALLBACK_VOID_(CreateButtons
);
3732 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3737 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3738 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3739 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3744 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
= 0;
3746 wxWindow
*arg1
= (wxWindow
*) 0 ;
3747 int arg2
= (int) (int)-1 ;
3748 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3749 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3750 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3751 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3752 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3753 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3754 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3755 wxPanel
*result
= 0 ;
3764 bool temp6
= false ;
3765 PyObject
* obj0
= 0 ;
3766 PyObject
* obj1
= 0 ;
3767 PyObject
* obj2
= 0 ;
3768 PyObject
* obj3
= 0 ;
3769 PyObject
* obj4
= 0 ;
3770 PyObject
* obj5
= 0 ;
3771 char * kwnames
[] = {
3772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3777 if (!SWIG_IsOK(res1
)) {
3778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3780 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3783 if (!SWIG_IsOK(ecode2
)) {
3784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3786 arg2
= static_cast< int >(val2
);
3791 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3797 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3801 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3802 if (!SWIG_IsOK(ecode5
)) {
3803 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3805 arg5
= static_cast< long >(val5
);
3809 arg6
= wxString_in_helper(obj5
);
3810 if (arg6
== NULL
) SWIG_fail
;
3815 if (!wxPyCheckForApp()) SWIG_fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3836 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3837 PyObject
*resultobj
= 0;
3838 wxPanel
*result
= 0 ;
3840 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3842 if (!wxPyCheckForApp()) SWIG_fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= (wxPanel
*)new wxPanel();
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3855 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
= 0;
3857 wxPanel
*arg1
= (wxPanel
*) 0 ;
3858 wxWindow
*arg2
= (wxWindow
*) 0 ;
3859 int arg3
= (int) (int)-1 ;
3860 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3861 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3862 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3863 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3864 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3865 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3866 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3878 bool temp7
= false ;
3879 PyObject
* obj0
= 0 ;
3880 PyObject
* obj1
= 0 ;
3881 PyObject
* obj2
= 0 ;
3882 PyObject
* obj3
= 0 ;
3883 PyObject
* obj4
= 0 ;
3884 PyObject
* obj5
= 0 ;
3885 PyObject
* obj6
= 0 ;
3886 char * kwnames
[] = {
3887 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3892 if (!SWIG_IsOK(res1
)) {
3893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3895 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3897 if (!SWIG_IsOK(res2
)) {
3898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3900 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3903 if (!SWIG_IsOK(ecode3
)) {
3904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3906 arg3
= static_cast< int >(val3
);
3911 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3917 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3921 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3922 if (!SWIG_IsOK(ecode6
)) {
3923 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3925 arg6
= static_cast< long >(val6
);
3929 arg7
= wxString_in_helper(obj6
);
3930 if (arg7
== NULL
) SWIG_fail
;
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3957 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3958 PyObject
*resultobj
= 0;
3959 wxPanel
*arg1
= (wxPanel
*) 0 ;
3962 PyObject
*swig_obj
[1] ;
3964 if (!args
) SWIG_fail
;
3966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3967 if (!SWIG_IsOK(res1
)) {
3968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3970 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 (arg1
)->SetFocusIgnoringChildren();
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 resultobj
= SWIG_Py_Void();
3984 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
= 0;
3986 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3987 SwigValueWrapper
<wxVisualAttributes
> result
;
3990 PyObject
* obj0
= 0 ;
3991 char * kwnames
[] = {
3992 (char *) "variant", NULL
3995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3997 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3998 if (!SWIG_IsOK(ecode1
)) {
3999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4001 arg1
= static_cast< wxWindowVariant
>(val1
);
4004 if (!wxPyCheckForApp()) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4017 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4020 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4021 return SWIG_Py_Void();
4024 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4025 return SWIG_Python_InitShadowInstance(args
);
4028 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
= 0;
4030 wxWindow
*arg1
= (wxWindow
*) 0 ;
4031 int arg2
= (int) (int)-1 ;
4032 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4033 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4034 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4035 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4036 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4037 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4038 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4039 wxScrolledWindow
*result
= 0 ;
4048 bool temp6
= false ;
4049 PyObject
* obj0
= 0 ;
4050 PyObject
* obj1
= 0 ;
4051 PyObject
* obj2
= 0 ;
4052 PyObject
* obj3
= 0 ;
4053 PyObject
* obj4
= 0 ;
4054 PyObject
* obj5
= 0 ;
4055 char * kwnames
[] = {
4056 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4061 if (!SWIG_IsOK(res1
)) {
4062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4064 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4067 if (!SWIG_IsOK(ecode2
)) {
4068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4070 arg2
= static_cast< int >(val2
);
4075 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4081 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4085 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4086 if (!SWIG_IsOK(ecode5
)) {
4087 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4089 arg5
= static_cast< long >(val5
);
4093 arg6
= wxString_in_helper(obj5
);
4094 if (arg6
== NULL
) SWIG_fail
;
4099 if (!wxPyCheckForApp()) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4120 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4121 PyObject
*resultobj
= 0;
4122 wxScrolledWindow
*result
= 0 ;
4124 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4126 if (!wxPyCheckForApp()) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4139 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
= 0;
4141 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4142 wxWindow
*arg2
= (wxWindow
*) 0 ;
4143 int arg3
= (int) (int)-1 ;
4144 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4145 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4146 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4147 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4148 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4149 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4150 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4162 bool temp7
= false ;
4163 PyObject
* obj0
= 0 ;
4164 PyObject
* obj1
= 0 ;
4165 PyObject
* obj2
= 0 ;
4166 PyObject
* obj3
= 0 ;
4167 PyObject
* obj4
= 0 ;
4168 PyObject
* obj5
= 0 ;
4169 PyObject
* obj6
= 0 ;
4170 char * kwnames
[] = {
4171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4176 if (!SWIG_IsOK(res1
)) {
4177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4179 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4181 if (!SWIG_IsOK(res2
)) {
4182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4187 if (!SWIG_IsOK(ecode3
)) {
4188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4190 arg3
= static_cast< int >(val3
);
4195 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4201 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4205 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4206 if (!SWIG_IsOK(ecode6
)) {
4207 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4209 arg6
= static_cast< long >(val6
);
4213 arg7
= wxString_in_helper(obj6
);
4214 if (arg7
== NULL
) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4241 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
= 0;
4243 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4248 int arg6
= (int) 0 ;
4249 int arg7
= (int) 0 ;
4250 bool arg8
= (bool) false ;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4269 PyObject
* obj2
= 0 ;
4270 PyObject
* obj3
= 0 ;
4271 PyObject
* obj4
= 0 ;
4272 PyObject
* obj5
= 0 ;
4273 PyObject
* obj6
= 0 ;
4274 PyObject
* obj7
= 0 ;
4275 char * kwnames
[] = {
4276 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4281 if (!SWIG_IsOK(res1
)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4284 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4286 if (!SWIG_IsOK(ecode2
)) {
4287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4289 arg2
= static_cast< int >(val2
);
4290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4291 if (!SWIG_IsOK(ecode3
)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4294 arg3
= static_cast< int >(val3
);
4295 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4296 if (!SWIG_IsOK(ecode4
)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4299 arg4
= static_cast< int >(val4
);
4300 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4301 if (!SWIG_IsOK(ecode5
)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4304 arg5
= static_cast< int >(val5
);
4306 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4307 if (!SWIG_IsOK(ecode6
)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4310 arg6
= static_cast< int >(val6
);
4313 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4314 if (!SWIG_IsOK(ecode7
)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4317 arg7
= static_cast< int >(val7
);
4320 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4321 if (!SWIG_IsOK(ecode8
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4324 arg8
= static_cast< bool >(val8
);
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_Py_Void();
4339 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
= 0;
4341 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4352 PyObject
* obj2
= 0 ;
4353 char * kwnames
[] = {
4354 (char *) "self",(char *) "x",(char *) "y", NULL
4357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4359 if (!SWIG_IsOK(res1
)) {
4360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4362 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4364 if (!SWIG_IsOK(ecode2
)) {
4365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4367 arg2
= static_cast< int >(val2
);
4368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4369 if (!SWIG_IsOK(ecode3
)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4372 arg3
= static_cast< int >(val3
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->Scroll(arg2
,arg3
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_Py_Void();
4386 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4395 PyObject
* obj0
= 0 ;
4396 PyObject
* obj1
= 0 ;
4397 char * kwnames
[] = {
4398 (char *) "self",(char *) "orient", NULL
4401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4403 if (!SWIG_IsOK(res1
)) {
4404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4406 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4408 if (!SWIG_IsOK(ecode2
)) {
4409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4411 arg2
= static_cast< int >(val2
);
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 resultobj
= SWIG_From_int(static_cast< int >(result
));
4425 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
= 0;
4427 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4436 PyObject
* obj0
= 0 ;
4437 PyObject
* obj1
= 0 ;
4438 PyObject
* obj2
= 0 ;
4439 char * kwnames
[] = {
4440 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4445 if (!SWIG_IsOK(res1
)) {
4446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4448 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4450 if (!SWIG_IsOK(ecode2
)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4453 arg2
= static_cast< int >(val2
);
4454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4455 if (!SWIG_IsOK(ecode3
)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4458 arg3
= static_cast< int >(val3
);
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= SWIG_Py_Void();
4472 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
= 0;
4474 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 PyObject
* obj2
= 0 ;
4486 char * kwnames
[] = {
4487 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4492 if (!SWIG_IsOK(res1
)) {
4493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4495 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4497 if (!SWIG_IsOK(ecode2
)) {
4498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4500 arg2
= static_cast< int >(val2
);
4501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4502 if (!SWIG_IsOK(ecode3
)) {
4503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4505 arg3
= static_cast< int >(val3
);
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 (arg1
)->SetScrollRate(arg2
,arg3
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 resultobj
= SWIG_Py_Void();
4519 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4520 PyObject
*resultobj
= 0;
4521 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4522 int *arg2
= (int *) 0 ;
4523 int *arg3
= (int *) 0 ;
4527 int res2
= SWIG_TMPOBJ
;
4529 int res3
= SWIG_TMPOBJ
;
4530 PyObject
*swig_obj
[1] ;
4534 if (!args
) SWIG_fail
;
4536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4537 if (!SWIG_IsOK(res1
)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4540 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 resultobj
= SWIG_Py_Void();
4548 if (SWIG_IsTmpObj(res2
)) {
4549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4551 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4554 if (SWIG_IsTmpObj(res3
)) {
4555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4557 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4566 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
= 0;
4568 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4577 PyObject
* obj0
= 0 ;
4578 PyObject
* obj1
= 0 ;
4579 PyObject
* obj2
= 0 ;
4580 char * kwnames
[] = {
4581 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4586 if (!SWIG_IsOK(res1
)) {
4587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4589 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4590 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4591 if (!SWIG_IsOK(ecode2
)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4594 arg2
= static_cast< bool >(val2
);
4595 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4596 if (!SWIG_IsOK(ecode3
)) {
4597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4599 arg3
= static_cast< bool >(val3
);
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 (arg1
)->EnableScrolling(arg2
,arg3
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4606 resultobj
= SWIG_Py_Void();
4613 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4614 PyObject
*resultobj
= 0;
4615 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4616 int *arg2
= (int *) 0 ;
4617 int *arg3
= (int *) 0 ;
4621 int res2
= SWIG_TMPOBJ
;
4623 int res3
= SWIG_TMPOBJ
;
4624 PyObject
*swig_obj
[1] ;
4628 if (!args
) SWIG_fail
;
4630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4631 if (!SWIG_IsOK(res1
)) {
4632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4634 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= SWIG_Py_Void();
4642 if (SWIG_IsTmpObj(res2
)) {
4643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4645 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4648 if (SWIG_IsTmpObj(res3
)) {
4649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4651 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4660 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
= 0;
4662 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4673 PyObject
* obj2
= 0 ;
4674 char * kwnames
[] = {
4675 (char *) "self",(char *) "xs",(char *) "ys", NULL
4678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4680 if (!SWIG_IsOK(res1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4683 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4684 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4685 if (!SWIG_IsOK(ecode2
)) {
4686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4688 arg2
= static_cast< double >(val2
);
4689 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4690 if (!SWIG_IsOK(ecode3
)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4693 arg3
= static_cast< double >(val3
);
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 (arg1
)->SetScale(arg2
,arg3
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_Py_Void();
4707 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4708 PyObject
*resultobj
= 0;
4709 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4713 PyObject
*swig_obj
[1] ;
4715 if (!args
) SWIG_fail
;
4717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4718 if (!SWIG_IsOK(res1
)) {
4719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4721 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= SWIG_From_double(static_cast< double >(result
));
4735 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4736 PyObject
*resultobj
= 0;
4737 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4741 PyObject
*swig_obj
[1] ;
4743 if (!args
) SWIG_fail
;
4745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4746 if (!SWIG_IsOK(res1
)) {
4747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4749 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= SWIG_From_double(static_cast< double >(result
));
4763 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4764 PyObject
*resultobj
= 0;
4765 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4772 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4774 if (!SWIG_IsOK(res1
)) {
4775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4777 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4780 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4788 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4795 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4796 PyObject
*resultobj
= 0;
4797 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4800 int *arg4
= (int *) 0 ;
4801 int *arg5
= (int *) 0 ;
4809 int res4
= SWIG_TMPOBJ
;
4811 int res5
= SWIG_TMPOBJ
;
4815 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4817 if (!SWIG_IsOK(res1
)) {
4818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4820 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4821 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4822 if (!SWIG_IsOK(ecode2
)) {
4823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4825 arg2
= static_cast< int >(val2
);
4826 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4827 if (!SWIG_IsOK(ecode3
)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4830 arg3
= static_cast< int >(val3
);
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= SWIG_Py_Void();
4838 if (SWIG_IsTmpObj(res4
)) {
4839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4841 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4844 if (SWIG_IsTmpObj(res5
)) {
4845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4847 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4856 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4860 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4863 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4866 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4870 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4875 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4876 PyObject
*resultobj
= 0;
4877 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4884 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4886 if (!SWIG_IsOK(res1
)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4889 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4892 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4907 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4908 PyObject
*resultobj
= 0;
4909 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4912 int *arg4
= (int *) 0 ;
4913 int *arg5
= (int *) 0 ;
4921 int res4
= SWIG_TMPOBJ
;
4923 int res5
= SWIG_TMPOBJ
;
4927 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4929 if (!SWIG_IsOK(res1
)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4932 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4933 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4934 if (!SWIG_IsOK(ecode2
)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4937 arg2
= static_cast< int >(val2
);
4938 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4939 if (!SWIG_IsOK(ecode3
)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4942 arg3
= static_cast< int >(val3
);
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_Py_Void();
4950 if (SWIG_IsTmpObj(res4
)) {
4951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4953 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4956 if (SWIG_IsTmpObj(res5
)) {
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4959 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4968 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4972 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4975 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4978 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4982 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4987 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4988 PyObject
*resultobj
= 0;
4989 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4992 PyObject
*swig_obj
[1] ;
4994 if (!args
) SWIG_fail
;
4996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4997 if (!SWIG_IsOK(res1
)) {
4998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5000 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 (arg1
)->AdjustScrollbars();
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= SWIG_Py_Void();
5014 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
= 0;
5016 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5017 wxScrollWinEvent
*arg2
= 0 ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5025 char * kwnames
[] = {
5026 (char *) "self",(char *) "event", NULL
5029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5031 if (!SWIG_IsOK(res1
)) {
5032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5034 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5036 if (!SWIG_IsOK(res2
)) {
5037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5042 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_From_int(static_cast< int >(result
));
5056 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
= 0;
5058 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5059 wxWindow
*arg2
= (wxWindow
*) 0 ;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5066 char * kwnames
[] = {
5067 (char *) "self",(char *) "target", NULL
5070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5072 if (!SWIG_IsOK(res1
)) {
5073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5075 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5076 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5077 if (!SWIG_IsOK(res2
)) {
5078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5080 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 (arg1
)->SetTargetWindow(arg2
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 resultobj
= SWIG_Py_Void();
5094 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5095 PyObject
*resultobj
= 0;
5096 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5097 wxWindow
*result
= 0 ;
5100 PyObject
*swig_obj
[1] ;
5102 if (!args
) SWIG_fail
;
5104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5105 if (!SWIG_IsOK(res1
)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5108 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5116 resultobj
= wxPyMake_wxObject(result
, 0);
5124 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
= 0;
5126 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5132 PyObject
* obj0
= 0 ;
5133 PyObject
* obj1
= 0 ;
5134 char * kwnames
[] = {
5135 (char *) "self",(char *) "dc", NULL
5138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5140 if (!SWIG_IsOK(res1
)) {
5141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5143 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5145 if (!SWIG_IsOK(res2
)) {
5146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5151 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 (arg1
)->DoPrepareDC(*arg2
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_Py_Void();
5165 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
= 0;
5167 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5168 SwigValueWrapper
<wxVisualAttributes
> result
;
5171 PyObject
* obj0
= 0 ;
5172 char * kwnames
[] = {
5173 (char *) "variant", NULL
5176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5178 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5179 if (!SWIG_IsOK(ecode1
)) {
5180 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5182 arg1
= static_cast< wxWindowVariant
>(val1
);
5185 if (!wxPyCheckForApp()) SWIG_fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5198 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5201 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5202 return SWIG_Py_Void();
5205 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5206 return SWIG_Python_InitShadowInstance(args
);
5209 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5210 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5215 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5216 PyObject
*pyobj
= 0;
5220 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5222 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5229 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5230 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5235 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5236 PyObject
*pyobj
= 0;
5240 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5242 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5249 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5250 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5255 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5256 PyObject
*pyobj
= 0;
5260 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5262 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5269 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5270 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5275 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5276 PyObject
*pyobj
= 0;
5280 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5282 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5289 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
= 0;
5291 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5292 bool arg2
= (bool) true ;
5297 PyObject
* obj0
= 0 ;
5298 PyObject
* obj1
= 0 ;
5299 char * kwnames
[] = {
5300 (char *) "self",(char *) "maximize", NULL
5303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5305 if (!SWIG_IsOK(res1
)) {
5306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5308 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5310 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5311 if (!SWIG_IsOK(ecode2
)) {
5312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5314 arg2
= static_cast< bool >(val2
);
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 (arg1
)->Maximize(arg2
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= SWIG_Py_Void();
5329 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5330 PyObject
*resultobj
= 0;
5331 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5334 PyObject
*swig_obj
[1] ;
5336 if (!args
) SWIG_fail
;
5338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5339 if (!SWIG_IsOK(res1
)) {
5340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5342 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= SWIG_Py_Void();
5356 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
= 0;
5358 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5359 bool arg2
= (bool) true ;
5364 PyObject
* obj0
= 0 ;
5365 PyObject
* obj1
= 0 ;
5366 char * kwnames
[] = {
5367 (char *) "self",(char *) "iconize", NULL
5370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5372 if (!SWIG_IsOK(res1
)) {
5373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5375 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5377 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5378 if (!SWIG_IsOK(ecode2
)) {
5379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5381 arg2
= static_cast< bool >(val2
);
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 (arg1
)->Iconize(arg2
);
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 resultobj
= SWIG_Py_Void();
5396 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5397 PyObject
*resultobj
= 0;
5398 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5402 PyObject
*swig_obj
[1] ;
5404 if (!args
) SWIG_fail
;
5406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5407 if (!SWIG_IsOK(res1
)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5410 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5426 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5427 PyObject
*resultobj
= 0;
5428 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5432 PyObject
*swig_obj
[1] ;
5434 if (!args
) SWIG_fail
;
5436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5437 if (!SWIG_IsOK(res1
)) {
5438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5440 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5456 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5457 PyObject
*resultobj
= 0;
5458 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5462 PyObject
*swig_obj
[1] ;
5464 if (!args
) SWIG_fail
;
5466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5467 if (!SWIG_IsOK(res1
)) {
5468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5470 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5486 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5487 PyObject
*resultobj
= 0;
5488 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5492 PyObject
*swig_obj
[1] ;
5494 if (!args
) SWIG_fail
;
5496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5497 if (!SWIG_IsOK(res1
)) {
5498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5500 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5514 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
= 0;
5516 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5524 char * kwnames
[] = {
5525 (char *) "self",(char *) "icon", NULL
5528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5530 if (!SWIG_IsOK(res1
)) {
5531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5533 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5535 if (!SWIG_IsOK(res2
)) {
5536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5541 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_Py_Void();
5555 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
= 0;
5557 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5558 wxIconBundle
*arg2
= 0 ;
5563 PyObject
* obj0
= 0 ;
5564 PyObject
* obj1
= 0 ;
5565 char * kwnames
[] = {
5566 (char *) "self",(char *) "icons", NULL
5569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5571 if (!SWIG_IsOK(res1
)) {
5572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5574 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5576 if (!SWIG_IsOK(res2
)) {
5577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5582 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 resultobj
= SWIG_Py_Void();
5596 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
= 0;
5598 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5600 long arg3
= (long) wxFULLSCREEN_ALL
;
5608 PyObject
* obj0
= 0 ;
5609 PyObject
* obj1
= 0 ;
5610 PyObject
* obj2
= 0 ;
5611 char * kwnames
[] = {
5612 (char *) "self",(char *) "show",(char *) "style", NULL
5615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5617 if (!SWIG_IsOK(res1
)) {
5618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5620 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5621 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5622 if (!SWIG_IsOK(ecode2
)) {
5623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5625 arg2
= static_cast< bool >(val2
);
5627 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5628 if (!SWIG_IsOK(ecode3
)) {
5629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5631 arg3
= static_cast< long >(val3
);
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5648 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5649 PyObject
*resultobj
= 0;
5650 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5654 PyObject
*swig_obj
[1] ;
5656 if (!args
) SWIG_fail
;
5658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5659 if (!SWIG_IsOK(res1
)) {
5660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5662 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5678 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
= 0;
5680 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5681 wxString
*arg2
= 0 ;
5684 bool temp2
= false ;
5685 PyObject
* obj0
= 0 ;
5686 PyObject
* obj1
= 0 ;
5687 char * kwnames
[] = {
5688 (char *) "self",(char *) "title", NULL
5691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5693 if (!SWIG_IsOK(res1
)) {
5694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5696 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5698 arg2
= wxString_in_helper(obj1
);
5699 if (arg2
== NULL
) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 (arg1
)->SetTitle((wxString
const &)*arg2
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= SWIG_Py_Void();
5723 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5724 PyObject
*resultobj
= 0;
5725 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5729 PyObject
*swig_obj
[1] ;
5731 if (!args
) SWIG_fail
;
5733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5734 if (!SWIG_IsOK(res1
)) {
5735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5737 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5757 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
= 0;
5759 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5760 wxRegion
*arg2
= 0 ;
5766 PyObject
* obj0
= 0 ;
5767 PyObject
* obj1
= 0 ;
5768 char * kwnames
[] = {
5769 (char *) "self",(char *) "region", NULL
5772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5774 if (!SWIG_IsOK(res1
)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5777 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5779 if (!SWIG_IsOK(res2
)) {
5780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5785 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5801 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
*resultobj
= 0;
5803 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5804 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5811 char * kwnames
[] = {
5812 (char *) "self",(char *) "flags", NULL
5815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5817 if (!SWIG_IsOK(res1
)) {
5818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5820 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5823 if (!SWIG_IsOK(ecode2
)) {
5824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5826 arg2
= static_cast< int >(val2
);
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 (arg1
)->RequestUserAttention(arg2
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= SWIG_Py_Void();
5841 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5842 PyObject
*resultobj
= 0;
5843 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5847 PyObject
*swig_obj
[1] ;
5849 if (!args
) SWIG_fail
;
5851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5852 if (!SWIG_IsOK(res1
)) {
5853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5855 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (bool)(arg1
)->IsActive();
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5871 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
= 0;
5873 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5881 char * kwnames
[] = {
5882 (char *) "self",(char *) "on", NULL
5885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5887 if (!SWIG_IsOK(res1
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5890 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5891 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5892 if (!SWIG_IsOK(ecode2
)) {
5893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5895 arg2
= static_cast< bool >(val2
);
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= SWIG_Py_Void();
5909 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5910 PyObject
*resultobj
= 0;
5911 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5915 PyObject
*swig_obj
[1] ;
5917 if (!args
) SWIG_fail
;
5919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5920 if (!SWIG_IsOK(res1
)) {
5921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5923 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5939 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
= 0;
5941 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5942 int arg2
= (int) wxBOTH
;
5947 PyObject
* obj0
= 0 ;
5948 PyObject
* obj1
= 0 ;
5949 char * kwnames
[] = {
5950 (char *) "self",(char *) "dir", NULL
5953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5955 if (!SWIG_IsOK(res1
)) {
5956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5958 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5961 if (!SWIG_IsOK(ecode2
)) {
5962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5964 arg2
= static_cast< int >(val2
);
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 (arg1
)->CenterOnScreen(arg2
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_Py_Void();
5979 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5982 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
5983 return SWIG_Py_Void();
5986 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
= 0;
5988 wxWindow
*arg1
= (wxWindow
*) 0 ;
5989 int arg2
= (int) (int)-1 ;
5990 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5991 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5992 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5993 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5994 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5995 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5996 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
5997 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
5998 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5999 wxFrame
*result
= 0 ;
6004 bool temp3
= false ;
6009 bool temp7
= false ;
6010 PyObject
* obj0
= 0 ;
6011 PyObject
* obj1
= 0 ;
6012 PyObject
* obj2
= 0 ;
6013 PyObject
* obj3
= 0 ;
6014 PyObject
* obj4
= 0 ;
6015 PyObject
* obj5
= 0 ;
6016 PyObject
* obj6
= 0 ;
6017 char * kwnames
[] = {
6018 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6023 if (!SWIG_IsOK(res1
)) {
6024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6029 if (!SWIG_IsOK(ecode2
)) {
6030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6032 arg2
= static_cast< int >(val2
);
6036 arg3
= wxString_in_helper(obj2
);
6037 if (arg3
== NULL
) SWIG_fail
;
6044 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6050 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6054 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6055 if (!SWIG_IsOK(ecode6
)) {
6056 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6058 arg6
= static_cast< long >(val6
);
6062 arg7
= wxString_in_helper(obj6
);
6063 if (arg7
== NULL
) SWIG_fail
;
6068 if (!wxPyCheckForApp()) SWIG_fail
;
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6097 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6098 PyObject
*resultobj
= 0;
6099 wxFrame
*result
= 0 ;
6101 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6103 if (!wxPyCheckForApp()) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (wxFrame
*)new wxFrame();
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6116 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
= 0;
6118 wxFrame
*arg1
= (wxFrame
*) 0 ;
6119 wxWindow
*arg2
= (wxWindow
*) 0 ;
6120 int arg3
= (int) (int)-1 ;
6121 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6122 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6123 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6124 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6125 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6126 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6127 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6128 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6129 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6137 bool temp4
= false ;
6142 bool temp8
= false ;
6143 PyObject
* obj0
= 0 ;
6144 PyObject
* obj1
= 0 ;
6145 PyObject
* obj2
= 0 ;
6146 PyObject
* obj3
= 0 ;
6147 PyObject
* obj4
= 0 ;
6148 PyObject
* obj5
= 0 ;
6149 PyObject
* obj6
= 0 ;
6150 PyObject
* obj7
= 0 ;
6151 char * kwnames
[] = {
6152 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6157 if (!SWIG_IsOK(res1
)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6160 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6161 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6162 if (!SWIG_IsOK(res2
)) {
6163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6165 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6167 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6168 if (!SWIG_IsOK(ecode3
)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6171 arg3
= static_cast< int >(val3
);
6175 arg4
= wxString_in_helper(obj3
);
6176 if (arg4
== NULL
) SWIG_fail
;
6183 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6189 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6193 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6194 if (!SWIG_IsOK(ecode7
)) {
6195 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6197 arg7
= static_cast< long >(val7
);
6201 arg8
= wxString_in_helper(obj7
);
6202 if (arg8
== NULL
) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6237 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6238 PyObject
*resultobj
= 0;
6239 wxFrame
*arg1
= (wxFrame
*) 0 ;
6242 PyObject
*swig_obj
[1] ;
6244 if (!args
) SWIG_fail
;
6246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6247 if (!SWIG_IsOK(res1
)) {
6248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6250 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 (arg1
)->SendSizeEvent();
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_Py_Void();
6264 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
= 0;
6266 wxFrame
*arg1
= (wxFrame
*) 0 ;
6267 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "self",(char *) "menubar", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6283 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6285 if (!SWIG_IsOK(res2
)) {
6286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6288 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 (arg1
)->SetMenuBar(arg2
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= SWIG_Py_Void();
6302 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6303 PyObject
*resultobj
= 0;
6304 wxFrame
*arg1
= (wxFrame
*) 0 ;
6305 wxMenuBar
*result
= 0 ;
6308 PyObject
*swig_obj
[1] ;
6310 if (!args
) SWIG_fail
;
6312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6313 if (!SWIG_IsOK(res1
)) {
6314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6316 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= wxPyMake_wxObject(result
, 0);
6332 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
= 0;
6334 wxFrame
*arg1
= (wxFrame
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6342 PyObject
* obj1
= 0 ;
6343 char * kwnames
[] = {
6344 (char *) "self",(char *) "winid", NULL
6347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6349 if (!SWIG_IsOK(res1
)) {
6350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6352 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6354 if (!SWIG_IsOK(ecode2
)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6357 arg2
= static_cast< int >(val2
);
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6373 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
= 0;
6375 wxFrame
*arg1
= (wxFrame
*) 0 ;
6376 int arg2
= (int) 1 ;
6377 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6378 int arg4
= (int) 0 ;
6379 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6380 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6381 wxStatusBar
*result
= 0 ;
6390 bool temp5
= false ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 PyObject
* obj3
= 0 ;
6395 PyObject
* obj4
= 0 ;
6396 char * kwnames
[] = {
6397 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6402 if (!SWIG_IsOK(res1
)) {
6403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6405 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6408 if (!SWIG_IsOK(ecode2
)) {
6409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6411 arg2
= static_cast< int >(val2
);
6414 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6415 if (!SWIG_IsOK(ecode3
)) {
6416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6418 arg3
= static_cast< long >(val3
);
6421 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6422 if (!SWIG_IsOK(ecode4
)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6425 arg4
= static_cast< int >(val4
);
6429 arg5
= wxString_in_helper(obj4
);
6430 if (arg5
== NULL
) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6441 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6457 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6458 PyObject
*resultobj
= 0;
6459 wxFrame
*arg1
= (wxFrame
*) 0 ;
6460 wxStatusBar
*result
= 0 ;
6463 PyObject
*swig_obj
[1] ;
6465 if (!args
) SWIG_fail
;
6467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6468 if (!SWIG_IsOK(res1
)) {
6469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6471 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6487 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
= 0;
6489 wxFrame
*arg1
= (wxFrame
*) 0 ;
6490 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6495 PyObject
* obj0
= 0 ;
6496 PyObject
* obj1
= 0 ;
6497 char * kwnames
[] = {
6498 (char *) "self",(char *) "statBar", NULL
6501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6503 if (!SWIG_IsOK(res1
)) {
6504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6506 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6507 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6508 if (!SWIG_IsOK(res2
)) {
6509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6511 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 (arg1
)->SetStatusBar(arg2
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= SWIG_Py_Void();
6525 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
= 0;
6527 wxFrame
*arg1
= (wxFrame
*) 0 ;
6528 wxString
*arg2
= 0 ;
6529 int arg3
= (int) 0 ;
6532 bool temp2
= false ;
6535 PyObject
* obj0
= 0 ;
6536 PyObject
* obj1
= 0 ;
6537 PyObject
* obj2
= 0 ;
6538 char * kwnames
[] = {
6539 (char *) "self",(char *) "text",(char *) "number", NULL
6542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6544 if (!SWIG_IsOK(res1
)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6547 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6549 arg2
= wxString_in_helper(obj1
);
6550 if (arg2
== NULL
) SWIG_fail
;
6554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6555 if (!SWIG_IsOK(ecode3
)) {
6556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6558 arg3
= static_cast< int >(val3
);
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6566 resultobj
= SWIG_Py_Void();
6581 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
= 0;
6583 wxFrame
*arg1
= (wxFrame
*) 0 ;
6585 int *arg3
= (int *) 0 ;
6588 PyObject
* obj0
= 0 ;
6589 PyObject
* obj1
= 0 ;
6590 char * kwnames
[] = {
6591 (char *) "self",(char *) "widths", NULL
6594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6596 if (!SWIG_IsOK(res1
)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6599 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6601 arg2
= PyList_Size(obj1
);
6602 arg3
= int_LIST_helper(obj1
);
6603 if (arg3
== NULL
) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= SWIG_Py_Void();
6613 if (arg3
) delete [] arg3
;
6618 if (arg3
) delete [] arg3
;
6624 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
*resultobj
= 0;
6626 wxFrame
*arg1
= (wxFrame
*) 0 ;
6627 wxString
*arg2
= 0 ;
6628 int arg3
= (int) 0 ;
6631 bool temp2
= false ;
6634 PyObject
* obj0
= 0 ;
6635 PyObject
* obj1
= 0 ;
6636 PyObject
* obj2
= 0 ;
6637 char * kwnames
[] = {
6638 (char *) "self",(char *) "text",(char *) "number", NULL
6641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6643 if (!SWIG_IsOK(res1
)) {
6644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6646 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6648 arg2
= wxString_in_helper(obj1
);
6649 if (arg2
== NULL
) SWIG_fail
;
6653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6654 if (!SWIG_IsOK(ecode3
)) {
6655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6657 arg3
= static_cast< int >(val3
);
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= SWIG_Py_Void();
6680 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
= 0;
6682 wxFrame
*arg1
= (wxFrame
*) 0 ;
6683 int arg2
= (int) 0 ;
6688 PyObject
* obj0
= 0 ;
6689 PyObject
* obj1
= 0 ;
6690 char * kwnames
[] = {
6691 (char *) "self",(char *) "number", NULL
6694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6696 if (!SWIG_IsOK(res1
)) {
6697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6699 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6702 if (!SWIG_IsOK(ecode2
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6705 arg2
= static_cast< int >(val2
);
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 (arg1
)->PopStatusText(arg2
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= SWIG_Py_Void();
6720 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
= 0;
6722 wxFrame
*arg1
= (wxFrame
*) 0 ;
6728 PyObject
* obj0
= 0 ;
6729 PyObject
* obj1
= 0 ;
6730 char * kwnames
[] = {
6731 (char *) "self",(char *) "n", NULL
6734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6736 if (!SWIG_IsOK(res1
)) {
6737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6739 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6741 if (!SWIG_IsOK(ecode2
)) {
6742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6744 arg2
= static_cast< int >(val2
);
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 (arg1
)->SetStatusBarPane(arg2
);
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6751 resultobj
= SWIG_Py_Void();
6758 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6759 PyObject
*resultobj
= 0;
6760 wxFrame
*arg1
= (wxFrame
*) 0 ;
6764 PyObject
*swig_obj
[1] ;
6766 if (!args
) SWIG_fail
;
6768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6769 if (!SWIG_IsOK(res1
)) {
6770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6772 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= SWIG_From_int(static_cast< int >(result
));
6786 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
*resultobj
= 0;
6788 wxFrame
*arg1
= (wxFrame
*) 0 ;
6789 long arg2
= (long) -1 ;
6790 int arg3
= (int) -1 ;
6791 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6792 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6793 wxToolBar
*result
= 0 ;
6800 bool temp4
= false ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6803 PyObject
* obj2
= 0 ;
6804 PyObject
* obj3
= 0 ;
6805 char * kwnames
[] = {
6806 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6811 if (!SWIG_IsOK(res1
)) {
6812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6814 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6816 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6817 if (!SWIG_IsOK(ecode2
)) {
6818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6820 arg2
= static_cast< long >(val2
);
6823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6824 if (!SWIG_IsOK(ecode3
)) {
6825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6827 arg3
= static_cast< int >(val3
);
6831 arg4
= wxString_in_helper(obj3
);
6832 if (arg4
== NULL
) SWIG_fail
;
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6838 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6843 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6859 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6860 PyObject
*resultobj
= 0;
6861 wxFrame
*arg1
= (wxFrame
*) 0 ;
6862 wxToolBar
*result
= 0 ;
6865 PyObject
*swig_obj
[1] ;
6867 if (!args
) SWIG_fail
;
6869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6870 if (!SWIG_IsOK(res1
)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6873 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6889 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6891 wxFrame
*arg1
= (wxFrame
*) 0 ;
6892 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6897 PyObject
* obj0
= 0 ;
6898 PyObject
* obj1
= 0 ;
6899 char * kwnames
[] = {
6900 (char *) "self",(char *) "toolbar", NULL
6903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6905 if (!SWIG_IsOK(res1
)) {
6906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6908 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6910 if (!SWIG_IsOK(res2
)) {
6911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6913 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 (arg1
)->SetToolBar(arg2
);
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= SWIG_Py_Void();
6927 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
= 0;
6929 wxFrame
*arg1
= (wxFrame
*) 0 ;
6930 wxString
*arg2
= 0 ;
6934 bool temp2
= false ;
6937 PyObject
* obj0
= 0 ;
6938 PyObject
* obj1
= 0 ;
6939 PyObject
* obj2
= 0 ;
6940 char * kwnames
[] = {
6941 (char *) "self",(char *) "text",(char *) "show", NULL
6944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6949 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6951 arg2
= wxString_in_helper(obj1
);
6952 if (arg2
== NULL
) SWIG_fail
;
6955 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6956 if (!SWIG_IsOK(ecode3
)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6959 arg3
= static_cast< bool >(val3
);
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_Py_Void();
6981 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
= 0;
6983 wxFrame
*arg1
= (wxFrame
*) 0 ;
6984 wxMenu
*arg2
= (wxMenu
*) NULL
;
6989 PyObject
* obj0
= 0 ;
6990 PyObject
* obj1
= 0 ;
6991 char * kwnames
[] = {
6992 (char *) "self",(char *) "menu", NULL
6995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6997 if (!SWIG_IsOK(res1
)) {
6998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7000 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7002 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7003 if (!SWIG_IsOK(res2
)) {
7004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7006 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 (arg1
)->DoMenuUpdates(arg2
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= SWIG_Py_Void();
7021 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
= 0;
7023 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7024 SwigValueWrapper
<wxVisualAttributes
> result
;
7027 PyObject
* obj0
= 0 ;
7028 char * kwnames
[] = {
7029 (char *) "variant", NULL
7032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7034 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7035 if (!SWIG_IsOK(ecode1
)) {
7036 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7038 arg1
= static_cast< wxWindowVariant
>(val1
);
7041 if (!wxPyCheckForApp()) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7054 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7057 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7058 return SWIG_Py_Void();
7061 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7062 return SWIG_Python_InitShadowInstance(args
);
7065 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
= 0;
7067 wxWindow
*arg1
= (wxWindow
*) 0 ;
7068 int arg2
= (int) (int)-1 ;
7069 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7071 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7072 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7073 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7074 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7075 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7076 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7077 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7078 wxDialog
*result
= 0 ;
7083 bool temp3
= false ;
7088 bool temp7
= false ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7091 PyObject
* obj2
= 0 ;
7092 PyObject
* obj3
= 0 ;
7093 PyObject
* obj4
= 0 ;
7094 PyObject
* obj5
= 0 ;
7095 PyObject
* obj6
= 0 ;
7096 char * kwnames
[] = {
7097 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7102 if (!SWIG_IsOK(res1
)) {
7103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7105 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7108 if (!SWIG_IsOK(ecode2
)) {
7109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7111 arg2
= static_cast< int >(val2
);
7115 arg3
= wxString_in_helper(obj2
);
7116 if (arg3
== NULL
) SWIG_fail
;
7123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7133 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7134 if (!SWIG_IsOK(ecode6
)) {
7135 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7137 arg6
= static_cast< long >(val6
);
7141 arg7
= wxString_in_helper(obj6
);
7142 if (arg7
== NULL
) SWIG_fail
;
7147 if (!wxPyCheckForApp()) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7176 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7177 PyObject
*resultobj
= 0;
7178 wxDialog
*result
= 0 ;
7180 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7182 if (!wxPyCheckForApp()) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (wxDialog
*)new wxDialog();
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7195 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
= 0;
7197 wxDialog
*arg1
= (wxDialog
*) 0 ;
7198 wxWindow
*arg2
= (wxWindow
*) 0 ;
7199 int arg3
= (int) (int)-1 ;
7200 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7201 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7202 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7203 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7204 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7205 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7206 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7207 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7208 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7216 bool temp4
= false ;
7221 bool temp8
= false ;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7224 PyObject
* obj2
= 0 ;
7225 PyObject
* obj3
= 0 ;
7226 PyObject
* obj4
= 0 ;
7227 PyObject
* obj5
= 0 ;
7228 PyObject
* obj6
= 0 ;
7229 PyObject
* obj7
= 0 ;
7230 char * kwnames
[] = {
7231 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7236 if (!SWIG_IsOK(res1
)) {
7237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7239 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7240 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7241 if (!SWIG_IsOK(res2
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7244 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7247 if (!SWIG_IsOK(ecode3
)) {
7248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7250 arg3
= static_cast< int >(val3
);
7254 arg4
= wxString_in_helper(obj3
);
7255 if (arg4
== NULL
) SWIG_fail
;
7262 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7268 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7272 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7273 if (!SWIG_IsOK(ecode7
)) {
7274 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7276 arg7
= static_cast< long >(val7
);
7280 arg8
= wxString_in_helper(obj7
);
7281 if (arg8
== NULL
) SWIG_fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7316 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
= 0;
7318 wxDialog
*arg1
= (wxDialog
*) 0 ;
7324 PyObject
* obj0
= 0 ;
7325 PyObject
* obj1
= 0 ;
7326 char * kwnames
[] = {
7327 (char *) "self",(char *) "returnCode", NULL
7330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7332 if (!SWIG_IsOK(res1
)) {
7333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7335 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7337 if (!SWIG_IsOK(ecode2
)) {
7338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7340 arg2
= static_cast< int >(val2
);
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 (arg1
)->SetReturnCode(arg2
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_Py_Void();
7354 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7355 PyObject
*resultobj
= 0;
7356 wxDialog
*arg1
= (wxDialog
*) 0 ;
7360 PyObject
*swig_obj
[1] ;
7362 if (!args
) SWIG_fail
;
7364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7365 if (!SWIG_IsOK(res1
)) {
7366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7368 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= SWIG_From_int(static_cast< int >(result
));
7382 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
= 0;
7384 wxDialog
*arg1
= (wxDialog
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7392 char * kwnames
[] = {
7393 (char *) "self",(char *) "affirmativeId", NULL
7396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7398 if (!SWIG_IsOK(res1
)) {
7399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7401 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7403 if (!SWIG_IsOK(ecode2
)) {
7404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7406 arg2
= static_cast< int >(val2
);
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 (arg1
)->SetAffirmativeId(arg2
);
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= SWIG_Py_Void();
7420 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7421 PyObject
*resultobj
= 0;
7422 wxDialog
*arg1
= (wxDialog
*) 0 ;
7426 PyObject
*swig_obj
[1] ;
7428 if (!args
) SWIG_fail
;
7430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7431 if (!SWIG_IsOK(res1
)) {
7432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7434 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= SWIG_From_int(static_cast< int >(result
));
7448 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
= 0;
7450 wxDialog
*arg1
= (wxDialog
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7457 PyObject
* obj1
= 0 ;
7458 char * kwnames
[] = {
7459 (char *) "self",(char *) "escapeId", NULL
7462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7464 if (!SWIG_IsOK(res1
)) {
7465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7467 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7469 if (!SWIG_IsOK(ecode2
)) {
7470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7472 arg2
= static_cast< int >(val2
);
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 (arg1
)->SetEscapeId(arg2
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= SWIG_Py_Void();
7486 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7487 PyObject
*resultobj
= 0;
7488 wxDialog
*arg1
= (wxDialog
*) 0 ;
7492 PyObject
*swig_obj
[1] ;
7494 if (!args
) SWIG_fail
;
7496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7497 if (!SWIG_IsOK(res1
)) {
7498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7500 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 resultobj
= SWIG_From_int(static_cast< int >(result
));
7514 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
= 0;
7516 wxDialog
*arg1
= (wxDialog
*) 0 ;
7517 wxString
*arg2
= 0 ;
7518 wxSizer
*result
= 0 ;
7521 bool temp2
= false ;
7522 PyObject
* obj0
= 0 ;
7523 PyObject
* obj1
= 0 ;
7524 char * kwnames
[] = {
7525 (char *) "self",(char *) "message", NULL
7528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7530 if (!SWIG_IsOK(res1
)) {
7531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7533 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7535 arg2
= wxString_in_helper(obj1
);
7536 if (arg2
== NULL
) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7562 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
= 0;
7564 wxDialog
*arg1
= (wxDialog
*) 0 ;
7566 bool arg3
= (bool) false ;
7567 int arg4
= (int) 0 ;
7568 wxSizer
*result
= 0 ;
7577 PyObject
* obj0
= 0 ;
7578 PyObject
* obj1
= 0 ;
7579 PyObject
* obj2
= 0 ;
7580 PyObject
* obj3
= 0 ;
7581 char * kwnames
[] = {
7582 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7587 if (!SWIG_IsOK(res1
)) {
7588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7590 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7591 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7592 if (!SWIG_IsOK(ecode2
)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7595 arg2
= static_cast< long >(val2
);
7597 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7598 if (!SWIG_IsOK(ecode3
)) {
7599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7601 arg3
= static_cast< bool >(val3
);
7604 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7605 if (!SWIG_IsOK(ecode4
)) {
7606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7608 arg4
= static_cast< int >(val4
);
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7625 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
= 0;
7627 wxDialog
*arg1
= (wxDialog
*) 0 ;
7629 wxStdDialogButtonSizer
*result
= 0 ;
7634 PyObject
* obj0
= 0 ;
7635 PyObject
* obj1
= 0 ;
7636 char * kwnames
[] = {
7637 (char *) "self",(char *) "flags", NULL
7640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7642 if (!SWIG_IsOK(res1
)) {
7643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7645 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7646 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7647 if (!SWIG_IsOK(ecode2
)) {
7648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7650 arg2
= static_cast< long >(val2
);
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7664 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7665 PyObject
*resultobj
= 0;
7666 wxDialog
*arg1
= (wxDialog
*) 0 ;
7670 PyObject
*swig_obj
[1] ;
7672 if (!args
) SWIG_fail
;
7674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7675 if (!SWIG_IsOK(res1
)) {
7676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7678 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7694 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7695 PyObject
*resultobj
= 0;
7696 wxDialog
*arg1
= (wxDialog
*) 0 ;
7700 PyObject
*swig_obj
[1] ;
7702 if (!args
) SWIG_fail
;
7704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7705 if (!SWIG_IsOK(res1
)) {
7706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7708 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (int)(arg1
)->ShowModal();
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7715 resultobj
= SWIG_From_int(static_cast< int >(result
));
7722 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
= 0;
7724 wxDialog
*arg1
= (wxDialog
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7731 PyObject
* obj1
= 0 ;
7732 char * kwnames
[] = {
7733 (char *) "self",(char *) "retCode", NULL
7736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7738 if (!SWIG_IsOK(res1
)) {
7739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7741 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7743 if (!SWIG_IsOK(ecode2
)) {
7744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7746 arg2
= static_cast< int >(val2
);
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 (arg1
)->EndModal(arg2
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= SWIG_Py_Void();
7760 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
= 0;
7762 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7763 SwigValueWrapper
<wxVisualAttributes
> result
;
7766 PyObject
* obj0
= 0 ;
7767 char * kwnames
[] = {
7768 (char *) "variant", NULL
7771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7773 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7774 if (!SWIG_IsOK(ecode1
)) {
7775 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7777 arg1
= static_cast< wxWindowVariant
>(val1
);
7780 if (!wxPyCheckForApp()) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7793 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7796 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7797 return SWIG_Py_Void();
7800 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7801 return SWIG_Python_InitShadowInstance(args
);
7804 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
= 0;
7806 wxWindow
*arg1
= (wxWindow
*) 0 ;
7807 int arg2
= (int) (int)-1 ;
7808 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7809 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7810 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7811 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7812 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7813 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7814 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7815 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7816 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7817 wxMiniFrame
*result
= 0 ;
7822 bool temp3
= false ;
7827 bool temp7
= false ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7830 PyObject
* obj2
= 0 ;
7831 PyObject
* obj3
= 0 ;
7832 PyObject
* obj4
= 0 ;
7833 PyObject
* obj5
= 0 ;
7834 PyObject
* obj6
= 0 ;
7835 char * kwnames
[] = {
7836 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7841 if (!SWIG_IsOK(res1
)) {
7842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7847 if (!SWIG_IsOK(ecode2
)) {
7848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7850 arg2
= static_cast< int >(val2
);
7854 arg3
= wxString_in_helper(obj2
);
7855 if (arg3
== NULL
) SWIG_fail
;
7862 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7868 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7872 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7873 if (!SWIG_IsOK(ecode6
)) {
7874 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7876 arg6
= static_cast< long >(val6
);
7880 arg7
= wxString_in_helper(obj6
);
7881 if (arg7
== NULL
) SWIG_fail
;
7886 if (!wxPyCheckForApp()) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7915 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7916 PyObject
*resultobj
= 0;
7917 wxMiniFrame
*result
= 0 ;
7919 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7921 if (!wxPyCheckForApp()) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 result
= (wxMiniFrame
*)new wxMiniFrame();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7934 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
= 0;
7936 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7937 wxWindow
*arg2
= (wxWindow
*) 0 ;
7938 int arg3
= (int) (int)-1 ;
7939 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7940 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7941 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7942 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7943 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7944 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7945 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
7946 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
7947 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7955 bool temp4
= false ;
7960 bool temp8
= false ;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7963 PyObject
* obj2
= 0 ;
7964 PyObject
* obj3
= 0 ;
7965 PyObject
* obj4
= 0 ;
7966 PyObject
* obj5
= 0 ;
7967 PyObject
* obj6
= 0 ;
7968 PyObject
* obj7
= 0 ;
7969 char * kwnames
[] = {
7970 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
7975 if (!SWIG_IsOK(res1
)) {
7976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7978 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
7979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7980 if (!SWIG_IsOK(res2
)) {
7981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7983 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7986 if (!SWIG_IsOK(ecode3
)) {
7987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7989 arg3
= static_cast< int >(val3
);
7993 arg4
= wxString_in_helper(obj3
);
7994 if (arg4
== NULL
) SWIG_fail
;
8001 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8007 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8011 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8012 if (!SWIG_IsOK(ecode7
)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8015 arg7
= static_cast< long >(val7
);
8019 arg8
= wxString_in_helper(obj7
);
8020 if (arg8
== NULL
) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8055 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8058 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8059 return SWIG_Py_Void();
8062 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8063 return SWIG_Python_InitShadowInstance(args
);
8066 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
= 0;
8068 wxBitmap
*arg1
= 0 ;
8069 wxWindow
*arg2
= (wxWindow
*) 0 ;
8071 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8072 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8073 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8074 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8075 long arg6
= (long) wxNO_BORDER
;
8076 wxSplashScreenWindow
*result
= 0 ;
8087 PyObject
* obj0
= 0 ;
8088 PyObject
* obj1
= 0 ;
8089 PyObject
* obj2
= 0 ;
8090 PyObject
* obj3
= 0 ;
8091 PyObject
* obj4
= 0 ;
8092 PyObject
* obj5
= 0 ;
8093 char * kwnames
[] = {
8094 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8098 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8099 if (!SWIG_IsOK(res1
)) {
8100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8105 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8106 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8107 if (!SWIG_IsOK(res2
)) {
8108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8110 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8112 if (!SWIG_IsOK(ecode3
)) {
8113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8115 arg3
= static_cast< int >(val3
);
8119 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8125 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8129 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8130 if (!SWIG_IsOK(ecode6
)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8133 arg6
= static_cast< long >(val6
);
8136 if (!wxPyCheckForApp()) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8149 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
= 0;
8151 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8152 wxBitmap
*arg2
= 0 ;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8159 char * kwnames
[] = {
8160 (char *) "self",(char *) "bitmap", NULL
8163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8165 if (!SWIG_IsOK(res1
)) {
8166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8168 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8170 if (!SWIG_IsOK(res2
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8176 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= SWIG_Py_Void();
8190 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8191 PyObject
*resultobj
= 0;
8192 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8193 wxBitmap
*result
= 0 ;
8196 PyObject
*swig_obj
[1] ;
8198 if (!args
) SWIG_fail
;
8200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8201 if (!SWIG_IsOK(res1
)) {
8202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8204 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8209 result
= (wxBitmap
*) &_result_ref
;
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8215 wxBitmap
* resultptr
= new wxBitmap(*result
);
8216 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8224 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8227 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8228 return SWIG_Py_Void();
8231 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8232 return SWIG_Python_InitShadowInstance(args
);
8235 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
= 0;
8237 wxBitmap
*arg1
= 0 ;
8240 wxWindow
*arg4
= (wxWindow
*) 0 ;
8241 int arg5
= (int) -1 ;
8242 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8243 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8244 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8245 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8246 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8247 wxSplashScreen
*result
= 0 ;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8264 PyObject
* obj2
= 0 ;
8265 PyObject
* obj3
= 0 ;
8266 PyObject
* obj4
= 0 ;
8267 PyObject
* obj5
= 0 ;
8268 PyObject
* obj6
= 0 ;
8269 PyObject
* obj7
= 0 ;
8270 char * kwnames
[] = {
8271 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8275 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8276 if (!SWIG_IsOK(res1
)) {
8277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8282 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8283 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8284 if (!SWIG_IsOK(ecode2
)) {
8285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8287 arg2
= static_cast< long >(val2
);
8288 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8289 if (!SWIG_IsOK(ecode3
)) {
8290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8292 arg3
= static_cast< int >(val3
);
8293 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8294 if (!SWIG_IsOK(res4
)) {
8295 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8297 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8299 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8300 if (!SWIG_IsOK(ecode5
)) {
8301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8303 arg5
= static_cast< int >(val5
);
8308 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8314 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8318 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8319 if (!SWIG_IsOK(ecode8
)) {
8320 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8322 arg8
= static_cast< long >(val8
);
8325 if (!wxPyCheckForApp()) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8338 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8339 PyObject
*resultobj
= 0;
8340 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8344 PyObject
*swig_obj
[1] ;
8346 if (!args
) SWIG_fail
;
8348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8349 if (!SWIG_IsOK(res1
)) {
8350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8352 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= SWIG_From_long(static_cast< long >(result
));
8366 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8367 PyObject
*resultobj
= 0;
8368 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8369 wxSplashScreenWindow
*result
= 0 ;
8372 PyObject
*swig_obj
[1] ;
8374 if (!args
) SWIG_fail
;
8376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8377 if (!SWIG_IsOK(res1
)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8380 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8394 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8395 PyObject
*resultobj
= 0;
8396 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8400 PyObject
*swig_obj
[1] ;
8402 if (!args
) SWIG_fail
;
8404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8405 if (!SWIG_IsOK(res1
)) {
8406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8408 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= SWIG_From_int(static_cast< int >(result
));
8422 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8425 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8426 return SWIG_Py_Void();
8429 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8430 return SWIG_Python_InitShadowInstance(args
);
8433 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
= 0;
8435 wxWindow
*arg1
= (wxWindow
*) 0 ;
8436 int arg2
= (int) -1 ;
8437 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8438 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8439 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8440 wxStatusBar
*result
= 0 ;
8447 bool temp4
= false ;
8448 PyObject
* obj0
= 0 ;
8449 PyObject
* obj1
= 0 ;
8450 PyObject
* obj2
= 0 ;
8451 PyObject
* obj3
= 0 ;
8452 char * kwnames
[] = {
8453 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8458 if (!SWIG_IsOK(res1
)) {
8459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8461 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8464 if (!SWIG_IsOK(ecode2
)) {
8465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8467 arg2
= static_cast< int >(val2
);
8470 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8471 if (!SWIG_IsOK(ecode3
)) {
8472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8474 arg3
= static_cast< long >(val3
);
8478 arg4
= wxString_in_helper(obj3
);
8479 if (arg4
== NULL
) SWIG_fail
;
8484 if (!wxPyCheckForApp()) SWIG_fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8505 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8506 PyObject
*resultobj
= 0;
8507 wxStatusBar
*result
= 0 ;
8509 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8511 if (!wxPyCheckForApp()) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (wxStatusBar
*)new wxStatusBar();
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8524 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
= 0;
8526 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8527 wxWindow
*arg2
= (wxWindow
*) 0 ;
8528 int arg3
= (int) -1 ;
8529 long arg4
= (long) wxST_SIZEGRIP
;
8530 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8531 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8541 bool temp5
= false ;
8542 PyObject
* obj0
= 0 ;
8543 PyObject
* obj1
= 0 ;
8544 PyObject
* obj2
= 0 ;
8545 PyObject
* obj3
= 0 ;
8546 PyObject
* obj4
= 0 ;
8547 char * kwnames
[] = {
8548 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8553 if (!SWIG_IsOK(res1
)) {
8554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8556 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8558 if (!SWIG_IsOK(res2
)) {
8559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8561 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8564 if (!SWIG_IsOK(ecode3
)) {
8565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8567 arg3
= static_cast< int >(val3
);
8570 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8571 if (!SWIG_IsOK(ecode4
)) {
8572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8574 arg4
= static_cast< long >(val4
);
8578 arg5
= wxString_in_helper(obj4
);
8579 if (arg5
== NULL
) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8606 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
= 0;
8608 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8609 int arg2
= (int) 1 ;
8614 PyObject
* obj0
= 0 ;
8615 PyObject
* obj1
= 0 ;
8616 char * kwnames
[] = {
8617 (char *) "self",(char *) "number", NULL
8620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8622 if (!SWIG_IsOK(res1
)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8625 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8628 if (!SWIG_IsOK(ecode2
)) {
8629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8631 arg2
= static_cast< int >(val2
);
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 (arg1
)->SetFieldsCount(arg2
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_Py_Void();
8646 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8647 PyObject
*resultobj
= 0;
8648 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8652 PyObject
*swig_obj
[1] ;
8654 if (!args
) SWIG_fail
;
8656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8657 if (!SWIG_IsOK(res1
)) {
8658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8660 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= SWIG_From_int(static_cast< int >(result
));
8674 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
= 0;
8676 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8677 wxString
*arg2
= 0 ;
8678 int arg3
= (int) 0 ;
8681 bool temp2
= false ;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8686 PyObject
* obj2
= 0 ;
8687 char * kwnames
[] = {
8688 (char *) "self",(char *) "text",(char *) "number", NULL
8691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8693 if (!SWIG_IsOK(res1
)) {
8694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8696 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8698 arg2
= wxString_in_helper(obj1
);
8699 if (arg2
== NULL
) SWIG_fail
;
8703 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8704 if (!SWIG_IsOK(ecode3
)) {
8705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8707 arg3
= static_cast< int >(val3
);
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 resultobj
= SWIG_Py_Void();
8730 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
= 0;
8732 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8733 int arg2
= (int) 0 ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8741 char * kwnames
[] = {
8742 (char *) "self",(char *) "number", NULL
8745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8747 if (!SWIG_IsOK(res1
)) {
8748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8750 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8753 if (!SWIG_IsOK(ecode2
)) {
8754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8756 arg2
= static_cast< int >(val2
);
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8777 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
= 0;
8779 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8780 wxString
*arg2
= 0 ;
8781 int arg3
= (int) 0 ;
8784 bool temp2
= false ;
8787 PyObject
* obj0
= 0 ;
8788 PyObject
* obj1
= 0 ;
8789 PyObject
* obj2
= 0 ;
8790 char * kwnames
[] = {
8791 (char *) "self",(char *) "text",(char *) "number", NULL
8794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8796 if (!SWIG_IsOK(res1
)) {
8797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8799 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8801 arg2
= wxString_in_helper(obj1
);
8802 if (arg2
== NULL
) SWIG_fail
;
8806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8807 if (!SWIG_IsOK(ecode3
)) {
8808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8810 arg3
= static_cast< int >(val3
);
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= SWIG_Py_Void();
8833 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
= 0;
8835 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8836 int arg2
= (int) 0 ;
8841 PyObject
* obj0
= 0 ;
8842 PyObject
* obj1
= 0 ;
8843 char * kwnames
[] = {
8844 (char *) "self",(char *) "number", NULL
8847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8849 if (!SWIG_IsOK(res1
)) {
8850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8852 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8855 if (!SWIG_IsOK(ecode2
)) {
8856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8858 arg2
= static_cast< int >(val2
);
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 (arg1
)->PopStatusText(arg2
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 resultobj
= SWIG_Py_Void();
8873 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
= 0;
8875 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8877 int *arg3
= (int *) 0 ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 char * kwnames
[] = {
8883 (char *) "self",(char *) "widths", NULL
8886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8888 if (!SWIG_IsOK(res1
)) {
8889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8891 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8893 arg2
= PyList_Size(obj1
);
8894 arg3
= int_LIST_helper(obj1
);
8895 if (arg3
== NULL
) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 resultobj
= SWIG_Py_Void();
8905 if (arg3
) delete [] arg3
;
8910 if (arg3
) delete [] arg3
;
8916 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
= 0;
8918 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8920 int *arg3
= (int *) 0 ;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8925 char * kwnames
[] = {
8926 (char *) "self",(char *) "styles", NULL
8929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8931 if (!SWIG_IsOK(res1
)) {
8932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8934 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8936 arg2
= PyList_Size(obj1
);
8937 arg3
= int_LIST_helper(obj1
);
8938 if (arg3
== NULL
) SWIG_fail
;
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= SWIG_Py_Void();
8948 if (arg3
) delete [] arg3
;
8953 if (arg3
) delete [] arg3
;
8959 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
= 0;
8961 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8968 PyObject
* obj0
= 0 ;
8969 PyObject
* obj1
= 0 ;
8970 char * kwnames
[] = {
8971 (char *) "self",(char *) "i", NULL
8974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8976 if (!SWIG_IsOK(res1
)) {
8977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8979 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8981 if (!SWIG_IsOK(ecode2
)) {
8982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8984 arg2
= static_cast< int >(val2
);
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8998 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
= 0;
9000 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9008 char * kwnames
[] = {
9009 (char *) "self",(char *) "height", NULL
9012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9014 if (!SWIG_IsOK(res1
)) {
9015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9017 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9019 if (!SWIG_IsOK(ecode2
)) {
9020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9022 arg2
= static_cast< int >(val2
);
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 (arg1
)->SetMinHeight(arg2
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= SWIG_Py_Void();
9036 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9037 PyObject
*resultobj
= 0;
9038 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9042 PyObject
*swig_obj
[1] ;
9044 if (!args
) SWIG_fail
;
9046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9047 if (!SWIG_IsOK(res1
)) {
9048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9050 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 resultobj
= SWIG_From_int(static_cast< int >(result
));
9064 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9065 PyObject
*resultobj
= 0;
9066 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9070 PyObject
*swig_obj
[1] ;
9072 if (!args
) SWIG_fail
;
9074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9075 if (!SWIG_IsOK(res1
)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9078 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9085 resultobj
= SWIG_From_int(static_cast< int >(result
));
9092 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
*resultobj
= 0;
9094 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9095 SwigValueWrapper
<wxVisualAttributes
> result
;
9098 PyObject
* obj0
= 0 ;
9099 char * kwnames
[] = {
9100 (char *) "variant", NULL
9103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9105 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9106 if (!SWIG_IsOK(ecode1
)) {
9107 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9109 arg1
= static_cast< wxWindowVariant
>(val1
);
9112 if (!wxPyCheckForApp()) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9125 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9128 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9129 return SWIG_Py_Void();
9132 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9133 return SWIG_Python_InitShadowInstance(args
);
9136 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9137 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9142 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9143 PyObject
*pyobj
= 0;
9147 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9149 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9156 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
= 0;
9158 wxWindow
*arg1
= (wxWindow
*) 0 ;
9159 int arg2
= (int) -1 ;
9160 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9161 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9162 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9163 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9164 long arg5
= (long) wxSP_3D
;
9165 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9166 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9167 wxSplitterWindow
*result
= 0 ;
9176 bool temp6
= false ;
9177 PyObject
* obj0
= 0 ;
9178 PyObject
* obj1
= 0 ;
9179 PyObject
* obj2
= 0 ;
9180 PyObject
* obj3
= 0 ;
9181 PyObject
* obj4
= 0 ;
9182 PyObject
* obj5
= 0 ;
9183 char * kwnames
[] = {
9184 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9189 if (!SWIG_IsOK(res1
)) {
9190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9192 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9195 if (!SWIG_IsOK(ecode2
)) {
9196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9198 arg2
= static_cast< int >(val2
);
9203 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9209 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9213 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9214 if (!SWIG_IsOK(ecode5
)) {
9215 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9217 arg5
= static_cast< long >(val5
);
9221 arg6
= wxString_in_helper(obj5
);
9222 if (arg6
== NULL
) SWIG_fail
;
9227 if (!wxPyCheckForApp()) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9248 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9249 PyObject
*resultobj
= 0;
9250 wxSplitterWindow
*result
= 0 ;
9252 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9254 if (!wxPyCheckForApp()) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9267 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
= 0;
9269 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9270 wxWindow
*arg2
= (wxWindow
*) 0 ;
9271 int arg3
= (int) -1 ;
9272 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9273 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9274 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9275 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9276 long arg6
= (long) wxSP_3D
;
9277 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9278 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9290 bool temp7
= false ;
9291 PyObject
* obj0
= 0 ;
9292 PyObject
* obj1
= 0 ;
9293 PyObject
* obj2
= 0 ;
9294 PyObject
* obj3
= 0 ;
9295 PyObject
* obj4
= 0 ;
9296 PyObject
* obj5
= 0 ;
9297 PyObject
* obj6
= 0 ;
9298 char * kwnames
[] = {
9299 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9304 if (!SWIG_IsOK(res1
)) {
9305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9307 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9308 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9309 if (!SWIG_IsOK(res2
)) {
9310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9312 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9315 if (!SWIG_IsOK(ecode3
)) {
9316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9318 arg3
= static_cast< int >(val3
);
9323 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9329 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9333 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9334 if (!SWIG_IsOK(ecode6
)) {
9335 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9337 arg6
= static_cast< long >(val6
);
9341 arg7
= wxString_in_helper(obj6
);
9342 if (arg7
== NULL
) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9369 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9370 PyObject
*resultobj
= 0;
9371 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9372 wxWindow
*result
= 0 ;
9375 PyObject
*swig_obj
[1] ;
9377 if (!args
) SWIG_fail
;
9379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9380 if (!SWIG_IsOK(res1
)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9383 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= wxPyMake_wxObject(result
, 0);
9399 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9400 PyObject
*resultobj
= 0;
9401 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9402 wxWindow
*result
= 0 ;
9405 PyObject
*swig_obj
[1] ;
9407 if (!args
) SWIG_fail
;
9409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9410 if (!SWIG_IsOK(res1
)) {
9411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9413 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= wxPyMake_wxObject(result
, 0);
9429 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
= 0;
9431 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9437 PyObject
* obj0
= 0 ;
9438 PyObject
* obj1
= 0 ;
9439 char * kwnames
[] = {
9440 (char *) "self",(char *) "mode", NULL
9443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9445 if (!SWIG_IsOK(res1
)) {
9446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9448 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9450 if (!SWIG_IsOK(ecode2
)) {
9451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9453 arg2
= static_cast< int >(val2
);
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 (arg1
)->SetSplitMode(arg2
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= SWIG_Py_Void();
9467 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9468 PyObject
*resultobj
= 0;
9469 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9473 PyObject
*swig_obj
[1] ;
9475 if (!args
) SWIG_fail
;
9477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9478 if (!SWIG_IsOK(res1
)) {
9479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9481 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= SWIG_From_int(static_cast< int >(result
));
9495 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
= 0;
9497 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9498 wxWindow
*arg2
= (wxWindow
*) 0 ;
9503 PyObject
* obj0
= 0 ;
9504 PyObject
* obj1
= 0 ;
9505 char * kwnames
[] = {
9506 (char *) "self",(char *) "window", NULL
9509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9511 if (!SWIG_IsOK(res1
)) {
9512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9514 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9516 if (!SWIG_IsOK(res2
)) {
9517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9519 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 (arg1
)->Initialize(arg2
);
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 resultobj
= SWIG_Py_Void();
9533 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
= 0;
9535 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9536 wxWindow
*arg2
= (wxWindow
*) 0 ;
9537 wxWindow
*arg3
= (wxWindow
*) 0 ;
9538 int arg4
= (int) 0 ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9550 PyObject
* obj2
= 0 ;
9551 PyObject
* obj3
= 0 ;
9552 char * kwnames
[] = {
9553 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9558 if (!SWIG_IsOK(res1
)) {
9559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9561 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9563 if (!SWIG_IsOK(res2
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9566 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9567 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9568 if (!SWIG_IsOK(res3
)) {
9569 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9571 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9573 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9574 if (!SWIG_IsOK(ecode4
)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9577 arg4
= static_cast< int >(val4
);
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9594 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
= 0;
9596 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9597 wxWindow
*arg2
= (wxWindow
*) 0 ;
9598 wxWindow
*arg3
= (wxWindow
*) 0 ;
9599 int arg4
= (int) 0 ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9611 PyObject
* obj2
= 0 ;
9612 PyObject
* obj3
= 0 ;
9613 char * kwnames
[] = {
9614 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9619 if (!SWIG_IsOK(res1
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9622 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9624 if (!SWIG_IsOK(res2
)) {
9625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9627 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9628 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9629 if (!SWIG_IsOK(res3
)) {
9630 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9632 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9634 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9635 if (!SWIG_IsOK(ecode4
)) {
9636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9638 arg4
= static_cast< int >(val4
);
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9655 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
= 0;
9657 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9658 wxWindow
*arg2
= (wxWindow
*) NULL
;
9664 PyObject
* obj0
= 0 ;
9665 PyObject
* obj1
= 0 ;
9666 char * kwnames
[] = {
9667 (char *) "self",(char *) "toRemove", NULL
9670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9672 if (!SWIG_IsOK(res1
)) {
9673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9675 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9677 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9678 if (!SWIG_IsOK(res2
)) {
9679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9681 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (bool)(arg1
)->Unsplit(arg2
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9698 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
= 0;
9700 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9701 wxWindow
*arg2
= (wxWindow
*) 0 ;
9702 wxWindow
*arg3
= (wxWindow
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9712 PyObject
* obj2
= 0 ;
9713 char * kwnames
[] = {
9714 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9719 if (!SWIG_IsOK(res1
)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9722 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9724 if (!SWIG_IsOK(res2
)) {
9725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9727 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9728 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9729 if (!SWIG_IsOK(res3
)) {
9730 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9732 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9748 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9749 PyObject
*resultobj
= 0;
9750 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9753 PyObject
*swig_obj
[1] ;
9755 if (!args
) SWIG_fail
;
9757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9758 if (!SWIG_IsOK(res1
)) {
9759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9761 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 (arg1
)->UpdateSize();
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_Py_Void();
9775 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9776 PyObject
*resultobj
= 0;
9777 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9781 PyObject
*swig_obj
[1] ;
9783 if (!args
) SWIG_fail
;
9785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9786 if (!SWIG_IsOK(res1
)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9789 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9805 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
= 0;
9807 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9815 char * kwnames
[] = {
9816 (char *) "self",(char *) "width", NULL
9819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9821 if (!SWIG_IsOK(res1
)) {
9822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9824 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9826 if (!SWIG_IsOK(ecode2
)) {
9827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9829 arg2
= static_cast< int >(val2
);
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 (arg1
)->SetSashSize(arg2
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 resultobj
= SWIG_Py_Void();
9843 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
= 0;
9845 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9851 PyObject
* obj0
= 0 ;
9852 PyObject
* obj1
= 0 ;
9853 char * kwnames
[] = {
9854 (char *) "self",(char *) "width", NULL
9857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9859 if (!SWIG_IsOK(res1
)) {
9860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9862 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9864 if (!SWIG_IsOK(ecode2
)) {
9865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9867 arg2
= static_cast< int >(val2
);
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 (arg1
)->SetBorderSize(arg2
);
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= SWIG_Py_Void();
9881 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9882 PyObject
*resultobj
= 0;
9883 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9887 PyObject
*swig_obj
[1] ;
9889 if (!args
) SWIG_fail
;
9891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9892 if (!SWIG_IsOK(res1
)) {
9893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9895 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= SWIG_From_int(static_cast< int >(result
));
9909 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9910 PyObject
*resultobj
= 0;
9911 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9915 PyObject
*swig_obj
[1] ;
9917 if (!args
) SWIG_fail
;
9919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9920 if (!SWIG_IsOK(res1
)) {
9921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9923 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_From_int(static_cast< int >(result
));
9937 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
= 0;
9939 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9941 bool arg3
= (bool) true ;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9950 PyObject
* obj2
= 0 ;
9951 char * kwnames
[] = {
9952 (char *) "self",(char *) "position",(char *) "redraw", NULL
9955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9960 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9962 if (!SWIG_IsOK(ecode2
)) {
9963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9965 arg2
= static_cast< int >(val2
);
9967 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9968 if (!SWIG_IsOK(ecode3
)) {
9969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9971 arg3
= static_cast< bool >(val3
);
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 (arg1
)->SetSashPosition(arg2
,arg3
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= SWIG_Py_Void();
9986 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9987 PyObject
*resultobj
= 0;
9988 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9992 PyObject
*swig_obj
[1] ;
9994 if (!args
) SWIG_fail
;
9996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9997 if (!SWIG_IsOK(res1
)) {
9998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10000 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= SWIG_From_int(static_cast< int >(result
));
10014 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
= 0;
10016 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10022 PyObject
* obj0
= 0 ;
10023 PyObject
* obj1
= 0 ;
10024 char * kwnames
[] = {
10025 (char *) "self",(char *) "gravity", NULL
10028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10030 if (!SWIG_IsOK(res1
)) {
10031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10033 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10034 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10035 if (!SWIG_IsOK(ecode2
)) {
10036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10038 arg2
= static_cast< double >(val2
);
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 (arg1
)->SetSashGravity(arg2
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= SWIG_Py_Void();
10052 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10053 PyObject
*resultobj
= 0;
10054 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10058 PyObject
*swig_obj
[1] ;
10060 if (!args
) SWIG_fail
;
10061 swig_obj
[0] = args
;
10062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10063 if (!SWIG_IsOK(res1
)) {
10064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10066 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= SWIG_From_double(static_cast< double >(result
));
10080 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
= 0;
10082 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10088 PyObject
* obj0
= 0 ;
10089 PyObject
* obj1
= 0 ;
10090 char * kwnames
[] = {
10091 (char *) "self",(char *) "min", NULL
10094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10096 if (!SWIG_IsOK(res1
)) {
10097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10099 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10101 if (!SWIG_IsOK(ecode2
)) {
10102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10104 arg2
= static_cast< int >(val2
);
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 (arg1
)->SetMinimumPaneSize(arg2
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= SWIG_Py_Void();
10118 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10119 PyObject
*resultobj
= 0;
10120 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10124 PyObject
*swig_obj
[1] ;
10126 if (!args
) SWIG_fail
;
10127 swig_obj
[0] = args
;
10128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10129 if (!SWIG_IsOK(res1
)) {
10130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10132 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= SWIG_From_int(static_cast< int >(result
));
10146 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
*resultobj
= 0;
10148 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10151 int arg4
= (int) 5 ;
10161 PyObject
* obj0
= 0 ;
10162 PyObject
* obj1
= 0 ;
10163 PyObject
* obj2
= 0 ;
10164 PyObject
* obj3
= 0 ;
10165 char * kwnames
[] = {
10166 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10171 if (!SWIG_IsOK(res1
)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10174 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10176 if (!SWIG_IsOK(ecode2
)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10179 arg2
= static_cast< int >(val2
);
10180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10181 if (!SWIG_IsOK(ecode3
)) {
10182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10184 arg3
= static_cast< int >(val3
);
10186 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10187 if (!SWIG_IsOK(ecode4
)) {
10188 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10190 arg4
= static_cast< int >(val4
);
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10207 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10208 PyObject
*resultobj
= 0;
10209 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10212 PyObject
*swig_obj
[1] ;
10214 if (!args
) SWIG_fail
;
10215 swig_obj
[0] = args
;
10216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10217 if (!SWIG_IsOK(res1
)) {
10218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10220 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 (arg1
)->SizeWindows();
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 resultobj
= SWIG_Py_Void();
10234 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
= 0;
10236 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10242 PyObject
* obj0
= 0 ;
10243 PyObject
* obj1
= 0 ;
10244 char * kwnames
[] = {
10245 (char *) "self",(char *) "needUpdating", NULL
10248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10250 if (!SWIG_IsOK(res1
)) {
10251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10253 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10254 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10255 if (!SWIG_IsOK(ecode2
)) {
10256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10258 arg2
= static_cast< bool >(val2
);
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 (arg1
)->SetNeedUpdating(arg2
);
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_Py_Void();
10272 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10273 PyObject
*resultobj
= 0;
10274 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10278 PyObject
*swig_obj
[1] ;
10280 if (!args
) SWIG_fail
;
10281 swig_obj
[0] = args
;
10282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10283 if (!SWIG_IsOK(res1
)) {
10284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10286 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10302 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
= 0;
10304 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10305 SwigValueWrapper
<wxVisualAttributes
> result
;
10308 PyObject
* obj0
= 0 ;
10309 char * kwnames
[] = {
10310 (char *) "variant", NULL
10313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10315 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10316 if (!SWIG_IsOK(ecode1
)) {
10317 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10319 arg1
= static_cast< wxWindowVariant
>(val1
);
10322 if (!wxPyCheckForApp()) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10335 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10338 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10339 return SWIG_Py_Void();
10342 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10343 return SWIG_Python_InitShadowInstance(args
);
10346 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
= 0;
10348 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10349 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10350 wxSplitterEvent
*result
= 0 ;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 char * kwnames
[] = {
10358 (char *) "type",(char *) "splitter", NULL
10361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10363 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10364 if (!SWIG_IsOK(ecode1
)) {
10365 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10367 arg1
= static_cast< wxEventType
>(val1
);
10370 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10371 if (!SWIG_IsOK(res2
)) {
10372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10374 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10389 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
= 0;
10391 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10397 PyObject
* obj0
= 0 ;
10398 PyObject
* obj1
= 0 ;
10399 char * kwnames
[] = {
10400 (char *) "self",(char *) "pos", NULL
10403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10405 if (!SWIG_IsOK(res1
)) {
10406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10408 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10410 if (!SWIG_IsOK(ecode2
)) {
10411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10413 arg2
= static_cast< int >(val2
);
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 (arg1
)->SetSashPosition(arg2
);
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= SWIG_Py_Void();
10427 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10428 PyObject
*resultobj
= 0;
10429 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10433 PyObject
*swig_obj
[1] ;
10435 if (!args
) SWIG_fail
;
10436 swig_obj
[0] = args
;
10437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10438 if (!SWIG_IsOK(res1
)) {
10439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10441 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10445 wxPyEndAllowThreads(__tstate
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10448 resultobj
= SWIG_From_int(static_cast< int >(result
));
10455 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10456 PyObject
*resultobj
= 0;
10457 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10458 wxWindow
*result
= 0 ;
10461 PyObject
*swig_obj
[1] ;
10463 if (!args
) SWIG_fail
;
10464 swig_obj
[0] = args
;
10465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10466 if (!SWIG_IsOK(res1
)) {
10467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10469 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= wxPyMake_wxObject(result
, 0);
10485 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10486 PyObject
*resultobj
= 0;
10487 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10491 PyObject
*swig_obj
[1] ;
10493 if (!args
) SWIG_fail
;
10494 swig_obj
[0] = args
;
10495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10496 if (!SWIG_IsOK(res1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10499 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_From_int(static_cast< int >(result
));
10513 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10514 PyObject
*resultobj
= 0;
10515 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10519 PyObject
*swig_obj
[1] ;
10521 if (!args
) SWIG_fail
;
10522 swig_obj
[0] = args
;
10523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10524 if (!SWIG_IsOK(res1
)) {
10525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10527 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_From_int(static_cast< int >(result
));
10541 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10544 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10545 return SWIG_Py_Void();
10548 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10549 return SWIG_Python_InitShadowInstance(args
);
10552 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10553 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10558 SWIGINTERN PyObject
*SashNameStr_get(void) {
10559 PyObject
*pyobj
= 0;
10563 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10565 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10572 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10573 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10578 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10579 PyObject
*pyobj
= 0;
10583 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10585 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10592 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
= 0;
10594 wxWindow
*arg1
= (wxWindow
*) 0 ;
10595 int arg2
= (int) -1 ;
10596 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10597 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10598 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10599 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10600 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10601 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10602 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10603 wxSashWindow
*result
= 0 ;
10612 bool temp6
= false ;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 PyObject
* obj2
= 0 ;
10616 PyObject
* obj3
= 0 ;
10617 PyObject
* obj4
= 0 ;
10618 PyObject
* obj5
= 0 ;
10619 char * kwnames
[] = {
10620 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10625 if (!SWIG_IsOK(res1
)) {
10626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10628 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10631 if (!SWIG_IsOK(ecode2
)) {
10632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10634 arg2
= static_cast< int >(val2
);
10639 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10645 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10649 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10650 if (!SWIG_IsOK(ecode5
)) {
10651 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10653 arg5
= static_cast< long >(val5
);
10657 arg6
= wxString_in_helper(obj5
);
10658 if (arg6
== NULL
) SWIG_fail
;
10663 if (!wxPyCheckForApp()) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10684 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10685 PyObject
*resultobj
= 0;
10686 wxSashWindow
*result
= 0 ;
10688 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10690 if (!wxPyCheckForApp()) SWIG_fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 result
= (wxSashWindow
*)new wxSashWindow();
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10703 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
= 0;
10705 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10706 wxWindow
*arg2
= (wxWindow
*) 0 ;
10707 int arg3
= (int) -1 ;
10708 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10709 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10710 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10711 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10712 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10713 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10714 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10726 bool temp7
= false ;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 PyObject
* obj2
= 0 ;
10730 PyObject
* obj3
= 0 ;
10731 PyObject
* obj4
= 0 ;
10732 PyObject
* obj5
= 0 ;
10733 PyObject
* obj6
= 0 ;
10734 char * kwnames
[] = {
10735 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10740 if (!SWIG_IsOK(res1
)) {
10741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10743 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10744 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10745 if (!SWIG_IsOK(res2
)) {
10746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10748 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10750 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10751 if (!SWIG_IsOK(ecode3
)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10754 arg3
= static_cast< int >(val3
);
10759 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10765 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10769 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10770 if (!SWIG_IsOK(ecode6
)) {
10771 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10773 arg6
= static_cast< long >(val6
);
10777 arg7
= wxString_in_helper(obj6
);
10778 if (arg7
== NULL
) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10805 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
= 0;
10807 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10808 wxSashEdgePosition arg2
;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 PyObject
* obj2
= 0 ;
10819 char * kwnames
[] = {
10820 (char *) "self",(char *) "edge",(char *) "sash", NULL
10823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10825 if (!SWIG_IsOK(res1
)) {
10826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10828 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10830 if (!SWIG_IsOK(ecode2
)) {
10831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10833 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10834 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10835 if (!SWIG_IsOK(ecode3
)) {
10836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10838 arg3
= static_cast< bool >(val3
);
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 (arg1
)->SetSashVisible(arg2
,arg3
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= SWIG_Py_Void();
10852 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
= 0;
10854 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10855 wxSashEdgePosition arg2
;
10861 PyObject
* obj0
= 0 ;
10862 PyObject
* obj1
= 0 ;
10863 char * kwnames
[] = {
10864 (char *) "self",(char *) "edge", NULL
10867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10869 if (!SWIG_IsOK(res1
)) {
10870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10872 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10874 if (!SWIG_IsOK(ecode2
)) {
10875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10877 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10893 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
= 0;
10895 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10896 wxSashEdgePosition arg2
;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 PyObject
* obj2
= 0 ;
10907 char * kwnames
[] = {
10908 (char *) "self",(char *) "edge",(char *) "border", NULL
10911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10913 if (!SWIG_IsOK(res1
)) {
10914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10916 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10918 if (!SWIG_IsOK(ecode2
)) {
10919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10921 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10922 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10923 if (!SWIG_IsOK(ecode3
)) {
10924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10926 arg3
= static_cast< bool >(val3
);
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 (arg1
)->SetSashBorder(arg2
,arg3
);
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 resultobj
= SWIG_Py_Void();
10940 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
= 0;
10942 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10943 wxSashEdgePosition arg2
;
10949 PyObject
* obj0
= 0 ;
10950 PyObject
* obj1
= 0 ;
10951 char * kwnames
[] = {
10952 (char *) "self",(char *) "edge", NULL
10955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10957 if (!SWIG_IsOK(res1
)) {
10958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10960 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10962 if (!SWIG_IsOK(ecode2
)) {
10963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10965 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10981 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
= 0;
10983 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10984 wxSashEdgePosition arg2
;
10990 PyObject
* obj0
= 0 ;
10991 PyObject
* obj1
= 0 ;
10992 char * kwnames
[] = {
10993 (char *) "self",(char *) "edge", NULL
10996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10998 if (!SWIG_IsOK(res1
)) {
10999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11001 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11003 if (!SWIG_IsOK(ecode2
)) {
11004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11006 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11013 resultobj
= SWIG_From_int(static_cast< int >(result
));
11020 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11021 PyObject
*resultobj
= 0;
11022 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11028 PyObject
* obj0
= 0 ;
11029 PyObject
* obj1
= 0 ;
11030 char * kwnames
[] = {
11031 (char *) "self",(char *) "width", NULL
11034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11036 if (!SWIG_IsOK(res1
)) {
11037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11039 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11041 if (!SWIG_IsOK(ecode2
)) {
11042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11044 arg2
= static_cast< int >(val2
);
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 (arg1
)->SetDefaultBorderSize(arg2
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= SWIG_Py_Void();
11058 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11059 PyObject
*resultobj
= 0;
11060 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11064 PyObject
*swig_obj
[1] ;
11066 if (!args
) SWIG_fail
;
11067 swig_obj
[0] = args
;
11068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11069 if (!SWIG_IsOK(res1
)) {
11070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11072 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= SWIG_From_int(static_cast< int >(result
));
11086 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
= 0;
11088 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 char * kwnames
[] = {
11097 (char *) "self",(char *) "width", NULL
11100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11102 if (!SWIG_IsOK(res1
)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11105 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11107 if (!SWIG_IsOK(ecode2
)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11110 arg2
= static_cast< int >(val2
);
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 (arg1
)->SetExtraBorderSize(arg2
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= SWIG_Py_Void();
11124 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11125 PyObject
*resultobj
= 0;
11126 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11130 PyObject
*swig_obj
[1] ;
11132 if (!args
) SWIG_fail
;
11133 swig_obj
[0] = args
;
11134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11135 if (!SWIG_IsOK(res1
)) {
11136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11138 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 resultobj
= SWIG_From_int(static_cast< int >(result
));
11152 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
= 0;
11154 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11160 PyObject
* obj0
= 0 ;
11161 PyObject
* obj1
= 0 ;
11162 char * kwnames
[] = {
11163 (char *) "self",(char *) "min", NULL
11166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11168 if (!SWIG_IsOK(res1
)) {
11169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11171 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11173 if (!SWIG_IsOK(ecode2
)) {
11174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11176 arg2
= static_cast< int >(val2
);
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 (arg1
)->SetMinimumSizeX(arg2
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= SWIG_Py_Void();
11190 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
= 0;
11192 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11198 PyObject
* obj0
= 0 ;
11199 PyObject
* obj1
= 0 ;
11200 char * kwnames
[] = {
11201 (char *) "self",(char *) "min", NULL
11204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11206 if (!SWIG_IsOK(res1
)) {
11207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11209 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11211 if (!SWIG_IsOK(ecode2
)) {
11212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11214 arg2
= static_cast< int >(val2
);
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 (arg1
)->SetMinimumSizeY(arg2
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= SWIG_Py_Void();
11228 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11229 PyObject
*resultobj
= 0;
11230 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11234 PyObject
*swig_obj
[1] ;
11236 if (!args
) SWIG_fail
;
11237 swig_obj
[0] = args
;
11238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11239 if (!SWIG_IsOK(res1
)) {
11240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11242 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11249 resultobj
= SWIG_From_int(static_cast< int >(result
));
11256 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11257 PyObject
*resultobj
= 0;
11258 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11262 PyObject
*swig_obj
[1] ;
11264 if (!args
) SWIG_fail
;
11265 swig_obj
[0] = args
;
11266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11267 if (!SWIG_IsOK(res1
)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11270 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 resultobj
= SWIG_From_int(static_cast< int >(result
));
11284 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
= 0;
11286 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11292 PyObject
* obj0
= 0 ;
11293 PyObject
* obj1
= 0 ;
11294 char * kwnames
[] = {
11295 (char *) "self",(char *) "max", NULL
11298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11300 if (!SWIG_IsOK(res1
)) {
11301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11303 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11305 if (!SWIG_IsOK(ecode2
)) {
11306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11308 arg2
= static_cast< int >(val2
);
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 (arg1
)->SetMaximumSizeX(arg2
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= SWIG_Py_Void();
11322 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
= 0;
11324 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 char * kwnames
[] = {
11333 (char *) "self",(char *) "max", NULL
11336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11338 if (!SWIG_IsOK(res1
)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11341 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11343 if (!SWIG_IsOK(ecode2
)) {
11344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11346 arg2
= static_cast< int >(val2
);
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 (arg1
)->SetMaximumSizeY(arg2
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= SWIG_Py_Void();
11360 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11361 PyObject
*resultobj
= 0;
11362 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11366 PyObject
*swig_obj
[1] ;
11368 if (!args
) SWIG_fail
;
11369 swig_obj
[0] = args
;
11370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11371 if (!SWIG_IsOK(res1
)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11374 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 resultobj
= SWIG_From_int(static_cast< int >(result
));
11388 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11389 PyObject
*resultobj
= 0;
11390 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11394 PyObject
*swig_obj
[1] ;
11396 if (!args
) SWIG_fail
;
11397 swig_obj
[0] = args
;
11398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11399 if (!SWIG_IsOK(res1
)) {
11400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11402 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= SWIG_From_int(static_cast< int >(result
));
11416 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
*resultobj
= 0;
11418 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11421 int arg4
= (int) 2 ;
11422 wxSashEdgePosition result
;
11431 PyObject
* obj0
= 0 ;
11432 PyObject
* obj1
= 0 ;
11433 PyObject
* obj2
= 0 ;
11434 PyObject
* obj3
= 0 ;
11435 char * kwnames
[] = {
11436 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11441 if (!SWIG_IsOK(res1
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11444 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11446 if (!SWIG_IsOK(ecode2
)) {
11447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11449 arg2
= static_cast< int >(val2
);
11450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11451 if (!SWIG_IsOK(ecode3
)) {
11452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11454 arg3
= static_cast< int >(val3
);
11456 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11457 if (!SWIG_IsOK(ecode4
)) {
11458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11460 arg4
= static_cast< int >(val4
);
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= SWIG_From_int(static_cast< int >(result
));
11475 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11476 PyObject
*resultobj
= 0;
11477 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11480 PyObject
*swig_obj
[1] ;
11482 if (!args
) SWIG_fail
;
11483 swig_obj
[0] = args
;
11484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11485 if (!SWIG_IsOK(res1
)) {
11486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11488 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 (arg1
)->SizeWindows();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= SWIG_Py_Void();
11502 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11505 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11506 return SWIG_Py_Void();
11509 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11510 return SWIG_Python_InitShadowInstance(args
);
11513 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
= 0;
11515 int arg1
= (int) 0 ;
11516 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11517 wxSashEvent
*result
= 0 ;
11522 PyObject
* obj0
= 0 ;
11523 PyObject
* obj1
= 0 ;
11524 char * kwnames
[] = {
11525 (char *) "id",(char *) "edge", NULL
11528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11530 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11531 if (!SWIG_IsOK(ecode1
)) {
11532 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11534 arg1
= static_cast< int >(val1
);
11537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11538 if (!SWIG_IsOK(ecode2
)) {
11539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11541 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11556 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
= 0;
11558 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11559 wxSashEdgePosition arg2
;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 char * kwnames
[] = {
11567 (char *) "self",(char *) "edge", NULL
11570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11572 if (!SWIG_IsOK(res1
)) {
11573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11575 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11577 if (!SWIG_IsOK(ecode2
)) {
11578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11580 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 (arg1
)->SetEdge(arg2
);
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_Py_Void();
11594 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11595 PyObject
*resultobj
= 0;
11596 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11597 wxSashEdgePosition result
;
11600 PyObject
*swig_obj
[1] ;
11602 if (!args
) SWIG_fail
;
11603 swig_obj
[0] = args
;
11604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11605 if (!SWIG_IsOK(res1
)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11608 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= SWIG_From_int(static_cast< int >(result
));
11622 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
= 0;
11624 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11629 PyObject
* obj0
= 0 ;
11630 PyObject
* obj1
= 0 ;
11631 char * kwnames
[] = {
11632 (char *) "self",(char *) "rect", NULL
11635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11637 if (!SWIG_IsOK(res1
)) {
11638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11640 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11643 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= SWIG_Py_Void();
11658 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11659 PyObject
*resultobj
= 0;
11660 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11664 PyObject
*swig_obj
[1] ;
11666 if (!args
) SWIG_fail
;
11667 swig_obj
[0] = args
;
11668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11669 if (!SWIG_IsOK(res1
)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11672 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11686 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
= 0;
11688 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11689 wxSashDragStatus arg2
;
11694 PyObject
* obj0
= 0 ;
11695 PyObject
* obj1
= 0 ;
11696 char * kwnames
[] = {
11697 (char *) "self",(char *) "status", NULL
11700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11702 if (!SWIG_IsOK(res1
)) {
11703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11705 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11707 if (!SWIG_IsOK(ecode2
)) {
11708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11710 arg2
= static_cast< wxSashDragStatus
>(val2
);
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 (arg1
)->SetDragStatus(arg2
);
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= SWIG_Py_Void();
11724 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11725 PyObject
*resultobj
= 0;
11726 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11727 wxSashDragStatus result
;
11730 PyObject
*swig_obj
[1] ;
11732 if (!args
) SWIG_fail
;
11733 swig_obj
[0] = args
;
11734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11735 if (!SWIG_IsOK(res1
)) {
11736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11738 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= SWIG_From_int(static_cast< int >(result
));
11752 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11754 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11755 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11756 return SWIG_Py_Void();
11759 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11760 return SWIG_Python_InitShadowInstance(args
);
11763 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11764 PyObject
*resultobj
= 0;
11765 int arg1
= (int) 0 ;
11766 wxQueryLayoutInfoEvent
*result
= 0 ;
11769 PyObject
* obj0
= 0 ;
11770 char * kwnames
[] = {
11771 (char *) "id", NULL
11774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11777 if (!SWIG_IsOK(ecode1
)) {
11778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11780 arg1
= static_cast< int >(val1
);
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11795 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
= 0;
11797 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11803 PyObject
* obj0
= 0 ;
11804 PyObject
* obj1
= 0 ;
11805 char * kwnames
[] = {
11806 (char *) "self",(char *) "length", NULL
11809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11811 if (!SWIG_IsOK(res1
)) {
11812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11814 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11816 if (!SWIG_IsOK(ecode2
)) {
11817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11819 arg2
= static_cast< int >(val2
);
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 (arg1
)->SetRequestedLength(arg2
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_Py_Void();
11833 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11834 PyObject
*resultobj
= 0;
11835 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11839 PyObject
*swig_obj
[1] ;
11841 if (!args
) SWIG_fail
;
11842 swig_obj
[0] = args
;
11843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11844 if (!SWIG_IsOK(res1
)) {
11845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11847 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_From_int(static_cast< int >(result
));
11861 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11862 PyObject
*resultobj
= 0;
11863 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11869 PyObject
* obj0
= 0 ;
11870 PyObject
* obj1
= 0 ;
11871 char * kwnames
[] = {
11872 (char *) "self",(char *) "flags", NULL
11875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11877 if (!SWIG_IsOK(res1
)) {
11878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11880 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11882 if (!SWIG_IsOK(ecode2
)) {
11883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11885 arg2
= static_cast< int >(val2
);
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 (arg1
)->SetFlags(arg2
);
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= SWIG_Py_Void();
11899 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11900 PyObject
*resultobj
= 0;
11901 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11905 PyObject
*swig_obj
[1] ;
11907 if (!args
) SWIG_fail
;
11908 swig_obj
[0] = args
;
11909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11910 if (!SWIG_IsOK(res1
)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11913 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= SWIG_From_int(static_cast< int >(result
));
11927 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
= 0;
11929 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11934 PyObject
* obj0
= 0 ;
11935 PyObject
* obj1
= 0 ;
11936 char * kwnames
[] = {
11937 (char *) "self",(char *) "size", NULL
11940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11942 if (!SWIG_IsOK(res1
)) {
11943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11945 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11948 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 (arg1
)->SetSize((wxSize
const &)*arg2
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_Py_Void();
11963 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11964 PyObject
*resultobj
= 0;
11965 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11969 PyObject
*swig_obj
[1] ;
11971 if (!args
) SWIG_fail
;
11972 swig_obj
[0] = args
;
11973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11977 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11991 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
= 0;
11993 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11994 wxLayoutOrientation arg2
;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 char * kwnames
[] = {
12002 (char *) "self",(char *) "orient", NULL
12005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12007 if (!SWIG_IsOK(res1
)) {
12008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12010 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12012 if (!SWIG_IsOK(ecode2
)) {
12013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12015 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 (arg1
)->SetOrientation(arg2
);
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= SWIG_Py_Void();
12029 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12030 PyObject
*resultobj
= 0;
12031 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12032 wxLayoutOrientation result
;
12035 PyObject
*swig_obj
[1] ;
12037 if (!args
) SWIG_fail
;
12038 swig_obj
[0] = args
;
12039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12040 if (!SWIG_IsOK(res1
)) {
12041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12043 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= SWIG_From_int(static_cast< int >(result
));
12057 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
= 0;
12059 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12060 wxLayoutAlignment arg2
;
12065 PyObject
* obj0
= 0 ;
12066 PyObject
* obj1
= 0 ;
12067 char * kwnames
[] = {
12068 (char *) "self",(char *) "align", NULL
12071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12073 if (!SWIG_IsOK(res1
)) {
12074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12076 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12078 if (!SWIG_IsOK(ecode2
)) {
12079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12081 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 (arg1
)->SetAlignment(arg2
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= SWIG_Py_Void();
12095 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12096 PyObject
*resultobj
= 0;
12097 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12098 wxLayoutAlignment result
;
12101 PyObject
*swig_obj
[1] ;
12103 if (!args
) SWIG_fail
;
12104 swig_obj
[0] = args
;
12105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12106 if (!SWIG_IsOK(res1
)) {
12107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12109 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= SWIG_From_int(static_cast< int >(result
));
12123 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12126 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12127 return SWIG_Py_Void();
12130 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12131 return SWIG_Python_InitShadowInstance(args
);
12134 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
= 0;
12136 int arg1
= (int) 0 ;
12137 wxCalculateLayoutEvent
*result
= 0 ;
12140 PyObject
* obj0
= 0 ;
12141 char * kwnames
[] = {
12142 (char *) "id", NULL
12145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12147 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12148 if (!SWIG_IsOK(ecode1
)) {
12149 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12151 arg1
= static_cast< int >(val1
);
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12166 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
= 0;
12168 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 PyObject
* obj1
= 0 ;
12176 char * kwnames
[] = {
12177 (char *) "self",(char *) "flags", NULL
12180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12182 if (!SWIG_IsOK(res1
)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12185 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12187 if (!SWIG_IsOK(ecode2
)) {
12188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12190 arg2
= static_cast< int >(val2
);
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 (arg1
)->SetFlags(arg2
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_Py_Void();
12204 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12205 PyObject
*resultobj
= 0;
12206 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12210 PyObject
*swig_obj
[1] ;
12212 if (!args
) SWIG_fail
;
12213 swig_obj
[0] = args
;
12214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12215 if (!SWIG_IsOK(res1
)) {
12216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12218 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_From_int(static_cast< int >(result
));
12232 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
= 0;
12234 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 PyObject
* obj1
= 0 ;
12241 char * kwnames
[] = {
12242 (char *) "self",(char *) "rect", NULL
12245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12247 if (!SWIG_IsOK(res1
)) {
12248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12250 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12253 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 (arg1
)->SetRect((wxRect
const &)*arg2
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= SWIG_Py_Void();
12268 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12269 PyObject
*resultobj
= 0;
12270 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12274 PyObject
*swig_obj
[1] ;
12276 if (!args
) SWIG_fail
;
12277 swig_obj
[0] = args
;
12278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12279 if (!SWIG_IsOK(res1
)) {
12280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12282 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12296 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12299 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12300 return SWIG_Py_Void();
12303 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 return SWIG_Python_InitShadowInstance(args
);
12307 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
= 0;
12309 wxWindow
*arg1
= (wxWindow
*) 0 ;
12310 int arg2
= (int) -1 ;
12311 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12312 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12313 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12314 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12315 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12316 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12317 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12318 wxSashLayoutWindow
*result
= 0 ;
12327 bool temp6
= false ;
12328 PyObject
* obj0
= 0 ;
12329 PyObject
* obj1
= 0 ;
12330 PyObject
* obj2
= 0 ;
12331 PyObject
* obj3
= 0 ;
12332 PyObject
* obj4
= 0 ;
12333 PyObject
* obj5
= 0 ;
12334 char * kwnames
[] = {
12335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12340 if (!SWIG_IsOK(res1
)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12343 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12346 if (!SWIG_IsOK(ecode2
)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12349 arg2
= static_cast< int >(val2
);
12354 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12360 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12364 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12365 if (!SWIG_IsOK(ecode5
)) {
12366 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12368 arg5
= static_cast< long >(val5
);
12372 arg6
= wxString_in_helper(obj5
);
12373 if (arg6
== NULL
) SWIG_fail
;
12378 if (!wxPyCheckForApp()) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12399 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12400 PyObject
*resultobj
= 0;
12401 wxSashLayoutWindow
*result
= 0 ;
12403 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12405 if (!wxPyCheckForApp()) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12418 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
= 0;
12420 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12421 wxWindow
*arg2
= (wxWindow
*) 0 ;
12422 int arg3
= (int) -1 ;
12423 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12424 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12425 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12426 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12427 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12428 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12429 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12441 bool temp7
= false ;
12442 PyObject
* obj0
= 0 ;
12443 PyObject
* obj1
= 0 ;
12444 PyObject
* obj2
= 0 ;
12445 PyObject
* obj3
= 0 ;
12446 PyObject
* obj4
= 0 ;
12447 PyObject
* obj5
= 0 ;
12448 PyObject
* obj6
= 0 ;
12449 char * kwnames
[] = {
12450 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12455 if (!SWIG_IsOK(res1
)) {
12456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12458 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12460 if (!SWIG_IsOK(res2
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12463 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12466 if (!SWIG_IsOK(ecode3
)) {
12467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12469 arg3
= static_cast< int >(val3
);
12474 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12480 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12484 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12485 if (!SWIG_IsOK(ecode6
)) {
12486 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12488 arg6
= static_cast< long >(val6
);
12492 arg7
= wxString_in_helper(obj6
);
12493 if (arg7
== NULL
) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12520 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12521 PyObject
*resultobj
= 0;
12522 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12523 wxLayoutAlignment result
;
12526 PyObject
*swig_obj
[1] ;
12528 if (!args
) SWIG_fail
;
12529 swig_obj
[0] = args
;
12530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12531 if (!SWIG_IsOK(res1
)) {
12532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12534 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= SWIG_From_int(static_cast< int >(result
));
12548 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12549 PyObject
*resultobj
= 0;
12550 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12551 wxLayoutOrientation result
;
12554 PyObject
*swig_obj
[1] ;
12556 if (!args
) SWIG_fail
;
12557 swig_obj
[0] = args
;
12558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12559 if (!SWIG_IsOK(res1
)) {
12560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12562 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12569 resultobj
= SWIG_From_int(static_cast< int >(result
));
12576 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
= 0;
12578 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12579 wxLayoutAlignment arg2
;
12584 PyObject
* obj0
= 0 ;
12585 PyObject
* obj1
= 0 ;
12586 char * kwnames
[] = {
12587 (char *) "self",(char *) "alignment", NULL
12590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12592 if (!SWIG_IsOK(res1
)) {
12593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12595 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12597 if (!SWIG_IsOK(ecode2
)) {
12598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12600 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 (arg1
)->SetAlignment(arg2
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= SWIG_Py_Void();
12614 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
= 0;
12616 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12621 PyObject
* obj0
= 0 ;
12622 PyObject
* obj1
= 0 ;
12623 char * kwnames
[] = {
12624 (char *) "self",(char *) "size", NULL
12627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12629 if (!SWIG_IsOK(res1
)) {
12630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12632 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12635 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 resultobj
= SWIG_Py_Void();
12650 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
= 0;
12652 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12653 wxLayoutOrientation arg2
;
12658 PyObject
* obj0
= 0 ;
12659 PyObject
* obj1
= 0 ;
12660 char * kwnames
[] = {
12661 (char *) "self",(char *) "orientation", NULL
12664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12666 if (!SWIG_IsOK(res1
)) {
12667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12669 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12671 if (!SWIG_IsOK(ecode2
)) {
12672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12674 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 (arg1
)->SetOrientation(arg2
);
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 resultobj
= SWIG_Py_Void();
12688 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12691 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12692 return SWIG_Py_Void();
12695 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12696 return SWIG_Python_InitShadowInstance(args
);
12699 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12700 PyObject
*resultobj
= 0;
12701 wxLayoutAlgorithm
*result
= 0 ;
12703 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12717 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12718 PyObject
*resultobj
= 0;
12719 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12722 PyObject
*swig_obj
[1] ;
12724 if (!args
) SWIG_fail
;
12725 swig_obj
[0] = args
;
12726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12727 if (!SWIG_IsOK(res1
)) {
12728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12730 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= SWIG_Py_Void();
12745 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
= 0;
12747 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12748 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12749 wxRect
*arg3
= (wxRect
*) NULL
;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 PyObject
* obj2
= 0 ;
12760 char * kwnames
[] = {
12761 (char *) "self",(char *) "frame",(char *) "rect", NULL
12764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12766 if (!SWIG_IsOK(res1
)) {
12767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12769 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12770 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12771 if (!SWIG_IsOK(res2
)) {
12772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12774 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12776 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12777 if (!SWIG_IsOK(res3
)) {
12778 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12780 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12797 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
= 0;
12799 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12800 wxFrame
*arg2
= (wxFrame
*) 0 ;
12801 wxWindow
*arg3
= (wxWindow
*) NULL
;
12809 PyObject
* obj0
= 0 ;
12810 PyObject
* obj1
= 0 ;
12811 PyObject
* obj2
= 0 ;
12812 char * kwnames
[] = {
12813 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12818 if (!SWIG_IsOK(res1
)) {
12819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12821 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12823 if (!SWIG_IsOK(res2
)) {
12824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12826 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12828 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12829 if (!SWIG_IsOK(res3
)) {
12830 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12832 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12849 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
= 0;
12851 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12852 wxWindow
*arg2
= (wxWindow
*) 0 ;
12853 wxWindow
*arg3
= (wxWindow
*) NULL
;
12861 PyObject
* obj0
= 0 ;
12862 PyObject
* obj1
= 0 ;
12863 PyObject
* obj2
= 0 ;
12864 char * kwnames
[] = {
12865 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12870 if (!SWIG_IsOK(res1
)) {
12871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12873 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12874 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12875 if (!SWIG_IsOK(res2
)) {
12876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12878 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12880 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12881 if (!SWIG_IsOK(res3
)) {
12882 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12884 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12901 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12904 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12905 return SWIG_Py_Void();
12908 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12909 return SWIG_Python_InitShadowInstance(args
);
12912 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
= 0;
12914 wxWindow
*arg1
= (wxWindow
*) 0 ;
12915 int arg2
= (int) wxBORDER_NONE
;
12916 wxPopupWindow
*result
= 0 ;
12921 PyObject
* obj0
= 0 ;
12922 PyObject
* obj1
= 0 ;
12923 char * kwnames
[] = {
12924 (char *) "parent",(char *) "flags", NULL
12927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12929 if (!SWIG_IsOK(res1
)) {
12930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12935 if (!SWIG_IsOK(ecode2
)) {
12936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12938 arg2
= static_cast< int >(val2
);
12941 if (!wxPyCheckForApp()) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
12954 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12955 PyObject
*resultobj
= 0;
12956 wxPopupWindow
*result
= 0 ;
12958 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
12960 if (!wxPyCheckForApp()) SWIG_fail
;
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= (wxPopupWindow
*)new wxPopupWindow();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
12973 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
= 0;
12975 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12976 wxWindow
*arg2
= (wxWindow
*) 0 ;
12977 int arg3
= (int) wxBORDER_NONE
;
12985 PyObject
* obj0
= 0 ;
12986 PyObject
* obj1
= 0 ;
12987 PyObject
* obj2
= 0 ;
12988 char * kwnames
[] = {
12989 (char *) "self",(char *) "parent",(char *) "flags", NULL
12992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12994 if (!SWIG_IsOK(res1
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12997 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
12998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12999 if (!SWIG_IsOK(res2
)) {
13000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13002 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13005 if (!SWIG_IsOK(ecode3
)) {
13006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13008 arg3
= static_cast< int >(val3
);
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13025 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13026 PyObject
*resultobj
= 0;
13027 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13028 wxPoint
*arg2
= 0 ;
13034 PyObject
* obj0
= 0 ;
13035 PyObject
* obj1
= 0 ;
13036 PyObject
* obj2
= 0 ;
13037 char * kwnames
[] = {
13038 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13043 if (!SWIG_IsOK(res1
)) {
13044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13046 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13049 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13053 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 resultobj
= SWIG_Py_Void();
13068 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13071 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13072 return SWIG_Py_Void();
13075 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13076 return SWIG_Python_InitShadowInstance(args
);
13079 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
= 0;
13081 wxWindow
*arg1
= (wxWindow
*) 0 ;
13082 int arg2
= (int) wxBORDER_NONE
;
13083 wxPyPopupTransientWindow
*result
= 0 ;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 char * kwnames
[] = {
13091 (char *) "parent",(char *) "style", NULL
13094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13096 if (!SWIG_IsOK(res1
)) {
13097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13099 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13102 if (!SWIG_IsOK(ecode2
)) {
13103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13105 arg2
= static_cast< int >(val2
);
13108 if (!wxPyCheckForApp()) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13121 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13122 PyObject
*resultobj
= 0;
13123 wxPyPopupTransientWindow
*result
= 0 ;
13125 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13127 if (!wxPyCheckForApp()) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13140 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
= 0;
13142 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13143 PyObject
*arg2
= (PyObject
*) 0 ;
13144 PyObject
*arg3
= (PyObject
*) 0 ;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 PyObject
* obj2
= 0 ;
13150 char * kwnames
[] = {
13151 (char *) "self",(char *) "self",(char *) "_class", NULL
13154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13156 if (!SWIG_IsOK(res1
)) {
13157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13159 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= SWIG_Py_Void();
13175 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
= 0;
13177 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13178 wxWindow
*arg2
= (wxWindow
*) NULL
;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 char * kwnames
[] = {
13186 (char *) "self",(char *) "focus", NULL
13189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13191 if (!SWIG_IsOK(res1
)) {
13192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13194 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13196 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13197 if (!SWIG_IsOK(res2
)) {
13198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13200 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 (arg1
)->Popup(arg2
);
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= SWIG_Py_Void();
13215 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13216 PyObject
*resultobj
= 0;
13217 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13220 PyObject
*swig_obj
[1] ;
13222 if (!args
) SWIG_fail
;
13223 swig_obj
[0] = args
;
13224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13225 if (!SWIG_IsOK(res1
)) {
13226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13228 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_Py_Void();
13242 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13245 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13246 return SWIG_Py_Void();
13249 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13250 return SWIG_Python_InitShadowInstance(args
);
13253 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
= 0;
13255 wxWindow
*arg1
= (wxWindow
*) 0 ;
13256 wxString
*arg2
= 0 ;
13257 int arg3
= (int) 100 ;
13258 wxRect
*arg4
= (wxRect
*) NULL
;
13259 wxTipWindow
*result
= 0 ;
13262 bool temp2
= false ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 PyObject
* obj2
= 0 ;
13270 PyObject
* obj3
= 0 ;
13271 char * kwnames
[] = {
13272 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13277 if (!SWIG_IsOK(res1
)) {
13278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13282 arg2
= wxString_in_helper(obj1
);
13283 if (arg2
== NULL
) SWIG_fail
;
13287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13288 if (!SWIG_IsOK(ecode3
)) {
13289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13291 arg3
= static_cast< int >(val3
);
13294 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13295 if (!SWIG_IsOK(res4
)) {
13296 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13298 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13301 if (!wxPyCheckForApp()) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13322 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
= 0;
13324 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 PyObject
* obj1
= 0 ;
13331 char * kwnames
[] = {
13332 (char *) "self",(char *) "rectBound", NULL
13335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13337 if (!SWIG_IsOK(res1
)) {
13338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13340 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13343 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= SWIG_Py_Void();
13358 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13359 PyObject
*resultobj
= 0;
13360 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13363 PyObject
*swig_obj
[1] ;
13365 if (!args
) SWIG_fail
;
13366 swig_obj
[0] = args
;
13367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13368 if (!SWIG_IsOK(res1
)) {
13369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13371 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= SWIG_Py_Void();
13385 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13388 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13389 return SWIG_Py_Void();
13392 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13393 return SWIG_Python_InitShadowInstance(args
);
13396 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
= 0;
13398 wxWindow
*arg1
= (wxWindow
*) 0 ;
13399 int arg2
= (int) wxID_ANY
;
13400 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13401 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13402 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13403 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13404 long arg5
= (long) 0 ;
13405 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13406 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13407 wxPyVScrolledWindow
*result
= 0 ;
13416 bool temp6
= false ;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 PyObject
* obj2
= 0 ;
13420 PyObject
* obj3
= 0 ;
13421 PyObject
* obj4
= 0 ;
13422 PyObject
* obj5
= 0 ;
13423 char * kwnames
[] = {
13424 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13429 if (!SWIG_IsOK(res1
)) {
13430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13435 if (!SWIG_IsOK(ecode2
)) {
13436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13438 arg2
= static_cast< int >(val2
);
13443 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13449 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13453 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13454 if (!SWIG_IsOK(ecode5
)) {
13455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13457 arg5
= static_cast< long >(val5
);
13461 arg6
= wxString_in_helper(obj5
);
13462 if (arg6
== NULL
) SWIG_fail
;
13467 if (!wxPyCheckForApp()) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13488 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13489 PyObject
*resultobj
= 0;
13490 wxPyVScrolledWindow
*result
= 0 ;
13492 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13494 if (!wxPyCheckForApp()) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13507 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
= 0;
13509 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13510 PyObject
*arg2
= (PyObject
*) 0 ;
13511 PyObject
*arg3
= (PyObject
*) 0 ;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 PyObject
* obj2
= 0 ;
13517 char * kwnames
[] = {
13518 (char *) "self",(char *) "self",(char *) "_class", NULL
13521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13523 if (!SWIG_IsOK(res1
)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13526 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_Py_Void();
13542 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
= 0;
13544 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13545 wxWindow
*arg2
= (wxWindow
*) 0 ;
13546 int arg3
= (int) wxID_ANY
;
13547 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13548 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13549 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13550 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13551 long arg6
= (long) 0 ;
13552 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13553 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13565 bool temp7
= false ;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 PyObject
* obj2
= 0 ;
13569 PyObject
* obj3
= 0 ;
13570 PyObject
* obj4
= 0 ;
13571 PyObject
* obj5
= 0 ;
13572 PyObject
* obj6
= 0 ;
13573 char * kwnames
[] = {
13574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13579 if (!SWIG_IsOK(res1
)) {
13580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13582 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13584 if (!SWIG_IsOK(res2
)) {
13585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13587 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13590 if (!SWIG_IsOK(ecode3
)) {
13591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13593 arg3
= static_cast< int >(val3
);
13598 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13604 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13608 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13609 if (!SWIG_IsOK(ecode6
)) {
13610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13612 arg6
= static_cast< long >(val6
);
13616 arg7
= wxString_in_helper(obj6
);
13617 if (arg7
== NULL
) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13644 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
= 0;
13646 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 char * kwnames
[] = {
13655 (char *) "self",(char *) "count", NULL
13658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13660 if (!SWIG_IsOK(res1
)) {
13661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13663 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13664 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13665 if (!SWIG_IsOK(ecode2
)) {
13666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13668 arg2
= static_cast< size_t >(val2
);
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 (arg1
)->SetLineCount(arg2
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= SWIG_Py_Void();
13682 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
= 0;
13684 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 char * kwnames
[] = {
13694 (char *) "self",(char *) "line", NULL
13697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13702 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13703 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13704 if (!SWIG_IsOK(ecode2
)) {
13705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13707 arg2
= static_cast< size_t >(val2
);
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13723 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
= 0;
13725 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 char * kwnames
[] = {
13734 (char *) "self",(char *) "line", NULL
13737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13739 if (!SWIG_IsOK(res1
)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13742 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13743 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13744 if (!SWIG_IsOK(ecode2
)) {
13745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13747 arg2
= static_cast< size_t >(val2
);
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 (arg1
)->RefreshLine(arg2
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_Py_Void();
13761 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
= 0;
13763 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 PyObject
* obj2
= 0 ;
13775 char * kwnames
[] = {
13776 (char *) "self",(char *) "from",(char *) "to", NULL
13779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13781 if (!SWIG_IsOK(res1
)) {
13782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13784 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13785 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13786 if (!SWIG_IsOK(ecode2
)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13789 arg2
= static_cast< size_t >(val2
);
13790 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13791 if (!SWIG_IsOK(ecode3
)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13794 arg3
= static_cast< size_t >(val3
);
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 (arg1
)->RefreshLines(arg2
,arg3
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_Py_Void();
13808 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
= 0;
13810 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 PyObject
* obj1
= 0 ;
13822 PyObject
* obj2
= 0 ;
13823 char * kwnames
[] = {
13824 (char *) "self",(char *) "x",(char *) "y", NULL
13827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13829 if (!SWIG_IsOK(res1
)) {
13830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13832 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13834 if (!SWIG_IsOK(ecode2
)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13837 arg2
= static_cast< int >(val2
);
13838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13839 if (!SWIG_IsOK(ecode3
)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13842 arg3
= static_cast< int >(val3
);
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_From_int(static_cast< int >(result
));
13856 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
= 0;
13858 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13859 wxPoint
*arg2
= 0 ;
13864 PyObject
* obj0
= 0 ;
13865 PyObject
* obj1
= 0 ;
13866 char * kwnames
[] = {
13867 (char *) "self",(char *) "pt", NULL
13870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13872 if (!SWIG_IsOK(res1
)) {
13873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13875 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= SWIG_From_int(static_cast< int >(result
));
13893 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13894 PyObject
*resultobj
= 0;
13895 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13898 PyObject
*swig_obj
[1] ;
13900 if (!args
) SWIG_fail
;
13901 swig_obj
[0] = args
;
13902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13903 if (!SWIG_IsOK(res1
)) {
13904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13906 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 (arg1
)->RefreshAll();
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 resultobj
= SWIG_Py_Void();
13920 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13921 PyObject
*resultobj
= 0;
13922 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13926 PyObject
*swig_obj
[1] ;
13928 if (!args
) SWIG_fail
;
13929 swig_obj
[0] = args
;
13930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13931 if (!SWIG_IsOK(res1
)) {
13932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13934 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13948 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13949 PyObject
*resultobj
= 0;
13950 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13954 PyObject
*swig_obj
[1] ;
13956 if (!args
) SWIG_fail
;
13957 swig_obj
[0] = args
;
13958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13959 if (!SWIG_IsOK(res1
)) {
13960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13962 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13965 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13976 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13977 PyObject
*resultobj
= 0;
13978 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13982 PyObject
*swig_obj
[1] ;
13984 if (!args
) SWIG_fail
;
13985 swig_obj
[0] = args
;
13986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13987 if (!SWIG_IsOK(res1
)) {
13988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13990 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14004 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
= 0;
14006 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14013 PyObject
* obj0
= 0 ;
14014 PyObject
* obj1
= 0 ;
14015 char * kwnames
[] = {
14016 (char *) "self",(char *) "line", NULL
14019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14021 if (!SWIG_IsOK(res1
)) {
14022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14024 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14025 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14026 if (!SWIG_IsOK(ecode2
)) {
14027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14029 arg2
= static_cast< size_t >(val2
);
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14032 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14045 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14046 PyObject
*resultobj
= 0;
14047 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14051 PyObject
*swig_obj
[1] ;
14053 if (!args
) SWIG_fail
;
14054 swig_obj
[0] = args
;
14055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14056 if (!SWIG_IsOK(res1
)) {
14057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14059 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14073 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14074 PyObject
*resultobj
= 0;
14075 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14079 PyObject
*swig_obj
[1] ;
14081 if (!args
) SWIG_fail
;
14082 swig_obj
[0] = args
;
14083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14084 if (!SWIG_IsOK(res1
)) {
14085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14087 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14101 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14102 PyObject
*resultobj
= 0;
14103 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14105 bool arg3
= (bool) false ;
14113 PyObject
* obj0
= 0 ;
14114 PyObject
* obj1
= 0 ;
14115 PyObject
* obj2
= 0 ;
14116 char * kwnames
[] = {
14117 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14122 if (!SWIG_IsOK(res1
)) {
14123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14125 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14126 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14127 if (!SWIG_IsOK(ecode2
)) {
14128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14130 arg2
= static_cast< size_t >(val2
);
14132 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14133 if (!SWIG_IsOK(ecode3
)) {
14134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14136 arg3
= static_cast< bool >(val3
);
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14151 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
= 0;
14153 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14163 PyObject
* obj0
= 0 ;
14164 PyObject
* obj1
= 0 ;
14165 PyObject
* obj2
= 0 ;
14166 char * kwnames
[] = {
14167 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14172 if (!SWIG_IsOK(res1
)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14175 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14176 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14177 if (!SWIG_IsOK(ecode2
)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14180 arg2
= static_cast< size_t >(val2
);
14181 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14182 if (!SWIG_IsOK(ecode3
)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14185 arg3
= static_cast< size_t >(val3
);
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= SWIG_From_int(static_cast< int >(result
));
14199 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14202 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14203 return SWIG_Py_Void();
14206 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14207 return SWIG_Python_InitShadowInstance(args
);
14210 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14211 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14216 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14217 PyObject
*pyobj
= 0;
14221 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14223 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14230 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
= 0;
14232 wxWindow
*arg1
= (wxWindow
*) 0 ;
14233 int arg2
= (int) wxID_ANY
;
14234 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14235 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14236 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14237 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14238 long arg5
= (long) 0 ;
14239 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14240 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14241 wxPyVListBox
*result
= 0 ;
14250 bool temp6
= false ;
14251 PyObject
* obj0
= 0 ;
14252 PyObject
* obj1
= 0 ;
14253 PyObject
* obj2
= 0 ;
14254 PyObject
* obj3
= 0 ;
14255 PyObject
* obj4
= 0 ;
14256 PyObject
* obj5
= 0 ;
14257 char * kwnames
[] = {
14258 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14263 if (!SWIG_IsOK(res1
)) {
14264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14266 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14269 if (!SWIG_IsOK(ecode2
)) {
14270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14272 arg2
= static_cast< int >(val2
);
14277 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14283 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14287 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14288 if (!SWIG_IsOK(ecode5
)) {
14289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14291 arg5
= static_cast< long >(val5
);
14295 arg6
= wxString_in_helper(obj5
);
14296 if (arg6
== NULL
) SWIG_fail
;
14301 if (!wxPyCheckForApp()) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14322 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14323 PyObject
*resultobj
= 0;
14324 wxPyVListBox
*result
= 0 ;
14326 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14328 if (!wxPyCheckForApp()) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (wxPyVListBox
*)new wxPyVListBox();
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14341 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
= 0;
14343 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14344 PyObject
*arg2
= (PyObject
*) 0 ;
14345 PyObject
*arg3
= (PyObject
*) 0 ;
14348 PyObject
* obj0
= 0 ;
14349 PyObject
* obj1
= 0 ;
14350 PyObject
* obj2
= 0 ;
14351 char * kwnames
[] = {
14352 (char *) "self",(char *) "self",(char *) "_class", NULL
14355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14357 if (!SWIG_IsOK(res1
)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14360 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= SWIG_Py_Void();
14376 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
= 0;
14378 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14379 wxWindow
*arg2
= (wxWindow
*) 0 ;
14380 int arg3
= (int) wxID_ANY
;
14381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14385 long arg6
= (long) 0 ;
14386 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14399 bool temp7
= false ;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 PyObject
* obj2
= 0 ;
14403 PyObject
* obj3
= 0 ;
14404 PyObject
* obj4
= 0 ;
14405 PyObject
* obj5
= 0 ;
14406 PyObject
* obj6
= 0 ;
14407 char * kwnames
[] = {
14408 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14413 if (!SWIG_IsOK(res1
)) {
14414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14416 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14417 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14418 if (!SWIG_IsOK(res2
)) {
14419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14421 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14424 if (!SWIG_IsOK(ecode3
)) {
14425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14427 arg3
= static_cast< int >(val3
);
14432 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14438 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14442 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14443 if (!SWIG_IsOK(ecode6
)) {
14444 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14446 arg6
= static_cast< long >(val6
);
14450 arg7
= wxString_in_helper(obj6
);
14451 if (arg7
== NULL
) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14478 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14479 PyObject
*resultobj
= 0;
14480 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14484 PyObject
*swig_obj
[1] ;
14486 if (!args
) SWIG_fail
;
14487 swig_obj
[0] = args
;
14488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14489 if (!SWIG_IsOK(res1
)) {
14490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14492 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14506 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14507 PyObject
*resultobj
= 0;
14508 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14512 PyObject
*swig_obj
[1] ;
14514 if (!args
) SWIG_fail
;
14515 swig_obj
[0] = args
;
14516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14517 if (!SWIG_IsOK(res1
)) {
14518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14520 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14536 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14537 PyObject
*resultobj
= 0;
14538 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14542 PyObject
*swig_obj
[1] ;
14544 if (!args
) SWIG_fail
;
14545 swig_obj
[0] = args
;
14546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14547 if (!SWIG_IsOK(res1
)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14550 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_From_int(static_cast< int >(result
));
14564 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
= 0;
14566 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14573 PyObject
* obj0
= 0 ;
14574 PyObject
* obj1
= 0 ;
14575 char * kwnames
[] = {
14576 (char *) "self",(char *) "item", NULL
14579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14581 if (!SWIG_IsOK(res1
)) {
14582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14584 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14585 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14586 if (!SWIG_IsOK(ecode2
)) {
14587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14589 arg2
= static_cast< size_t >(val2
);
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14605 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
= 0;
14607 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 char * kwnames
[] = {
14617 (char *) "self",(char *) "item", NULL
14620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14622 if (!SWIG_IsOK(res1
)) {
14623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14625 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14626 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14627 if (!SWIG_IsOK(ecode2
)) {
14628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14630 arg2
= static_cast< size_t >(val2
);
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14646 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14647 PyObject
*resultobj
= 0;
14648 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14652 PyObject
*swig_obj
[1] ;
14654 if (!args
) SWIG_fail
;
14655 swig_obj
[0] = args
;
14656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14657 if (!SWIG_IsOK(res1
)) {
14658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14660 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14674 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14675 PyObject
*resultobj
= 0;
14676 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14677 PyObject
*result
= 0 ;
14680 PyObject
*swig_obj
[1] ;
14682 if (!args
) SWIG_fail
;
14683 swig_obj
[0] = args
;
14684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14685 if (!SWIG_IsOK(res1
)) {
14686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14688 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= result
;
14702 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
= 0;
14704 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14705 unsigned long arg2
;
14706 PyObject
*result
= 0 ;
14709 unsigned long val2
;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 char * kwnames
[] = {
14714 (char *) "self",(char *) "cookie", NULL
14717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14719 if (!SWIG_IsOK(res1
)) {
14720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14722 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14723 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14724 if (!SWIG_IsOK(ecode2
)) {
14725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14727 arg2
= static_cast< unsigned long >(val2
);
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= result
;
14741 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14742 PyObject
*resultobj
= 0;
14743 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14747 PyObject
*swig_obj
[1] ;
14749 if (!args
) SWIG_fail
;
14750 swig_obj
[0] = args
;
14751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14752 if (!SWIG_IsOK(res1
)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14755 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14769 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14770 PyObject
*resultobj
= 0;
14771 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14772 wxColour
*result
= 0 ;
14775 PyObject
*swig_obj
[1] ;
14777 if (!args
) SWIG_fail
;
14778 swig_obj
[0] = args
;
14779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14780 if (!SWIG_IsOK(res1
)) {
14781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14783 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14787 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14788 result
= (wxColour
*) &_result_ref
;
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14800 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
= 0;
14802 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14808 PyObject
* obj0
= 0 ;
14809 PyObject
* obj1
= 0 ;
14810 char * kwnames
[] = {
14811 (char *) "self",(char *) "count", NULL
14814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14816 if (!SWIG_IsOK(res1
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14819 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14820 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14821 if (!SWIG_IsOK(ecode2
)) {
14822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14824 arg2
= static_cast< size_t >(val2
);
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 (arg1
)->SetItemCount(arg2
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 resultobj
= SWIG_Py_Void();
14838 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14839 PyObject
*resultobj
= 0;
14840 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14843 PyObject
*swig_obj
[1] ;
14845 if (!args
) SWIG_fail
;
14846 swig_obj
[0] = args
;
14847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14848 if (!SWIG_IsOK(res1
)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14851 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= SWIG_Py_Void();
14865 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
= 0;
14867 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14873 PyObject
* obj0
= 0 ;
14874 PyObject
* obj1
= 0 ;
14875 char * kwnames
[] = {
14876 (char *) "self",(char *) "selection", NULL
14879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14881 if (!SWIG_IsOK(res1
)) {
14882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14884 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14886 if (!SWIG_IsOK(ecode2
)) {
14887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14889 arg2
= static_cast< int >(val2
);
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 (arg1
)->SetSelection(arg2
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_Py_Void();
14903 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
= 0;
14905 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14907 bool arg3
= (bool) true ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 PyObject
* obj2
= 0 ;
14918 char * kwnames
[] = {
14919 (char *) "self",(char *) "item",(char *) "select", NULL
14922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14924 if (!SWIG_IsOK(res1
)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14927 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14928 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14929 if (!SWIG_IsOK(ecode2
)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14932 arg2
= static_cast< size_t >(val2
);
14934 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14935 if (!SWIG_IsOK(ecode3
)) {
14936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14938 arg3
= static_cast< bool >(val3
);
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14955 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
= 0;
14957 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14967 PyObject
* obj0
= 0 ;
14968 PyObject
* obj1
= 0 ;
14969 PyObject
* obj2
= 0 ;
14970 char * kwnames
[] = {
14971 (char *) "self",(char *) "from",(char *) "to", NULL
14974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14976 if (!SWIG_IsOK(res1
)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14979 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14980 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14981 if (!SWIG_IsOK(ecode2
)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14984 arg2
= static_cast< size_t >(val2
);
14985 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14986 if (!SWIG_IsOK(ecode3
)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14989 arg3
= static_cast< size_t >(val3
);
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15005 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
= 0;
15007 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 char * kwnames
[] = {
15016 (char *) "self",(char *) "item", NULL
15019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15021 if (!SWIG_IsOK(res1
)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15024 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15025 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15026 if (!SWIG_IsOK(ecode2
)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15029 arg2
= static_cast< size_t >(val2
);
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 (arg1
)->Toggle(arg2
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_Py_Void();
15043 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15044 PyObject
*resultobj
= 0;
15045 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15049 PyObject
*swig_obj
[1] ;
15051 if (!args
) SWIG_fail
;
15052 swig_obj
[0] = args
;
15053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15054 if (!SWIG_IsOK(res1
)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15057 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (bool)(arg1
)->SelectAll();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15073 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15074 PyObject
*resultobj
= 0;
15075 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15079 PyObject
*swig_obj
[1] ;
15081 if (!args
) SWIG_fail
;
15082 swig_obj
[0] = args
;
15083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15084 if (!SWIG_IsOK(res1
)) {
15085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15087 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (bool)(arg1
)->DeselectAll();
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15103 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
= 0;
15105 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15106 wxPoint
*arg2
= 0 ;
15110 PyObject
* obj0
= 0 ;
15111 PyObject
* obj1
= 0 ;
15112 char * kwnames
[] = {
15113 (char *) "self",(char *) "pt", NULL
15116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15118 if (!SWIG_IsOK(res1
)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15121 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_Py_Void();
15139 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
= 0;
15141 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 PyObject
* obj2
= 0 ;
15153 char * kwnames
[] = {
15154 (char *) "self",(char *) "x",(char *) "y", NULL
15157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15159 if (!SWIG_IsOK(res1
)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15162 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15164 if (!SWIG_IsOK(ecode2
)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15167 arg2
= static_cast< int >(val2
);
15168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15169 if (!SWIG_IsOK(ecode3
)) {
15170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15172 arg3
= static_cast< int >(val3
);
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 (arg1
)->SetMargins(arg2
,arg3
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_Py_Void();
15186 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
= 0;
15188 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15189 wxColour
*arg2
= 0 ;
15193 PyObject
* obj0
= 0 ;
15194 PyObject
* obj1
= 0 ;
15195 char * kwnames
[] = {
15196 (char *) "self",(char *) "col", NULL
15199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15201 if (!SWIG_IsOK(res1
)) {
15202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15204 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15207 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= SWIG_Py_Void();
15222 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
= 0;
15224 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 PyObject
* obj1
= 0 ;
15237 PyObject
* obj2
= 0 ;
15238 PyObject
* obj3
= 0 ;
15239 char * kwnames
[] = {
15240 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15248 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15250 if (!SWIG_IsOK(res2
)) {
15251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15256 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15259 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15261 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15262 if (!SWIG_IsOK(ecode4
)) {
15263 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15265 arg4
= static_cast< size_t >(val4
);
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= SWIG_Py_Void();
15279 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
= 0;
15281 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 PyObject
* obj2
= 0 ;
15295 PyObject
* obj3
= 0 ;
15296 char * kwnames
[] = {
15297 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15302 if (!SWIG_IsOK(res1
)) {
15303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15305 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15307 if (!SWIG_IsOK(res2
)) {
15308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15313 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15316 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15318 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15319 if (!SWIG_IsOK(ecode4
)) {
15320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15322 arg4
= static_cast< size_t >(val4
);
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= SWIG_Py_Void();
15336 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15339 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15340 return SWIG_Py_Void();
15343 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15344 return SWIG_Python_InitShadowInstance(args
);
15347 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
= 0;
15349 wxWindow
*arg1
= (wxWindow
*) 0 ;
15350 int arg2
= (int) wxID_ANY
;
15351 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15352 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15353 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15354 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15355 long arg5
= (long) 0 ;
15356 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15357 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15358 wxPyHtmlListBox
*result
= 0 ;
15367 bool temp6
= false ;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 PyObject
* obj2
= 0 ;
15371 PyObject
* obj3
= 0 ;
15372 PyObject
* obj4
= 0 ;
15373 PyObject
* obj5
= 0 ;
15374 char * kwnames
[] = {
15375 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15380 if (!SWIG_IsOK(res1
)) {
15381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15383 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15386 if (!SWIG_IsOK(ecode2
)) {
15387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15389 arg2
= static_cast< int >(val2
);
15394 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15400 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15404 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15405 if (!SWIG_IsOK(ecode5
)) {
15406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15408 arg5
= static_cast< long >(val5
);
15412 arg6
= wxString_in_helper(obj5
);
15413 if (arg6
== NULL
) SWIG_fail
;
15418 if (!wxPyCheckForApp()) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15439 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15440 PyObject
*resultobj
= 0;
15441 wxPyHtmlListBox
*result
= 0 ;
15443 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15445 if (!wxPyCheckForApp()) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15458 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
= 0;
15460 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15461 PyObject
*arg2
= (PyObject
*) 0 ;
15462 PyObject
*arg3
= (PyObject
*) 0 ;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 PyObject
* obj2
= 0 ;
15468 char * kwnames
[] = {
15469 (char *) "self",(char *) "self",(char *) "_class", NULL
15472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15474 if (!SWIG_IsOK(res1
)) {
15475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15477 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_Py_Void();
15493 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
= 0;
15495 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15496 wxWindow
*arg2
= (wxWindow
*) 0 ;
15497 int arg3
= (int) wxID_ANY
;
15498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15502 long arg6
= (long) 0 ;
15503 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15504 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15516 bool temp7
= false ;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 PyObject
* obj2
= 0 ;
15520 PyObject
* obj3
= 0 ;
15521 PyObject
* obj4
= 0 ;
15522 PyObject
* obj5
= 0 ;
15523 PyObject
* obj6
= 0 ;
15524 char * kwnames
[] = {
15525 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15530 if (!SWIG_IsOK(res1
)) {
15531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15533 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15535 if (!SWIG_IsOK(res2
)) {
15536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15538 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15541 if (!SWIG_IsOK(ecode3
)) {
15542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15544 arg3
= static_cast< int >(val3
);
15549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15559 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15560 if (!SWIG_IsOK(ecode6
)) {
15561 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15563 arg6
= static_cast< long >(val6
);
15567 arg7
= wxString_in_helper(obj6
);
15568 if (arg7
== NULL
) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15595 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
= 0;
15597 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 char * kwnames
[] = {
15606 (char *) "self",(char *) "count", NULL
15609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15611 if (!SWIG_IsOK(res1
)) {
15612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15614 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15615 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15616 if (!SWIG_IsOK(ecode2
)) {
15617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15619 arg2
= static_cast< size_t >(val2
);
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 (arg1
)->SetItemCount(arg2
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_Py_Void();
15633 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15634 PyObject
*resultobj
= 0;
15635 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15636 wxFileSystem
*result
= 0 ;
15639 PyObject
*swig_obj
[1] ;
15641 if (!args
) SWIG_fail
;
15642 swig_obj
[0] = args
;
15643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15644 if (!SWIG_IsOK(res1
)) {
15645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15647 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15652 result
= (wxFileSystem
*) &_result_ref
;
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15664 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
= 0;
15666 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15668 wxHtmlLinkInfo
*arg3
= 0 ;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 PyObject
* obj2
= 0 ;
15678 char * kwnames
[] = {
15679 (char *) "self",(char *) "n",(char *) "link", NULL
15682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15684 if (!SWIG_IsOK(res1
)) {
15685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15687 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15688 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15689 if (!SWIG_IsOK(ecode2
)) {
15690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15692 arg2
= static_cast< size_t >(val2
);
15693 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15694 if (!SWIG_IsOK(res3
)) {
15695 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15700 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= SWIG_Py_Void();
15714 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15717 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15718 return SWIG_Py_Void();
15721 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15722 return SWIG_Python_InitShadowInstance(args
);
15725 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15726 PyObject
*resultobj
= 0;
15727 wxPyTaskBarIcon
*result
= 0 ;
15729 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15731 if (!wxPyCheckForApp()) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15744 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15745 PyObject
*resultobj
= 0;
15746 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15749 PyObject
*swig_obj
[1] ;
15751 if (!args
) SWIG_fail
;
15752 swig_obj
[0] = args
;
15753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15754 if (!SWIG_IsOK(res1
)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15757 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= SWIG_Py_Void();
15772 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
= 0;
15774 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15775 PyObject
*arg2
= (PyObject
*) 0 ;
15776 PyObject
*arg3
= (PyObject
*) 0 ;
15782 PyObject
* obj0
= 0 ;
15783 PyObject
* obj1
= 0 ;
15784 PyObject
* obj2
= 0 ;
15785 PyObject
* obj3
= 0 ;
15786 char * kwnames
[] = {
15787 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15792 if (!SWIG_IsOK(res1
)) {
15793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15795 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15798 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15799 if (!SWIG_IsOK(ecode4
)) {
15800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15802 arg4
= static_cast< int >(val4
);
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15809 resultobj
= SWIG_Py_Void();
15816 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15817 PyObject
*resultobj
= 0;
15818 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15821 PyObject
*swig_obj
[1] ;
15823 if (!args
) SWIG_fail
;
15824 swig_obj
[0] = args
;
15825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15826 if (!SWIG_IsOK(res1
)) {
15827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15829 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 wxPyTaskBarIcon_Destroy(arg1
);
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15836 resultobj
= SWIG_Py_Void();
15843 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15844 PyObject
*resultobj
= 0;
15845 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15849 PyObject
*swig_obj
[1] ;
15851 if (!args
) SWIG_fail
;
15852 swig_obj
[0] = args
;
15853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15854 if (!SWIG_IsOK(res1
)) {
15855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15857 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15873 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15874 PyObject
*resultobj
= 0;
15875 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15879 PyObject
*swig_obj
[1] ;
15881 if (!args
) SWIG_fail
;
15882 swig_obj
[0] = args
;
15883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15884 if (!SWIG_IsOK(res1
)) {
15885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15887 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15903 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
= 0;
15905 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15907 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15908 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15914 bool temp3
= false ;
15915 PyObject
* obj0
= 0 ;
15916 PyObject
* obj1
= 0 ;
15917 PyObject
* obj2
= 0 ;
15918 char * kwnames
[] = {
15919 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15924 if (!SWIG_IsOK(res1
)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15927 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15929 if (!SWIG_IsOK(res2
)) {
15930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15935 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15938 arg3
= wxString_in_helper(obj2
);
15939 if (arg3
== NULL
) SWIG_fail
;
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15966 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15967 PyObject
*resultobj
= 0;
15968 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15972 PyObject
*swig_obj
[1] ;
15974 if (!args
) SWIG_fail
;
15975 swig_obj
[0] = args
;
15976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15977 if (!SWIG_IsOK(res1
)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15980 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 result
= (bool)(arg1
)->RemoveIcon();
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15996 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
= 0;
15998 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15999 wxMenu
*arg2
= (wxMenu
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 char * kwnames
[] = {
16008 (char *) "self",(char *) "menu", NULL
16011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16013 if (!SWIG_IsOK(res1
)) {
16014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16016 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16018 if (!SWIG_IsOK(res2
)) {
16019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16021 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (bool)(arg1
)->PopupMenu(arg2
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16037 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16041 return SWIG_Py_Void();
16044 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16045 return SWIG_Python_InitShadowInstance(args
);
16048 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
= 0;
16051 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16052 wxTaskBarIconEvent
*result
= 0 ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 char * kwnames
[] = {
16060 (char *) "evtType",(char *) "tbIcon", NULL
16063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16064 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16065 if (!SWIG_IsOK(ecode1
)) {
16066 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16068 arg1
= static_cast< wxEventType
>(val1
);
16069 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16070 if (!SWIG_IsOK(res2
)) {
16071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16073 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16087 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16090 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16091 return SWIG_Py_Void();
16094 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16095 return SWIG_Python_InitShadowInstance(args
);
16098 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16099 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16104 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16105 PyObject
*pyobj
= 0;
16109 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16111 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16118 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16119 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16124 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16125 PyObject
*pyobj
= 0;
16129 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16131 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16138 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16139 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16144 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16145 PyObject
*pyobj
= 0;
16149 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16151 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16158 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16159 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16164 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16165 PyObject
*pyobj
= 0;
16169 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16171 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16178 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16179 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16184 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16185 PyObject
*pyobj
= 0;
16189 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16191 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16198 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16199 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16204 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16205 PyObject
*pyobj
= 0;
16209 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16211 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16218 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16219 PyObject
*resultobj
= 0;
16220 wxColourData
*result
= 0 ;
16222 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= (wxColourData
*)new wxColourData();
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16236 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16237 PyObject
*resultobj
= 0;
16238 wxColourData
*arg1
= (wxColourData
*) 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_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16246 if (!SWIG_IsOK(res1
)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16249 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= SWIG_Py_Void();
16264 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16265 PyObject
*resultobj
= 0;
16266 wxColourData
*arg1
= (wxColourData
*) 0 ;
16270 PyObject
*swig_obj
[1] ;
16272 if (!args
) SWIG_fail
;
16273 swig_obj
[0] = args
;
16274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16275 if (!SWIG_IsOK(res1
)) {
16276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16278 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (bool)(arg1
)->GetChooseFull();
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16294 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16295 PyObject
*resultobj
= 0;
16296 wxColourData
*arg1
= (wxColourData
*) 0 ;
16300 PyObject
*swig_obj
[1] ;
16302 if (!args
) SWIG_fail
;
16303 swig_obj
[0] = args
;
16304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16305 if (!SWIG_IsOK(res1
)) {
16306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16308 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= (arg1
)->GetColour();
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16315 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16322 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
= 0;
16324 wxColourData
*arg1
= (wxColourData
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 PyObject
* obj1
= 0 ;
16333 char * kwnames
[] = {
16334 (char *) "self",(char *) "i", NULL
16337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16339 if (!SWIG_IsOK(res1
)) {
16340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16342 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16344 if (!SWIG_IsOK(ecode2
)) {
16345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16347 arg2
= static_cast< int >(val2
);
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 result
= (arg1
)->GetCustomColour(arg2
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16361 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
= 0;
16363 wxColourData
*arg1
= (wxColourData
*) 0 ;
16369 PyObject
* obj0
= 0 ;
16370 PyObject
* obj1
= 0 ;
16371 char * kwnames
[] = {
16372 (char *) "self",(char *) "flag", NULL
16375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16377 if (!SWIG_IsOK(res1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16380 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16382 if (!SWIG_IsOK(ecode2
)) {
16383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16385 arg2
= static_cast< int >(val2
);
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 (arg1
)->SetChooseFull(arg2
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= SWIG_Py_Void();
16399 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
= 0;
16401 wxColourData
*arg1
= (wxColourData
*) 0 ;
16402 wxColour
*arg2
= 0 ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 char * kwnames
[] = {
16409 (char *) "self",(char *) "colour", NULL
16412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16414 if (!SWIG_IsOK(res1
)) {
16415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16417 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 (arg1
)->SetColour((wxColour
const &)*arg2
);
16425 wxPyEndAllowThreads(__tstate
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= SWIG_Py_Void();
16435 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
= 0;
16437 wxColourData
*arg1
= (wxColourData
*) 0 ;
16439 wxColour
*arg3
= 0 ;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 PyObject
* obj2
= 0 ;
16448 char * kwnames
[] = {
16449 (char *) "self",(char *) "i",(char *) "colour", NULL
16452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16454 if (!SWIG_IsOK(res1
)) {
16455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16457 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16459 if (!SWIG_IsOK(ecode2
)) {
16460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16462 arg2
= static_cast< int >(val2
);
16465 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= SWIG_Py_Void();
16480 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16483 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16484 return SWIG_Py_Void();
16487 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16488 return SWIG_Python_InitShadowInstance(args
);
16491 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
= 0;
16493 wxWindow
*arg1
= (wxWindow
*) 0 ;
16494 wxColourData
*arg2
= (wxColourData
*) NULL
;
16495 wxColourDialog
*result
= 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 char * kwnames
[] = {
16503 (char *) "parent",(char *) "data", NULL
16506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16508 if (!SWIG_IsOK(res1
)) {
16509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16511 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16514 if (!SWIG_IsOK(res2
)) {
16515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16517 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16520 if (!wxPyCheckForApp()) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16533 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16534 PyObject
*resultobj
= 0;
16535 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16536 wxColourData
*result
= 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_wxColourDialog
, 0 | 0 );
16544 if (!SWIG_IsOK(res1
)) {
16545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16547 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16552 result
= (wxColourData
*) &_result_ref
;
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16564 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16567 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16568 return SWIG_Py_Void();
16571 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16572 return SWIG_Python_InitShadowInstance(args
);
16575 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
= 0;
16577 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16578 wxColour
const &arg2_defvalue
= wxNullColour
;
16579 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16586 bool temp3
= false ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 PyObject
* obj2
= 0 ;
16590 char * kwnames
[] = {
16591 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16597 if (!SWIG_IsOK(res1
)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16600 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16605 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16610 arg3
= wxString_in_helper(obj2
);
16611 if (arg3
== NULL
) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16636 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
= 0;
16638 wxWindow
*arg1
= (wxWindow
*) 0 ;
16639 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16640 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16641 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16642 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16643 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16644 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16645 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16646 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16647 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16648 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16650 wxDirDialog
*result
= 0 ;
16653 bool temp2
= false ;
16654 bool temp3
= false ;
16659 bool temp7
= false ;
16660 PyObject
* obj0
= 0 ;
16661 PyObject
* obj1
= 0 ;
16662 PyObject
* obj2
= 0 ;
16663 PyObject
* obj3
= 0 ;
16664 PyObject
* obj4
= 0 ;
16665 PyObject
* obj5
= 0 ;
16666 PyObject
* obj6
= 0 ;
16667 char * kwnames
[] = {
16668 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16673 if (!SWIG_IsOK(res1
)) {
16674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16676 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16679 arg2
= wxString_in_helper(obj1
);
16680 if (arg2
== NULL
) SWIG_fail
;
16686 arg3
= wxString_in_helper(obj2
);
16687 if (arg3
== NULL
) SWIG_fail
;
16692 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16693 if (!SWIG_IsOK(ecode4
)) {
16694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16696 arg4
= static_cast< long >(val4
);
16701 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16707 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16712 arg7
= wxString_in_helper(obj6
);
16713 if (arg7
== NULL
) SWIG_fail
;
16718 if (!wxPyCheckForApp()) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16755 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16756 PyObject
*resultobj
= 0;
16757 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16761 PyObject
*swig_obj
[1] ;
16763 if (!args
) SWIG_fail
;
16764 swig_obj
[0] = args
;
16765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16766 if (!SWIG_IsOK(res1
)) {
16767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16769 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= (arg1
)->GetPath();
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16789 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16790 PyObject
*resultobj
= 0;
16791 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16795 PyObject
*swig_obj
[1] ;
16797 if (!args
) SWIG_fail
;
16798 swig_obj
[0] = args
;
16799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16800 if (!SWIG_IsOK(res1
)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16803 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (arg1
)->GetMessage();
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16823 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16824 PyObject
*resultobj
= 0;
16825 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16826 wxString
*arg2
= 0 ;
16829 bool temp2
= false ;
16830 PyObject
* obj0
= 0 ;
16831 PyObject
* obj1
= 0 ;
16832 char * kwnames
[] = {
16833 (char *) "self",(char *) "message", NULL
16836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16838 if (!SWIG_IsOK(res1
)) {
16839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16841 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16843 arg2
= wxString_in_helper(obj1
);
16844 if (arg2
== NULL
) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 (arg1
)->SetMessage((wxString
const &)*arg2
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= SWIG_Py_Void();
16868 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
= 0;
16870 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16871 wxString
*arg2
= 0 ;
16874 bool temp2
= false ;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 char * kwnames
[] = {
16878 (char *) "self",(char *) "path", NULL
16881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16883 if (!SWIG_IsOK(res1
)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16886 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16888 arg2
= wxString_in_helper(obj1
);
16889 if (arg2
== NULL
) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 (arg1
)->SetPath((wxString
const &)*arg2
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 resultobj
= SWIG_Py_Void();
16913 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16916 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16917 return SWIG_Py_Void();
16920 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16921 return SWIG_Python_InitShadowInstance(args
);
16924 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16925 PyObject
*resultobj
= 0;
16926 wxWindow
*arg1
= (wxWindow
*) 0 ;
16927 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16928 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16929 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16930 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16931 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16932 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16933 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16934 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16935 long arg6
= (long) wxFD_DEFAULT_STYLE
;
16936 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16937 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16938 wxFileDialog
*result
= 0 ;
16941 bool temp2
= false ;
16942 bool temp3
= false ;
16943 bool temp4
= false ;
16944 bool temp5
= false ;
16948 PyObject
* obj0
= 0 ;
16949 PyObject
* obj1
= 0 ;
16950 PyObject
* obj2
= 0 ;
16951 PyObject
* obj3
= 0 ;
16952 PyObject
* obj4
= 0 ;
16953 PyObject
* obj5
= 0 ;
16954 PyObject
* obj6
= 0 ;
16955 char * kwnames
[] = {
16956 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16961 if (!SWIG_IsOK(res1
)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16964 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16967 arg2
= wxString_in_helper(obj1
);
16968 if (arg2
== NULL
) SWIG_fail
;
16974 arg3
= wxString_in_helper(obj2
);
16975 if (arg3
== NULL
) SWIG_fail
;
16981 arg4
= wxString_in_helper(obj3
);
16982 if (arg4
== NULL
) SWIG_fail
;
16988 arg5
= wxString_in_helper(obj4
);
16989 if (arg5
== NULL
) SWIG_fail
;
16994 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16995 if (!SWIG_IsOK(ecode6
)) {
16996 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16998 arg6
= static_cast< long >(val6
);
17003 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17007 if (!wxPyCheckForApp()) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17052 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
= 0;
17054 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17055 wxString
*arg2
= 0 ;
17058 bool temp2
= false ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char * kwnames
[] = {
17062 (char *) "self",(char *) "message", NULL
17065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17067 if (!SWIG_IsOK(res1
)) {
17068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17070 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17072 arg2
= wxString_in_helper(obj1
);
17073 if (arg2
== NULL
) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 (arg1
)->SetMessage((wxString
const &)*arg2
);
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= SWIG_Py_Void();
17097 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
= 0;
17099 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17100 wxString
*arg2
= 0 ;
17103 bool temp2
= false ;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 char * kwnames
[] = {
17107 (char *) "self",(char *) "path", NULL
17110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17112 if (!SWIG_IsOK(res1
)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17115 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17117 arg2
= wxString_in_helper(obj1
);
17118 if (arg2
== NULL
) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 (arg1
)->SetPath((wxString
const &)*arg2
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= SWIG_Py_Void();
17142 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
= 0;
17144 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17145 wxString
*arg2
= 0 ;
17148 bool temp2
= false ;
17149 PyObject
* obj0
= 0 ;
17150 PyObject
* obj1
= 0 ;
17151 char * kwnames
[] = {
17152 (char *) "self",(char *) "dir", NULL
17155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17157 if (!SWIG_IsOK(res1
)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17160 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17162 arg2
= wxString_in_helper(obj1
);
17163 if (arg2
== NULL
) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_Py_Void();
17187 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
= 0;
17189 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17190 wxString
*arg2
= 0 ;
17193 bool temp2
= false ;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 char * kwnames
[] = {
17197 (char *) "self",(char *) "name", NULL
17200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17202 if (!SWIG_IsOK(res1
)) {
17203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17205 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17207 arg2
= wxString_in_helper(obj1
);
17208 if (arg2
== NULL
) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 (arg1
)->SetFilename((wxString
const &)*arg2
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= SWIG_Py_Void();
17232 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
= 0;
17234 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17235 wxString
*arg2
= 0 ;
17238 bool temp2
= false ;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 char * kwnames
[] = {
17242 (char *) "self",(char *) "wildCard", NULL
17245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17247 if (!SWIG_IsOK(res1
)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17250 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17252 arg2
= wxString_in_helper(obj1
);
17253 if (arg2
== NULL
) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= SWIG_Py_Void();
17277 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
= 0;
17279 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 PyObject
* obj1
= 0 ;
17287 char * kwnames
[] = {
17288 (char *) "self",(char *) "filterIndex", NULL
17291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17293 if (!SWIG_IsOK(res1
)) {
17294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17296 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17298 if (!SWIG_IsOK(ecode2
)) {
17299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17301 arg2
= static_cast< int >(val2
);
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 (arg1
)->SetFilterIndex(arg2
);
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= SWIG_Py_Void();
17315 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17316 PyObject
*resultobj
= 0;
17317 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17321 PyObject
*swig_obj
[1] ;
17323 if (!args
) SWIG_fail
;
17324 swig_obj
[0] = args
;
17325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17326 if (!SWIG_IsOK(res1
)) {
17327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17329 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17349 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17350 PyObject
*resultobj
= 0;
17351 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17355 PyObject
*swig_obj
[1] ;
17357 if (!args
) SWIG_fail
;
17358 swig_obj
[0] = args
;
17359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17360 if (!SWIG_IsOK(res1
)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17363 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17383 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17384 PyObject
*resultobj
= 0;
17385 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17389 PyObject
*swig_obj
[1] ;
17391 if (!args
) SWIG_fail
;
17392 swig_obj
[0] = args
;
17393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17394 if (!SWIG_IsOK(res1
)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17397 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17417 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17418 PyObject
*resultobj
= 0;
17419 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17423 PyObject
*swig_obj
[1] ;
17425 if (!args
) SWIG_fail
;
17426 swig_obj
[0] = args
;
17427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17428 if (!SWIG_IsOK(res1
)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17431 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17451 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17452 PyObject
*resultobj
= 0;
17453 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17457 PyObject
*swig_obj
[1] ;
17459 if (!args
) SWIG_fail
;
17460 swig_obj
[0] = args
;
17461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17462 if (!SWIG_IsOK(res1
)) {
17463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17465 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17485 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17486 PyObject
*resultobj
= 0;
17487 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17491 PyObject
*swig_obj
[1] ;
17493 if (!args
) SWIG_fail
;
17494 swig_obj
[0] = args
;
17495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17496 if (!SWIG_IsOK(res1
)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17499 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= SWIG_From_int(static_cast< int >(result
));
17513 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17514 PyObject
*resultobj
= 0;
17515 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17516 PyObject
*result
= 0 ;
17519 PyObject
*swig_obj
[1] ;
17521 if (!args
) SWIG_fail
;
17522 swig_obj
[0] = args
;
17523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17524 if (!SWIG_IsOK(res1
)) {
17525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17527 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= result
;
17541 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17542 PyObject
*resultobj
= 0;
17543 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17544 PyObject
*result
= 0 ;
17547 PyObject
*swig_obj
[1] ;
17549 if (!args
) SWIG_fail
;
17550 swig_obj
[0] = args
;
17551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17552 if (!SWIG_IsOK(res1
)) {
17553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17555 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= result
;
17569 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17572 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17573 return SWIG_Py_Void();
17576 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17577 return SWIG_Python_InitShadowInstance(args
);
17580 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
= 0;
17582 wxWindow
*arg1
= (wxWindow
*) 0 ;
17583 wxString
*arg2
= 0 ;
17584 wxString
*arg3
= 0 ;
17585 int arg4
= (int) 0 ;
17586 wxString
*arg5
= (wxString
*) NULL
;
17587 long arg6
= (long) wxCHOICEDLG_STYLE
;
17588 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17589 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17590 wxMultiChoiceDialog
*result
= 0 ;
17593 bool temp2
= false ;
17594 bool temp3
= false ;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 PyObject
* obj2
= 0 ;
17601 PyObject
* obj3
= 0 ;
17602 PyObject
* obj4
= 0 ;
17603 PyObject
* obj5
= 0 ;
17604 char * kwnames
[] = {
17605 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17610 if (!SWIG_IsOK(res1
)) {
17611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17613 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17615 arg2
= wxString_in_helper(obj1
);
17616 if (arg2
== NULL
) SWIG_fail
;
17620 arg3
= wxString_in_helper(obj2
);
17621 if (arg3
== NULL
) SWIG_fail
;
17626 arg4
= PyList_Size(obj3
);
17627 arg5
= wxString_LIST_helper(obj3
);
17628 if (arg5
== NULL
) SWIG_fail
;
17632 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17633 if (!SWIG_IsOK(ecode6
)) {
17634 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17636 arg6
= static_cast< long >(val6
);
17641 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17645 if (!wxPyCheckForApp()) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17661 if (arg5
) delete [] arg5
;
17674 if (arg5
) delete [] arg5
;
17680 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
= 0;
17682 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17683 wxArrayInt
*arg2
= 0 ;
17686 bool temp2
= false ;
17687 PyObject
* obj0
= 0 ;
17688 PyObject
* obj1
= 0 ;
17689 char * kwnames
[] = {
17690 (char *) "self",(char *) "selections", NULL
17693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17695 if (!SWIG_IsOK(res1
)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17698 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17700 if (! PySequence_Check(obj1
)) {
17701 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17704 arg2
= new wxArrayInt
;
17706 int i
, len
=PySequence_Length(obj1
);
17707 for (i
=0; i
<len
; i
++) {
17708 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17709 PyObject
* number
= PyNumber_Int(item
);
17710 arg2
->Add(PyInt_AS_LONG(number
));
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 resultobj
= SWIG_Py_Void();
17723 if (temp2
) delete arg2
;
17728 if (temp2
) delete arg2
;
17734 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17735 PyObject
*resultobj
= 0;
17736 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17737 PyObject
*result
= 0 ;
17740 PyObject
*swig_obj
[1] ;
17742 if (!args
) SWIG_fail
;
17743 swig_obj
[0] = args
;
17744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17745 if (!SWIG_IsOK(res1
)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17748 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= result
;
17762 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17765 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17766 return SWIG_Py_Void();
17769 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17770 return SWIG_Python_InitShadowInstance(args
);
17773 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
= 0;
17775 wxWindow
*arg1
= (wxWindow
*) 0 ;
17776 wxString
*arg2
= 0 ;
17777 wxString
*arg3
= 0 ;
17779 wxString
*arg5
= (wxString
*) 0 ;
17780 long arg6
= (long) wxCHOICEDLG_STYLE
;
17781 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17782 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17783 wxSingleChoiceDialog
*result
= 0 ;
17786 bool temp2
= false ;
17787 bool temp3
= false ;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 PyObject
* obj2
= 0 ;
17794 PyObject
* obj3
= 0 ;
17795 PyObject
* obj4
= 0 ;
17796 PyObject
* obj5
= 0 ;
17797 char * kwnames
[] = {
17798 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17803 if (!SWIG_IsOK(res1
)) {
17804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17808 arg2
= wxString_in_helper(obj1
);
17809 if (arg2
== NULL
) SWIG_fail
;
17813 arg3
= wxString_in_helper(obj2
);
17814 if (arg3
== NULL
) SWIG_fail
;
17818 arg4
= PyList_Size(obj3
);
17819 arg5
= wxString_LIST_helper(obj3
);
17820 if (arg5
== NULL
) SWIG_fail
;
17823 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17824 if (!SWIG_IsOK(ecode6
)) {
17825 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17827 arg6
= static_cast< long >(val6
);
17832 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17836 if (!wxPyCheckForApp()) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17852 if (arg5
) delete [] arg5
;
17865 if (arg5
) delete [] arg5
;
17871 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17872 PyObject
*resultobj
= 0;
17873 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17877 PyObject
*swig_obj
[1] ;
17879 if (!args
) SWIG_fail
;
17880 swig_obj
[0] = args
;
17881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17882 if (!SWIG_IsOK(res1
)) {
17883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17885 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= (int)(arg1
)->GetSelection();
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= SWIG_From_int(static_cast< int >(result
));
17899 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17900 PyObject
*resultobj
= 0;
17901 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17905 PyObject
*swig_obj
[1] ;
17907 if (!args
) SWIG_fail
;
17908 swig_obj
[0] = args
;
17909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17910 if (!SWIG_IsOK(res1
)) {
17911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17913 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 result
= (arg1
)->GetStringSelection();
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17933 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
= 0;
17935 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "self",(char *) "sel", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17952 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17954 if (!SWIG_IsOK(ecode2
)) {
17955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17957 arg2
= static_cast< int >(val2
);
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 (arg1
)->SetSelection(arg2
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= SWIG_Py_Void();
17971 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17974 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17975 return SWIG_Py_Void();
17978 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17979 return SWIG_Python_InitShadowInstance(args
);
17982 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
= 0;
17984 wxWindow
*arg1
= (wxWindow
*) 0 ;
17985 wxString
*arg2
= 0 ;
17986 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17987 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17988 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17989 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17990 long arg5
= (long) wxTextEntryDialogStyle
;
17991 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17992 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17993 wxTextEntryDialog
*result
= 0 ;
17996 bool temp2
= false ;
17997 bool temp3
= false ;
17998 bool temp4
= false ;
18002 PyObject
* obj0
= 0 ;
18003 PyObject
* obj1
= 0 ;
18004 PyObject
* obj2
= 0 ;
18005 PyObject
* obj3
= 0 ;
18006 PyObject
* obj4
= 0 ;
18007 PyObject
* obj5
= 0 ;
18008 char * kwnames
[] = {
18009 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18014 if (!SWIG_IsOK(res1
)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18017 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18019 arg2
= wxString_in_helper(obj1
);
18020 if (arg2
== NULL
) SWIG_fail
;
18025 arg3
= wxString_in_helper(obj2
);
18026 if (arg3
== NULL
) SWIG_fail
;
18032 arg4
= wxString_in_helper(obj3
);
18033 if (arg4
== NULL
) SWIG_fail
;
18038 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18039 if (!SWIG_IsOK(ecode5
)) {
18040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18042 arg5
= static_cast< long >(val5
);
18047 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18051 if (!wxPyCheckForApp()) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18088 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18089 PyObject
*resultobj
= 0;
18090 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18094 PyObject
*swig_obj
[1] ;
18096 if (!args
) SWIG_fail
;
18097 swig_obj
[0] = args
;
18098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18099 if (!SWIG_IsOK(res1
)) {
18100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18102 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (arg1
)->GetValue();
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18122 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
= 0;
18124 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18125 wxString
*arg2
= 0 ;
18128 bool temp2
= false ;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 char * kwnames
[] = {
18132 (char *) "self",(char *) "value", NULL
18135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18137 if (!SWIG_IsOK(res1
)) {
18138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18140 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18142 arg2
= wxString_in_helper(obj1
);
18143 if (arg2
== NULL
) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 (arg1
)->SetValue((wxString
const &)*arg2
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_Py_Void();
18167 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18170 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18171 return SWIG_Py_Void();
18174 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18175 return SWIG_Python_InitShadowInstance(args
);
18178 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18179 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18184 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18185 PyObject
*pyobj
= 0;
18189 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18191 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18198 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
= 0;
18200 wxWindow
*arg1
= (wxWindow
*) 0 ;
18201 wxString
*arg2
= 0 ;
18202 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18203 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18204 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18205 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18206 long arg5
= (long) wxTextEntryDialogStyle
;
18207 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18208 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18209 wxPasswordEntryDialog
*result
= 0 ;
18212 bool temp2
= false ;
18213 bool temp3
= false ;
18214 bool temp4
= false ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 PyObject
* obj2
= 0 ;
18221 PyObject
* obj3
= 0 ;
18222 PyObject
* obj4
= 0 ;
18223 PyObject
* obj5
= 0 ;
18224 char * kwnames
[] = {
18225 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18230 if (!SWIG_IsOK(res1
)) {
18231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18233 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18235 arg2
= wxString_in_helper(obj1
);
18236 if (arg2
== NULL
) SWIG_fail
;
18241 arg3
= wxString_in_helper(obj2
);
18242 if (arg3
== NULL
) SWIG_fail
;
18248 arg4
= wxString_in_helper(obj3
);
18249 if (arg4
== NULL
) SWIG_fail
;
18254 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18255 if (!SWIG_IsOK(ecode5
)) {
18256 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18258 arg5
= static_cast< long >(val5
);
18263 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18303 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18306 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18307 return SWIG_Py_Void();
18310 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18311 return SWIG_Python_InitShadowInstance(args
);
18314 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18315 PyObject
*resultobj
= 0;
18316 wxFontData
*result
= 0 ;
18318 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 result
= (wxFontData
*)new wxFontData();
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18332 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18333 PyObject
*resultobj
= 0;
18334 wxFontData
*arg1
= (wxFontData
*) 0 ;
18337 PyObject
*swig_obj
[1] ;
18339 if (!args
) SWIG_fail
;
18340 swig_obj
[0] = args
;
18341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18342 if (!SWIG_IsOK(res1
)) {
18343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18345 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= SWIG_Py_Void();
18360 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
= 0;
18362 wxFontData
*arg1
= (wxFontData
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 char * kwnames
[] = {
18371 (char *) "self",(char *) "enable", NULL
18374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18376 if (!SWIG_IsOK(res1
)) {
18377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18379 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18380 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18381 if (!SWIG_IsOK(ecode2
)) {
18382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18384 arg2
= static_cast< bool >(val2
);
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 (arg1
)->EnableEffects(arg2
);
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= SWIG_Py_Void();
18398 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18399 PyObject
*resultobj
= 0;
18400 wxFontData
*arg1
= (wxFontData
*) 0 ;
18404 PyObject
*swig_obj
[1] ;
18406 if (!args
) SWIG_fail
;
18407 swig_obj
[0] = args
;
18408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18409 if (!SWIG_IsOK(res1
)) {
18410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18412 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 result
= (bool)(arg1
)->GetAllowSymbols();
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18428 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18429 PyObject
*resultobj
= 0;
18430 wxFontData
*arg1
= (wxFontData
*) 0 ;
18434 PyObject
*swig_obj
[1] ;
18436 if (!args
) SWIG_fail
;
18437 swig_obj
[0] = args
;
18438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18439 if (!SWIG_IsOK(res1
)) {
18440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18442 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 result
= (arg1
)->GetColour();
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18456 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18457 PyObject
*resultobj
= 0;
18458 wxFontData
*arg1
= (wxFontData
*) 0 ;
18462 PyObject
*swig_obj
[1] ;
18464 if (!args
) SWIG_fail
;
18465 swig_obj
[0] = args
;
18466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18467 if (!SWIG_IsOK(res1
)) {
18468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18470 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (arg1
)->GetChosenFont();
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18484 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18485 PyObject
*resultobj
= 0;
18486 wxFontData
*arg1
= (wxFontData
*) 0 ;
18490 PyObject
*swig_obj
[1] ;
18492 if (!args
) SWIG_fail
;
18493 swig_obj
[0] = args
;
18494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18495 if (!SWIG_IsOK(res1
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18498 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (bool)(arg1
)->GetEnableEffects();
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18514 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18515 PyObject
*resultobj
= 0;
18516 wxFontData
*arg1
= (wxFontData
*) 0 ;
18520 PyObject
*swig_obj
[1] ;
18522 if (!args
) SWIG_fail
;
18523 swig_obj
[0] = args
;
18524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18525 if (!SWIG_IsOK(res1
)) {
18526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18528 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (arg1
)->GetInitialFont();
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18542 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18543 PyObject
*resultobj
= 0;
18544 wxFontData
*arg1
= (wxFontData
*) 0 ;
18548 PyObject
*swig_obj
[1] ;
18550 if (!args
) SWIG_fail
;
18551 swig_obj
[0] = args
;
18552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18553 if (!SWIG_IsOK(res1
)) {
18554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18556 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 result
= (bool)(arg1
)->GetShowHelp();
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18572 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
= 0;
18574 wxFontData
*arg1
= (wxFontData
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 PyObject
* obj1
= 0 ;
18582 char * kwnames
[] = {
18583 (char *) "self",(char *) "allowSymbols", NULL
18586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18588 if (!SWIG_IsOK(res1
)) {
18589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18591 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18592 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18593 if (!SWIG_IsOK(ecode2
)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18596 arg2
= static_cast< bool >(val2
);
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 (arg1
)->SetAllowSymbols(arg2
);
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= SWIG_Py_Void();
18610 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18611 PyObject
*resultobj
= 0;
18612 wxFontData
*arg1
= (wxFontData
*) 0 ;
18618 PyObject
* obj0
= 0 ;
18619 PyObject
* obj1
= 0 ;
18620 char * kwnames
[] = {
18621 (char *) "self",(char *) "font", NULL
18624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18626 if (!SWIG_IsOK(res1
)) {
18627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18629 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18631 if (!SWIG_IsOK(res2
)) {
18632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18637 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= SWIG_Py_Void();
18651 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
= 0;
18653 wxFontData
*arg1
= (wxFontData
*) 0 ;
18654 wxColour
*arg2
= 0 ;
18658 PyObject
* obj0
= 0 ;
18659 PyObject
* obj1
= 0 ;
18660 char * kwnames
[] = {
18661 (char *) "self",(char *) "colour", NULL
18664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18666 if (!SWIG_IsOK(res1
)) {
18667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18669 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18672 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 (arg1
)->SetColour((wxColour
const &)*arg2
);
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 resultobj
= SWIG_Py_Void();
18687 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18688 PyObject
*resultobj
= 0;
18689 wxFontData
*arg1
= (wxFontData
*) 0 ;
18695 PyObject
* obj0
= 0 ;
18696 PyObject
* obj1
= 0 ;
18697 char * kwnames
[] = {
18698 (char *) "self",(char *) "font", NULL
18701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18703 if (!SWIG_IsOK(res1
)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18706 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18708 if (!SWIG_IsOK(res2
)) {
18709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18714 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= SWIG_Py_Void();
18728 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
= 0;
18730 wxFontData
*arg1
= (wxFontData
*) 0 ;
18739 PyObject
* obj0
= 0 ;
18740 PyObject
* obj1
= 0 ;
18741 PyObject
* obj2
= 0 ;
18742 char * kwnames
[] = {
18743 (char *) "self",(char *) "min",(char *) "max", NULL
18746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18748 if (!SWIG_IsOK(res1
)) {
18749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18751 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18753 if (!SWIG_IsOK(ecode2
)) {
18754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18756 arg2
= static_cast< int >(val2
);
18757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18758 if (!SWIG_IsOK(ecode3
)) {
18759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18761 arg3
= static_cast< int >(val3
);
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 (arg1
)->SetRange(arg2
,arg3
);
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= SWIG_Py_Void();
18775 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
= 0;
18777 wxFontData
*arg1
= (wxFontData
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 PyObject
* obj1
= 0 ;
18785 char * kwnames
[] = {
18786 (char *) "self",(char *) "showHelp", NULL
18789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18791 if (!SWIG_IsOK(res1
)) {
18792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18794 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18795 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18796 if (!SWIG_IsOK(ecode2
)) {
18797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18799 arg2
= static_cast< bool >(val2
);
18801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18802 (arg1
)->SetShowHelp(arg2
);
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= SWIG_Py_Void();
18813 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18816 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18817 return SWIG_Py_Void();
18820 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18821 return SWIG_Python_InitShadowInstance(args
);
18824 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
= 0;
18826 wxWindow
*arg1
= (wxWindow
*) 0 ;
18827 wxFontData
*arg2
= 0 ;
18828 wxFontDialog
*result
= 0 ;
18833 PyObject
* obj0
= 0 ;
18834 PyObject
* obj1
= 0 ;
18835 char * kwnames
[] = {
18836 (char *) "parent",(char *) "data", NULL
18839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18841 if (!SWIG_IsOK(res1
)) {
18842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18846 if (!SWIG_IsOK(res2
)) {
18847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18852 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18854 if (!wxPyCheckForApp()) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18867 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18868 PyObject
*resultobj
= 0;
18869 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18870 wxFontData
*result
= 0 ;
18873 PyObject
*swig_obj
[1] ;
18875 if (!args
) SWIG_fail
;
18876 swig_obj
[0] = args
;
18877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18878 if (!SWIG_IsOK(res1
)) {
18879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18881 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18886 result
= (wxFontData
*) &_result_ref
;
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18898 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18901 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18902 return SWIG_Py_Void();
18905 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18906 return SWIG_Python_InitShadowInstance(args
);
18909 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
= 0;
18911 wxWindow
*arg1
= (wxWindow
*) NULL
;
18912 wxFont
const &arg2_defvalue
= wxNullFont
;
18913 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18914 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18915 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18921 bool temp3
= false ;
18922 PyObject
* obj0
= 0 ;
18923 PyObject
* obj1
= 0 ;
18924 PyObject
* obj2
= 0 ;
18925 char * kwnames
[] = {
18926 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18935 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18938 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18939 if (!SWIG_IsOK(res2
)) {
18940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18945 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18949 arg3
= wxString_in_helper(obj2
);
18950 if (arg3
== NULL
) SWIG_fail
;
18955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18975 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
= 0;
18977 wxWindow
*arg1
= (wxWindow
*) 0 ;
18978 wxString
*arg2
= 0 ;
18979 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
18980 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18981 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
18982 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18983 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18984 wxMessageDialog
*result
= 0 ;
18987 bool temp2
= false ;
18988 bool temp3
= false ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 PyObject
* obj2
= 0 ;
18995 PyObject
* obj3
= 0 ;
18996 PyObject
* obj4
= 0 ;
18997 char * kwnames
[] = {
18998 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19003 if (!SWIG_IsOK(res1
)) {
19004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19006 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19008 arg2
= wxString_in_helper(obj1
);
19009 if (arg2
== NULL
) SWIG_fail
;
19014 arg3
= wxString_in_helper(obj2
);
19015 if (arg3
== NULL
) SWIG_fail
;
19020 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19021 if (!SWIG_IsOK(ecode4
)) {
19022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19024 arg4
= static_cast< long >(val4
);
19029 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19033 if (!wxPyCheckForApp()) SWIG_fail
;
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19062 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19065 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19066 return SWIG_Py_Void();
19069 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19070 return SWIG_Python_InitShadowInstance(args
);
19073 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
= 0;
19075 wxString
*arg1
= 0 ;
19076 wxString
*arg2
= 0 ;
19077 int arg3
= (int) 100 ;
19078 wxWindow
*arg4
= (wxWindow
*) NULL
;
19079 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19080 wxProgressDialog
*result
= 0 ;
19081 bool temp1
= false ;
19082 bool temp2
= false ;
19089 PyObject
* obj0
= 0 ;
19090 PyObject
* obj1
= 0 ;
19091 PyObject
* obj2
= 0 ;
19092 PyObject
* obj3
= 0 ;
19093 PyObject
* obj4
= 0 ;
19094 char * kwnames
[] = {
19095 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19100 arg1
= wxString_in_helper(obj0
);
19101 if (arg1
== NULL
) SWIG_fail
;
19105 arg2
= wxString_in_helper(obj1
);
19106 if (arg2
== NULL
) SWIG_fail
;
19110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19111 if (!SWIG_IsOK(ecode3
)) {
19112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19114 arg3
= static_cast< int >(val3
);
19117 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19118 if (!SWIG_IsOK(res4
)) {
19119 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19121 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19124 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19125 if (!SWIG_IsOK(ecode5
)) {
19126 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19128 arg5
= static_cast< int >(val5
);
19131 if (!wxPyCheckForApp()) SWIG_fail
;
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19160 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
= 0;
19162 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19164 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19165 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19166 bool *arg4
= (bool *) 0 ;
19172 bool temp3
= false ;
19174 int res4
= SWIG_TMPOBJ
;
19175 PyObject
* obj0
= 0 ;
19176 PyObject
* obj1
= 0 ;
19177 PyObject
* obj2
= 0 ;
19178 char * kwnames
[] = {
19179 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19185 if (!SWIG_IsOK(res1
)) {
19186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19188 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19190 if (!SWIG_IsOK(ecode2
)) {
19191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19193 arg2
= static_cast< int >(val2
);
19196 arg3
= wxString_in_helper(obj2
);
19197 if (arg3
== NULL
) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19210 if (SWIG_IsTmpObj(res4
)) {
19211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19213 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19230 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19231 PyObject
*resultobj
= 0;
19232 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19235 PyObject
*swig_obj
[1] ;
19237 if (!args
) SWIG_fail
;
19238 swig_obj
[0] = args
;
19239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19240 if (!SWIG_IsOK(res1
)) {
19241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19243 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= SWIG_Py_Void();
19257 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19260 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19261 return SWIG_Py_Void();
19264 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19265 return SWIG_Python_InitShadowInstance(args
);
19268 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
= 0;
19270 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19271 int arg2
= (int) 0 ;
19272 wxFindDialogEvent
*result
= 0 ;
19277 PyObject
* obj0
= 0 ;
19278 PyObject
* obj1
= 0 ;
19279 char * kwnames
[] = {
19280 (char *) "commandType",(char *) "id", NULL
19283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19285 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19286 if (!SWIG_IsOK(ecode1
)) {
19287 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19289 arg1
= static_cast< wxEventType
>(val1
);
19292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19293 if (!SWIG_IsOK(ecode2
)) {
19294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19296 arg2
= static_cast< int >(val2
);
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19311 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19312 PyObject
*resultobj
= 0;
19313 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19317 PyObject
*swig_obj
[1] ;
19319 if (!args
) SWIG_fail
;
19320 swig_obj
[0] = args
;
19321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19322 if (!SWIG_IsOK(res1
)) {
19323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19325 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 result
= (int)(arg1
)->GetFlags();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= SWIG_From_int(static_cast< int >(result
));
19339 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19340 PyObject
*resultobj
= 0;
19341 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19342 wxString
*result
= 0 ;
19345 PyObject
*swig_obj
[1] ;
19347 if (!args
) SWIG_fail
;
19348 swig_obj
[0] = args
;
19349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19350 if (!SWIG_IsOK(res1
)) {
19351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19353 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 wxString
const &_result_ref
= (arg1
)->GetFindString();
19358 result
= (wxString
*) &_result_ref
;
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19367 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19376 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19377 PyObject
*resultobj
= 0;
19378 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19379 wxString
*result
= 0 ;
19382 PyObject
*swig_obj
[1] ;
19384 if (!args
) SWIG_fail
;
19385 swig_obj
[0] = args
;
19386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19387 if (!SWIG_IsOK(res1
)) {
19388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19390 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19395 result
= (wxString
*) &_result_ref
;
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19404 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19413 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19414 PyObject
*resultobj
= 0;
19415 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19416 wxFindReplaceDialog
*result
= 0 ;
19419 PyObject
*swig_obj
[1] ;
19421 if (!args
) SWIG_fail
;
19422 swig_obj
[0] = args
;
19423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19424 if (!SWIG_IsOK(res1
)) {
19425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19427 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19441 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
= 0;
19443 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 char * kwnames
[] = {
19452 (char *) "self",(char *) "flags", NULL
19455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19457 if (!SWIG_IsOK(res1
)) {
19458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19460 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19462 if (!SWIG_IsOK(ecode2
)) {
19463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19465 arg2
= static_cast< int >(val2
);
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 (arg1
)->SetFlags(arg2
);
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_Py_Void();
19479 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
= 0;
19481 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19482 wxString
*arg2
= 0 ;
19485 bool temp2
= false ;
19486 PyObject
* obj0
= 0 ;
19487 PyObject
* obj1
= 0 ;
19488 char * kwnames
[] = {
19489 (char *) "self",(char *) "str", NULL
19492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19494 if (!SWIG_IsOK(res1
)) {
19495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19497 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19499 arg2
= wxString_in_helper(obj1
);
19500 if (arg2
== NULL
) SWIG_fail
;
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 (arg1
)->SetFindString((wxString
const &)*arg2
);
19506 wxPyEndAllowThreads(__tstate
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19509 resultobj
= SWIG_Py_Void();
19524 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
= 0;
19526 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19527 wxString
*arg2
= 0 ;
19530 bool temp2
= false ;
19531 PyObject
* obj0
= 0 ;
19532 PyObject
* obj1
= 0 ;
19533 char * kwnames
[] = {
19534 (char *) "self",(char *) "str", NULL
19537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19539 if (!SWIG_IsOK(res1
)) {
19540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19542 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19544 arg2
= wxString_in_helper(obj1
);
19545 if (arg2
== NULL
) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= SWIG_Py_Void();
19569 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19572 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19573 return SWIG_Py_Void();
19576 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19577 return SWIG_Python_InitShadowInstance(args
);
19580 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
= 0;
19582 int arg1
= (int) 0 ;
19583 wxFindReplaceData
*result
= 0 ;
19586 PyObject
* obj0
= 0 ;
19587 char * kwnames
[] = {
19588 (char *) "flags", NULL
19591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19593 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19594 if (!SWIG_IsOK(ecode1
)) {
19595 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19597 arg1
= static_cast< int >(val1
);
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19612 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19613 PyObject
*resultobj
= 0;
19614 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19617 PyObject
*swig_obj
[1] ;
19619 if (!args
) SWIG_fail
;
19620 swig_obj
[0] = args
;
19621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19622 if (!SWIG_IsOK(res1
)) {
19623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19625 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= SWIG_Py_Void();
19640 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19641 PyObject
*resultobj
= 0;
19642 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19643 wxString
*result
= 0 ;
19646 PyObject
*swig_obj
[1] ;
19648 if (!args
) SWIG_fail
;
19649 swig_obj
[0] = args
;
19650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19651 if (!SWIG_IsOK(res1
)) {
19652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19654 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 wxString
const &_result_ref
= (arg1
)->GetFindString();
19659 result
= (wxString
*) &_result_ref
;
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19668 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19677 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19678 PyObject
*resultobj
= 0;
19679 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19680 wxString
*result
= 0 ;
19683 PyObject
*swig_obj
[1] ;
19685 if (!args
) SWIG_fail
;
19686 swig_obj
[0] = args
;
19687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19688 if (!SWIG_IsOK(res1
)) {
19689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19691 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19696 result
= (wxString
*) &_result_ref
;
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19705 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19714 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19715 PyObject
*resultobj
= 0;
19716 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 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_wxFindReplaceData
, 0 | 0 );
19725 if (!SWIG_IsOK(res1
)) {
19726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19728 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (int)(arg1
)->GetFlags();
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= SWIG_From_int(static_cast< int >(result
));
19742 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
= 0;
19744 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19750 PyObject
* obj0
= 0 ;
19751 PyObject
* obj1
= 0 ;
19752 char * kwnames
[] = {
19753 (char *) "self",(char *) "flags", NULL
19756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19758 if (!SWIG_IsOK(res1
)) {
19759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19761 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19763 if (!SWIG_IsOK(ecode2
)) {
19764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19766 arg2
= static_cast< int >(val2
);
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 (arg1
)->SetFlags(arg2
);
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= SWIG_Py_Void();
19780 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
= 0;
19782 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19783 wxString
*arg2
= 0 ;
19786 bool temp2
= false ;
19787 PyObject
* obj0
= 0 ;
19788 PyObject
* obj1
= 0 ;
19789 char * kwnames
[] = {
19790 (char *) "self",(char *) "str", NULL
19793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19795 if (!SWIG_IsOK(res1
)) {
19796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19798 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19800 arg2
= wxString_in_helper(obj1
);
19801 if (arg2
== NULL
) SWIG_fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 (arg1
)->SetFindString((wxString
const &)*arg2
);
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 resultobj
= SWIG_Py_Void();
19825 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19826 PyObject
*resultobj
= 0;
19827 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19828 wxString
*arg2
= 0 ;
19831 bool temp2
= false ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char * kwnames
[] = {
19835 (char *) "self",(char *) "str", NULL
19838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19843 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19845 arg2
= wxString_in_helper(obj1
);
19846 if (arg2
== NULL
) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= SWIG_Py_Void();
19870 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19873 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19874 return SWIG_Py_Void();
19877 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19878 return SWIG_Python_InitShadowInstance(args
);
19881 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
= 0;
19883 wxWindow
*arg1
= (wxWindow
*) 0 ;
19884 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19885 wxString
*arg3
= 0 ;
19886 int arg4
= (int) 0 ;
19887 wxFindReplaceDialog
*result
= 0 ;
19892 bool temp3
= false ;
19895 PyObject
* obj0
= 0 ;
19896 PyObject
* obj1
= 0 ;
19897 PyObject
* obj2
= 0 ;
19898 PyObject
* obj3
= 0 ;
19899 char * kwnames
[] = {
19900 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19905 if (!SWIG_IsOK(res1
)) {
19906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19908 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19910 if (!SWIG_IsOK(res2
)) {
19911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19913 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19915 arg3
= wxString_in_helper(obj2
);
19916 if (arg3
== NULL
) SWIG_fail
;
19920 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19921 if (!SWIG_IsOK(ecode4
)) {
19922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19924 arg4
= static_cast< int >(val4
);
19927 if (!wxPyCheckForApp()) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19948 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19949 PyObject
*resultobj
= 0;
19950 wxFindReplaceDialog
*result
= 0 ;
19952 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19954 if (!wxPyCheckForApp()) SWIG_fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19967 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
= 0;
19969 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19970 wxWindow
*arg2
= (wxWindow
*) 0 ;
19971 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19972 wxString
*arg4
= 0 ;
19973 int arg5
= (int) 0 ;
19981 bool temp4
= false ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 PyObject
* obj2
= 0 ;
19987 PyObject
* obj3
= 0 ;
19988 PyObject
* obj4
= 0 ;
19989 char * kwnames
[] = {
19990 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19995 if (!SWIG_IsOK(res1
)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19998 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19999 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20000 if (!SWIG_IsOK(res2
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20003 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20004 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20005 if (!SWIG_IsOK(res3
)) {
20006 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20008 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20010 arg4
= wxString_in_helper(obj3
);
20011 if (arg4
== NULL
) SWIG_fail
;
20015 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20016 if (!SWIG_IsOK(ecode5
)) {
20017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20019 arg5
= static_cast< int >(val5
);
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20044 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20045 PyObject
*resultobj
= 0;
20046 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20047 wxFindReplaceData
*result
= 0 ;
20050 PyObject
*swig_obj
[1] ;
20052 if (!args
) SWIG_fail
;
20053 swig_obj
[0] = args
;
20054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20055 if (!SWIG_IsOK(res1
)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20058 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20072 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
= 0;
20074 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20075 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20080 PyObject
* obj0
= 0 ;
20081 PyObject
* obj1
= 0 ;
20082 char * kwnames
[] = {
20083 (char *) "self",(char *) "data", NULL
20086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20088 if (!SWIG_IsOK(res1
)) {
20089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20091 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20093 if (!SWIG_IsOK(res2
)) {
20094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20096 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 (arg1
)->SetData(arg2
);
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= SWIG_Py_Void();
20110 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20113 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20114 return SWIG_Py_Void();
20117 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20118 return SWIG_Python_InitShadowInstance(args
);
20121 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
= 0;
20123 wxWindow
*arg1
= (wxWindow
*) 0 ;
20124 int arg2
= (int) (int)-1 ;
20125 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20126 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20127 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20128 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20129 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20130 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20131 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20132 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20133 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20134 wxMDIParentFrame
*result
= 0 ;
20139 bool temp3
= false ;
20144 bool temp7
= false ;
20145 PyObject
* obj0
= 0 ;
20146 PyObject
* obj1
= 0 ;
20147 PyObject
* obj2
= 0 ;
20148 PyObject
* obj3
= 0 ;
20149 PyObject
* obj4
= 0 ;
20150 PyObject
* obj5
= 0 ;
20151 PyObject
* obj6
= 0 ;
20152 char * kwnames
[] = {
20153 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20158 if (!SWIG_IsOK(res1
)) {
20159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20161 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20164 if (!SWIG_IsOK(ecode2
)) {
20165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20167 arg2
= static_cast< int >(val2
);
20171 arg3
= wxString_in_helper(obj2
);
20172 if (arg3
== NULL
) SWIG_fail
;
20179 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20185 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20189 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20190 if (!SWIG_IsOK(ecode6
)) {
20191 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20193 arg6
= static_cast< long >(val6
);
20197 arg7
= wxString_in_helper(obj6
);
20198 if (arg7
== NULL
) SWIG_fail
;
20203 if (!wxPyCheckForApp()) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20232 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20233 PyObject
*resultobj
= 0;
20234 wxMDIParentFrame
*result
= 0 ;
20236 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20238 if (!wxPyCheckForApp()) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20251 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
= 0;
20253 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20254 wxWindow
*arg2
= (wxWindow
*) 0 ;
20255 int arg3
= (int) (int)-1 ;
20256 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20257 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20258 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20259 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20260 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20261 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20262 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20263 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20264 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20272 bool temp4
= false ;
20277 bool temp8
= false ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 PyObject
* obj2
= 0 ;
20281 PyObject
* obj3
= 0 ;
20282 PyObject
* obj4
= 0 ;
20283 PyObject
* obj5
= 0 ;
20284 PyObject
* obj6
= 0 ;
20285 PyObject
* obj7
= 0 ;
20286 char * kwnames
[] = {
20287 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20292 if (!SWIG_IsOK(res1
)) {
20293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20295 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20297 if (!SWIG_IsOK(res2
)) {
20298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20300 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20303 if (!SWIG_IsOK(ecode3
)) {
20304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20306 arg3
= static_cast< int >(val3
);
20310 arg4
= wxString_in_helper(obj3
);
20311 if (arg4
== NULL
) SWIG_fail
;
20318 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20324 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20328 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20329 if (!SWIG_IsOK(ecode7
)) {
20330 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20332 arg7
= static_cast< long >(val7
);
20336 arg8
= wxString_in_helper(obj7
);
20337 if (arg8
== NULL
) SWIG_fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20372 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20373 PyObject
*resultobj
= 0;
20374 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20377 PyObject
*swig_obj
[1] ;
20379 if (!args
) SWIG_fail
;
20380 swig_obj
[0] = args
;
20381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20382 if (!SWIG_IsOK(res1
)) {
20383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20385 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 (arg1
)->ActivateNext();
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= SWIG_Py_Void();
20399 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20400 PyObject
*resultobj
= 0;
20401 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20404 PyObject
*swig_obj
[1] ;
20406 if (!args
) SWIG_fail
;
20407 swig_obj
[0] = args
;
20408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20409 if (!SWIG_IsOK(res1
)) {
20410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20412 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 (arg1
)->ActivatePrevious();
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20419 resultobj
= SWIG_Py_Void();
20426 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20427 PyObject
*resultobj
= 0;
20428 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20431 PyObject
*swig_obj
[1] ;
20433 if (!args
) SWIG_fail
;
20434 swig_obj
[0] = args
;
20435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20436 if (!SWIG_IsOK(res1
)) {
20437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20439 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 (arg1
)->ArrangeIcons();
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20446 resultobj
= SWIG_Py_Void();
20453 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20454 PyObject
*resultobj
= 0;
20455 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20458 PyObject
*swig_obj
[1] ;
20460 if (!args
) SWIG_fail
;
20461 swig_obj
[0] = args
;
20462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20463 if (!SWIG_IsOK(res1
)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20466 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20473 resultobj
= SWIG_Py_Void();
20480 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20481 PyObject
*resultobj
= 0;
20482 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20483 wxMDIChildFrame
*result
= 0 ;
20486 PyObject
*swig_obj
[1] ;
20488 if (!args
) SWIG_fail
;
20489 swig_obj
[0] = args
;
20490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20491 if (!SWIG_IsOK(res1
)) {
20492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20494 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20502 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20510 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20511 PyObject
*resultobj
= 0;
20512 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20513 wxMDIClientWindow
*result
= 0 ;
20516 PyObject
*swig_obj
[1] ;
20518 if (!args
) SWIG_fail
;
20519 swig_obj
[0] = args
;
20520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20521 if (!SWIG_IsOK(res1
)) {
20522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20524 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20540 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20541 PyObject
*resultobj
= 0;
20542 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20543 wxWindow
*result
= 0 ;
20546 PyObject
*swig_obj
[1] ;
20548 if (!args
) SWIG_fail
;
20549 swig_obj
[0] = args
;
20550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20551 if (!SWIG_IsOK(res1
)) {
20552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20554 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (wxWindow
*)(arg1
)->GetToolBar();
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= wxPyMake_wxObject(result
, 0);
20570 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
= 0;
20572 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20573 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20580 char * kwnames
[] = {
20581 (char *) "self",(char *) "orient", NULL
20584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20586 if (!SWIG_IsOK(res1
)) {
20587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20589 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20592 if (!SWIG_IsOK(ecode2
)) {
20593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20595 arg2
= static_cast< wxOrientation
>(val2
);
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 (arg1
)->Tile(arg2
);
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= SWIG_Py_Void();
20610 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20613 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20614 return SWIG_Py_Void();
20617 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20618 return SWIG_Python_InitShadowInstance(args
);
20621 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
= 0;
20623 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20624 int arg2
= (int) (int)-1 ;
20625 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20631 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20632 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20633 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20634 wxMDIChildFrame
*result
= 0 ;
20639 bool temp3
= false ;
20644 bool temp7
= false ;
20645 PyObject
* obj0
= 0 ;
20646 PyObject
* obj1
= 0 ;
20647 PyObject
* obj2
= 0 ;
20648 PyObject
* obj3
= 0 ;
20649 PyObject
* obj4
= 0 ;
20650 PyObject
* obj5
= 0 ;
20651 PyObject
* obj6
= 0 ;
20652 char * kwnames
[] = {
20653 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20658 if (!SWIG_IsOK(res1
)) {
20659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20661 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20664 if (!SWIG_IsOK(ecode2
)) {
20665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20667 arg2
= static_cast< int >(val2
);
20671 arg3
= wxString_in_helper(obj2
);
20672 if (arg3
== NULL
) SWIG_fail
;
20679 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20685 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20689 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20690 if (!SWIG_IsOK(ecode6
)) {
20691 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20693 arg6
= static_cast< long >(val6
);
20697 arg7
= wxString_in_helper(obj6
);
20698 if (arg7
== NULL
) SWIG_fail
;
20703 if (!wxPyCheckForApp()) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20732 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20733 PyObject
*resultobj
= 0;
20734 wxMDIChildFrame
*result
= 0 ;
20736 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20738 if (!wxPyCheckForApp()) SWIG_fail
;
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20751 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
= 0;
20753 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20754 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20755 int arg3
= (int) (int)-1 ;
20756 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20757 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20758 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20759 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20760 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20761 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20762 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20763 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20764 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20772 bool temp4
= false ;
20777 bool temp8
= false ;
20778 PyObject
* obj0
= 0 ;
20779 PyObject
* obj1
= 0 ;
20780 PyObject
* obj2
= 0 ;
20781 PyObject
* obj3
= 0 ;
20782 PyObject
* obj4
= 0 ;
20783 PyObject
* obj5
= 0 ;
20784 PyObject
* obj6
= 0 ;
20785 PyObject
* obj7
= 0 ;
20786 char * kwnames
[] = {
20787 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20792 if (!SWIG_IsOK(res1
)) {
20793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20795 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20797 if (!SWIG_IsOK(res2
)) {
20798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20800 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20803 if (!SWIG_IsOK(ecode3
)) {
20804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20806 arg3
= static_cast< int >(val3
);
20810 arg4
= wxString_in_helper(obj3
);
20811 if (arg4
== NULL
) SWIG_fail
;
20818 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20824 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20828 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20829 if (!SWIG_IsOK(ecode7
)) {
20830 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20832 arg7
= static_cast< long >(val7
);
20836 arg8
= wxString_in_helper(obj7
);
20837 if (arg8
== NULL
) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20872 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20873 PyObject
*resultobj
= 0;
20874 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20877 PyObject
*swig_obj
[1] ;
20879 if (!args
) SWIG_fail
;
20880 swig_obj
[0] = args
;
20881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20882 if (!SWIG_IsOK(res1
)) {
20883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20885 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 (arg1
)->Activate();
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= SWIG_Py_Void();
20899 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20902 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20903 return SWIG_Py_Void();
20906 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20907 return SWIG_Python_InitShadowInstance(args
);
20910 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
= 0;
20912 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20913 long arg2
= (long) 0 ;
20914 wxMDIClientWindow
*result
= 0 ;
20919 PyObject
* obj0
= 0 ;
20920 PyObject
* obj1
= 0 ;
20921 char * kwnames
[] = {
20922 (char *) "parent",(char *) "style", NULL
20925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20927 if (!SWIG_IsOK(res1
)) {
20928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20930 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20932 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20933 if (!SWIG_IsOK(ecode2
)) {
20934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20936 arg2
= static_cast< long >(val2
);
20939 if (!wxPyCheckForApp()) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20952 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20953 PyObject
*resultobj
= 0;
20954 wxMDIClientWindow
*result
= 0 ;
20956 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20958 if (!wxPyCheckForApp()) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20971 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
= 0;
20973 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20974 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20975 long arg3
= (long) 0 ;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 PyObject
* obj2
= 0 ;
20986 char * kwnames
[] = {
20987 (char *) "self",(char *) "parent",(char *) "style", NULL
20990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
20992 if (!SWIG_IsOK(res1
)) {
20993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20995 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
20996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20997 if (!SWIG_IsOK(res2
)) {
20998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21000 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21002 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21003 if (!SWIG_IsOK(ecode3
)) {
21004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21006 arg3
= static_cast< long >(val3
);
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21023 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21026 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21027 return SWIG_Py_Void();
21030 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21031 return SWIG_Python_InitShadowInstance(args
);
21034 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
= 0;
21036 wxWindow
*arg1
= (wxWindow
*) 0 ;
21037 int arg2
= (int) (int)-1 ;
21038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21042 long arg5
= (long) 0 ;
21043 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21044 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21045 wxPyWindow
*result
= 0 ;
21054 bool temp6
= false ;
21055 PyObject
* obj0
= 0 ;
21056 PyObject
* obj1
= 0 ;
21057 PyObject
* obj2
= 0 ;
21058 PyObject
* obj3
= 0 ;
21059 PyObject
* obj4
= 0 ;
21060 PyObject
* obj5
= 0 ;
21061 char * kwnames
[] = {
21062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21067 if (!SWIG_IsOK(res1
)) {
21068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21073 if (!SWIG_IsOK(ecode2
)) {
21074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21076 arg2
= static_cast< int >(val2
);
21081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21087 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21091 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21092 if (!SWIG_IsOK(ecode5
)) {
21093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21095 arg5
= static_cast< long >(val5
);
21099 arg6
= wxString_in_helper(obj5
);
21100 if (arg6
== NULL
) SWIG_fail
;
21105 if (!wxPyCheckForApp()) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21126 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21127 PyObject
*resultobj
= 0;
21128 wxPyWindow
*result
= 0 ;
21130 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21132 if (!wxPyCheckForApp()) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (wxPyWindow
*)new wxPyWindow();
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21145 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
= 0;
21147 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21148 PyObject
*arg2
= (PyObject
*) 0 ;
21149 PyObject
*arg3
= (PyObject
*) 0 ;
21152 PyObject
* obj0
= 0 ;
21153 PyObject
* obj1
= 0 ;
21154 PyObject
* obj2
= 0 ;
21155 char * kwnames
[] = {
21156 (char *) "self",(char *) "self",(char *) "_class", NULL
21159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21161 if (!SWIG_IsOK(res1
)) {
21162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21164 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21173 resultobj
= SWIG_Py_Void();
21180 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
= 0;
21182 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 char * kwnames
[] = {
21190 (char *) "self",(char *) "size", NULL
21193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21195 if (!SWIG_IsOK(res1
)) {
21196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21198 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= SWIG_Py_Void();
21216 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
= 0;
21218 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21219 wxDC
*arg2
= (wxDC
*) 0 ;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 char * kwnames
[] = {
21228 (char *) "self",(char *) "dc", NULL
21231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21233 if (!SWIG_IsOK(res1
)) {
21234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21236 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21238 if (!SWIG_IsOK(res2
)) {
21239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21241 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21257 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21258 PyObject
*resultobj
= 0;
21259 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 PyObject
* obj2
= 0 ;
21277 PyObject
* obj3
= 0 ;
21278 PyObject
* obj4
= 0 ;
21279 char * kwnames
[] = {
21280 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21285 if (!SWIG_IsOK(res1
)) {
21286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21288 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21290 if (!SWIG_IsOK(ecode2
)) {
21291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21293 arg2
= static_cast< int >(val2
);
21294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21295 if (!SWIG_IsOK(ecode3
)) {
21296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21298 arg3
= static_cast< int >(val3
);
21299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21300 if (!SWIG_IsOK(ecode4
)) {
21301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21303 arg4
= static_cast< int >(val4
);
21304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21305 if (!SWIG_IsOK(ecode5
)) {
21306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21308 arg5
= static_cast< int >(val5
);
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 resultobj
= SWIG_Py_Void();
21322 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
= 0;
21324 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21329 int arg6
= (int) wxSIZE_AUTO
;
21342 PyObject
* obj0
= 0 ;
21343 PyObject
* obj1
= 0 ;
21344 PyObject
* obj2
= 0 ;
21345 PyObject
* obj3
= 0 ;
21346 PyObject
* obj4
= 0 ;
21347 PyObject
* obj5
= 0 ;
21348 char * kwnames
[] = {
21349 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21354 if (!SWIG_IsOK(res1
)) {
21355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21357 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21359 if (!SWIG_IsOK(ecode2
)) {
21360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21362 arg2
= static_cast< int >(val2
);
21363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21364 if (!SWIG_IsOK(ecode3
)) {
21365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21367 arg3
= static_cast< int >(val3
);
21368 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21369 if (!SWIG_IsOK(ecode4
)) {
21370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21372 arg4
= static_cast< int >(val4
);
21373 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21374 if (!SWIG_IsOK(ecode5
)) {
21375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21377 arg5
= static_cast< int >(val5
);
21379 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21380 if (!SWIG_IsOK(ecode6
)) {
21381 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21383 arg6
= static_cast< int >(val6
);
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= SWIG_Py_Void();
21398 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
= 0;
21400 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 PyObject
* obj2
= 0 ;
21412 char * kwnames
[] = {
21413 (char *) "self",(char *) "width",(char *) "height", NULL
21416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21418 if (!SWIG_IsOK(res1
)) {
21419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21421 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21423 if (!SWIG_IsOK(ecode2
)) {
21424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21426 arg2
= static_cast< int >(val2
);
21427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21428 if (!SWIG_IsOK(ecode3
)) {
21429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21431 arg3
= static_cast< int >(val3
);
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 (arg1
)->DoSetClientSize(arg2
,arg3
);
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 resultobj
= SWIG_Py_Void();
21445 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
= 0;
21447 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21458 PyObject
* obj2
= 0 ;
21459 char * kwnames
[] = {
21460 (char *) "self",(char *) "x",(char *) "y", NULL
21463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21465 if (!SWIG_IsOK(res1
)) {
21466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21468 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21470 if (!SWIG_IsOK(ecode2
)) {
21471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21473 arg2
= static_cast< int >(val2
);
21474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21475 if (!SWIG_IsOK(ecode3
)) {
21476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21478 arg3
= static_cast< int >(val3
);
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= SWIG_Py_Void();
21492 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21493 PyObject
*resultobj
= 0;
21494 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21495 int *arg2
= (int *) 0 ;
21496 int *arg3
= (int *) 0 ;
21500 int res2
= SWIG_TMPOBJ
;
21502 int res3
= SWIG_TMPOBJ
;
21503 PyObject
*swig_obj
[1] ;
21507 if (!args
) SWIG_fail
;
21508 swig_obj
[0] = args
;
21509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21510 if (!SWIG_IsOK(res1
)) {
21511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21513 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21520 resultobj
= SWIG_Py_Void();
21521 if (SWIG_IsTmpObj(res2
)) {
21522 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21524 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21525 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21527 if (SWIG_IsTmpObj(res3
)) {
21528 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21530 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21539 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21540 PyObject
*resultobj
= 0;
21541 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21542 int *arg2
= (int *) 0 ;
21543 int *arg3
= (int *) 0 ;
21547 int res2
= SWIG_TMPOBJ
;
21549 int res3
= SWIG_TMPOBJ
;
21550 PyObject
*swig_obj
[1] ;
21554 if (!args
) SWIG_fail
;
21555 swig_obj
[0] = args
;
21556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21557 if (!SWIG_IsOK(res1
)) {
21558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21560 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 resultobj
= SWIG_Py_Void();
21568 if (SWIG_IsTmpObj(res2
)) {
21569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21571 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21574 if (SWIG_IsTmpObj(res3
)) {
21575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21577 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21586 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21587 PyObject
*resultobj
= 0;
21588 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21589 int *arg2
= (int *) 0 ;
21590 int *arg3
= (int *) 0 ;
21594 int res2
= SWIG_TMPOBJ
;
21596 int res3
= SWIG_TMPOBJ
;
21597 PyObject
*swig_obj
[1] ;
21601 if (!args
) SWIG_fail
;
21602 swig_obj
[0] = args
;
21603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21604 if (!SWIG_IsOK(res1
)) {
21605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21607 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21614 resultobj
= SWIG_Py_Void();
21615 if (SWIG_IsTmpObj(res2
)) {
21616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21618 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21621 if (SWIG_IsTmpObj(res3
)) {
21622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21624 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21633 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21634 PyObject
*resultobj
= 0;
21635 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21639 PyObject
*swig_obj
[1] ;
21641 if (!args
) SWIG_fail
;
21642 swig_obj
[0] = args
;
21643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21644 if (!SWIG_IsOK(res1
)) {
21645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21647 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21661 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21662 PyObject
*resultobj
= 0;
21663 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21667 PyObject
*swig_obj
[1] ;
21669 if (!args
) SWIG_fail
;
21670 swig_obj
[0] = args
;
21671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21672 if (!SWIG_IsOK(res1
)) {
21673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21675 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21689 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21690 PyObject
*resultobj
= 0;
21691 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21692 SwigValueWrapper
<wxVisualAttributes
> result
;
21695 PyObject
*swig_obj
[1] ;
21697 if (!args
) SWIG_fail
;
21698 swig_obj
[0] = args
;
21699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21700 if (!SWIG_IsOK(res1
)) {
21701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21703 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (arg1
)->GetDefaultAttributes();
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21717 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21718 PyObject
*resultobj
= 0;
21719 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21722 PyObject
*swig_obj
[1] ;
21724 if (!args
) SWIG_fail
;
21725 swig_obj
[0] = args
;
21726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21727 if (!SWIG_IsOK(res1
)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21730 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 (arg1
)->OnInternalIdle();
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_Py_Void();
21744 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21747 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21748 return SWIG_Py_Void();
21751 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21752 return SWIG_Python_InitShadowInstance(args
);
21755 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
= 0;
21757 wxWindow
*arg1
= (wxWindow
*) 0 ;
21758 int arg2
= (int) (int)-1 ;
21759 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21760 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21761 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21762 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21763 long arg5
= (long) 0 ;
21764 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21765 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21766 wxPyPanel
*result
= 0 ;
21775 bool temp6
= false ;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 PyObject
* obj2
= 0 ;
21779 PyObject
* obj3
= 0 ;
21780 PyObject
* obj4
= 0 ;
21781 PyObject
* obj5
= 0 ;
21782 char * kwnames
[] = {
21783 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21788 if (!SWIG_IsOK(res1
)) {
21789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21791 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21794 if (!SWIG_IsOK(ecode2
)) {
21795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21797 arg2
= static_cast< int >(val2
);
21802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21808 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21812 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21813 if (!SWIG_IsOK(ecode5
)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21816 arg5
= static_cast< long >(val5
);
21820 arg6
= wxString_in_helper(obj5
);
21821 if (arg6
== NULL
) SWIG_fail
;
21826 if (!wxPyCheckForApp()) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21847 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21848 PyObject
*resultobj
= 0;
21849 wxPyPanel
*result
= 0 ;
21851 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21853 if (!wxPyCheckForApp()) SWIG_fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 result
= (wxPyPanel
*)new wxPyPanel();
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21866 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
= 0;
21868 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21869 PyObject
*arg2
= (PyObject
*) 0 ;
21870 PyObject
*arg3
= (PyObject
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 PyObject
* obj2
= 0 ;
21876 char * kwnames
[] = {
21877 (char *) "self",(char *) "self",(char *) "_class", NULL
21880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21882 if (!SWIG_IsOK(res1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21885 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21890 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= SWIG_Py_Void();
21901 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
= 0;
21903 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 char * kwnames
[] = {
21911 (char *) "self",(char *) "size", NULL
21914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21916 if (!SWIG_IsOK(res1
)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21919 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21922 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 resultobj
= SWIG_Py_Void();
21937 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
= 0;
21939 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21940 wxDC
*arg2
= (wxDC
*) 0 ;
21946 PyObject
* obj0
= 0 ;
21947 PyObject
* obj1
= 0 ;
21948 char * kwnames
[] = {
21949 (char *) "self",(char *) "dc", NULL
21952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21954 if (!SWIG_IsOK(res1
)) {
21955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21957 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21958 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21959 if (!SWIG_IsOK(res2
)) {
21960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21962 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21978 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
= 0;
21980 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21995 PyObject
* obj0
= 0 ;
21996 PyObject
* obj1
= 0 ;
21997 PyObject
* obj2
= 0 ;
21998 PyObject
* obj3
= 0 ;
21999 PyObject
* obj4
= 0 ;
22000 char * kwnames
[] = {
22001 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22006 if (!SWIG_IsOK(res1
)) {
22007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22009 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22011 if (!SWIG_IsOK(ecode2
)) {
22012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22014 arg2
= static_cast< int >(val2
);
22015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22016 if (!SWIG_IsOK(ecode3
)) {
22017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22019 arg3
= static_cast< int >(val3
);
22020 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22021 if (!SWIG_IsOK(ecode4
)) {
22022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22024 arg4
= static_cast< int >(val4
);
22025 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22026 if (!SWIG_IsOK(ecode5
)) {
22027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22029 arg5
= static_cast< int >(val5
);
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= SWIG_Py_Void();
22043 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
= 0;
22045 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22050 int arg6
= (int) wxSIZE_AUTO
;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 PyObject
* obj2
= 0 ;
22066 PyObject
* obj3
= 0 ;
22067 PyObject
* obj4
= 0 ;
22068 PyObject
* obj5
= 0 ;
22069 char * kwnames
[] = {
22070 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22075 if (!SWIG_IsOK(res1
)) {
22076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22078 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22080 if (!SWIG_IsOK(ecode2
)) {
22081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22083 arg2
= static_cast< int >(val2
);
22084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22085 if (!SWIG_IsOK(ecode3
)) {
22086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22088 arg3
= static_cast< int >(val3
);
22089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22090 if (!SWIG_IsOK(ecode4
)) {
22091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22093 arg4
= static_cast< int >(val4
);
22094 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22095 if (!SWIG_IsOK(ecode5
)) {
22096 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22098 arg5
= static_cast< int >(val5
);
22100 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22101 if (!SWIG_IsOK(ecode6
)) {
22102 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22104 arg6
= static_cast< int >(val6
);
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 resultobj
= SWIG_Py_Void();
22119 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
= 0;
22121 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 PyObject
* obj2
= 0 ;
22133 char * kwnames
[] = {
22134 (char *) "self",(char *) "width",(char *) "height", NULL
22137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22139 if (!SWIG_IsOK(res1
)) {
22140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22142 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22144 if (!SWIG_IsOK(ecode2
)) {
22145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22147 arg2
= static_cast< int >(val2
);
22148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22149 if (!SWIG_IsOK(ecode3
)) {
22150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22152 arg3
= static_cast< int >(val3
);
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 (arg1
)->DoSetClientSize(arg2
,arg3
);
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= SWIG_Py_Void();
22166 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
= 0;
22168 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 PyObject
* obj2
= 0 ;
22180 char * kwnames
[] = {
22181 (char *) "self",(char *) "x",(char *) "y", NULL
22184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22186 if (!SWIG_IsOK(res1
)) {
22187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22189 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22191 if (!SWIG_IsOK(ecode2
)) {
22192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22194 arg2
= static_cast< int >(val2
);
22195 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22196 if (!SWIG_IsOK(ecode3
)) {
22197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22199 arg3
= static_cast< int >(val3
);
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= SWIG_Py_Void();
22213 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22214 PyObject
*resultobj
= 0;
22215 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22216 int *arg2
= (int *) 0 ;
22217 int *arg3
= (int *) 0 ;
22221 int res2
= SWIG_TMPOBJ
;
22223 int res3
= SWIG_TMPOBJ
;
22224 PyObject
*swig_obj
[1] ;
22228 if (!args
) SWIG_fail
;
22229 swig_obj
[0] = args
;
22230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22231 if (!SWIG_IsOK(res1
)) {
22232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22234 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22241 resultobj
= SWIG_Py_Void();
22242 if (SWIG_IsTmpObj(res2
)) {
22243 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22245 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22246 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22248 if (SWIG_IsTmpObj(res3
)) {
22249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22251 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22260 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22261 PyObject
*resultobj
= 0;
22262 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22263 int *arg2
= (int *) 0 ;
22264 int *arg3
= (int *) 0 ;
22268 int res2
= SWIG_TMPOBJ
;
22270 int res3
= SWIG_TMPOBJ
;
22271 PyObject
*swig_obj
[1] ;
22275 if (!args
) SWIG_fail
;
22276 swig_obj
[0] = args
;
22277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22278 if (!SWIG_IsOK(res1
)) {
22279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22281 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 resultobj
= SWIG_Py_Void();
22289 if (SWIG_IsTmpObj(res2
)) {
22290 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22292 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22293 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22295 if (SWIG_IsTmpObj(res3
)) {
22296 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22298 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22307 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22308 PyObject
*resultobj
= 0;
22309 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22310 int *arg2
= (int *) 0 ;
22311 int *arg3
= (int *) 0 ;
22315 int res2
= SWIG_TMPOBJ
;
22317 int res3
= SWIG_TMPOBJ
;
22318 PyObject
*swig_obj
[1] ;
22322 if (!args
) SWIG_fail
;
22323 swig_obj
[0] = args
;
22324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22325 if (!SWIG_IsOK(res1
)) {
22326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22328 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= SWIG_Py_Void();
22336 if (SWIG_IsTmpObj(res2
)) {
22337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22339 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22342 if (SWIG_IsTmpObj(res3
)) {
22343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22345 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22354 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22355 PyObject
*resultobj
= 0;
22356 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22360 PyObject
*swig_obj
[1] ;
22362 if (!args
) SWIG_fail
;
22363 swig_obj
[0] = args
;
22364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22365 if (!SWIG_IsOK(res1
)) {
22366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22368 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22382 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22383 PyObject
*resultobj
= 0;
22384 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22388 PyObject
*swig_obj
[1] ;
22390 if (!args
) SWIG_fail
;
22391 swig_obj
[0] = args
;
22392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22393 if (!SWIG_IsOK(res1
)) {
22394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22396 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22410 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22411 PyObject
*resultobj
= 0;
22412 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22413 SwigValueWrapper
<wxVisualAttributes
> result
;
22416 PyObject
*swig_obj
[1] ;
22418 if (!args
) SWIG_fail
;
22419 swig_obj
[0] = args
;
22420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22421 if (!SWIG_IsOK(res1
)) {
22422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22424 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 result
= (arg1
)->GetDefaultAttributes();
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22438 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22439 PyObject
*resultobj
= 0;
22440 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22443 PyObject
*swig_obj
[1] ;
22445 if (!args
) SWIG_fail
;
22446 swig_obj
[0] = args
;
22447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22448 if (!SWIG_IsOK(res1
)) {
22449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22451 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 (arg1
)->OnInternalIdle();
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 resultobj
= SWIG_Py_Void();
22465 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22468 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22469 return SWIG_Py_Void();
22472 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22473 return SWIG_Python_InitShadowInstance(args
);
22476 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
= 0;
22478 wxWindow
*arg1
= (wxWindow
*) 0 ;
22479 int arg2
= (int) (int)-1 ;
22480 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22481 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22482 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22483 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22484 long arg5
= (long) 0 ;
22485 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22486 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22487 wxPyScrolledWindow
*result
= 0 ;
22496 bool temp6
= false ;
22497 PyObject
* obj0
= 0 ;
22498 PyObject
* obj1
= 0 ;
22499 PyObject
* obj2
= 0 ;
22500 PyObject
* obj3
= 0 ;
22501 PyObject
* obj4
= 0 ;
22502 PyObject
* obj5
= 0 ;
22503 char * kwnames
[] = {
22504 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22509 if (!SWIG_IsOK(res1
)) {
22510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22512 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22515 if (!SWIG_IsOK(ecode2
)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22518 arg2
= static_cast< int >(val2
);
22523 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22529 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22533 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22534 if (!SWIG_IsOK(ecode5
)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22537 arg5
= static_cast< long >(val5
);
22541 arg6
= wxString_in_helper(obj5
);
22542 if (arg6
== NULL
) SWIG_fail
;
22547 if (!wxPyCheckForApp()) SWIG_fail
;
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22568 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22569 PyObject
*resultobj
= 0;
22570 wxPyScrolledWindow
*result
= 0 ;
22572 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22574 if (!wxPyCheckForApp()) SWIG_fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22587 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
= 0;
22589 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22590 PyObject
*arg2
= (PyObject
*) 0 ;
22591 PyObject
*arg3
= (PyObject
*) 0 ;
22594 PyObject
* obj0
= 0 ;
22595 PyObject
* obj1
= 0 ;
22596 PyObject
* obj2
= 0 ;
22597 char * kwnames
[] = {
22598 (char *) "self",(char *) "self",(char *) "_class", NULL
22601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22603 if (!SWIG_IsOK(res1
)) {
22604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22606 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22615 resultobj
= SWIG_Py_Void();
22622 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22623 PyObject
*resultobj
= 0;
22624 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22629 PyObject
* obj0
= 0 ;
22630 PyObject
* obj1
= 0 ;
22631 char * kwnames
[] = {
22632 (char *) "self",(char *) "size", NULL
22635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22637 if (!SWIG_IsOK(res1
)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22640 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22643 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_Py_Void();
22658 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
= 0;
22660 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22661 wxDC
*arg2
= (wxDC
*) 0 ;
22667 PyObject
* obj0
= 0 ;
22668 PyObject
* obj1
= 0 ;
22669 char * kwnames
[] = {
22670 (char *) "self",(char *) "dc", NULL
22673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22675 if (!SWIG_IsOK(res1
)) {
22676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22678 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22680 if (!SWIG_IsOK(res2
)) {
22681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22683 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22699 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
= 0;
22701 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22716 PyObject
* obj0
= 0 ;
22717 PyObject
* obj1
= 0 ;
22718 PyObject
* obj2
= 0 ;
22719 PyObject
* obj3
= 0 ;
22720 PyObject
* obj4
= 0 ;
22721 char * kwnames
[] = {
22722 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22727 if (!SWIG_IsOK(res1
)) {
22728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22730 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22732 if (!SWIG_IsOK(ecode2
)) {
22733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22735 arg2
= static_cast< int >(val2
);
22736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22737 if (!SWIG_IsOK(ecode3
)) {
22738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22740 arg3
= static_cast< int >(val3
);
22741 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22742 if (!SWIG_IsOK(ecode4
)) {
22743 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22745 arg4
= static_cast< int >(val4
);
22746 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22747 if (!SWIG_IsOK(ecode5
)) {
22748 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22750 arg5
= static_cast< int >(val5
);
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= SWIG_Py_Void();
22764 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
= 0;
22766 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22771 int arg6
= (int) wxSIZE_AUTO
;
22784 PyObject
* obj0
= 0 ;
22785 PyObject
* obj1
= 0 ;
22786 PyObject
* obj2
= 0 ;
22787 PyObject
* obj3
= 0 ;
22788 PyObject
* obj4
= 0 ;
22789 PyObject
* obj5
= 0 ;
22790 char * kwnames
[] = {
22791 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22796 if (!SWIG_IsOK(res1
)) {
22797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22799 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22801 if (!SWIG_IsOK(ecode2
)) {
22802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22804 arg2
= static_cast< int >(val2
);
22805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22806 if (!SWIG_IsOK(ecode3
)) {
22807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22809 arg3
= static_cast< int >(val3
);
22810 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22811 if (!SWIG_IsOK(ecode4
)) {
22812 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22814 arg4
= static_cast< int >(val4
);
22815 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22816 if (!SWIG_IsOK(ecode5
)) {
22817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22819 arg5
= static_cast< int >(val5
);
22821 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22822 if (!SWIG_IsOK(ecode6
)) {
22823 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22825 arg6
= static_cast< int >(val6
);
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_Py_Void();
22840 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
= 0;
22842 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22851 PyObject
* obj0
= 0 ;
22852 PyObject
* obj1
= 0 ;
22853 PyObject
* obj2
= 0 ;
22854 char * kwnames
[] = {
22855 (char *) "self",(char *) "width",(char *) "height", NULL
22858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22860 if (!SWIG_IsOK(res1
)) {
22861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22863 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22865 if (!SWIG_IsOK(ecode2
)) {
22866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22868 arg2
= static_cast< int >(val2
);
22869 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22870 if (!SWIG_IsOK(ecode3
)) {
22871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22873 arg3
= static_cast< int >(val3
);
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 (arg1
)->DoSetClientSize(arg2
,arg3
);
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= SWIG_Py_Void();
22887 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
= 0;
22889 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22898 PyObject
* obj0
= 0 ;
22899 PyObject
* obj1
= 0 ;
22900 PyObject
* obj2
= 0 ;
22901 char * kwnames
[] = {
22902 (char *) "self",(char *) "x",(char *) "y", NULL
22905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22907 if (!SWIG_IsOK(res1
)) {
22908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22910 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22912 if (!SWIG_IsOK(ecode2
)) {
22913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22915 arg2
= static_cast< int >(val2
);
22916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22917 if (!SWIG_IsOK(ecode3
)) {
22918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22920 arg3
= static_cast< int >(val3
);
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= SWIG_Py_Void();
22934 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22935 PyObject
*resultobj
= 0;
22936 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22937 int *arg2
= (int *) 0 ;
22938 int *arg3
= (int *) 0 ;
22942 int res2
= SWIG_TMPOBJ
;
22944 int res3
= SWIG_TMPOBJ
;
22945 PyObject
*swig_obj
[1] ;
22949 if (!args
) SWIG_fail
;
22950 swig_obj
[0] = args
;
22951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22952 if (!SWIG_IsOK(res1
)) {
22953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22955 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_Py_Void();
22963 if (SWIG_IsTmpObj(res2
)) {
22964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22966 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22969 if (SWIG_IsTmpObj(res3
)) {
22970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22972 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22981 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22982 PyObject
*resultobj
= 0;
22983 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22984 int *arg2
= (int *) 0 ;
22985 int *arg3
= (int *) 0 ;
22989 int res2
= SWIG_TMPOBJ
;
22991 int res3
= SWIG_TMPOBJ
;
22992 PyObject
*swig_obj
[1] ;
22996 if (!args
) SWIG_fail
;
22997 swig_obj
[0] = args
;
22998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22999 if (!SWIG_IsOK(res1
)) {
23000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23002 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= SWIG_Py_Void();
23010 if (SWIG_IsTmpObj(res2
)) {
23011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23013 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23016 if (SWIG_IsTmpObj(res3
)) {
23017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23019 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23028 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23029 PyObject
*resultobj
= 0;
23030 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23031 int *arg2
= (int *) 0 ;
23032 int *arg3
= (int *) 0 ;
23036 int res2
= SWIG_TMPOBJ
;
23038 int res3
= SWIG_TMPOBJ
;
23039 PyObject
*swig_obj
[1] ;
23043 if (!args
) SWIG_fail
;
23044 swig_obj
[0] = args
;
23045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23046 if (!SWIG_IsOK(res1
)) {
23047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23049 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 resultobj
= SWIG_Py_Void();
23057 if (SWIG_IsTmpObj(res2
)) {
23058 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23060 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23061 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23063 if (SWIG_IsTmpObj(res3
)) {
23064 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23066 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23075 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23076 PyObject
*resultobj
= 0;
23077 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23081 PyObject
*swig_obj
[1] ;
23083 if (!args
) SWIG_fail
;
23084 swig_obj
[0] = args
;
23085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23086 if (!SWIG_IsOK(res1
)) {
23087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23089 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23103 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23104 PyObject
*resultobj
= 0;
23105 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23109 PyObject
*swig_obj
[1] ;
23111 if (!args
) SWIG_fail
;
23112 swig_obj
[0] = args
;
23113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23114 if (!SWIG_IsOK(res1
)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23117 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23131 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23132 PyObject
*resultobj
= 0;
23133 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23134 SwigValueWrapper
<wxVisualAttributes
> result
;
23137 PyObject
*swig_obj
[1] ;
23139 if (!args
) SWIG_fail
;
23140 swig_obj
[0] = args
;
23141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23142 if (!SWIG_IsOK(res1
)) {
23143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23145 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 result
= (arg1
)->GetDefaultAttributes();
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23159 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23160 PyObject
*resultobj
= 0;
23161 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23164 PyObject
*swig_obj
[1] ;
23166 if (!args
) SWIG_fail
;
23167 swig_obj
[0] = args
;
23168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23169 if (!SWIG_IsOK(res1
)) {
23170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23172 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23175 (arg1
)->OnInternalIdle();
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= SWIG_Py_Void();
23186 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23189 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23190 return SWIG_Py_Void();
23193 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23194 return SWIG_Python_InitShadowInstance(args
);
23197 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23198 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23203 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23204 PyObject
*pyobj
= 0;
23208 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23210 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23217 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23218 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23223 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23224 PyObject
*pyobj
= 0;
23228 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23230 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23237 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23238 PyObject
*resultobj
= 0;
23239 wxPrintData
*result
= 0 ;
23241 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= (wxPrintData
*)new wxPrintData();
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23255 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23256 PyObject
*resultobj
= 0;
23257 wxPrintData
*arg1
= 0 ;
23258 wxPrintData
*result
= 0 ;
23262 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23264 if (!SWIG_IsOK(res1
)) {
23265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23270 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23284 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23288 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23291 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23294 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23298 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23303 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23304 PyObject
*resultobj
= 0;
23305 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23308 PyObject
*swig_obj
[1] ;
23310 if (!args
) SWIG_fail
;
23311 swig_obj
[0] = args
;
23312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23313 if (!SWIG_IsOK(res1
)) {
23314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23316 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= SWIG_Py_Void();
23331 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23332 PyObject
*resultobj
= 0;
23333 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23337 PyObject
*swig_obj
[1] ;
23339 if (!args
) SWIG_fail
;
23340 swig_obj
[0] = args
;
23341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23345 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= (int)(arg1
)->GetNoCopies();
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_From_int(static_cast< int >(result
));
23359 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23360 PyObject
*resultobj
= 0;
23361 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23365 PyObject
*swig_obj
[1] ;
23367 if (!args
) SWIG_fail
;
23368 swig_obj
[0] = args
;
23369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23370 if (!SWIG_IsOK(res1
)) {
23371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23373 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= (bool)(arg1
)->GetCollate();
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23389 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23390 PyObject
*resultobj
= 0;
23391 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23395 PyObject
*swig_obj
[1] ;
23397 if (!args
) SWIG_fail
;
23398 swig_obj
[0] = args
;
23399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23400 if (!SWIG_IsOK(res1
)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23403 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (int)(arg1
)->GetOrientation();
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= SWIG_From_int(static_cast< int >(result
));
23417 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23418 PyObject
*resultobj
= 0;
23419 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23423 PyObject
*swig_obj
[1] ;
23425 if (!args
) SWIG_fail
;
23426 swig_obj
[0] = args
;
23427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23428 if (!SWIG_IsOK(res1
)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23431 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 result
= (bool)(arg1
)->Ok();
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23447 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23448 PyObject
*resultobj
= 0;
23449 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23450 wxString
*result
= 0 ;
23453 PyObject
*swig_obj
[1] ;
23455 if (!args
) SWIG_fail
;
23456 swig_obj
[0] = args
;
23457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23458 if (!SWIG_IsOK(res1
)) {
23459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23461 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23466 result
= (wxString
*) &_result_ref
;
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23475 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23484 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23485 PyObject
*resultobj
= 0;
23486 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23490 PyObject
*swig_obj
[1] ;
23492 if (!args
) SWIG_fail
;
23493 swig_obj
[0] = args
;
23494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23495 if (!SWIG_IsOK(res1
)) {
23496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23498 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 result
= (bool)(arg1
)->GetColour();
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23514 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23515 PyObject
*resultobj
= 0;
23516 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23517 wxDuplexMode result
;
23520 PyObject
*swig_obj
[1] ;
23522 if (!args
) SWIG_fail
;
23523 swig_obj
[0] = args
;
23524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23525 if (!SWIG_IsOK(res1
)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23528 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= SWIG_From_int(static_cast< int >(result
));
23542 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23543 PyObject
*resultobj
= 0;
23544 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23545 wxPaperSize result
;
23548 PyObject
*swig_obj
[1] ;
23550 if (!args
) SWIG_fail
;
23551 swig_obj
[0] = args
;
23552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23553 if (!SWIG_IsOK(res1
)) {
23554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23556 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= SWIG_From_int(static_cast< int >(result
));
23570 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23571 PyObject
*resultobj
= 0;
23572 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23573 wxSize
*result
= 0 ;
23576 PyObject
*swig_obj
[1] ;
23578 if (!args
) SWIG_fail
;
23579 swig_obj
[0] = args
;
23580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23581 if (!SWIG_IsOK(res1
)) {
23582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23584 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23589 result
= (wxSize
*) &_result_ref
;
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23601 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23602 PyObject
*resultobj
= 0;
23603 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23607 PyObject
*swig_obj
[1] ;
23609 if (!args
) SWIG_fail
;
23610 swig_obj
[0] = args
;
23611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23612 if (!SWIG_IsOK(res1
)) {
23613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23615 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 result
= (int)(arg1
)->GetQuality();
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= SWIG_From_int(static_cast< int >(result
));
23629 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23630 PyObject
*resultobj
= 0;
23631 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23635 PyObject
*swig_obj
[1] ;
23637 if (!args
) SWIG_fail
;
23638 swig_obj
[0] = args
;
23639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23640 if (!SWIG_IsOK(res1
)) {
23641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23643 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 result
= (wxPrintBin
)(arg1
)->GetBin();
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= SWIG_From_int(static_cast< int >(result
));
23657 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23658 PyObject
*resultobj
= 0;
23659 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23660 wxPrintMode result
;
23663 PyObject
*swig_obj
[1] ;
23665 if (!args
) SWIG_fail
;
23666 swig_obj
[0] = args
;
23667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23668 if (!SWIG_IsOK(res1
)) {
23669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23671 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= SWIG_From_int(static_cast< int >(result
));
23685 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23686 PyObject
*resultobj
= 0;
23687 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 char * kwnames
[] = {
23696 (char *) "self",(char *) "v", NULL
23699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23701 if (!SWIG_IsOK(res1
)) {
23702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23704 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23706 if (!SWIG_IsOK(ecode2
)) {
23707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23709 arg2
= static_cast< int >(val2
);
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 (arg1
)->SetNoCopies(arg2
);
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23716 resultobj
= SWIG_Py_Void();
23723 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
= 0;
23725 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23731 PyObject
* obj0
= 0 ;
23732 PyObject
* obj1
= 0 ;
23733 char * kwnames
[] = {
23734 (char *) "self",(char *) "flag", NULL
23737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23739 if (!SWIG_IsOK(res1
)) {
23740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23742 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23743 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23744 if (!SWIG_IsOK(ecode2
)) {
23745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23747 arg2
= static_cast< bool >(val2
);
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 (arg1
)->SetCollate(arg2
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_Py_Void();
23761 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
= 0;
23763 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23769 PyObject
* obj0
= 0 ;
23770 PyObject
* obj1
= 0 ;
23771 char * kwnames
[] = {
23772 (char *) "self",(char *) "orient", NULL
23775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23777 if (!SWIG_IsOK(res1
)) {
23778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23780 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23782 if (!SWIG_IsOK(ecode2
)) {
23783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23785 arg2
= static_cast< int >(val2
);
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 (arg1
)->SetOrientation(arg2
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_Py_Void();
23799 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
= 0;
23801 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23802 wxString
*arg2
= 0 ;
23805 bool temp2
= false ;
23806 PyObject
* obj0
= 0 ;
23807 PyObject
* obj1
= 0 ;
23808 char * kwnames
[] = {
23809 (char *) "self",(char *) "name", NULL
23812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23814 if (!SWIG_IsOK(res1
)) {
23815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23817 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23819 arg2
= wxString_in_helper(obj1
);
23820 if (arg2
== NULL
) SWIG_fail
;
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= SWIG_Py_Void();
23844 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
= 0;
23846 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23852 PyObject
* obj0
= 0 ;
23853 PyObject
* obj1
= 0 ;
23854 char * kwnames
[] = {
23855 (char *) "self",(char *) "colour", NULL
23858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23860 if (!SWIG_IsOK(res1
)) {
23861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23863 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23864 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23865 if (!SWIG_IsOK(ecode2
)) {
23866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23868 arg2
= static_cast< bool >(val2
);
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 (arg1
)->SetColour(arg2
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_Py_Void();
23882 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
= 0;
23884 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23885 wxDuplexMode arg2
;
23890 PyObject
* obj0
= 0 ;
23891 PyObject
* obj1
= 0 ;
23892 char * kwnames
[] = {
23893 (char *) "self",(char *) "duplex", NULL
23896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23898 if (!SWIG_IsOK(res1
)) {
23899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23901 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23903 if (!SWIG_IsOK(ecode2
)) {
23904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23906 arg2
= static_cast< wxDuplexMode
>(val2
);
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 (arg1
)->SetDuplex(arg2
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= SWIG_Py_Void();
23920 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
= 0;
23922 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 PyObject
* obj1
= 0 ;
23930 char * kwnames
[] = {
23931 (char *) "self",(char *) "sizeId", NULL
23934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23936 if (!SWIG_IsOK(res1
)) {
23937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23939 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23941 if (!SWIG_IsOK(ecode2
)) {
23942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23944 arg2
= static_cast< wxPaperSize
>(val2
);
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 (arg1
)->SetPaperId(arg2
);
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= SWIG_Py_Void();
23958 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
= 0;
23960 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23965 PyObject
* obj0
= 0 ;
23966 PyObject
* obj1
= 0 ;
23967 char * kwnames
[] = {
23968 (char *) "self",(char *) "sz", NULL
23971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23973 if (!SWIG_IsOK(res1
)) {
23974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23976 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23979 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 resultobj
= SWIG_Py_Void();
23994 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
= 0;
23996 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24004 char * kwnames
[] = {
24005 (char *) "self",(char *) "quality", NULL
24008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24010 if (!SWIG_IsOK(res1
)) {
24011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24013 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24015 if (!SWIG_IsOK(ecode2
)) {
24016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24018 arg2
= static_cast< int >(val2
);
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 (arg1
)->SetQuality(arg2
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 resultobj
= SWIG_Py_Void();
24032 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
= 0;
24034 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24040 PyObject
* obj0
= 0 ;
24041 PyObject
* obj1
= 0 ;
24042 char * kwnames
[] = {
24043 (char *) "self",(char *) "bin", NULL
24046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24048 if (!SWIG_IsOK(res1
)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24051 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24053 if (!SWIG_IsOK(ecode2
)) {
24054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24056 arg2
= static_cast< wxPrintBin
>(val2
);
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 (arg1
)->SetBin(arg2
);
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24063 resultobj
= SWIG_Py_Void();
24070 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
= 0;
24072 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24078 PyObject
* obj0
= 0 ;
24079 PyObject
* obj1
= 0 ;
24080 char * kwnames
[] = {
24081 (char *) "self",(char *) "printMode", NULL
24084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24086 if (!SWIG_IsOK(res1
)) {
24087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24089 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24091 if (!SWIG_IsOK(ecode2
)) {
24092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24094 arg2
= static_cast< wxPrintMode
>(val2
);
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 (arg1
)->SetPrintMode(arg2
);
24098 wxPyEndAllowThreads(__tstate
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24101 resultobj
= SWIG_Py_Void();
24108 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24109 PyObject
*resultobj
= 0;
24110 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24114 PyObject
*swig_obj
[1] ;
24116 if (!args
) SWIG_fail
;
24117 swig_obj
[0] = args
;
24118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24119 if (!SWIG_IsOK(res1
)) {
24120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24122 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24142 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
= 0;
24144 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24145 wxString
*arg2
= 0 ;
24148 bool temp2
= false ;
24149 PyObject
* obj0
= 0 ;
24150 PyObject
* obj1
= 0 ;
24151 char * kwnames
[] = {
24152 (char *) "self",(char *) "filename", NULL
24155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24157 if (!SWIG_IsOK(res1
)) {
24158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24160 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24162 arg2
= wxString_in_helper(obj1
);
24163 if (arg2
== NULL
) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 (arg1
)->SetFilename((wxString
const &)*arg2
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= SWIG_Py_Void();
24187 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24188 PyObject
*resultobj
= 0;
24189 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24190 PyObject
*result
= 0 ;
24193 PyObject
*swig_obj
[1] ;
24195 if (!args
) SWIG_fail
;
24196 swig_obj
[0] = args
;
24197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24198 if (!SWIG_IsOK(res1
)) {
24199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24201 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= result
;
24215 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
= 0;
24217 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24218 PyObject
*arg2
= (PyObject
*) 0 ;
24221 PyObject
* obj0
= 0 ;
24222 PyObject
* obj1
= 0 ;
24223 char * kwnames
[] = {
24224 (char *) "self",(char *) "data", NULL
24227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24229 if (!SWIG_IsOK(res1
)) {
24230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24232 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 wxPrintData_SetPrivData(arg1
,arg2
);
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= SWIG_Py_Void();
24247 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24250 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24251 return SWIG_Py_Void();
24254 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24255 return SWIG_Python_InitShadowInstance(args
);
24258 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24259 PyObject
*resultobj
= 0;
24260 wxPageSetupDialogData
*result
= 0 ;
24262 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24276 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24277 PyObject
*resultobj
= 0;
24278 wxPageSetupDialogData
*arg1
= 0 ;
24279 wxPageSetupDialogData
*result
= 0 ;
24283 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24285 if (!SWIG_IsOK(res1
)) {
24286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24291 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24305 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24306 PyObject
*resultobj
= 0;
24307 wxPrintData
*arg1
= 0 ;
24308 wxPageSetupDialogData
*result
= 0 ;
24312 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24314 if (!SWIG_IsOK(res1
)) {
24315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24320 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24334 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24338 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24341 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24346 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24347 _v
= SWIG_CheckState(res
);
24349 if (!_v
) goto check_2
;
24350 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24355 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24359 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24364 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24365 PyObject
*resultobj
= 0;
24366 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24369 PyObject
*swig_obj
[1] ;
24371 if (!args
) SWIG_fail
;
24372 swig_obj
[0] = args
;
24373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24374 if (!SWIG_IsOK(res1
)) {
24375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24377 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= SWIG_Py_Void();
24392 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
= 0;
24394 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24400 PyObject
* obj0
= 0 ;
24401 PyObject
* obj1
= 0 ;
24402 char * kwnames
[] = {
24403 (char *) "self",(char *) "flag", NULL
24406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24408 if (!SWIG_IsOK(res1
)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24411 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24412 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24413 if (!SWIG_IsOK(ecode2
)) {
24414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24416 arg2
= static_cast< bool >(val2
);
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 (arg1
)->EnableHelp(arg2
);
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= SWIG_Py_Void();
24430 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
= 0;
24432 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 char * kwnames
[] = {
24441 (char *) "self",(char *) "flag", NULL
24444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24446 if (!SWIG_IsOK(res1
)) {
24447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24449 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24450 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24451 if (!SWIG_IsOK(ecode2
)) {
24452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24454 arg2
= static_cast< bool >(val2
);
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 (arg1
)->EnableMargins(arg2
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 resultobj
= SWIG_Py_Void();
24468 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
= 0;
24470 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 char * kwnames
[] = {
24479 (char *) "self",(char *) "flag", NULL
24482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24484 if (!SWIG_IsOK(res1
)) {
24485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24487 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24488 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24489 if (!SWIG_IsOK(ecode2
)) {
24490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24492 arg2
= static_cast< bool >(val2
);
24494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 (arg1
)->EnableOrientation(arg2
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 resultobj
= SWIG_Py_Void();
24506 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
= 0;
24508 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 char * kwnames
[] = {
24517 (char *) "self",(char *) "flag", NULL
24520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24522 if (!SWIG_IsOK(res1
)) {
24523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24525 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24526 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24527 if (!SWIG_IsOK(ecode2
)) {
24528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24530 arg2
= static_cast< bool >(val2
);
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 (arg1
)->EnablePaper(arg2
);
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24537 resultobj
= SWIG_Py_Void();
24544 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
= 0;
24546 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 char * kwnames
[] = {
24555 (char *) "self",(char *) "flag", NULL
24558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24560 if (!SWIG_IsOK(res1
)) {
24561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24563 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24564 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24565 if (!SWIG_IsOK(ecode2
)) {
24566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24568 arg2
= static_cast< bool >(val2
);
24570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24571 (arg1
)->EnablePrinter(arg2
);
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24575 resultobj
= SWIG_Py_Void();
24582 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24583 PyObject
*resultobj
= 0;
24584 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24588 PyObject
*swig_obj
[1] ;
24590 if (!args
) SWIG_fail
;
24591 swig_obj
[0] = args
;
24592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24593 if (!SWIG_IsOK(res1
)) {
24594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24596 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 result
= (bool)(arg1
)->GetDefaultMinMargins();
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24612 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24613 PyObject
*resultobj
= 0;
24614 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24618 PyObject
*swig_obj
[1] ;
24620 if (!args
) SWIG_fail
;
24621 swig_obj
[0] = args
;
24622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24623 if (!SWIG_IsOK(res1
)) {
24624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24626 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= (bool)(arg1
)->GetEnableMargins();
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24642 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24643 PyObject
*resultobj
= 0;
24644 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24648 PyObject
*swig_obj
[1] ;
24650 if (!args
) SWIG_fail
;
24651 swig_obj
[0] = args
;
24652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24653 if (!SWIG_IsOK(res1
)) {
24654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24656 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (bool)(arg1
)->GetEnableOrientation();
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24672 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24673 PyObject
*resultobj
= 0;
24674 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24678 PyObject
*swig_obj
[1] ;
24680 if (!args
) SWIG_fail
;
24681 swig_obj
[0] = args
;
24682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24683 if (!SWIG_IsOK(res1
)) {
24684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24686 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 result
= (bool)(arg1
)->GetEnablePaper();
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24702 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24703 PyObject
*resultobj
= 0;
24704 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24708 PyObject
*swig_obj
[1] ;
24710 if (!args
) SWIG_fail
;
24711 swig_obj
[0] = args
;
24712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24713 if (!SWIG_IsOK(res1
)) {
24714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24716 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 result
= (bool)(arg1
)->GetEnablePrinter();
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24732 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24733 PyObject
*resultobj
= 0;
24734 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24738 PyObject
*swig_obj
[1] ;
24740 if (!args
) SWIG_fail
;
24741 swig_obj
[0] = args
;
24742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24743 if (!SWIG_IsOK(res1
)) {
24744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24746 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 result
= (bool)(arg1
)->GetEnableHelp();
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24762 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24763 PyObject
*resultobj
= 0;
24764 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24768 PyObject
*swig_obj
[1] ;
24770 if (!args
) SWIG_fail
;
24771 swig_obj
[0] = args
;
24772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24773 if (!SWIG_IsOK(res1
)) {
24774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24776 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 result
= (bool)(arg1
)->GetDefaultInfo();
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24792 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24793 PyObject
*resultobj
= 0;
24794 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24798 PyObject
*swig_obj
[1] ;
24800 if (!args
) SWIG_fail
;
24801 swig_obj
[0] = args
;
24802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24803 if (!SWIG_IsOK(res1
)) {
24804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24806 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 result
= (arg1
)->GetMarginTopLeft();
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24813 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24820 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24821 PyObject
*resultobj
= 0;
24822 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24826 PyObject
*swig_obj
[1] ;
24828 if (!args
) SWIG_fail
;
24829 swig_obj
[0] = args
;
24830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24831 if (!SWIG_IsOK(res1
)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24834 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 result
= (arg1
)->GetMarginBottomRight();
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24841 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24848 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24849 PyObject
*resultobj
= 0;
24850 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24854 PyObject
*swig_obj
[1] ;
24856 if (!args
) SWIG_fail
;
24857 swig_obj
[0] = args
;
24858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24859 if (!SWIG_IsOK(res1
)) {
24860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24862 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (arg1
)->GetMinMarginTopLeft();
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24876 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24877 PyObject
*resultobj
= 0;
24878 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24882 PyObject
*swig_obj
[1] ;
24884 if (!args
) SWIG_fail
;
24885 swig_obj
[0] = args
;
24886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24887 if (!SWIG_IsOK(res1
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24890 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 result
= (arg1
)->GetMinMarginBottomRight();
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24904 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24905 PyObject
*resultobj
= 0;
24906 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24907 wxPaperSize result
;
24910 PyObject
*swig_obj
[1] ;
24912 if (!args
) SWIG_fail
;
24913 swig_obj
[0] = args
;
24914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24915 if (!SWIG_IsOK(res1
)) {
24916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24918 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 resultobj
= SWIG_From_int(static_cast< int >(result
));
24932 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24933 PyObject
*resultobj
= 0;
24934 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24938 PyObject
*swig_obj
[1] ;
24940 if (!args
) SWIG_fail
;
24941 swig_obj
[0] = args
;
24942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24943 if (!SWIG_IsOK(res1
)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24946 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (arg1
)->GetPaperSize();
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24960 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24961 PyObject
*resultobj
= 0;
24962 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24963 wxPrintData
*result
= 0 ;
24966 PyObject
*swig_obj
[1] ;
24968 if (!args
) SWIG_fail
;
24969 swig_obj
[0] = args
;
24970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24971 if (!SWIG_IsOK(res1
)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24974 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24979 result
= (wxPrintData
*) &_result_ref
;
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24991 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24992 PyObject
*resultobj
= 0;
24993 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24997 PyObject
*swig_obj
[1] ;
24999 if (!args
) SWIG_fail
;
25000 swig_obj
[0] = args
;
25001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25002 if (!SWIG_IsOK(res1
)) {
25003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25005 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25008 result
= (bool)(arg1
)->Ok();
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25021 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25022 PyObject
*resultobj
= 0;
25023 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25029 PyObject
* obj0
= 0 ;
25030 PyObject
* obj1
= 0 ;
25031 char * kwnames
[] = {
25032 (char *) "self",(char *) "flag", NULL
25035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25037 if (!SWIG_IsOK(res1
)) {
25038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25040 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25041 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25042 if (!SWIG_IsOK(ecode2
)) {
25043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25045 arg2
= static_cast< bool >(val2
);
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 (arg1
)->SetDefaultInfo(arg2
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 resultobj
= SWIG_Py_Void();
25059 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
= 0;
25061 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25067 PyObject
* obj0
= 0 ;
25068 PyObject
* obj1
= 0 ;
25069 char * kwnames
[] = {
25070 (char *) "self",(char *) "flag", NULL
25073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25078 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25079 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25080 if (!SWIG_IsOK(ecode2
)) {
25081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25083 arg2
= static_cast< bool >(val2
);
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 (arg1
)->SetDefaultMinMargins(arg2
);
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_Py_Void();
25097 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
= 0;
25099 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25100 wxPoint
*arg2
= 0 ;
25104 PyObject
* obj0
= 0 ;
25105 PyObject
* obj1
= 0 ;
25106 char * kwnames
[] = {
25107 (char *) "self",(char *) "pt", NULL
25110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25112 if (!SWIG_IsOK(res1
)) {
25113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25115 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25118 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 resultobj
= SWIG_Py_Void();
25133 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
= 0;
25135 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25136 wxPoint
*arg2
= 0 ;
25140 PyObject
* obj0
= 0 ;
25141 PyObject
* obj1
= 0 ;
25142 char * kwnames
[] = {
25143 (char *) "self",(char *) "pt", NULL
25146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25148 if (!SWIG_IsOK(res1
)) {
25149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25151 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25154 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_Py_Void();
25169 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25170 PyObject
*resultobj
= 0;
25171 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25172 wxPoint
*arg2
= 0 ;
25176 PyObject
* obj0
= 0 ;
25177 PyObject
* obj1
= 0 ;
25178 char * kwnames
[] = {
25179 (char *) "self",(char *) "pt", NULL
25182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25184 if (!SWIG_IsOK(res1
)) {
25185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25187 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_Py_Void();
25205 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
= 0;
25207 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25208 wxPoint
*arg2
= 0 ;
25212 PyObject
* obj0
= 0 ;
25213 PyObject
* obj1
= 0 ;
25214 char * kwnames
[] = {
25215 (char *) "self",(char *) "pt", NULL
25218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25220 if (!SWIG_IsOK(res1
)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25223 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25226 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 resultobj
= SWIG_Py_Void();
25241 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
= 0;
25243 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 char * kwnames
[] = {
25252 (char *) "self",(char *) "id", NULL
25255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25257 if (!SWIG_IsOK(res1
)) {
25258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25260 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25262 if (!SWIG_IsOK(ecode2
)) {
25263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25265 arg2
= static_cast< wxPaperSize
>(val2
);
25267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25268 (arg1
)->SetPaperId(arg2
);
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25272 resultobj
= SWIG_Py_Void();
25279 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
= 0;
25281 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25286 PyObject
* obj0
= 0 ;
25287 PyObject
* obj1
= 0 ;
25288 char * kwnames
[] = {
25289 (char *) "self",(char *) "size", NULL
25292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25294 if (!SWIG_IsOK(res1
)) {
25295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25297 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25300 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25305 wxPyEndAllowThreads(__tstate
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25308 resultobj
= SWIG_Py_Void();
25315 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
= 0;
25317 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25318 wxPrintData
*arg2
= 0 ;
25323 PyObject
* obj0
= 0 ;
25324 PyObject
* obj1
= 0 ;
25325 char * kwnames
[] = {
25326 (char *) "self",(char *) "printData", NULL
25329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25331 if (!SWIG_IsOK(res1
)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25334 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25336 if (!SWIG_IsOK(res2
)) {
25337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25342 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_Py_Void();
25356 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25357 PyObject
*resultobj
= 0;
25358 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25361 PyObject
*swig_obj
[1] ;
25363 if (!args
) SWIG_fail
;
25364 swig_obj
[0] = args
;
25365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25366 if (!SWIG_IsOK(res1
)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25369 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 (arg1
)->CalculateIdFromPaperSize();
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= SWIG_Py_Void();
25383 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25384 PyObject
*resultobj
= 0;
25385 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25388 PyObject
*swig_obj
[1] ;
25390 if (!args
) SWIG_fail
;
25391 swig_obj
[0] = args
;
25392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25393 if (!SWIG_IsOK(res1
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25396 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 (arg1
)->CalculatePaperSizeFromId();
25400 wxPyEndAllowThreads(__tstate
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25403 resultobj
= SWIG_Py_Void();
25410 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25413 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25414 return SWIG_Py_Void();
25417 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25418 return SWIG_Python_InitShadowInstance(args
);
25421 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
= 0;
25423 wxWindow
*arg1
= (wxWindow
*) 0 ;
25424 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25425 wxPageSetupDialog
*result
= 0 ;
25430 PyObject
* obj0
= 0 ;
25431 PyObject
* obj1
= 0 ;
25432 char * kwnames
[] = {
25433 (char *) "parent",(char *) "data", NULL
25436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25438 if (!SWIG_IsOK(res1
)) {
25439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25441 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25444 if (!SWIG_IsOK(res2
)) {
25445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25447 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25450 if (!wxPyCheckForApp()) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25463 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25464 PyObject
*resultobj
= 0;
25465 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25468 PyObject
*swig_obj
[1] ;
25470 if (!args
) SWIG_fail
;
25471 swig_obj
[0] = args
;
25472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25473 if (!SWIG_IsOK(res1
)) {
25474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25476 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_Py_Void();
25491 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25492 PyObject
*resultobj
= 0;
25493 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25494 wxPageSetupDialogData
*result
= 0 ;
25497 PyObject
*swig_obj
[1] ;
25499 if (!args
) SWIG_fail
;
25500 swig_obj
[0] = args
;
25501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25502 if (!SWIG_IsOK(res1
)) {
25503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25505 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25510 result
= (wxPageSetupDialogData
*) &_result_ref
;
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25522 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25523 PyObject
*resultobj
= 0;
25524 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25525 wxPageSetupDialogData
*result
= 0 ;
25528 PyObject
*swig_obj
[1] ;
25530 if (!args
) SWIG_fail
;
25531 swig_obj
[0] = args
;
25532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25533 if (!SWIG_IsOK(res1
)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25536 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25541 result
= (wxPageSetupDialogData
*) &_result_ref
;
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25553 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25554 PyObject
*resultobj
= 0;
25555 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25559 PyObject
*swig_obj
[1] ;
25561 if (!args
) SWIG_fail
;
25562 swig_obj
[0] = args
;
25563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25564 if (!SWIG_IsOK(res1
)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25567 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= (int)(arg1
)->ShowModal();
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= SWIG_From_int(static_cast< int >(result
));
25581 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25584 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25585 return SWIG_Py_Void();
25588 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25589 return SWIG_Python_InitShadowInstance(args
);
25592 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25593 PyObject
*resultobj
= 0;
25594 wxPrintDialogData
*result
= 0 ;
25596 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25610 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25611 PyObject
*resultobj
= 0;
25612 wxPrintData
*arg1
= 0 ;
25613 wxPrintDialogData
*result
= 0 ;
25617 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25619 if (!SWIG_IsOK(res1
)) {
25620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25625 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25639 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25640 PyObject
*resultobj
= 0;
25641 wxPrintDialogData
*arg1
= 0 ;
25642 wxPrintDialogData
*result
= 0 ;
25646 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25648 if (!SWIG_IsOK(res1
)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25654 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25658 wxPyEndAllowThreads(__tstate
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25668 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25672 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25675 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25680 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25681 _v
= SWIG_CheckState(res
);
25683 if (!_v
) goto check_2
;
25684 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25689 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25693 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25698 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25699 PyObject
*resultobj
= 0;
25700 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25703 PyObject
*swig_obj
[1] ;
25705 if (!args
) SWIG_fail
;
25706 swig_obj
[0] = args
;
25707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25708 if (!SWIG_IsOK(res1
)) {
25709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25711 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_Py_Void();
25726 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25727 PyObject
*resultobj
= 0;
25728 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25732 PyObject
*swig_obj
[1] ;
25734 if (!args
) SWIG_fail
;
25735 swig_obj
[0] = args
;
25736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25737 if (!SWIG_IsOK(res1
)) {
25738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25740 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25744 wxPyEndAllowThreads(__tstate
);
25745 if (PyErr_Occurred()) SWIG_fail
;
25747 resultobj
= SWIG_From_int(static_cast< int >(result
));
25754 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25755 PyObject
*resultobj
= 0;
25756 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25760 PyObject
*swig_obj
[1] ;
25762 if (!args
) SWIG_fail
;
25763 swig_obj
[0] = args
;
25764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25765 if (!SWIG_IsOK(res1
)) {
25766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25768 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25771 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25772 wxPyEndAllowThreads(__tstate
);
25773 if (PyErr_Occurred()) SWIG_fail
;
25775 resultobj
= SWIG_From_int(static_cast< int >(result
));
25782 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25783 PyObject
*resultobj
= 0;
25784 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25788 PyObject
*swig_obj
[1] ;
25790 if (!args
) SWIG_fail
;
25791 swig_obj
[0] = args
;
25792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25793 if (!SWIG_IsOK(res1
)) {
25794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25796 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25799 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 resultobj
= SWIG_From_int(static_cast< int >(result
));
25810 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25811 PyObject
*resultobj
= 0;
25812 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25816 PyObject
*swig_obj
[1] ;
25818 if (!args
) SWIG_fail
;
25819 swig_obj
[0] = args
;
25820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25821 if (!SWIG_IsOK(res1
)) {
25822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25824 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25827 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 resultobj
= SWIG_From_int(static_cast< int >(result
));
25838 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25839 PyObject
*resultobj
= 0;
25840 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25844 PyObject
*swig_obj
[1] ;
25846 if (!args
) SWIG_fail
;
25847 swig_obj
[0] = args
;
25848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25849 if (!SWIG_IsOK(res1
)) {
25850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25852 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25856 wxPyEndAllowThreads(__tstate
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25859 resultobj
= SWIG_From_int(static_cast< int >(result
));
25866 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25867 PyObject
*resultobj
= 0;
25868 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25872 PyObject
*swig_obj
[1] ;
25874 if (!args
) SWIG_fail
;
25875 swig_obj
[0] = args
;
25876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25877 if (!SWIG_IsOK(res1
)) {
25878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25880 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25896 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25897 PyObject
*resultobj
= 0;
25898 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25902 PyObject
*swig_obj
[1] ;
25904 if (!args
) SWIG_fail
;
25905 swig_obj
[0] = args
;
25906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25907 if (!SWIG_IsOK(res1
)) {
25908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25910 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25926 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25927 PyObject
*resultobj
= 0;
25928 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25932 PyObject
*swig_obj
[1] ;
25934 if (!args
) SWIG_fail
;
25935 swig_obj
[0] = args
;
25936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25937 if (!SWIG_IsOK(res1
)) {
25938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25940 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25956 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25957 PyObject
*resultobj
= 0;
25958 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25962 PyObject
*swig_obj
[1] ;
25964 if (!args
) SWIG_fail
;
25965 swig_obj
[0] = args
;
25966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25967 if (!SWIG_IsOK(res1
)) {
25968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25970 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25986 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
= 0;
25988 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25994 PyObject
* obj0
= 0 ;
25995 PyObject
* obj1
= 0 ;
25996 char * kwnames
[] = {
25997 (char *) "self",(char *) "v", NULL
26000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26002 if (!SWIG_IsOK(res1
)) {
26003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26005 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26007 if (!SWIG_IsOK(ecode2
)) {
26008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26010 arg2
= static_cast< int >(val2
);
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 (arg1
)->SetFromPage(arg2
);
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_Py_Void();
26024 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
= 0;
26026 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26032 PyObject
* obj0
= 0 ;
26033 PyObject
* obj1
= 0 ;
26034 char * kwnames
[] = {
26035 (char *) "self",(char *) "v", NULL
26038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26040 if (!SWIG_IsOK(res1
)) {
26041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26043 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26045 if (!SWIG_IsOK(ecode2
)) {
26046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26048 arg2
= static_cast< int >(val2
);
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26051 (arg1
)->SetToPage(arg2
);
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 resultobj
= SWIG_Py_Void();
26062 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26063 PyObject
*resultobj
= 0;
26064 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26070 PyObject
* obj0
= 0 ;
26071 PyObject
* obj1
= 0 ;
26072 char * kwnames
[] = {
26073 (char *) "self",(char *) "v", NULL
26076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26078 if (!SWIG_IsOK(res1
)) {
26079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26081 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26083 if (!SWIG_IsOK(ecode2
)) {
26084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26086 arg2
= static_cast< int >(val2
);
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 (arg1
)->SetMinPage(arg2
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 resultobj
= SWIG_Py_Void();
26100 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
= 0;
26102 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26108 PyObject
* obj0
= 0 ;
26109 PyObject
* obj1
= 0 ;
26110 char * kwnames
[] = {
26111 (char *) "self",(char *) "v", NULL
26114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26116 if (!SWIG_IsOK(res1
)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26119 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26121 if (!SWIG_IsOK(ecode2
)) {
26122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26124 arg2
= static_cast< int >(val2
);
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 (arg1
)->SetMaxPage(arg2
);
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26131 resultobj
= SWIG_Py_Void();
26138 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26139 PyObject
*resultobj
= 0;
26140 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj1
= 0 ;
26148 char * kwnames
[] = {
26149 (char *) "self",(char *) "v", NULL
26152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26154 if (!SWIG_IsOK(res1
)) {
26155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26157 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26159 if (!SWIG_IsOK(ecode2
)) {
26160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26162 arg2
= static_cast< int >(val2
);
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 (arg1
)->SetNoCopies(arg2
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= SWIG_Py_Void();
26176 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26177 PyObject
*resultobj
= 0;
26178 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26184 PyObject
* obj0
= 0 ;
26185 PyObject
* obj1
= 0 ;
26186 char * kwnames
[] = {
26187 (char *) "self",(char *) "flag", NULL
26190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26192 if (!SWIG_IsOK(res1
)) {
26193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26195 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26196 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26197 if (!SWIG_IsOK(ecode2
)) {
26198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26200 arg2
= static_cast< bool >(val2
);
26202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26203 (arg1
)->SetAllPages(arg2
);
26204 wxPyEndAllowThreads(__tstate
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26207 resultobj
= SWIG_Py_Void();
26214 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
= 0;
26216 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26222 PyObject
* obj0
= 0 ;
26223 PyObject
* obj1
= 0 ;
26224 char * kwnames
[] = {
26225 (char *) "self",(char *) "flag", NULL
26228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26230 if (!SWIG_IsOK(res1
)) {
26231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26233 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26234 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26235 if (!SWIG_IsOK(ecode2
)) {
26236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26238 arg2
= static_cast< bool >(val2
);
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 (arg1
)->SetSelection(arg2
);
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 resultobj
= SWIG_Py_Void();
26252 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
= 0;
26254 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26260 PyObject
* obj0
= 0 ;
26261 PyObject
* obj1
= 0 ;
26262 char * kwnames
[] = {
26263 (char *) "self",(char *) "flag", NULL
26266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26268 if (!SWIG_IsOK(res1
)) {
26269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26271 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26272 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26273 if (!SWIG_IsOK(ecode2
)) {
26274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26276 arg2
= static_cast< bool >(val2
);
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 (arg1
)->SetCollate(arg2
);
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_Py_Void();
26290 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
= 0;
26292 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26298 PyObject
* obj0
= 0 ;
26299 PyObject
* obj1
= 0 ;
26300 char * kwnames
[] = {
26301 (char *) "self",(char *) "flag", NULL
26304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26306 if (!SWIG_IsOK(res1
)) {
26307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26309 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26310 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26311 if (!SWIG_IsOK(ecode2
)) {
26312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26314 arg2
= static_cast< bool >(val2
);
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 (arg1
)->SetPrintToFile(arg2
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 resultobj
= SWIG_Py_Void();
26328 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
= 0;
26330 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26336 PyObject
* obj0
= 0 ;
26337 PyObject
* obj1
= 0 ;
26338 char * kwnames
[] = {
26339 (char *) "self",(char *) "flag", NULL
26342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26344 if (!SWIG_IsOK(res1
)) {
26345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26347 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26348 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26349 if (!SWIG_IsOK(ecode2
)) {
26350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26352 arg2
= static_cast< bool >(val2
);
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 (arg1
)->EnablePrintToFile(arg2
);
26356 wxPyEndAllowThreads(__tstate
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26359 resultobj
= SWIG_Py_Void();
26366 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
= 0;
26368 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26374 PyObject
* obj0
= 0 ;
26375 PyObject
* obj1
= 0 ;
26376 char * kwnames
[] = {
26377 (char *) "self",(char *) "flag", NULL
26380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26382 if (!SWIG_IsOK(res1
)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26385 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26386 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26387 if (!SWIG_IsOK(ecode2
)) {
26388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26390 arg2
= static_cast< bool >(val2
);
26392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 (arg1
)->EnableSelection(arg2
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 resultobj
= SWIG_Py_Void();
26404 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
= 0;
26406 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26412 PyObject
* obj0
= 0 ;
26413 PyObject
* obj1
= 0 ;
26414 char * kwnames
[] = {
26415 (char *) "self",(char *) "flag", NULL
26418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26420 if (!SWIG_IsOK(res1
)) {
26421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26423 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26424 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26425 if (!SWIG_IsOK(ecode2
)) {
26426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26428 arg2
= static_cast< bool >(val2
);
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 (arg1
)->EnablePageNumbers(arg2
);
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26435 resultobj
= SWIG_Py_Void();
26442 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26443 PyObject
*resultobj
= 0;
26444 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26450 PyObject
* obj0
= 0 ;
26451 PyObject
* obj1
= 0 ;
26452 char * kwnames
[] = {
26453 (char *) "self",(char *) "flag", NULL
26456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26458 if (!SWIG_IsOK(res1
)) {
26459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26461 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26462 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26463 if (!SWIG_IsOK(ecode2
)) {
26464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26466 arg2
= static_cast< bool >(val2
);
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 (arg1
)->EnableHelp(arg2
);
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26473 resultobj
= SWIG_Py_Void();
26480 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26481 PyObject
*resultobj
= 0;
26482 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26486 PyObject
*swig_obj
[1] ;
26488 if (!args
) SWIG_fail
;
26489 swig_obj
[0] = args
;
26490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26491 if (!SWIG_IsOK(res1
)) {
26492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26494 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26510 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26511 PyObject
*resultobj
= 0;
26512 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26516 PyObject
*swig_obj
[1] ;
26518 if (!args
) SWIG_fail
;
26519 swig_obj
[0] = args
;
26520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26521 if (!SWIG_IsOK(res1
)) {
26522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26524 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26540 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26541 PyObject
*resultobj
= 0;
26542 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26546 PyObject
*swig_obj
[1] ;
26548 if (!args
) SWIG_fail
;
26549 swig_obj
[0] = args
;
26550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26551 if (!SWIG_IsOK(res1
)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26554 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26557 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26570 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26571 PyObject
*resultobj
= 0;
26572 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26576 PyObject
*swig_obj
[1] ;
26578 if (!args
) SWIG_fail
;
26579 swig_obj
[0] = args
;
26580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26581 if (!SWIG_IsOK(res1
)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26584 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26600 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26601 PyObject
*resultobj
= 0;
26602 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26606 PyObject
*swig_obj
[1] ;
26608 if (!args
) SWIG_fail
;
26609 swig_obj
[0] = args
;
26610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26611 if (!SWIG_IsOK(res1
)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26614 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26630 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26631 PyObject
*resultobj
= 0;
26632 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26633 wxPrintData
*result
= 0 ;
26636 PyObject
*swig_obj
[1] ;
26638 if (!args
) SWIG_fail
;
26639 swig_obj
[0] = args
;
26640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26641 if (!SWIG_IsOK(res1
)) {
26642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26644 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26648 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26649 result
= (wxPrintData
*) &_result_ref
;
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26661 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26662 PyObject
*resultobj
= 0;
26663 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26664 wxPrintData
*arg2
= 0 ;
26669 PyObject
* obj0
= 0 ;
26670 PyObject
* obj1
= 0 ;
26671 char * kwnames
[] = {
26672 (char *) "self",(char *) "printData", NULL
26675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",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_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26680 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26682 if (!SWIG_IsOK(res2
)) {
26683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26688 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= SWIG_Py_Void();
26702 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26705 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26706 return SWIG_Py_Void();
26709 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26710 return SWIG_Python_InitShadowInstance(args
);
26713 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
= 0;
26715 wxWindow
*arg1
= (wxWindow
*) 0 ;
26716 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26717 wxPrintDialog
*result
= 0 ;
26722 PyObject
* obj0
= 0 ;
26723 PyObject
* obj1
= 0 ;
26724 char * kwnames
[] = {
26725 (char *) "parent",(char *) "data", NULL
26728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26730 if (!SWIG_IsOK(res1
)) {
26731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26733 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26735 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26736 if (!SWIG_IsOK(res2
)) {
26737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26739 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26742 if (!wxPyCheckForApp()) SWIG_fail
;
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26744 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26755 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26756 PyObject
*resultobj
= 0;
26757 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26760 PyObject
*swig_obj
[1] ;
26762 if (!args
) SWIG_fail
;
26763 swig_obj
[0] = args
;
26764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26765 if (!SWIG_IsOK(res1
)) {
26766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26768 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26776 resultobj
= SWIG_Py_Void();
26783 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26784 PyObject
*resultobj
= 0;
26785 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26789 PyObject
*swig_obj
[1] ;
26791 if (!args
) SWIG_fail
;
26792 swig_obj
[0] = args
;
26793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26794 if (!SWIG_IsOK(res1
)) {
26795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26797 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (int)(arg1
)->ShowModal();
26801 wxPyEndAllowThreads(__tstate
);
26802 if (PyErr_Occurred()) SWIG_fail
;
26804 resultobj
= SWIG_From_int(static_cast< int >(result
));
26811 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26812 PyObject
*resultobj
= 0;
26813 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26814 wxPrintDialogData
*result
= 0 ;
26817 PyObject
*swig_obj
[1] ;
26819 if (!args
) SWIG_fail
;
26820 swig_obj
[0] = args
;
26821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26822 if (!SWIG_IsOK(res1
)) {
26823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26825 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26830 result
= (wxPrintDialogData
*) &_result_ref
;
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26842 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26843 PyObject
*resultobj
= 0;
26844 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26845 wxPrintData
*result
= 0 ;
26848 PyObject
*swig_obj
[1] ;
26850 if (!args
) SWIG_fail
;
26851 swig_obj
[0] = args
;
26852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26853 if (!SWIG_IsOK(res1
)) {
26854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26856 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26860 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26861 result
= (wxPrintData
*) &_result_ref
;
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26873 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26874 PyObject
*resultobj
= 0;
26875 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26879 PyObject
*swig_obj
[1] ;
26881 if (!args
) SWIG_fail
;
26882 swig_obj
[0] = args
;
26883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26884 if (!SWIG_IsOK(res1
)) {
26885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26887 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 result
= (wxDC
*)(arg1
)->GetPrintDC();
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26903 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26906 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26907 return SWIG_Py_Void();
26910 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26911 return SWIG_Python_InitShadowInstance(args
);
26914 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
= 0;
26916 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26917 wxPrinter
*result
= 0 ;
26920 PyObject
* obj0
= 0 ;
26921 char * kwnames
[] = {
26922 (char *) "data", NULL
26925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26928 if (!SWIG_IsOK(res1
)) {
26929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26931 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26934 if (!wxPyCheckForApp()) SWIG_fail
;
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 result
= (wxPrinter
*)new wxPrinter(arg1
);
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26947 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26948 PyObject
*resultobj
= 0;
26949 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26952 PyObject
*swig_obj
[1] ;
26954 if (!args
) SWIG_fail
;
26955 swig_obj
[0] = args
;
26956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26957 if (!SWIG_IsOK(res1
)) {
26958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26960 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_Py_Void();
26975 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
= 0;
26977 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26978 wxWindow
*arg2
= (wxWindow
*) 0 ;
26979 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26980 wxWindow
*result
= 0 ;
26987 PyObject
* obj0
= 0 ;
26988 PyObject
* obj1
= 0 ;
26989 PyObject
* obj2
= 0 ;
26990 char * kwnames
[] = {
26991 (char *) "self",(char *) "parent",(char *) "printout", NULL
26994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26996 if (!SWIG_IsOK(res1
)) {
26997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26999 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27001 if (!SWIG_IsOK(res2
)) {
27002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27005 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27006 if (!SWIG_IsOK(res3
)) {
27007 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27009 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= wxPyMake_wxObject(result
, 0);
27025 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
= 0;
27027 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27028 wxWindow
*arg2
= (wxWindow
*) 0 ;
27029 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27030 wxString
*arg4
= 0 ;
27037 bool temp4
= false ;
27038 PyObject
* obj0
= 0 ;
27039 PyObject
* obj1
= 0 ;
27040 PyObject
* obj2
= 0 ;
27041 PyObject
* obj3
= 0 ;
27042 char * kwnames
[] = {
27043 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27048 if (!SWIG_IsOK(res1
)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27051 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27052 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27053 if (!SWIG_IsOK(res2
)) {
27054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27056 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27057 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27058 if (!SWIG_IsOK(res3
)) {
27059 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27061 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27063 arg4
= wxString_in_helper(obj3
);
27064 if (arg4
== NULL
) SWIG_fail
;
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27073 resultobj
= SWIG_Py_Void();
27088 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
= 0;
27090 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27091 wxWindow
*arg2
= (wxWindow
*) 0 ;
27097 PyObject
* obj0
= 0 ;
27098 PyObject
* obj1
= 0 ;
27099 char * kwnames
[] = {
27100 (char *) "self",(char *) "parent", NULL
27103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27105 if (!SWIG_IsOK(res1
)) {
27106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27108 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27109 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27110 if (!SWIG_IsOK(res2
)) {
27111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27113 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27116 result
= (bool)(arg1
)->Setup(arg2
);
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27129 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
= 0;
27131 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27132 wxWindow
*arg2
= (wxWindow
*) 0 ;
27133 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27134 bool arg4
= (bool) true ;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 PyObject
* obj2
= 0 ;
27147 PyObject
* obj3
= 0 ;
27148 char * kwnames
[] = {
27149 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27154 if (!SWIG_IsOK(res1
)) {
27155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27157 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27158 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27159 if (!SWIG_IsOK(res2
)) {
27160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27162 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27163 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27164 if (!SWIG_IsOK(res3
)) {
27165 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27167 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27169 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27170 if (!SWIG_IsOK(ecode4
)) {
27171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27173 arg4
= static_cast< bool >(val4
);
27176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27177 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27178 wxPyEndAllowThreads(__tstate
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27190 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27191 PyObject
*resultobj
= 0;
27192 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27193 wxWindow
*arg2
= (wxWindow
*) 0 ;
27199 PyObject
* obj0
= 0 ;
27200 PyObject
* obj1
= 0 ;
27201 char * kwnames
[] = {
27202 (char *) "self",(char *) "parent", NULL
27205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27207 if (!SWIG_IsOK(res1
)) {
27208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27210 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27212 if (!SWIG_IsOK(res2
)) {
27213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27215 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27223 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27231 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27232 PyObject
*resultobj
= 0;
27233 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27234 wxPrintDialogData
*result
= 0 ;
27237 PyObject
*swig_obj
[1] ;
27239 if (!args
) SWIG_fail
;
27240 swig_obj
[0] = args
;
27241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27242 if (!SWIG_IsOK(res1
)) {
27243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27245 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27250 result
= (wxPrintDialogData
*) &_result_ref
;
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27262 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27263 PyObject
*resultobj
= 0;
27264 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27268 PyObject
*swig_obj
[1] ;
27270 if (!args
) SWIG_fail
;
27271 swig_obj
[0] = args
;
27272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27273 if (!SWIG_IsOK(res1
)) {
27274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27276 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 result
= (bool)(arg1
)->GetAbort();
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27292 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27293 PyObject
*resultobj
= 0;
27294 wxPrinterError result
;
27296 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 result
= (wxPrinterError
)wxPrinter::GetLastError();
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 resultobj
= SWIG_From_int(static_cast< int >(result
));
27310 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27313 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27314 return SWIG_Py_Void();
27317 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27318 return SWIG_Python_InitShadowInstance(args
);
27321 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27322 PyObject
*resultobj
= 0;
27323 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27324 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27325 wxPyPrintout
*result
= 0 ;
27326 bool temp1
= false ;
27327 PyObject
* obj0
= 0 ;
27328 char * kwnames
[] = {
27329 (char *) "title", NULL
27332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27335 arg1
= wxString_in_helper(obj0
);
27336 if (arg1
== NULL
) SWIG_fail
;
27341 if (!wxPyCheckForApp()) SWIG_fail
;
27342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27343 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27344 wxPyEndAllowThreads(__tstate
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27362 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27363 PyObject
*resultobj
= 0;
27364 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27367 PyObject
*swig_obj
[1] ;
27369 if (!args
) SWIG_fail
;
27370 swig_obj
[0] = args
;
27371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27372 if (!SWIG_IsOK(res1
)) {
27373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27375 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27383 resultobj
= SWIG_Py_Void();
27390 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
= 0;
27392 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27393 PyObject
*arg2
= (PyObject
*) 0 ;
27394 PyObject
*arg3
= (PyObject
*) 0 ;
27397 PyObject
* obj0
= 0 ;
27398 PyObject
* obj1
= 0 ;
27399 PyObject
* obj2
= 0 ;
27400 char * kwnames
[] = {
27401 (char *) "self",(char *) "self",(char *) "_class", NULL
27404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27406 if (!SWIG_IsOK(res1
)) {
27407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27409 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= SWIG_Py_Void();
27425 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27426 PyObject
*resultobj
= 0;
27427 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27431 PyObject
*swig_obj
[1] ;
27433 if (!args
) SWIG_fail
;
27434 swig_obj
[0] = args
;
27435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27436 if (!SWIG_IsOK(res1
)) {
27437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27439 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27459 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27460 PyObject
*resultobj
= 0;
27461 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27465 PyObject
*swig_obj
[1] ;
27467 if (!args
) SWIG_fail
;
27468 swig_obj
[0] = args
;
27469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27470 if (!SWIG_IsOK(res1
)) {
27471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27473 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (wxDC
*)(arg1
)->GetDC();
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27489 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
= 0;
27491 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27492 wxDC
*arg2
= (wxDC
*) 0 ;
27497 PyObject
* obj0
= 0 ;
27498 PyObject
* obj1
= 0 ;
27499 char * kwnames
[] = {
27500 (char *) "self",(char *) "dc", NULL
27503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27505 if (!SWIG_IsOK(res1
)) {
27506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27508 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27510 if (!SWIG_IsOK(res2
)) {
27511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27513 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 (arg1
)->SetDC(arg2
);
27517 wxPyEndAllowThreads(__tstate
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= SWIG_Py_Void();
27527 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27528 PyObject
*resultobj
= 0;
27529 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 PyObject
* obj2
= 0 ;
27541 char * kwnames
[] = {
27542 (char *) "self",(char *) "w",(char *) "h", NULL
27545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27547 if (!SWIG_IsOK(res1
)) {
27548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27550 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27552 if (!SWIG_IsOK(ecode2
)) {
27553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27555 arg2
= static_cast< int >(val2
);
27556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27557 if (!SWIG_IsOK(ecode3
)) {
27558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27560 arg3
= static_cast< int >(val3
);
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27564 wxPyEndAllowThreads(__tstate
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27567 resultobj
= SWIG_Py_Void();
27574 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27575 PyObject
*resultobj
= 0;
27576 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27577 int *arg2
= (int *) 0 ;
27578 int *arg3
= (int *) 0 ;
27582 int res2
= SWIG_TMPOBJ
;
27584 int res3
= SWIG_TMPOBJ
;
27585 PyObject
*swig_obj
[1] ;
27589 if (!args
) SWIG_fail
;
27590 swig_obj
[0] = args
;
27591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27592 if (!SWIG_IsOK(res1
)) {
27593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27595 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27602 resultobj
= SWIG_Py_Void();
27603 if (SWIG_IsTmpObj(res2
)) {
27604 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27606 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27609 if (SWIG_IsTmpObj(res3
)) {
27610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27612 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27621 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27622 PyObject
*resultobj
= 0;
27623 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27632 PyObject
* obj0
= 0 ;
27633 PyObject
* obj1
= 0 ;
27634 PyObject
* obj2
= 0 ;
27635 char * kwnames
[] = {
27636 (char *) "self",(char *) "w",(char *) "h", NULL
27639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27641 if (!SWIG_IsOK(res1
)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27644 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27646 if (!SWIG_IsOK(ecode2
)) {
27647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27649 arg2
= static_cast< int >(val2
);
27650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27651 if (!SWIG_IsOK(ecode3
)) {
27652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27654 arg3
= static_cast< int >(val3
);
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27658 wxPyEndAllowThreads(__tstate
);
27659 if (PyErr_Occurred()) SWIG_fail
;
27661 resultobj
= SWIG_Py_Void();
27668 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27669 PyObject
*resultobj
= 0;
27670 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27671 int *arg2
= (int *) 0 ;
27672 int *arg3
= (int *) 0 ;
27676 int res2
= SWIG_TMPOBJ
;
27678 int res3
= SWIG_TMPOBJ
;
27679 PyObject
*swig_obj
[1] ;
27683 if (!args
) SWIG_fail
;
27684 swig_obj
[0] = args
;
27685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27686 if (!SWIG_IsOK(res1
)) {
27687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27689 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 resultobj
= SWIG_Py_Void();
27697 if (SWIG_IsTmpObj(res2
)) {
27698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27700 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27703 if (SWIG_IsTmpObj(res3
)) {
27704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27706 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27715 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27716 PyObject
*resultobj
= 0;
27717 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27726 PyObject
* obj0
= 0 ;
27727 PyObject
* obj1
= 0 ;
27728 PyObject
* obj2
= 0 ;
27729 char * kwnames
[] = {
27730 (char *) "self",(char *) "x",(char *) "y", NULL
27733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27735 if (!SWIG_IsOK(res1
)) {
27736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27738 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27740 if (!SWIG_IsOK(ecode2
)) {
27741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27743 arg2
= static_cast< int >(val2
);
27744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27745 if (!SWIG_IsOK(ecode3
)) {
27746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27748 arg3
= static_cast< int >(val3
);
27750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27751 (arg1
)->SetPPIScreen(arg2
,arg3
);
27752 wxPyEndAllowThreads(__tstate
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27755 resultobj
= SWIG_Py_Void();
27762 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27763 PyObject
*resultobj
= 0;
27764 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27765 int *arg2
= (int *) 0 ;
27766 int *arg3
= (int *) 0 ;
27770 int res2
= SWIG_TMPOBJ
;
27772 int res3
= SWIG_TMPOBJ
;
27773 PyObject
*swig_obj
[1] ;
27777 if (!args
) SWIG_fail
;
27778 swig_obj
[0] = args
;
27779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27780 if (!SWIG_IsOK(res1
)) {
27781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27783 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27786 (arg1
)->GetPPIScreen(arg2
,arg3
);
27787 wxPyEndAllowThreads(__tstate
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27790 resultobj
= SWIG_Py_Void();
27791 if (SWIG_IsTmpObj(res2
)) {
27792 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27794 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27797 if (SWIG_IsTmpObj(res3
)) {
27798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27800 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27809 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
= 0;
27811 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27820 PyObject
* obj0
= 0 ;
27821 PyObject
* obj1
= 0 ;
27822 PyObject
* obj2
= 0 ;
27823 char * kwnames
[] = {
27824 (char *) "self",(char *) "x",(char *) "y", NULL
27827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27829 if (!SWIG_IsOK(res1
)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27832 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27834 if (!SWIG_IsOK(ecode2
)) {
27835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27837 arg2
= static_cast< int >(val2
);
27838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27839 if (!SWIG_IsOK(ecode3
)) {
27840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27842 arg3
= static_cast< int >(val3
);
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27845 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 resultobj
= SWIG_Py_Void();
27856 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27857 PyObject
*resultobj
= 0;
27858 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27859 int *arg2
= (int *) 0 ;
27860 int *arg3
= (int *) 0 ;
27864 int res2
= SWIG_TMPOBJ
;
27866 int res3
= SWIG_TMPOBJ
;
27867 PyObject
*swig_obj
[1] ;
27871 if (!args
) SWIG_fail
;
27872 swig_obj
[0] = args
;
27873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27874 if (!SWIG_IsOK(res1
)) {
27875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27877 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27884 resultobj
= SWIG_Py_Void();
27885 if (SWIG_IsTmpObj(res2
)) {
27886 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27888 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27889 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27891 if (SWIG_IsTmpObj(res3
)) {
27892 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27894 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27903 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27904 PyObject
*resultobj
= 0;
27905 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27909 PyObject
*swig_obj
[1] ;
27911 if (!args
) SWIG_fail
;
27912 swig_obj
[0] = args
;
27913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27914 if (!SWIG_IsOK(res1
)) {
27915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27917 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27920 result
= (bool)(arg1
)->IsPreview();
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27933 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
= 0;
27935 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27941 PyObject
* obj0
= 0 ;
27942 PyObject
* obj1
= 0 ;
27943 char * kwnames
[] = {
27944 (char *) "self",(char *) "p", NULL
27947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27949 if (!SWIG_IsOK(res1
)) {
27950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27952 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27953 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27954 if (!SWIG_IsOK(ecode2
)) {
27955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27957 arg2
= static_cast< bool >(val2
);
27959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27960 (arg1
)->SetIsPreview(arg2
);
27961 wxPyEndAllowThreads(__tstate
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27964 resultobj
= SWIG_Py_Void();
27971 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27972 PyObject
*resultobj
= 0;
27973 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27983 PyObject
* obj0
= 0 ;
27984 PyObject
* obj1
= 0 ;
27985 PyObject
* obj2
= 0 ;
27986 char * kwnames
[] = {
27987 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27992 if (!SWIG_IsOK(res1
)) {
27993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27995 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27997 if (!SWIG_IsOK(ecode2
)) {
27998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28000 arg2
= static_cast< int >(val2
);
28001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28002 if (!SWIG_IsOK(ecode3
)) {
28003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28005 arg3
= static_cast< int >(val3
);
28007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28008 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28021 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28022 PyObject
*resultobj
= 0;
28023 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28026 PyObject
*swig_obj
[1] ;
28028 if (!args
) SWIG_fail
;
28029 swig_obj
[0] = args
;
28030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28031 if (!SWIG_IsOK(res1
)) {
28032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28034 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28037 (arg1
)->OnEndDocument();
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= SWIG_Py_Void();
28048 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28049 PyObject
*resultobj
= 0;
28050 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28053 PyObject
*swig_obj
[1] ;
28055 if (!args
) SWIG_fail
;
28056 swig_obj
[0] = args
;
28057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28058 if (!SWIG_IsOK(res1
)) {
28059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28061 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28064 (arg1
)->OnBeginPrinting();
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 resultobj
= SWIG_Py_Void();
28075 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28076 PyObject
*resultobj
= 0;
28077 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28080 PyObject
*swig_obj
[1] ;
28082 if (!args
) SWIG_fail
;
28083 swig_obj
[0] = args
;
28084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28088 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 (arg1
)->OnEndPrinting();
28092 wxPyEndAllowThreads(__tstate
);
28093 if (PyErr_Occurred()) SWIG_fail
;
28095 resultobj
= SWIG_Py_Void();
28102 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28103 PyObject
*resultobj
= 0;
28104 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28107 PyObject
*swig_obj
[1] ;
28109 if (!args
) SWIG_fail
;
28110 swig_obj
[0] = args
;
28111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28112 if (!SWIG_IsOK(res1
)) {
28113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28115 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28118 (arg1
)->OnPreparePrinting();
28119 wxPyEndAllowThreads(__tstate
);
28120 if (PyErr_Occurred()) SWIG_fail
;
28122 resultobj
= SWIG_Py_Void();
28129 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28130 PyObject
*resultobj
= 0;
28131 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28138 PyObject
* obj0
= 0 ;
28139 PyObject
* obj1
= 0 ;
28140 char * kwnames
[] = {
28141 (char *) "self",(char *) "page", NULL
28144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28146 if (!SWIG_IsOK(res1
)) {
28147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28149 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28151 if (!SWIG_IsOK(ecode2
)) {
28152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28154 arg2
= static_cast< int >(val2
);
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 result
= (bool)(arg1
)->HasPage(arg2
);
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28170 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28171 PyObject
*resultobj
= 0;
28172 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28173 int *arg2
= (int *) 0 ;
28174 int *arg3
= (int *) 0 ;
28175 int *arg4
= (int *) 0 ;
28176 int *arg5
= (int *) 0 ;
28180 int res2
= SWIG_TMPOBJ
;
28182 int res3
= SWIG_TMPOBJ
;
28184 int res4
= SWIG_TMPOBJ
;
28186 int res5
= SWIG_TMPOBJ
;
28187 PyObject
*swig_obj
[1] ;
28193 if (!args
) SWIG_fail
;
28194 swig_obj
[0] = args
;
28195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28196 if (!SWIG_IsOK(res1
)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28199 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28202 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28203 wxPyEndAllowThreads(__tstate
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28206 resultobj
= SWIG_Py_Void();
28207 if (SWIG_IsTmpObj(res2
)) {
28208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28210 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28213 if (SWIG_IsTmpObj(res3
)) {
28214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28216 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28219 if (SWIG_IsTmpObj(res4
)) {
28220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28222 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28225 if (SWIG_IsTmpObj(res5
)) {
28226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28228 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28237 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28240 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28241 return SWIG_Py_Void();
28244 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28245 return SWIG_Python_InitShadowInstance(args
);
28248 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28249 PyObject
*resultobj
= 0;
28250 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28251 wxWindow
*arg2
= (wxWindow
*) 0 ;
28252 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28253 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28254 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28255 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28256 long arg5
= (long) 0 ;
28257 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28258 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28259 wxPreviewCanvas
*result
= 0 ;
28268 bool temp6
= false ;
28269 PyObject
* obj0
= 0 ;
28270 PyObject
* obj1
= 0 ;
28271 PyObject
* obj2
= 0 ;
28272 PyObject
* obj3
= 0 ;
28273 PyObject
* obj4
= 0 ;
28274 PyObject
* obj5
= 0 ;
28275 char * kwnames
[] = {
28276 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28281 if (!SWIG_IsOK(res1
)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28284 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28286 if (!SWIG_IsOK(res2
)) {
28287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28289 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28293 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28299 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28303 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28304 if (!SWIG_IsOK(ecode5
)) {
28305 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28307 arg5
= static_cast< long >(val5
);
28311 arg6
= wxString_in_helper(obj5
);
28312 if (arg6
== NULL
) SWIG_fail
;
28317 if (!wxPyCheckForApp()) SWIG_fail
;
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28320 wxPyEndAllowThreads(__tstate
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28338 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28341 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28342 return SWIG_Py_Void();
28345 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28346 return SWIG_Python_InitShadowInstance(args
);
28349 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
= 0;
28351 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28352 wxFrame
*arg2
= (wxFrame
*) 0 ;
28353 wxString
*arg3
= 0 ;
28354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28358 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28359 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28360 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28361 wxPreviewFrame
*result
= 0 ;
28365 bool temp3
= false ;
28370 bool temp7
= false ;
28371 PyObject
* obj0
= 0 ;
28372 PyObject
* obj1
= 0 ;
28373 PyObject
* obj2
= 0 ;
28374 PyObject
* obj3
= 0 ;
28375 PyObject
* obj4
= 0 ;
28376 PyObject
* obj5
= 0 ;
28377 PyObject
* obj6
= 0 ;
28378 char * kwnames
[] = {
28379 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28383 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28384 if (!SWIG_IsOK(res1
)) {
28385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28388 if (!SWIG_IsOK(res2
)) {
28389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28391 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28393 arg3
= wxString_in_helper(obj2
);
28394 if (arg3
== NULL
) SWIG_fail
;
28400 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28406 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28410 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28411 if (!SWIG_IsOK(ecode6
)) {
28412 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28414 arg6
= static_cast< long >(val6
);
28418 arg7
= wxString_in_helper(obj6
);
28419 if (arg7
== NULL
) SWIG_fail
;
28424 if (!wxPyCheckForApp()) SWIG_fail
;
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28453 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28454 PyObject
*resultobj
= 0;
28455 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28458 PyObject
*swig_obj
[1] ;
28460 if (!args
) SWIG_fail
;
28461 swig_obj
[0] = args
;
28462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28463 if (!SWIG_IsOK(res1
)) {
28464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28466 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28469 (arg1
)->Initialize();
28470 wxPyEndAllowThreads(__tstate
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28473 resultobj
= SWIG_Py_Void();
28480 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28481 PyObject
*resultobj
= 0;
28482 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28485 PyObject
*swig_obj
[1] ;
28487 if (!args
) SWIG_fail
;
28488 swig_obj
[0] = args
;
28489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28490 if (!SWIG_IsOK(res1
)) {
28491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28493 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 (arg1
)->CreateControlBar();
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28500 resultobj
= SWIG_Py_Void();
28507 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28508 PyObject
*resultobj
= 0;
28509 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28512 PyObject
*swig_obj
[1] ;
28514 if (!args
) SWIG_fail
;
28515 swig_obj
[0] = args
;
28516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28517 if (!SWIG_IsOK(res1
)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28520 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28523 (arg1
)->CreateCanvas();
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28527 resultobj
= SWIG_Py_Void();
28534 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28535 PyObject
*resultobj
= 0;
28536 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28537 wxPreviewControlBar
*result
= 0 ;
28540 PyObject
*swig_obj
[1] ;
28542 if (!args
) SWIG_fail
;
28543 swig_obj
[0] = args
;
28544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28545 if (!SWIG_IsOK(res1
)) {
28546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28548 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28562 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28565 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28566 return SWIG_Py_Void();
28569 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28570 return SWIG_Python_InitShadowInstance(args
);
28573 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28574 PyObject
*resultobj
= 0;
28575 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28577 wxWindow
*arg3
= (wxWindow
*) 0 ;
28578 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28579 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28580 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28581 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28582 long arg6
= (long) wxTAB_TRAVERSAL
;
28583 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28584 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28585 wxPreviewControlBar
*result
= 0 ;
28596 bool temp7
= false ;
28597 PyObject
* obj0
= 0 ;
28598 PyObject
* obj1
= 0 ;
28599 PyObject
* obj2
= 0 ;
28600 PyObject
* obj3
= 0 ;
28601 PyObject
* obj4
= 0 ;
28602 PyObject
* obj5
= 0 ;
28603 PyObject
* obj6
= 0 ;
28604 char * kwnames
[] = {
28605 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28610 if (!SWIG_IsOK(res1
)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28613 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28614 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28615 if (!SWIG_IsOK(ecode2
)) {
28616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28618 arg2
= static_cast< long >(val2
);
28619 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28620 if (!SWIG_IsOK(res3
)) {
28621 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28623 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28627 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28633 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28637 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28638 if (!SWIG_IsOK(ecode6
)) {
28639 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28641 arg6
= static_cast< long >(val6
);
28645 arg7
= wxString_in_helper(obj6
);
28646 if (arg7
== NULL
) SWIG_fail
;
28651 if (!wxPyCheckForApp()) SWIG_fail
;
28652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28672 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28673 PyObject
*resultobj
= 0;
28674 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28678 PyObject
*swig_obj
[1] ;
28680 if (!args
) SWIG_fail
;
28681 swig_obj
[0] = args
;
28682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28683 if (!SWIG_IsOK(res1
)) {
28684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28686 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= (int)(arg1
)->GetZoomControl();
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 resultobj
= SWIG_From_int(static_cast< int >(result
));
28700 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
= 0;
28702 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28708 PyObject
* obj0
= 0 ;
28709 PyObject
* obj1
= 0 ;
28710 char * kwnames
[] = {
28711 (char *) "self",(char *) "zoom", NULL
28714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28716 if (!SWIG_IsOK(res1
)) {
28717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28719 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28721 if (!SWIG_IsOK(ecode2
)) {
28722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28724 arg2
= static_cast< int >(val2
);
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 (arg1
)->SetZoomControl(arg2
);
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28731 resultobj
= SWIG_Py_Void();
28738 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28739 PyObject
*resultobj
= 0;
28740 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28741 wxPrintPreview
*result
= 0 ;
28744 PyObject
*swig_obj
[1] ;
28746 if (!args
) SWIG_fail
;
28747 swig_obj
[0] = args
;
28748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28749 if (!SWIG_IsOK(res1
)) {
28750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28752 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28766 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28767 PyObject
*resultobj
= 0;
28768 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28771 PyObject
*swig_obj
[1] ;
28773 if (!args
) SWIG_fail
;
28774 swig_obj
[0] = args
;
28775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28776 if (!SWIG_IsOK(res1
)) {
28777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28779 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 wxPyEndAllowThreads(__tstate
);
28784 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= SWIG_Py_Void();
28793 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28794 PyObject
*resultobj
= 0;
28795 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28798 PyObject
*swig_obj
[1] ;
28800 if (!args
) SWIG_fail
;
28801 swig_obj
[0] = args
;
28802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28803 if (!SWIG_IsOK(res1
)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28806 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 (arg1
)->OnPrevious();
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= SWIG_Py_Void();
28820 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28821 PyObject
*resultobj
= 0;
28822 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28825 PyObject
*swig_obj
[1] ;
28827 if (!args
) SWIG_fail
;
28828 swig_obj
[0] = args
;
28829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28830 if (!SWIG_IsOK(res1
)) {
28831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28833 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 wxPyEndAllowThreads(__tstate
);
28838 if (PyErr_Occurred()) SWIG_fail
;
28840 resultobj
= SWIG_Py_Void();
28847 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28848 PyObject
*resultobj
= 0;
28849 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28852 PyObject
*swig_obj
[1] ;
28854 if (!args
) SWIG_fail
;
28855 swig_obj
[0] = args
;
28856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28857 if (!SWIG_IsOK(res1
)) {
28858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28860 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= SWIG_Py_Void();
28874 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28875 PyObject
*resultobj
= 0;
28876 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28879 PyObject
*swig_obj
[1] ;
28881 if (!args
) SWIG_fail
;
28882 swig_obj
[0] = args
;
28883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28884 if (!SWIG_IsOK(res1
)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28887 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 resultobj
= SWIG_Py_Void();
28901 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28904 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28905 return SWIG_Py_Void();
28908 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28909 return SWIG_Python_InitShadowInstance(args
);
28912 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28913 PyObject
*resultobj
= 0;
28914 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28915 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28916 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28917 wxPrintPreview
*result
= 0 ;
28923 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28924 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28925 if (!SWIG_IsOK(res1
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28928 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28929 if (!SWIG_IsOK(res2
)) {
28930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28933 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28934 if (!SWIG_IsOK(res3
)) {
28935 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28937 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28940 if (!wxPyCheckForApp()) SWIG_fail
;
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28953 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28954 PyObject
*resultobj
= 0;
28955 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28956 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28957 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28958 wxPrintPreview
*result
= 0 ;
28964 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28965 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28966 if (!SWIG_IsOK(res1
)) {
28967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28969 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28970 if (!SWIG_IsOK(res2
)) {
28971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28973 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28974 if (!SWIG_IsOK(res3
)) {
28975 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28977 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28979 if (!wxPyCheckForApp()) SWIG_fail
;
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28992 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
28996 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
28998 if ((argc
>= 2) && (argc
<= 3)) {
29003 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29004 _v
= SWIG_CheckState(res
);
29006 if (!_v
) goto check_1
;
29008 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29013 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29017 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29022 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29023 PyObject
*resultobj
= 0;
29024 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29027 PyObject
*swig_obj
[1] ;
29029 if (!args
) SWIG_fail
;
29030 swig_obj
[0] = args
;
29031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29032 if (!SWIG_IsOK(res1
)) {
29033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29035 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29040 wxPyEndAllowThreads(__tstate
);
29041 if (PyErr_Occurred()) SWIG_fail
;
29043 resultobj
= SWIG_Py_Void();
29050 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29051 PyObject
*resultobj
= 0;
29052 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29059 PyObject
* obj0
= 0 ;
29060 PyObject
* obj1
= 0 ;
29061 char * kwnames
[] = {
29062 (char *) "self",(char *) "pageNum", NULL
29065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29067 if (!SWIG_IsOK(res1
)) {
29068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29070 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29072 if (!SWIG_IsOK(ecode2
)) {
29073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29075 arg2
= static_cast< int >(val2
);
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29091 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29092 PyObject
*resultobj
= 0;
29093 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29097 PyObject
*swig_obj
[1] ;
29099 if (!args
) SWIG_fail
;
29100 swig_obj
[0] = args
;
29101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29102 if (!SWIG_IsOK(res1
)) {
29103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29105 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 result
= (int)(arg1
)->GetCurrentPage();
29109 wxPyEndAllowThreads(__tstate
);
29110 if (PyErr_Occurred()) SWIG_fail
;
29112 resultobj
= SWIG_From_int(static_cast< int >(result
));
29119 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29120 PyObject
*resultobj
= 0;
29121 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29122 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29126 PyObject
* obj0
= 0 ;
29127 PyObject
* obj1
= 0 ;
29128 char * kwnames
[] = {
29129 (char *) "self",(char *) "printout", NULL
29132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29134 if (!SWIG_IsOK(res1
)) {
29135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29137 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29138 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29139 if (!SWIG_IsOK(res2
)) {
29140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 (arg1
)->SetPrintout(arg2
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= SWIG_Py_Void();
29155 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29156 PyObject
*resultobj
= 0;
29157 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29158 wxPyPrintout
*result
= 0 ;
29161 PyObject
*swig_obj
[1] ;
29163 if (!args
) SWIG_fail
;
29164 swig_obj
[0] = args
;
29165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29166 if (!SWIG_IsOK(res1
)) {
29167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29169 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29172 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29177 resultobj
= wxPyMake_wxObject(result
, 0);
29185 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29186 PyObject
*resultobj
= 0;
29187 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29188 wxPyPrintout
*result
= 0 ;
29191 PyObject
*swig_obj
[1] ;
29193 if (!args
) SWIG_fail
;
29194 swig_obj
[0] = args
;
29195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29196 if (!SWIG_IsOK(res1
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29199 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29207 resultobj
= wxPyMake_wxObject(result
, 0);
29215 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
= 0;
29217 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29218 wxFrame
*arg2
= (wxFrame
*) 0 ;
29223 PyObject
* obj0
= 0 ;
29224 PyObject
* obj1
= 0 ;
29225 char * kwnames
[] = {
29226 (char *) "self",(char *) "frame", NULL
29229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29231 if (!SWIG_IsOK(res1
)) {
29232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29234 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29236 if (!SWIG_IsOK(res2
)) {
29237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29239 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 (arg1
)->SetFrame(arg2
);
29243 wxPyEndAllowThreads(__tstate
);
29244 if (PyErr_Occurred()) SWIG_fail
;
29246 resultobj
= SWIG_Py_Void();
29253 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29254 PyObject
*resultobj
= 0;
29255 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29256 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29261 PyObject
* obj0
= 0 ;
29262 PyObject
* obj1
= 0 ;
29263 char * kwnames
[] = {
29264 (char *) "self",(char *) "canvas", NULL
29267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29269 if (!SWIG_IsOK(res1
)) {
29270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29272 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29273 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29274 if (!SWIG_IsOK(res2
)) {
29275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29277 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29280 (arg1
)->SetCanvas(arg2
);
29281 wxPyEndAllowThreads(__tstate
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29284 resultobj
= SWIG_Py_Void();
29291 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29292 PyObject
*resultobj
= 0;
29293 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29294 wxFrame
*result
= 0 ;
29297 PyObject
*swig_obj
[1] ;
29299 if (!args
) SWIG_fail
;
29300 swig_obj
[0] = args
;
29301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29302 if (!SWIG_IsOK(res1
)) {
29303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29305 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 result
= (wxFrame
*)(arg1
)->GetFrame();
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29313 resultobj
= wxPyMake_wxObject(result
, 0);
29321 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29322 PyObject
*resultobj
= 0;
29323 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29324 wxPreviewCanvas
*result
= 0 ;
29327 PyObject
*swig_obj
[1] ;
29329 if (!args
) SWIG_fail
;
29330 swig_obj
[0] = args
;
29331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29332 if (!SWIG_IsOK(res1
)) {
29333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29335 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29338 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29339 wxPyEndAllowThreads(__tstate
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29349 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29350 PyObject
*resultobj
= 0;
29351 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29352 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29361 PyObject
* obj0
= 0 ;
29362 PyObject
* obj1
= 0 ;
29363 PyObject
* obj2
= 0 ;
29364 char * kwnames
[] = {
29365 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29370 if (!SWIG_IsOK(res1
)) {
29371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29373 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29375 if (!SWIG_IsOK(res2
)) {
29376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29378 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29379 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29380 if (!SWIG_IsOK(res3
)) {
29381 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29386 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29389 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29390 wxPyEndAllowThreads(__tstate
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29402 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
= 0;
29404 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29405 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29414 PyObject
* obj0
= 0 ;
29415 PyObject
* obj1
= 0 ;
29416 PyObject
* obj2
= 0 ;
29417 char * kwnames
[] = {
29418 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29423 if (!SWIG_IsOK(res1
)) {
29424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29426 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29427 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29428 if (!SWIG_IsOK(res2
)) {
29429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29431 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29432 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29433 if (!SWIG_IsOK(res3
)) {
29434 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29439 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29455 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29456 PyObject
*resultobj
= 0;
29457 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29464 PyObject
* obj0
= 0 ;
29465 PyObject
* obj1
= 0 ;
29466 char * kwnames
[] = {
29467 (char *) "self",(char *) "pageNum", NULL
29470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29472 if (!SWIG_IsOK(res1
)) {
29473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29475 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29477 if (!SWIG_IsOK(ecode2
)) {
29478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29480 arg2
= static_cast< int >(val2
);
29482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29483 result
= (bool)(arg1
)->RenderPage(arg2
);
29484 wxPyEndAllowThreads(__tstate
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29496 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
= 0;
29498 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29499 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29504 PyObject
* obj0
= 0 ;
29505 PyObject
* obj1
= 0 ;
29506 char * kwnames
[] = {
29507 (char *) "self",(char *) "canvas", NULL
29510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29512 if (!SWIG_IsOK(res1
)) {
29513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29515 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29517 if (!SWIG_IsOK(res2
)) {
29518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29520 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29523 (arg1
)->AdjustScrollbars(arg2
);
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= SWIG_Py_Void();
29534 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29535 PyObject
*resultobj
= 0;
29536 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29537 wxPrintDialogData
*result
= 0 ;
29540 PyObject
*swig_obj
[1] ;
29542 if (!args
) SWIG_fail
;
29543 swig_obj
[0] = args
;
29544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29545 if (!SWIG_IsOK(res1
)) {
29546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29548 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29552 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29553 result
= (wxPrintDialogData
*) &_result_ref
;
29555 wxPyEndAllowThreads(__tstate
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29565 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29566 PyObject
*resultobj
= 0;
29567 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 char * kwnames
[] = {
29576 (char *) "self",(char *) "percent", NULL
29579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29581 if (!SWIG_IsOK(res1
)) {
29582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29584 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29586 if (!SWIG_IsOK(ecode2
)) {
29587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29589 arg2
= static_cast< int >(val2
);
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 (arg1
)->SetZoom(arg2
);
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= SWIG_Py_Void();
29603 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29604 PyObject
*resultobj
= 0;
29605 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29609 PyObject
*swig_obj
[1] ;
29611 if (!args
) SWIG_fail
;
29612 swig_obj
[0] = args
;
29613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29614 if (!SWIG_IsOK(res1
)) {
29615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29617 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29620 result
= (int)(arg1
)->GetZoom();
29621 wxPyEndAllowThreads(__tstate
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29624 resultobj
= SWIG_From_int(static_cast< int >(result
));
29631 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29632 PyObject
*resultobj
= 0;
29633 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29637 PyObject
*swig_obj
[1] ;
29639 if (!args
) SWIG_fail
;
29640 swig_obj
[0] = args
;
29641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29642 if (!SWIG_IsOK(res1
)) {
29643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29645 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29648 result
= (int)(arg1
)->GetMaxPage();
29649 wxPyEndAllowThreads(__tstate
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= SWIG_From_int(static_cast< int >(result
));
29659 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29660 PyObject
*resultobj
= 0;
29661 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29665 PyObject
*swig_obj
[1] ;
29667 if (!args
) SWIG_fail
;
29668 swig_obj
[0] = args
;
29669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29670 if (!SWIG_IsOK(res1
)) {
29671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29673 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 result
= (int)(arg1
)->GetMinPage();
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29680 resultobj
= SWIG_From_int(static_cast< int >(result
));
29687 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29688 PyObject
*resultobj
= 0;
29689 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29693 PyObject
*swig_obj
[1] ;
29695 if (!args
) SWIG_fail
;
29696 swig_obj
[0] = args
;
29697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29698 if (!SWIG_IsOK(res1
)) {
29699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29701 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29704 result
= (bool)(arg1
)->Ok();
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29717 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
= 0;
29719 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29725 PyObject
* obj0
= 0 ;
29726 PyObject
* obj1
= 0 ;
29727 char * kwnames
[] = {
29728 (char *) "self",(char *) "ok", NULL
29731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29733 if (!SWIG_IsOK(res1
)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29736 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29737 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29738 if (!SWIG_IsOK(ecode2
)) {
29739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29741 arg2
= static_cast< bool >(val2
);
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29744 (arg1
)->SetOk(arg2
);
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29748 resultobj
= SWIG_Py_Void();
29755 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29756 PyObject
*resultobj
= 0;
29757 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29764 PyObject
* obj0
= 0 ;
29765 PyObject
* obj1
= 0 ;
29766 char * kwnames
[] = {
29767 (char *) "self",(char *) "interactive", NULL
29770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29772 if (!SWIG_IsOK(res1
)) {
29773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29775 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29776 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29777 if (!SWIG_IsOK(ecode2
)) {
29778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29780 arg2
= static_cast< bool >(val2
);
29782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29783 result
= (bool)(arg1
)->Print(arg2
);
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29796 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29797 PyObject
*resultobj
= 0;
29798 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29801 PyObject
*swig_obj
[1] ;
29803 if (!args
) SWIG_fail
;
29804 swig_obj
[0] = args
;
29805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29806 if (!SWIG_IsOK(res1
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29809 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 (arg1
)->DetermineScaling();
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= SWIG_Py_Void();
29823 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29826 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29827 return SWIG_Py_Void();
29830 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29831 return SWIG_Python_InitShadowInstance(args
);
29834 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29835 PyObject
*resultobj
= 0;
29836 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29837 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29838 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29839 wxPyPrintPreview
*result
= 0 ;
29845 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29846 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29847 if (!SWIG_IsOK(res1
)) {
29848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29850 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29851 if (!SWIG_IsOK(res2
)) {
29852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29855 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29856 if (!SWIG_IsOK(res3
)) {
29857 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29859 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29862 if (!wxPyCheckForApp()) SWIG_fail
;
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29865 wxPyEndAllowThreads(__tstate
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29875 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29876 PyObject
*resultobj
= 0;
29877 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29878 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29879 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29880 wxPyPrintPreview
*result
= 0 ;
29886 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29887 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29888 if (!SWIG_IsOK(res1
)) {
29889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29891 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29892 if (!SWIG_IsOK(res2
)) {
29893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29895 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29896 if (!SWIG_IsOK(res3
)) {
29897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29899 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29901 if (!wxPyCheckForApp()) SWIG_fail
;
29902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29903 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29904 wxPyEndAllowThreads(__tstate
);
29905 if (PyErr_Occurred()) SWIG_fail
;
29907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29914 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29918 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29920 if ((argc
>= 2) && (argc
<= 3)) {
29925 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29926 _v
= SWIG_CheckState(res
);
29928 if (!_v
) goto check_1
;
29930 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29935 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29939 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29944 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29945 PyObject
*resultobj
= 0;
29946 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29947 PyObject
*arg2
= (PyObject
*) 0 ;
29948 PyObject
*arg3
= (PyObject
*) 0 ;
29951 PyObject
* obj0
= 0 ;
29952 PyObject
* obj1
= 0 ;
29953 PyObject
* obj2
= 0 ;
29954 char * kwnames
[] = {
29955 (char *) "self",(char *) "self",(char *) "_class", NULL
29958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29960 if (!SWIG_IsOK(res1
)) {
29961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29963 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29969 wxPyEndAllowThreads(__tstate
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29972 resultobj
= SWIG_Py_Void();
29979 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29982 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29983 return SWIG_Py_Void();
29986 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29987 return SWIG_Python_InitShadowInstance(args
);
29990 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29991 PyObject
*resultobj
= 0;
29992 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29993 wxFrame
*arg2
= (wxFrame
*) 0 ;
29994 wxString
*arg3
= 0 ;
29995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29999 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30000 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30001 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30002 wxPyPreviewFrame
*result
= 0 ;
30007 bool temp3
= false ;
30012 bool temp7
= false ;
30013 PyObject
* obj0
= 0 ;
30014 PyObject
* obj1
= 0 ;
30015 PyObject
* obj2
= 0 ;
30016 PyObject
* obj3
= 0 ;
30017 PyObject
* obj4
= 0 ;
30018 PyObject
* obj5
= 0 ;
30019 PyObject
* obj6
= 0 ;
30020 char * kwnames
[] = {
30021 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30026 if (!SWIG_IsOK(res1
)) {
30027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30029 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30030 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30031 if (!SWIG_IsOK(res2
)) {
30032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30034 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30036 arg3
= wxString_in_helper(obj2
);
30037 if (arg3
== NULL
) SWIG_fail
;
30043 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30049 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30053 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30054 if (!SWIG_IsOK(ecode6
)) {
30055 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30057 arg6
= static_cast< long >(val6
);
30061 arg7
= wxString_in_helper(obj6
);
30062 if (arg7
== NULL
) SWIG_fail
;
30067 if (!wxPyCheckForApp()) SWIG_fail
;
30068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30069 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30096 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30097 PyObject
*resultobj
= 0;
30098 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30099 PyObject
*arg2
= (PyObject
*) 0 ;
30100 PyObject
*arg3
= (PyObject
*) 0 ;
30103 PyObject
* obj0
= 0 ;
30104 PyObject
* obj1
= 0 ;
30105 PyObject
* obj2
= 0 ;
30106 char * kwnames
[] = {
30107 (char *) "self",(char *) "self",(char *) "_class", NULL
30110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30112 if (!SWIG_IsOK(res1
)) {
30113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30115 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30120 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30121 wxPyEndAllowThreads(__tstate
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30124 resultobj
= SWIG_Py_Void();
30131 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
= 0;
30133 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30134 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30139 PyObject
* obj0
= 0 ;
30140 PyObject
* obj1
= 0 ;
30141 char * kwnames
[] = {
30142 (char *) "self",(char *) "canvas", NULL
30145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30147 if (!SWIG_IsOK(res1
)) {
30148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30150 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30151 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30152 if (!SWIG_IsOK(res2
)) {
30153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30155 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 (arg1
)->SetPreviewCanvas(arg2
);
30159 wxPyEndAllowThreads(__tstate
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30162 resultobj
= SWIG_Py_Void();
30169 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30170 PyObject
*resultobj
= 0;
30171 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30172 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30177 PyObject
* obj0
= 0 ;
30178 PyObject
* obj1
= 0 ;
30179 char * kwnames
[] = {
30180 (char *) "self",(char *) "bar", NULL
30183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30185 if (!SWIG_IsOK(res1
)) {
30186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30188 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30190 if (!SWIG_IsOK(res2
)) {
30191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30193 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30196 (arg1
)->SetControlBar(arg2
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= SWIG_Py_Void();
30207 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30208 PyObject
*resultobj
= 0;
30209 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 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_wxPyPreviewFrame
, 0 | 0 );
30217 if (!SWIG_IsOK(res1
)) {
30218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30220 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30223 (arg1
)->Initialize();
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30227 resultobj
= SWIG_Py_Void();
30234 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30235 PyObject
*resultobj
= 0;
30236 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30239 PyObject
*swig_obj
[1] ;
30241 if (!args
) SWIG_fail
;
30242 swig_obj
[0] = args
;
30243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30244 if (!SWIG_IsOK(res1
)) {
30245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30247 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 (arg1
)->CreateCanvas();
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30254 resultobj
= SWIG_Py_Void();
30261 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30262 PyObject
*resultobj
= 0;
30263 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30266 PyObject
*swig_obj
[1] ;
30268 if (!args
) SWIG_fail
;
30269 swig_obj
[0] = args
;
30270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30271 if (!SWIG_IsOK(res1
)) {
30272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30274 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 (arg1
)->CreateControlBar();
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= SWIG_Py_Void();
30288 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30291 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30292 return SWIG_Py_Void();
30295 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30296 return SWIG_Python_InitShadowInstance(args
);
30299 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30300 PyObject
*resultobj
= 0;
30301 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30303 wxWindow
*arg3
= (wxWindow
*) 0 ;
30304 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30305 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30306 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30307 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30308 long arg6
= (long) 0 ;
30309 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30310 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30311 wxPyPreviewControlBar
*result
= 0 ;
30322 bool temp7
= false ;
30323 PyObject
* obj0
= 0 ;
30324 PyObject
* obj1
= 0 ;
30325 PyObject
* obj2
= 0 ;
30326 PyObject
* obj3
= 0 ;
30327 PyObject
* obj4
= 0 ;
30328 PyObject
* obj5
= 0 ;
30329 PyObject
* obj6
= 0 ;
30330 char * kwnames
[] = {
30331 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30336 if (!SWIG_IsOK(res1
)) {
30337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30339 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30340 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30341 if (!SWIG_IsOK(ecode2
)) {
30342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30344 arg2
= static_cast< long >(val2
);
30345 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30346 if (!SWIG_IsOK(res3
)) {
30347 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30349 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30353 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30359 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30363 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30364 if (!SWIG_IsOK(ecode6
)) {
30365 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30367 arg6
= static_cast< long >(val6
);
30371 arg7
= wxString_in_helper(obj6
);
30372 if (arg7
== NULL
) SWIG_fail
;
30377 if (!wxPyCheckForApp()) SWIG_fail
;
30378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30379 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30398 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30399 PyObject
*resultobj
= 0;
30400 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30401 PyObject
*arg2
= (PyObject
*) 0 ;
30402 PyObject
*arg3
= (PyObject
*) 0 ;
30405 PyObject
* obj0
= 0 ;
30406 PyObject
* obj1
= 0 ;
30407 PyObject
* obj2
= 0 ;
30408 char * kwnames
[] = {
30409 (char *) "self",(char *) "self",(char *) "_class", NULL
30412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30414 if (!SWIG_IsOK(res1
)) {
30415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30417 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= SWIG_Py_Void();
30433 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30434 PyObject
*resultobj
= 0;
30435 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30436 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30441 PyObject
* obj0
= 0 ;
30442 PyObject
* obj1
= 0 ;
30443 char * kwnames
[] = {
30444 (char *) "self",(char *) "preview", NULL
30447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30449 if (!SWIG_IsOK(res1
)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30452 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30453 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30454 if (!SWIG_IsOK(res2
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30457 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30460 (arg1
)->SetPrintPreview(arg2
);
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30464 resultobj
= SWIG_Py_Void();
30471 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30472 PyObject
*resultobj
= 0;
30473 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30476 PyObject
*swig_obj
[1] ;
30478 if (!args
) SWIG_fail
;
30479 swig_obj
[0] = args
;
30480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30481 if (!SWIG_IsOK(res1
)) {
30482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30484 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30487 (arg1
)->CreateButtons();
30488 wxPyEndAllowThreads(__tstate
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30491 resultobj
= SWIG_Py_Void();
30498 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30499 PyObject
*resultobj
= 0;
30500 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 char * kwnames
[] = {
30509 (char *) "self",(char *) "zoom", NULL
30512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30514 if (!SWIG_IsOK(res1
)) {
30515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30517 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30519 if (!SWIG_IsOK(ecode2
)) {
30520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30522 arg2
= static_cast< int >(val2
);
30524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 (arg1
)->SetZoomControl(arg2
);
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30529 resultobj
= SWIG_Py_Void();
30536 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30539 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30540 return SWIG_Py_Void();
30543 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30544 return SWIG_Python_InitShadowInstance(args
);
30547 static PyMethodDef SwigMethods
[] = {
30548 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30550 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30551 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30552 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30553 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30554 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30555 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30557 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30558 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30559 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30561 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30562 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30563 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30564 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30565 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30566 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30567 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30568 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30569 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30570 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30571 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30572 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30574 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30575 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30576 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30578 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30579 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30581 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30582 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30583 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30584 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30585 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30586 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30588 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30590 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30592 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30595 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30596 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30597 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30598 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30599 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30601 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30602 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30603 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30605 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30607 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30608 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30609 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30611 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30613 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30615 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30616 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30617 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30618 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30621 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30622 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30623 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30624 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30625 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30626 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30627 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30628 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30629 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30630 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30631 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30632 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30633 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30634 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30635 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30636 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30637 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30638 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30640 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30641 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30643 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30644 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30645 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30646 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30647 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30648 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30649 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30650 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30651 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30652 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30653 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30654 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30655 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30656 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30657 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30658 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30659 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30660 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30661 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30662 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30665 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30667 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30671 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30672 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30674 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30675 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30676 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30677 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30678 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30679 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30680 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30681 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30682 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30683 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30684 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30685 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30688 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30689 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30692 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30693 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30694 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30695 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30696 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30697 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30698 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30699 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30700 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30701 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30703 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30705 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30706 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30709 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30710 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30711 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30712 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30713 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30714 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30716 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30717 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30719 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30724 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30726 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30729 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30730 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30733 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30734 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30736 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30737 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30738 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30741 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30742 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30743 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30745 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30746 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30747 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30750 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30752 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30754 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30755 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30756 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30758 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30759 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30760 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30763 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30765 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30766 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30767 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30768 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30769 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30771 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30772 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30775 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30776 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30777 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30778 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30779 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30780 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30782 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30783 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30784 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30786 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30789 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30790 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30791 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30792 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30795 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30796 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30797 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30798 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30800 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30801 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30802 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30804 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30813 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30814 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30815 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30816 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30818 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30819 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30822 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30823 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30825 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30826 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30828 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30829 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30830 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30831 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30833 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30834 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30835 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30836 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30837 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30839 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30840 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30841 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30844 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30845 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30851 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30852 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30854 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30858 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30860 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30861 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30862 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30863 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30864 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30865 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30866 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30867 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30869 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30871 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30872 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30874 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30875 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30876 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30877 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30878 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30879 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30884 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30885 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30887 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30888 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30889 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30892 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30893 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30896 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30897 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30901 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30905 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30906 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30907 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30908 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30909 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30910 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30911 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30912 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30913 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30914 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30917 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30918 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30919 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30921 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30922 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30924 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30925 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30927 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30929 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30930 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30932 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30933 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30934 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30935 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30937 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30938 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30939 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30940 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30941 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30942 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30949 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30950 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30952 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30953 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30954 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30957 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30958 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30961 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30962 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30963 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30965 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30966 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30967 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30968 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30972 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30973 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30975 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30976 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30977 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30978 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30982 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30983 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30985 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30987 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30989 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30990 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30992 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30994 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30995 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
30996 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
30997 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
30998 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
30999 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31000 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31002 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31003 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31005 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31007 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31008 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31009 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31011 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31013 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31014 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31016 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31024 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31025 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31026 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31027 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31028 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31029 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31030 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31031 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31032 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31034 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31042 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31043 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31044 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31045 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31046 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31047 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31048 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31049 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31050 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31052 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31060 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31061 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31062 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31063 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31064 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31065 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31066 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31067 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31068 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31069 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31070 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31071 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31072 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31073 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31074 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31075 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31076 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31077 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31078 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31079 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31080 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31081 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31082 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31094 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31096 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31098 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31099 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31100 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31101 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31107 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31108 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31109 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31110 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31111 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31112 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31113 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31114 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31115 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31116 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31117 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31118 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31119 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31120 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31121 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31131 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31132 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31133 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31134 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31136 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31137 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31138 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31139 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31140 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31141 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31142 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31143 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31144 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31145 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31146 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31147 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31148 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31149 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31150 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31151 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31152 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31166 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31167 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31168 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31169 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31170 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31171 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31173 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31174 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31176 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31177 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31178 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31179 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31180 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31181 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31182 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31184 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31190 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31191 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31192 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31193 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31194 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31196 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31198 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31199 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31202 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31204 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31206 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31208 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31209 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31212 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31213 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31214 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31215 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31217 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31218 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31219 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31221 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31222 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31224 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31225 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31226 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31227 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31228 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31229 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31231 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31233 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31234 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31235 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31236 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31237 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31238 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31239 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31240 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31241 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31242 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31244 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31246 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31247 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31250 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31251 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31256 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31258 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31259 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31260 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31261 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31264 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31265 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31266 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31267 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31269 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31270 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31275 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31276 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31277 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31278 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31279 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31283 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31285 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31286 { NULL
, NULL
, 0, NULL
}
31290 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31292 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31293 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31295 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31296 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31298 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31299 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31301 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31302 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31304 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31305 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31307 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31308 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31310 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31311 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31313 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31314 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31316 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31317 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31319 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31320 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31322 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31323 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31325 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31326 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31328 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31329 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31331 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31332 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31334 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31335 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31337 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31338 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31340 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31341 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31343 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31344 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31346 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31347 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31349 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31350 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31352 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31353 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31355 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31356 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31358 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31359 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31361 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31362 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31364 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31365 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31367 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31368 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31370 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31371 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31373 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31374 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31376 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31377 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31379 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31380 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31382 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31383 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31385 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31386 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31388 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31389 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31391 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31392 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31394 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31395 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31397 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31398 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31400 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31401 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31403 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31404 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31406 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31407 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31409 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31410 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31412 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31413 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31415 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31416 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31418 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31419 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31421 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31422 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31424 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31425 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31427 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31428 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31430 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31433 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31436 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31439 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31440 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31442 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31443 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31445 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31446 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31448 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31449 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31451 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31454 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31457 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31460 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31463 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31466 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31469 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31472 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31475 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31476 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31478 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31479 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31481 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31484 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31487 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31490 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31491 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31493 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31496 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31497 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31499 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31500 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31502 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31503 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31505 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31506 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31508 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31511 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31512 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31514 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31515 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31517 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31520 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31521 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31523 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31524 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31526 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31527 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31529 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31532 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31533 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31535 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31538 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31539 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31541 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31542 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31544 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31545 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31547 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31548 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31550 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31553 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31556 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31557 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31559 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31560 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31562 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31563 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31565 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31566 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31568 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31569 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31571 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31572 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31574 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31577 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31578 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31580 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31581 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31583 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31584 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31586 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31587 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31589 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31590 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31592 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31593 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31595 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31596 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31598 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31599 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31601 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31602 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31604 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31605 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31607 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31610 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31613 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31614 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31616 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31617 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31619 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31622 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31623 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31625 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31626 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31628 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31629 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31631 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31632 return (void *)((wxObject
*) ((wxSizer
*) x
));
31634 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31635 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31637 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31640 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31643 static void *_p_wxEventTo_p_wxObject(void *x
) {
31644 return (void *)((wxObject
*) ((wxEvent
*) x
));
31646 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31647 return (void *)((wxObject
*) ((wxFontData
*) x
));
31649 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31650 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31652 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31653 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31655 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31656 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31658 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31659 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31661 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31662 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31664 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31665 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31667 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31668 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31670 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31671 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31673 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31674 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31676 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31677 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31679 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31680 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31682 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31683 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31685 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31686 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31688 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31689 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31691 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31694 static void *_p_wxControlTo_p_wxObject(void *x
) {
31695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31697 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31698 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31700 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31701 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31703 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31704 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31706 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31707 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31709 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31710 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31712 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31715 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31716 return (void *)((wxObject
*) ((wxColourData
*) x
));
31718 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31719 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31721 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31722 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31724 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31727 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31730 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31733 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31736 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31739 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31742 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31745 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31748 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31751 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31754 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31755 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31757 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31758 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31760 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31761 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31763 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31764 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31766 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31767 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31769 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31772 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31773 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31775 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31776 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31778 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31779 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31781 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31782 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31784 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31785 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31787 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31788 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31790 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31791 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31793 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31794 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31796 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31797 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31799 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31800 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31802 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31803 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31805 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31806 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31808 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31809 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31811 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31812 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31814 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31815 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31817 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31818 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31820 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31821 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31823 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31824 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31826 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31827 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31829 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31830 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31832 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31833 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31835 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31838 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31841 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31842 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31844 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31845 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31847 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31850 static void *_p_wxImageTo_p_wxObject(void *x
) {
31851 return (void *)((wxObject
*) ((wxImage
*) x
));
31853 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31856 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31857 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31859 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31860 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31862 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31863 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31865 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31868 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31871 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31872 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31874 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31875 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31877 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31878 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31880 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31881 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31883 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31884 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31886 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31889 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31892 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31895 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31898 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31901 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31904 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31907 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31910 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31913 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31916 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31919 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31922 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31925 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31926 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31928 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31929 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31931 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31932 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31934 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31935 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31937 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31940 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31943 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31946 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31949 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31950 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31952 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31953 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31955 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31956 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31958 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31959 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31961 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31962 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31964 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31965 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31967 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31968 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31970 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31971 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31973 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31974 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31976 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31979 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31980 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31982 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31985 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31988 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31989 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31991 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31992 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31994 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31997 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32000 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32001 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32003 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32004 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32006 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32009 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32010 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32012 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32013 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32015 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32016 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32018 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32019 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32021 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32022 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32024 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32025 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32027 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32028 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32030 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32031 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32033 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32034 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32036 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32037 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32039 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32040 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32042 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32043 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32045 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32046 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32048 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32049 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32051 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32052 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32054 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32055 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32057 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32058 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32060 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32061 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32063 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32064 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32066 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32067 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32069 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32070 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32072 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32073 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32075 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32076 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32078 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32079 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32081 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32082 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32084 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32085 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32087 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32088 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32090 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32091 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32093 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32094 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32096 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32097 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32099 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32100 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32102 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32103 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32105 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32106 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32108 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32109 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32111 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32112 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32114 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32115 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32117 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32118 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32120 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32121 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32123 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32124 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32126 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32127 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32129 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32130 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32132 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32133 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32135 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32136 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32138 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32139 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32141 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32142 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32144 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32145 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32147 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32148 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32150 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32151 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32153 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32154 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32156 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32157 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32159 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32160 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32162 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32163 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32165 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32166 return (void *)((wxWindow
*) ((wxControl
*) x
));
32168 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32169 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32171 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32172 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32174 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32175 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32177 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32178 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32180 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32181 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32183 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32184 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32186 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32187 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32189 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32190 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32192 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32193 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32195 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32196 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32198 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32199 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32201 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32202 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32204 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32205 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32207 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32208 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32210 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32211 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32213 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32214 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32216 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32217 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32219 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32220 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32222 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32223 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32225 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32226 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32228 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32229 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32231 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32232 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32234 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32235 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32237 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32238 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32240 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32241 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32243 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32244 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32246 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32247 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32249 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32250 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32252 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32253 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32255 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32256 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32258 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32259 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32261 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32262 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32264 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32265 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32267 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32268 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32270 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32271 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32273 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32274 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32276 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32277 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32279 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32280 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32282 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32283 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32285 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32286 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32288 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32289 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32291 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32292 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32294 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32295 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32297 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32298 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32300 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32301 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32303 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32304 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32306 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32307 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32309 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32310 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32312 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32313 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32315 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32316 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32318 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32319 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32321 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32322 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32324 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32325 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32326 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};
32327 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32328 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32330 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32339 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32340 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32341 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32342 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32343 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32344 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32345 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32346 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32347 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32348 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32349 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32350 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32351 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32352 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32353 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32354 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32355 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32356 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32357 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32358 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32359 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32360 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32361 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32362 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32363 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32364 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32365 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32366 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32367 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32368 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32369 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32370 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32371 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32372 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32373 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32374 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32375 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32376 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32377 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32378 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32380 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32381 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32382 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32383 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32384 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32385 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32386 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32387 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32388 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32389 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32390 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32391 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32393 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32394 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32395 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32396 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32397 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32398 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32399 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32400 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32401 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32402 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32403 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32404 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32405 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32406 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32407 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32408 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32409 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32410 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32411 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32412 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32413 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32414 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32415 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32416 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32417 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32418 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32419 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32420 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32421 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32422 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32423 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32424 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32425 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32426 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32427 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32428 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32429 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32430 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32431 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32432 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32433 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32434 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32435 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32436 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32437 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32438 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32439 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32440 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32441 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32442 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32443 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32444 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32445 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32446 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32447 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32448 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32449 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32450 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32451 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32452 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32453 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32454 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32455 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32456 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32457 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32458 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32459 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32460 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32461 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32462 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32463 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32464 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32465 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32466 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32467 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32471 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32472 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32473 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32474 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32475 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32476 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32477 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32478 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32479 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32480 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32481 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32482 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32483 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32484 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32485 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32486 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32488 static swig_type_info
*swig_type_initial
[] = {
32491 &_swigt__p_form_ops_t
,
32493 &_swigt__p_unsigned_char
,
32494 &_swigt__p_unsigned_int
,
32495 &_swigt__p_unsigned_long
,
32496 &_swigt__p_wxANIHandler
,
32497 &_swigt__p_wxAcceleratorTable
,
32498 &_swigt__p_wxActivateEvent
,
32499 &_swigt__p_wxArrayInt
,
32500 &_swigt__p_wxBMPHandler
,
32501 &_swigt__p_wxBitmap
,
32502 &_swigt__p_wxBoxSizer
,
32503 &_swigt__p_wxCURHandler
,
32504 &_swigt__p_wxCalculateLayoutEvent
,
32505 &_swigt__p_wxChildFocusEvent
,
32506 &_swigt__p_wxClipboardTextEvent
,
32507 &_swigt__p_wxCloseEvent
,
32508 &_swigt__p_wxColour
,
32509 &_swigt__p_wxColourData
,
32510 &_swigt__p_wxColourDialog
,
32511 &_swigt__p_wxCommandEvent
,
32512 &_swigt__p_wxContextMenuEvent
,
32513 &_swigt__p_wxControl
,
32514 &_swigt__p_wxControlWithItems
,
32516 &_swigt__p_wxDateEvent
,
32517 &_swigt__p_wxDialog
,
32518 &_swigt__p_wxDirDialog
,
32519 &_swigt__p_wxDisplayChangedEvent
,
32520 &_swigt__p_wxDropFilesEvent
,
32521 &_swigt__p_wxDuplexMode
,
32522 &_swigt__p_wxEraseEvent
,
32523 &_swigt__p_wxEvent
,
32524 &_swigt__p_wxEvtHandler
,
32525 &_swigt__p_wxFSFile
,
32526 &_swigt__p_wxFileDialog
,
32527 &_swigt__p_wxFileSystem
,
32528 &_swigt__p_wxFindDialogEvent
,
32529 &_swigt__p_wxFindReplaceData
,
32530 &_swigt__p_wxFindReplaceDialog
,
32531 &_swigt__p_wxFlexGridSizer
,
32532 &_swigt__p_wxFocusEvent
,
32534 &_swigt__p_wxFontData
,
32535 &_swigt__p_wxFontDialog
,
32536 &_swigt__p_wxFrame
,
32537 &_swigt__p_wxGBSizerItem
,
32538 &_swigt__p_wxGIFHandler
,
32539 &_swigt__p_wxGridBagSizer
,
32540 &_swigt__p_wxGridSizer
,
32541 &_swigt__p_wxHtmlLinkInfo
,
32542 &_swigt__p_wxICOHandler
,
32544 &_swigt__p_wxIconBundle
,
32545 &_swigt__p_wxIconizeEvent
,
32546 &_swigt__p_wxIdleEvent
,
32547 &_swigt__p_wxImage
,
32548 &_swigt__p_wxImageHandler
,
32549 &_swigt__p_wxIndividualLayoutConstraint
,
32550 &_swigt__p_wxInitDialogEvent
,
32551 &_swigt__p_wxJPEGHandler
,
32552 &_swigt__p_wxKeyEvent
,
32553 &_swigt__p_wxLayoutAlgorithm
,
32554 &_swigt__p_wxLayoutConstraints
,
32555 &_swigt__p_wxMDIChildFrame
,
32556 &_swigt__p_wxMDIClientWindow
,
32557 &_swigt__p_wxMDIParentFrame
,
32558 &_swigt__p_wxMaximizeEvent
,
32560 &_swigt__p_wxMenuBar
,
32561 &_swigt__p_wxMenuEvent
,
32562 &_swigt__p_wxMenuItem
,
32563 &_swigt__p_wxMessageDialog
,
32564 &_swigt__p_wxMiniFrame
,
32565 &_swigt__p_wxMouseCaptureChangedEvent
,
32566 &_swigt__p_wxMouseEvent
,
32567 &_swigt__p_wxMoveEvent
,
32568 &_swigt__p_wxMultiChoiceDialog
,
32569 &_swigt__p_wxNavigationKeyEvent
,
32570 &_swigt__p_wxNcPaintEvent
,
32571 &_swigt__p_wxNotifyEvent
,
32572 &_swigt__p_wxObject
,
32573 &_swigt__p_wxPCXHandler
,
32574 &_swigt__p_wxPNGHandler
,
32575 &_swigt__p_wxPNMHandler
,
32576 &_swigt__p_wxPageSetupDialog
,
32577 &_swigt__p_wxPageSetupDialogData
,
32578 &_swigt__p_wxPaintEvent
,
32579 &_swigt__p_wxPaletteChangedEvent
,
32580 &_swigt__p_wxPanel
,
32581 &_swigt__p_wxPaperSize
,
32582 &_swigt__p_wxPasswordEntryDialog
,
32583 &_swigt__p_wxPoint
,
32584 &_swigt__p_wxPopupWindow
,
32585 &_swigt__p_wxPreviewCanvas
,
32586 &_swigt__p_wxPreviewControlBar
,
32587 &_swigt__p_wxPreviewFrame
,
32588 &_swigt__p_wxPrintData
,
32589 &_swigt__p_wxPrintDialog
,
32590 &_swigt__p_wxPrintDialogData
,
32591 &_swigt__p_wxPrintPreview
,
32592 &_swigt__p_wxPrinter
,
32593 &_swigt__p_wxProgressDialog
,
32594 &_swigt__p_wxPyApp
,
32595 &_swigt__p_wxPyCommandEvent
,
32596 &_swigt__p_wxPyEvent
,
32597 &_swigt__p_wxPyHtmlListBox
,
32598 &_swigt__p_wxPyImageHandler
,
32599 &_swigt__p_wxPyPanel
,
32600 &_swigt__p_wxPyPopupTransientWindow
,
32601 &_swigt__p_wxPyPreviewControlBar
,
32602 &_swigt__p_wxPyPreviewFrame
,
32603 &_swigt__p_wxPyPrintPreview
,
32604 &_swigt__p_wxPyPrintout
,
32605 &_swigt__p_wxPyScrolledWindow
,
32606 &_swigt__p_wxPySizer
,
32607 &_swigt__p_wxPyTaskBarIcon
,
32608 &_swigt__p_wxPyVListBox
,
32609 &_swigt__p_wxPyVScrolledWindow
,
32610 &_swigt__p_wxPyValidator
,
32611 &_swigt__p_wxPyWindow
,
32612 &_swigt__p_wxQueryLayoutInfoEvent
,
32613 &_swigt__p_wxQueryNewPaletteEvent
,
32615 &_swigt__p_wxRegion
,
32616 &_swigt__p_wxSashEvent
,
32617 &_swigt__p_wxSashLayoutWindow
,
32618 &_swigt__p_wxSashWindow
,
32619 &_swigt__p_wxScrollEvent
,
32620 &_swigt__p_wxScrollWinEvent
,
32621 &_swigt__p_wxScrolledWindow
,
32622 &_swigt__p_wxSetCursorEvent
,
32623 &_swigt__p_wxShowEvent
,
32624 &_swigt__p_wxSingleChoiceDialog
,
32626 &_swigt__p_wxSizeEvent
,
32627 &_swigt__p_wxSizer
,
32628 &_swigt__p_wxSizerItem
,
32629 &_swigt__p_wxSplashScreen
,
32630 &_swigt__p_wxSplashScreenWindow
,
32631 &_swigt__p_wxSplitterEvent
,
32632 &_swigt__p_wxSplitterWindow
,
32633 &_swigt__p_wxStaticBoxSizer
,
32634 &_swigt__p_wxStatusBar
,
32635 &_swigt__p_wxStdDialogButtonSizer
,
32636 &_swigt__p_wxString
,
32637 &_swigt__p_wxSysColourChangedEvent
,
32638 &_swigt__p_wxTIFFHandler
,
32639 &_swigt__p_wxTaskBarIcon
,
32640 &_swigt__p_wxTaskBarIconEvent
,
32641 &_swigt__p_wxTextEntryDialog
,
32642 &_swigt__p_wxTipWindow
,
32643 &_swigt__p_wxToolBar
,
32644 &_swigt__p_wxTopLevelWindow
,
32645 &_swigt__p_wxUpdateUIEvent
,
32646 &_swigt__p_wxValidator
,
32647 &_swigt__p_wxVisualAttributes
,
32648 &_swigt__p_wxWindow
,
32649 &_swigt__p_wxWindowCreateEvent
,
32650 &_swigt__p_wxWindowDestroyEvent
,
32651 &_swigt__p_wxXPMHandler
,
32654 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32656 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32676 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}};
32677 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32678 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_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32681 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32682 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32706 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_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_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}};
32707 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32712 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_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_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_wxFileDialog
, _p_wxFileDialogTo_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_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_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}};
32713 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32716 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32721 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}};
32722 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32734 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}};
32735 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32738 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32739 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32748 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32762 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32763 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_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_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_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_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_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_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_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_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_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_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}};
32764 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32765 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32766 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}};
32767 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32768 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32769 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32770 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}};
32771 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32772 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}};
32773 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}};
32774 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32775 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32776 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32777 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}};
32778 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32779 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32781 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32782 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}};
32783 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32784 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32785 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32786 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32787 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32789 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}};
32790 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}};
32791 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32792 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32793 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32794 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32795 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32796 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32797 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}};
32798 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32799 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}};
32800 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32803 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32804 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32807 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32808 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32809 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32810 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32811 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}};
32812 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32813 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32814 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_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}};
32815 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32816 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_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}};
32818 static swig_cast_info
*swig_cast_initial
[] = {
32821 _swigc__p_form_ops_t
,
32823 _swigc__p_unsigned_char
,
32824 _swigc__p_unsigned_int
,
32825 _swigc__p_unsigned_long
,
32826 _swigc__p_wxANIHandler
,
32827 _swigc__p_wxAcceleratorTable
,
32828 _swigc__p_wxActivateEvent
,
32829 _swigc__p_wxArrayInt
,
32830 _swigc__p_wxBMPHandler
,
32831 _swigc__p_wxBitmap
,
32832 _swigc__p_wxBoxSizer
,
32833 _swigc__p_wxCURHandler
,
32834 _swigc__p_wxCalculateLayoutEvent
,
32835 _swigc__p_wxChildFocusEvent
,
32836 _swigc__p_wxClipboardTextEvent
,
32837 _swigc__p_wxCloseEvent
,
32838 _swigc__p_wxColour
,
32839 _swigc__p_wxColourData
,
32840 _swigc__p_wxColourDialog
,
32841 _swigc__p_wxCommandEvent
,
32842 _swigc__p_wxContextMenuEvent
,
32843 _swigc__p_wxControl
,
32844 _swigc__p_wxControlWithItems
,
32846 _swigc__p_wxDateEvent
,
32847 _swigc__p_wxDialog
,
32848 _swigc__p_wxDirDialog
,
32849 _swigc__p_wxDisplayChangedEvent
,
32850 _swigc__p_wxDropFilesEvent
,
32851 _swigc__p_wxDuplexMode
,
32852 _swigc__p_wxEraseEvent
,
32854 _swigc__p_wxEvtHandler
,
32855 _swigc__p_wxFSFile
,
32856 _swigc__p_wxFileDialog
,
32857 _swigc__p_wxFileSystem
,
32858 _swigc__p_wxFindDialogEvent
,
32859 _swigc__p_wxFindReplaceData
,
32860 _swigc__p_wxFindReplaceDialog
,
32861 _swigc__p_wxFlexGridSizer
,
32862 _swigc__p_wxFocusEvent
,
32864 _swigc__p_wxFontData
,
32865 _swigc__p_wxFontDialog
,
32867 _swigc__p_wxGBSizerItem
,
32868 _swigc__p_wxGIFHandler
,
32869 _swigc__p_wxGridBagSizer
,
32870 _swigc__p_wxGridSizer
,
32871 _swigc__p_wxHtmlLinkInfo
,
32872 _swigc__p_wxICOHandler
,
32874 _swigc__p_wxIconBundle
,
32875 _swigc__p_wxIconizeEvent
,
32876 _swigc__p_wxIdleEvent
,
32878 _swigc__p_wxImageHandler
,
32879 _swigc__p_wxIndividualLayoutConstraint
,
32880 _swigc__p_wxInitDialogEvent
,
32881 _swigc__p_wxJPEGHandler
,
32882 _swigc__p_wxKeyEvent
,
32883 _swigc__p_wxLayoutAlgorithm
,
32884 _swigc__p_wxLayoutConstraints
,
32885 _swigc__p_wxMDIChildFrame
,
32886 _swigc__p_wxMDIClientWindow
,
32887 _swigc__p_wxMDIParentFrame
,
32888 _swigc__p_wxMaximizeEvent
,
32890 _swigc__p_wxMenuBar
,
32891 _swigc__p_wxMenuEvent
,
32892 _swigc__p_wxMenuItem
,
32893 _swigc__p_wxMessageDialog
,
32894 _swigc__p_wxMiniFrame
,
32895 _swigc__p_wxMouseCaptureChangedEvent
,
32896 _swigc__p_wxMouseEvent
,
32897 _swigc__p_wxMoveEvent
,
32898 _swigc__p_wxMultiChoiceDialog
,
32899 _swigc__p_wxNavigationKeyEvent
,
32900 _swigc__p_wxNcPaintEvent
,
32901 _swigc__p_wxNotifyEvent
,
32902 _swigc__p_wxObject
,
32903 _swigc__p_wxPCXHandler
,
32904 _swigc__p_wxPNGHandler
,
32905 _swigc__p_wxPNMHandler
,
32906 _swigc__p_wxPageSetupDialog
,
32907 _swigc__p_wxPageSetupDialogData
,
32908 _swigc__p_wxPaintEvent
,
32909 _swigc__p_wxPaletteChangedEvent
,
32911 _swigc__p_wxPaperSize
,
32912 _swigc__p_wxPasswordEntryDialog
,
32914 _swigc__p_wxPopupWindow
,
32915 _swigc__p_wxPreviewCanvas
,
32916 _swigc__p_wxPreviewControlBar
,
32917 _swigc__p_wxPreviewFrame
,
32918 _swigc__p_wxPrintData
,
32919 _swigc__p_wxPrintDialog
,
32920 _swigc__p_wxPrintDialogData
,
32921 _swigc__p_wxPrintPreview
,
32922 _swigc__p_wxPrinter
,
32923 _swigc__p_wxProgressDialog
,
32925 _swigc__p_wxPyCommandEvent
,
32926 _swigc__p_wxPyEvent
,
32927 _swigc__p_wxPyHtmlListBox
,
32928 _swigc__p_wxPyImageHandler
,
32929 _swigc__p_wxPyPanel
,
32930 _swigc__p_wxPyPopupTransientWindow
,
32931 _swigc__p_wxPyPreviewControlBar
,
32932 _swigc__p_wxPyPreviewFrame
,
32933 _swigc__p_wxPyPrintPreview
,
32934 _swigc__p_wxPyPrintout
,
32935 _swigc__p_wxPyScrolledWindow
,
32936 _swigc__p_wxPySizer
,
32937 _swigc__p_wxPyTaskBarIcon
,
32938 _swigc__p_wxPyVListBox
,
32939 _swigc__p_wxPyVScrolledWindow
,
32940 _swigc__p_wxPyValidator
,
32941 _swigc__p_wxPyWindow
,
32942 _swigc__p_wxQueryLayoutInfoEvent
,
32943 _swigc__p_wxQueryNewPaletteEvent
,
32945 _swigc__p_wxRegion
,
32946 _swigc__p_wxSashEvent
,
32947 _swigc__p_wxSashLayoutWindow
,
32948 _swigc__p_wxSashWindow
,
32949 _swigc__p_wxScrollEvent
,
32950 _swigc__p_wxScrollWinEvent
,
32951 _swigc__p_wxScrolledWindow
,
32952 _swigc__p_wxSetCursorEvent
,
32953 _swigc__p_wxShowEvent
,
32954 _swigc__p_wxSingleChoiceDialog
,
32956 _swigc__p_wxSizeEvent
,
32958 _swigc__p_wxSizerItem
,
32959 _swigc__p_wxSplashScreen
,
32960 _swigc__p_wxSplashScreenWindow
,
32961 _swigc__p_wxSplitterEvent
,
32962 _swigc__p_wxSplitterWindow
,
32963 _swigc__p_wxStaticBoxSizer
,
32964 _swigc__p_wxStatusBar
,
32965 _swigc__p_wxStdDialogButtonSizer
,
32966 _swigc__p_wxString
,
32967 _swigc__p_wxSysColourChangedEvent
,
32968 _swigc__p_wxTIFFHandler
,
32969 _swigc__p_wxTaskBarIcon
,
32970 _swigc__p_wxTaskBarIconEvent
,
32971 _swigc__p_wxTextEntryDialog
,
32972 _swigc__p_wxTipWindow
,
32973 _swigc__p_wxToolBar
,
32974 _swigc__p_wxTopLevelWindow
,
32975 _swigc__p_wxUpdateUIEvent
,
32976 _swigc__p_wxValidator
,
32977 _swigc__p_wxVisualAttributes
,
32978 _swigc__p_wxWindow
,
32979 _swigc__p_wxWindowCreateEvent
,
32980 _swigc__p_wxWindowDestroyEvent
,
32981 _swigc__p_wxXPMHandler
,
32985 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32987 static swig_const_info swig_const_table
[] = {
32988 {0, 0, 0, 0.0, 0, 0}};
32993 /* -----------------------------------------------------------------------------
32994 * Type initialization:
32995 * This problem is tough by the requirement that no dynamic
32996 * memory is used. Also, since swig_type_info structures store pointers to
32997 * swig_cast_info structures and swig_cast_info structures store pointers back
32998 * to swig_type_info structures, we need some lookup code at initialization.
32999 * The idea is that swig generates all the structures that are needed.
33000 * The runtime then collects these partially filled structures.
33001 * The SWIG_InitializeModule function takes these initial arrays out of
33002 * swig_module, and does all the lookup, filling in the swig_module.types
33003 * array with the correct data and linking the correct swig_cast_info
33004 * structures together.
33006 * The generated swig_type_info structures are assigned staticly to an initial
33007 * array. We just loop though that array, and handle each type individually.
33008 * First we lookup if this type has been already loaded, and if so, use the
33009 * loaded structure instead of the generated one. Then we have to fill in the
33010 * cast linked list. The cast data is initially stored in something like a
33011 * two-dimensional array. Each row corresponds to a type (there are the same
33012 * number of rows as there are in the swig_type_initial array). Each entry in
33013 * a column is one of the swig_cast_info structures for that type.
33014 * The cast_initial array is actually an array of arrays, because each row has
33015 * a variable number of columns. So to actually build the cast linked list,
33016 * we find the array of casts associated with the type, and loop through it
33017 * adding the casts to the list. The one last trick we need to do is making
33018 * sure the type pointer in the swig_cast_info struct is correct.
33020 * First off, we lookup the cast->type name to see if it is already loaded.
33021 * There are three cases to handle:
33022 * 1) If the cast->type has already been loaded AND the type we are adding
33023 * casting info to has not been loaded (it is in this module), THEN we
33024 * replace the cast->type pointer with the type pointer that has already
33026 * 2) If BOTH types (the one we are adding casting info to, and the
33027 * cast->type) are loaded, THEN the cast info has already been loaded by
33028 * the previous module so we just ignore it.
33029 * 3) Finally, if cast->type has not already been loaded, then we add that
33030 * swig_cast_info to the linked list (because the cast->type) pointer will
33032 * ----------------------------------------------------------------------------- */
33042 #define SWIGRUNTIME_DEBUG
33046 SWIG_InitializeModule(void *clientdata
) {
33048 swig_module_info
*module_head
;
33049 static int init_run
= 0;
33051 clientdata
= clientdata
;
33053 if (init_run
) return;
33056 /* Initialize the swig_module */
33057 swig_module
.type_initial
= swig_type_initial
;
33058 swig_module
.cast_initial
= swig_cast_initial
;
33060 /* Try and load any already created modules */
33061 module_head
= SWIG_GetModule(clientdata
);
33063 swig_module
.next
= module_head
->next
;
33064 module_head
->next
= &swig_module
;
33066 /* This is the first module loaded */
33067 swig_module
.next
= &swig_module
;
33068 SWIG_SetModule(clientdata
, &swig_module
);
33071 /* Now work on filling in swig_module.types */
33072 #ifdef SWIGRUNTIME_DEBUG
33073 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33075 for (i
= 0; i
< swig_module
.size
; ++i
) {
33076 swig_type_info
*type
= 0;
33077 swig_type_info
*ret
;
33078 swig_cast_info
*cast
;
33080 #ifdef SWIGRUNTIME_DEBUG
33081 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33084 /* if there is another module already loaded */
33085 if (swig_module
.next
!= &swig_module
) {
33086 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33089 /* Overwrite clientdata field */
33090 #ifdef SWIGRUNTIME_DEBUG
33091 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33093 if (swig_module
.type_initial
[i
]->clientdata
) {
33094 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33095 #ifdef SWIGRUNTIME_DEBUG
33096 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33100 type
= swig_module
.type_initial
[i
];
33103 /* Insert casting types */
33104 cast
= swig_module
.cast_initial
[i
];
33105 while (cast
->type
) {
33106 /* Don't need to add information already in the list */
33108 #ifdef SWIGRUNTIME_DEBUG
33109 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33111 if (swig_module
.next
!= &swig_module
) {
33112 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33113 #ifdef SWIGRUNTIME_DEBUG
33114 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33118 if (type
== swig_module
.type_initial
[i
]) {
33119 #ifdef SWIGRUNTIME_DEBUG
33120 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33125 /* Check for casting already in the list */
33126 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33127 #ifdef SWIGRUNTIME_DEBUG
33128 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33130 if (!ocast
) ret
= 0;
33135 #ifdef SWIGRUNTIME_DEBUG
33136 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33139 type
->cast
->prev
= cast
;
33140 cast
->next
= type
->cast
;
33146 /* Set entry in modules->types array equal to the type */
33147 swig_module
.types
[i
] = type
;
33149 swig_module
.types
[i
] = 0;
33151 #ifdef SWIGRUNTIME_DEBUG
33152 printf("**** SWIG_InitializeModule: Cast List ******\n");
33153 for (i
= 0; i
< swig_module
.size
; ++i
) {
33155 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33156 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33157 while (cast
->type
) {
33158 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33162 printf("---- Total casts: %d\n",j
);
33164 printf("**** SWIG_InitializeModule: Cast List ******\n");
33168 /* This function will propagate the clientdata field of type to
33169 * any new swig_type_info structures that have been added into the list
33170 * of equivalent types. It is like calling
33171 * SWIG_TypeClientData(type, clientdata) a second time.
33174 SWIG_PropagateClientData(void) {
33176 swig_cast_info
*equiv
;
33177 static int init_run
= 0;
33179 if (init_run
) return;
33182 for (i
= 0; i
< swig_module
.size
; i
++) {
33183 if (swig_module
.types
[i
]->clientdata
) {
33184 equiv
= swig_module
.types
[i
]->cast
;
33186 if (!equiv
->converter
) {
33187 if (equiv
->type
&& !equiv
->type
->clientdata
)
33188 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33190 equiv
= equiv
->next
;
33210 /* Python-specific SWIG API */
33211 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33212 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33213 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33215 /* -----------------------------------------------------------------------------
33216 * global variable support code.
33217 * ----------------------------------------------------------------------------- */
33219 typedef struct swig_globalvar
{
33220 char *name
; /* Name of global variable */
33221 PyObject
*(*get_attr
)(void); /* Return the current value */
33222 int (*set_attr
)(PyObject
*); /* Set the value */
33223 struct swig_globalvar
*next
;
33226 typedef struct swig_varlinkobject
{
33228 swig_globalvar
*vars
;
33229 } swig_varlinkobject
;
33231 SWIGINTERN PyObject
*
33232 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33233 return PyString_FromString("<Swig global variables>");
33236 SWIGINTERN PyObject
*
33237 swig_varlink_str(swig_varlinkobject
*v
) {
33238 PyObject
*str
= PyString_FromString("(");
33239 swig_globalvar
*var
;
33240 for (var
= v
->vars
; var
; var
=var
->next
) {
33241 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33242 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33244 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33249 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33250 PyObject
*str
= swig_varlink_str(v
);
33251 fprintf(fp
,"Swig global variables ");
33252 fprintf(fp
,"%s\n", PyString_AsString(str
));
33258 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33259 swig_globalvar
*var
= v
->vars
;
33261 swig_globalvar
*n
= var
->next
;
33268 SWIGINTERN PyObject
*
33269 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33270 PyObject
*res
= NULL
;
33271 swig_globalvar
*var
= v
->vars
;
33273 if (strcmp(var
->name
,n
) == 0) {
33274 res
= (*var
->get_attr
)();
33279 if (res
== NULL
&& !PyErr_Occurred()) {
33280 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33286 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33288 swig_globalvar
*var
= v
->vars
;
33290 if (strcmp(var
->name
,n
) == 0) {
33291 res
= (*var
->set_attr
)(p
);
33296 if (res
== 1 && !PyErr_Occurred()) {
33297 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33302 SWIGINTERN PyTypeObject
*
33303 swig_varlink_type(void) {
33304 static char varlink__doc__
[] = "Swig var link object";
33305 static PyTypeObject varlink_type
;
33306 static int type_init
= 0;
33308 const PyTypeObject tmp
33310 PyObject_HEAD_INIT(NULL
)
33311 0, /* Number of items in variable part (ob_size) */
33312 (char *)"swigvarlink", /* Type name (tp_name) */
33313 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33314 0, /* Itemsize (tp_itemsize) */
33315 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33316 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33317 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33318 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33319 0, /* tp_compare */
33320 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33321 0, /* tp_as_number */
33322 0, /* tp_as_sequence */
33323 0, /* tp_as_mapping */
33326 (reprfunc
)swig_varlink_str
, /* tp_str */
33327 0, /* tp_getattro */
33328 0, /* tp_setattro */
33329 0, /* tp_as_buffer */
33331 varlink__doc__
, /* tp_doc */
33332 0, /* tp_traverse */
33334 0, /* tp_richcompare */
33335 0, /* tp_weaklistoffset */
33336 #if PY_VERSION_HEX >= 0x02020000
33337 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33339 #if PY_VERSION_HEX >= 0x02030000
33342 #ifdef COUNT_ALLOCS
33343 0,0,0,0 /* tp_alloc -> tp_next */
33346 varlink_type
= tmp
;
33347 varlink_type
.ob_type
= &PyType_Type
;
33350 return &varlink_type
;
33353 /* Create a variable linking object for use later */
33354 SWIGINTERN PyObject
*
33355 SWIG_Python_newvarlink(void) {
33356 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33360 return ((PyObject
*) result
);
33364 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33365 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33366 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33368 size_t size
= strlen(name
)+1;
33369 gv
->name
= (char *)malloc(size
);
33371 strncpy(gv
->name
,name
,size
);
33372 gv
->get_attr
= get_attr
;
33373 gv
->set_attr
= set_attr
;
33374 gv
->next
= v
->vars
;
33380 SWIGINTERN PyObject
*
33382 static PyObject
*_SWIG_globals
= 0;
33383 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33384 return _SWIG_globals
;
33387 /* -----------------------------------------------------------------------------
33388 * constants/methods manipulation
33389 * ----------------------------------------------------------------------------- */
33391 /* Install Constants */
33393 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33396 for (i
= 0; constants
[i
].type
; ++i
) {
33397 switch(constants
[i
].type
) {
33398 case SWIG_PY_POINTER
:
33399 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33401 case SWIG_PY_BINARY
:
33402 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33409 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33415 /* -----------------------------------------------------------------------------*/
33416 /* Fix SwigMethods to carry the callback ptrs when needed */
33417 /* -----------------------------------------------------------------------------*/
33420 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33421 swig_const_info
*const_table
,
33422 swig_type_info
**types
,
33423 swig_type_info
**types_initial
) {
33425 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33426 char *c
= methods
[i
].ml_doc
;
33427 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33429 swig_const_info
*ci
= 0;
33430 char *name
= c
+ 10;
33431 for (j
= 0; const_table
[j
].type
; ++j
) {
33432 if (strncmp(const_table
[j
].name
, name
,
33433 strlen(const_table
[j
].name
)) == 0) {
33434 ci
= &(const_table
[j
]);
33439 size_t shift
= (ci
->ptype
) - types
;
33440 swig_type_info
*ty
= types_initial
[shift
];
33441 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33442 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33443 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33446 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33448 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33450 strncpy(buff
, "swig_ptr: ", 10);
33452 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33453 methods
[i
].ml_doc
= ndoc
;
33465 /* -----------------------------------------------------------------------------*
33466 * Partial Init method
33467 * -----------------------------------------------------------------------------*/
33472 SWIGEXPORT
void SWIG_init(void) {
33475 /* Fix SwigMethods to carry the callback ptrs when needed */
33476 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33478 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33479 d
= PyModule_GetDict(m
);
33481 SWIG_InitializeModule(0);
33482 SWIG_InstallConstants(d
,swig_const_table
);
33485 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33486 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33487 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33488 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33489 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33490 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33491 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33492 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33493 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33494 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33495 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33496 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33497 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33498 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33499 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33500 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33501 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33502 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33503 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33504 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33505 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33506 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33507 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33508 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33509 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33510 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33511 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33512 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33513 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33514 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33515 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33516 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33517 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33518 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33519 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33520 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33521 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33522 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33523 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33524 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33525 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33526 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33527 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33528 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33529 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33530 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33531 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33532 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33533 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33534 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33535 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33536 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33537 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33538 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33539 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33540 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33541 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33542 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33543 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33544 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33545 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33546 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33547 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33548 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33549 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33550 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33551 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33552 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33553 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33554 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33555 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33556 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33557 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33558 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33559 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33560 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33561 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33562 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33563 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33564 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33565 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33566 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33567 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33568 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33569 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33570 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33571 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33572 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33573 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33574 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33575 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33576 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33577 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33578 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33579 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33580 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33581 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33582 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33583 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33584 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33585 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33586 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33588 // Map renamed classes back to their common name for OOR
33589 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33590 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33591 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33593 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33594 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33595 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33596 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33597 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33598 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33599 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33600 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33601 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33602 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33603 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33604 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33605 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33606 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33607 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33608 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33609 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33610 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33611 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33612 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33613 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33614 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33615 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33616 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33617 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33618 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33619 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33620 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33621 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33622 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33623 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33624 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33625 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33626 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33627 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33628 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33629 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33630 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33631 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33632 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33633 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33634 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33635 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33636 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33637 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33638 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33639 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33640 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33641 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33642 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33643 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33644 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33645 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33646 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33647 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33648 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33649 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33650 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33651 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33652 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33653 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33654 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33655 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33656 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33657 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33658 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33659 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33660 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33661 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33662 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33663 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33664 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33665 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33666 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33667 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33668 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33669 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33670 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33671 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33672 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33673 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33674 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33675 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33676 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33677 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33678 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33679 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33680 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33681 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33682 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33683 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33684 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33685 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33686 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33687 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33689 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");