1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewCanvas swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewControlBar swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewFrame swig_types[103]
2570 #define SWIGTYPE_p_wxPrintData swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialogData swig_types[106]
2573 #define SWIGTYPE_p_wxPrintPreview swig_types[107]
2574 #define SWIGTYPE_p_wxPrinter swig_types[108]
2575 #define SWIGTYPE_p_wxProgressDialog swig_types[109]
2576 #define SWIGTYPE_p_wxPyApp swig_types[110]
2577 #define SWIGTYPE_p_wxPyCommandEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[113]
2580 #define SWIGTYPE_p_wxPyImageHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPyPanel swig_types[115]
2582 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117]
2584 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintPreview swig_types[119]
2586 #define SWIGTYPE_p_wxPyPrintout swig_types[120]
2587 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123]
2590 #define SWIGTYPE_p_wxPyVListBox swig_types[124]
2591 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxPyWindow swig_types[127]
2594 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxSashEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSashWindow swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrolledWindow swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140]
2607 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141]
2608 #define SWIGTYPE_p_wxSize swig_types[142]
2609 #define SWIGTYPE_p_wxSizeEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxSizerItem swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreen swig_types[146]
2613 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSplitterWindow swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStatusBar swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIcon swig_types[157]
2624 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158]
2625 #define SWIGTYPE_p_wxTextEntryDialog swig_types[159]
2626 #define SWIGTYPE_p_wxTipWindow swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxTopLevelWindow swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _windows_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_windows_
2663 #define SWIG_name "_windows_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2746 # define LLONG_MIN LONG_LONG_MIN
2749 # define LLONG_MAX LONG_LONG_MAX
2752 # define ULLONG_MAX ULONG_LONG_MAX
2757 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2759 if (PyNumber_Check(obj
)) {
2760 if (val
) *val
= PyInt_AsLong(obj
);
2763 return SWIG_TypeError
;
2768 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2771 int res
= SWIG_AsVal_long (obj
, &v
);
2772 if (SWIG_IsOK(res
)) {
2773 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2774 return SWIG_OverflowError
;
2776 if (val
) *val
= static_cast< int >(v
);
2784 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2786 if (obj
== Py_True
) {
2787 if (val
) *val
= true;
2789 } else if (obj
== Py_False
) {
2790 if (val
) *val
= false;
2794 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2795 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2801 #define SWIG_From_long PyInt_FromLong
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_int (int value
)
2807 return SWIG_From_long (value
);
2812 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2814 if (PyNumber_Check(obj
)) {
2815 if (val
) *val
= PyFloat_AsDouble(obj
);
2818 return SWIG_TypeError
;
2822 #define SWIG_From_double PyFloat_FromDouble
2824 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2825 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2826 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2827 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2828 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2829 int style
= self
->GetExtraStyle();
2831 style
|= wxFRAME_EX_METAL
;
2833 style
&= ~wxFRAME_EX_METAL
;
2834 self
->SetExtraStyle(style
);
2837 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2841 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2843 self
->GetFieldRect(i
, r
);
2846 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2847 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2848 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2850 #include <wx/popupwin.h>
2853 class wxPopupWindow
: public wxWindow
{
2855 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2856 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2859 class wxPyPopupTransientWindow
: public wxPopupWindow
2862 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2863 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2867 #include <wx/tipwin.h>
2869 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2870 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2873 #include <wx/tipwin.h>
2876 #include <wx/vscroll.h>
2879 class wxPyVScrolledWindow
: public wxVScrolledWindow
2881 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2883 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2885 wxPyVScrolledWindow(wxWindow
*parent
,
2886 wxWindowID id
= wxID_ANY
,
2887 const wxPoint
& pos
= wxDefaultPosition
,
2888 const wxSize
& size
= wxDefaultSize
,
2890 const wxString
& name
= wxPyPanelNameStr
)
2891 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2894 // Overridable virtuals
2896 // this function must be overridden in the derived class and it should
2897 // return the height of the given line in pixels
2898 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2901 // this function doesn't have to be overridden but it may be useful to do
2902 // it if calculating the lines heights is a relatively expensive operation
2903 // as it gives the user code a possibility to calculate several of them at
2906 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2907 // shouldn't rely on the latter being called for all lines in the interval
2908 // specified here. It is also possible that OnGetLineHeight() will be
2909 // called for the lines outside of this interval, so this is really just a
2910 // hint, not a promise.
2912 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2914 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2917 // when the number of lines changes, we try to estimate the total height
2918 // of all lines which is a rather expensive operation in terms of lines
2919 // access, so if the user code may estimate the average height
2920 // better/faster than we do, it should override this function to implement
2923 // this function should return the best guess for the total height it may
2925 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2928 // Also expose some other interesting protected methods
2931 // find the index of the line we need to show at the top of the window such
2932 // that the last (fully or partially) visible line is the given one
2933 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2934 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2936 // get the total height of the lines between lineMin (inclusive) and
2937 // lineMax (exclusive)
2938 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2939 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2941 // update the thumb size shown by the scrollbar
2942 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2944 // remove the scrollbar completely because we don't need it
2945 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2950 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2952 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2953 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2954 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2958 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2961 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2962 return SWIG_TypeError
;
2965 *val
= (unsigned long)v
;
2970 SWIGINTERNINLINE
int
2971 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2974 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2975 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2980 SWIGINTERNINLINE PyObject
*
2981 SWIG_From_unsigned_SS_long (unsigned long value
)
2983 return (value
> LONG_MAX
) ?
2984 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2988 SWIGINTERNINLINE PyObject
*
2989 SWIG_From_size_t (size_t value
)
2991 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2995 #include <wx/vlbox.h>
2997 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2999 class wxPyVListBox
: public wxVListBox
3001 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3003 wxPyVListBox() : wxVListBox() {}
3005 wxPyVListBox(wxWindow
*parent
,
3006 wxWindowID id
= wxID_ANY
,
3007 const wxPoint
& pos
= wxDefaultPosition
,
3008 const wxSize
& size
= wxDefaultSize
,
3010 const wxString
& name
= wxPyVListBoxNameStr
)
3011 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3014 // Overridable virtuals
3016 // the derived class must implement this function to actually draw the item
3017 // with the given index on the provided DC
3018 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3019 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3022 // the derived class must implement this method to return the height of the
3024 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3025 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3028 // this method may be used to draw separators between the lines; note that
3029 // the rectangle may be modified, typically to deflate it a bit before
3030 // passing to OnDrawItem()
3032 // the base class version doesn't do anything
3033 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3034 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3037 // this method is used to draw the items background and, maybe, a border
3040 // the base class version implements a reasonable default behaviour which
3041 // consists in drawing the selected item with the standard background
3042 // colour and drawing a border around the item if it is either selected or
3044 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3045 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3051 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3053 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3054 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3055 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3056 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3059 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3060 unsigned long cookie
= 0;
3061 int selected
= self
->GetFirstSelected(cookie
);
3062 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3063 PyObject
* tup
= PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3065 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3066 wxPyEndBlockThreads(blocked
);
3069 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3070 int selected
= self
->GetNextSelected(cookie
);
3071 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3072 PyObject
* tup
= PyTuple_New(2);
3073 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3074 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3075 wxPyEndBlockThreads(blocked
);
3079 #include <wx/htmllbox.h>
3082 class wxPyHtmlListBox
: public wxHtmlListBox
3084 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3086 wxPyHtmlListBox() : wxHtmlListBox() {}
3088 wxPyHtmlListBox(wxWindow
*parent
,
3089 wxWindowID id
= wxID_ANY
,
3090 const wxPoint
& pos
= wxDefaultPosition
,
3091 const wxSize
& size
= wxDefaultSize
,
3093 const wxString
& name
= wxPyVListBoxNameStr
)
3094 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3097 // Overridable virtuals
3099 // this method must be implemented in the derived class and should return
3100 // the body (i.e. without <html>) of the HTML for the given item
3101 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3103 // this function may be overridden to decorate HTML returned by OnGetItem()
3104 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3106 // These are from wxVListBox
3107 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3108 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3111 // // this method allows to customize the selection appearance: it may be used
3112 // // to specify the colour of the text which normally has the given colour
3113 // // colFg when it is inside the selection
3115 // // by default, the original colour is not used at all and all text has the
3116 // // same (default for this system) colour inside selection
3117 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3119 // // this is the same as GetSelectedTextColour() but allows to customize the
3120 // // background colour -- this is even more rarely used as you can change it
3121 // // globally using SetSelectionBackground()
3122 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3125 // This method may be overriden to handle clicking on a link in
3126 // the listbox. By default, clicking links is ignored.
3127 virtual void OnLinkClicked(size_t n
,
3128 const wxHtmlLinkInfo
& link
);
3134 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3136 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3137 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3138 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3139 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3142 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3143 const wxHtmlLinkInfo
& link
) {
3145 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3146 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3147 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3148 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3151 wxPyEndBlockThreads(blocked
);
3153 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3158 const wxArrayString wxPyEmptyStringArray
;
3160 static const wxString
wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr
);
3164 #ifndef wxHAS_TASK_BAR_ICON
3165 // implement dummy classes for platforms that don't have it
3167 class wxTaskBarIcon
: public wxEvtHandler
3170 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3174 class wxTaskBarIconEvent
: public wxEvent
3177 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3178 { wxPyRaiseNotImplemented(); }
3179 virtual wxEvent
* Clone() const { return NULL
; }
3180 bool IsOk() const { return false; }
3181 bool IsIconInstalled() const { return false; }
3182 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3183 bool RemoveIcon() { return false; }
3184 bool PopupMenu(wxMenu
*menu
) { return false; }
3188 wxEVT_TASKBAR_MOVE
= 0,
3189 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3190 wxEVT_TASKBAR_LEFT_UP
= 0,
3191 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3192 wxEVT_TASKBAR_RIGHT_UP
= 0,
3193 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3194 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3199 // Otherwise make a class that can virtualize CreatePopupMenu
3200 class wxPyTaskBarIcon
: public wxTaskBarIcon
3202 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3204 wxPyTaskBarIcon() : wxTaskBarIcon()
3207 wxMenu
* CreatePopupMenu() {
3208 wxMenu
*rval
= NULL
;
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3214 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3216 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3221 wxPyEndBlockThreads(blocked
);
3223 rval
= wxTaskBarIcon::CreatePopupMenu();
3230 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3234 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3238 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3239 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3240 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3241 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3242 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3243 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3245 // for compatibility only
3246 #define wxHIDE_READONLY 0
3248 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3250 self
->GetFilenames(arr
);
3251 return wxArrayString2PyList_helper(arr
);
3253 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3255 self
->GetPaths(arr
);
3256 return wxArrayString2PyList_helper(arr
);
3258 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3259 return wxArrayInt2PyList_helper(self
->GetSelections());
3261 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
){
3262 return new wxSingleChoiceDialog(parent
, message
, caption
,
3263 choices
, choices_array
, NULL
, style
, pos
);
3265 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3267 SWIGINTERNINLINE PyObject
*
3268 SWIG_From_bool (bool value
)
3270 return PyBool_FromLong(value
? 1 : 0);
3276 // C++ version of Python aware wxWindow
3277 class wxPyWindow
: public wxWindow
3279 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3281 wxPyWindow() : wxWindow() {}
3282 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3283 const wxPoint
& pos
= wxDefaultPosition
,
3284 const wxSize
& size
= wxDefaultSize
,
3286 const wxString
& name
= wxPyPanelNameStr
)
3287 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3290 bool DoEraseBackground(wxDC
* dc
) {
3292 return wxWindow::DoEraseBackground(dc
->GetHDC());
3294 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3300 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3301 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3302 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3303 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3306 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3307 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3309 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3310 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3312 DEC_PYCALLBACK__(InitDialog
);
3313 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3314 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3315 DEC_PYCALLBACK_BOOL_(Validate
);
3317 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3318 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3319 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3321 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3322 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3324 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3325 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3327 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3329 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3334 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3336 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3337 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3338 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3339 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3342 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3343 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3346 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3348 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3353 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3354 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3355 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3357 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3358 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3360 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3361 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3363 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3365 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3367 // C++ version of Python aware wxPanel
3368 class wxPyPanel
: public wxPanel
3370 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3372 wxPyPanel() : wxPanel() {}
3373 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3374 const wxPoint
& pos
= wxDefaultPosition
,
3375 const wxSize
& size
= wxDefaultSize
,
3377 const wxString
& name
= wxPyPanelNameStr
)
3378 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3380 bool DoEraseBackground(wxDC
* dc
) {
3382 return wxWindow::DoEraseBackground(dc
->GetHDC());
3384 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3391 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3392 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3393 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3394 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3397 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3398 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3400 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3401 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3403 DEC_PYCALLBACK__(InitDialog
);
3404 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3405 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3406 DEC_PYCALLBACK_BOOL_(Validate
);
3408 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3409 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3410 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3412 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3413 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3415 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3416 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3418 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3420 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3425 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3427 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3428 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3429 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3430 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3433 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3434 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3439 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3441 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3442 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3444 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3445 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3446 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3448 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3449 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3451 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3452 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3454 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3456 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3458 // C++ version of Python aware wxScrolledWindow
3459 class wxPyScrolledWindow
: public wxScrolledWindow
3461 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3463 wxPyScrolledWindow() : wxScrolledWindow() {}
3464 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3465 const wxPoint
& pos
= wxDefaultPosition
,
3466 const wxSize
& size
= wxDefaultSize
,
3468 const wxString
& name
= wxPyPanelNameStr
)
3469 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3471 bool DoEraseBackground(wxDC
* dc
) {
3473 return wxWindow::DoEraseBackground(dc
->GetHDC());
3475 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3481 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3482 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3483 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3484 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3487 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3488 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3490 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3491 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3493 DEC_PYCALLBACK__(InitDialog
);
3494 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3495 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3496 DEC_PYCALLBACK_BOOL_(Validate
);
3498 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3499 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3500 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3502 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3503 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3505 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3506 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3508 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3510 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3515 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3517 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3518 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3519 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3520 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3523 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3524 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3529 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3531 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3532 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3534 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3535 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3536 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3538 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3539 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3542 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3544 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3546 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3549 #include "wx/wxPython/printfw.h"
3552 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3553 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3554 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3556 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3557 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3558 self
->GetPrivDataLen());
3559 wxPyEndBlockThreads(blocked
);
3562 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3563 if (! PyString_Check(data
)) {
3564 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3565 "Expected string object"));
3569 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3570 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3571 wxPyEndBlockThreads(blocked
);
3575 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3577 // Since this one would be tough and ugly to do with the Macros...
3578 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3579 bool hadErr
= false;
3582 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3583 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3584 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3585 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3588 val
= PyTuple_GetItem(result
, 0);
3589 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3592 val
= PyTuple_GetItem(result
, 1);
3593 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3596 val
= PyTuple_GetItem(result
, 2);
3597 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3600 val
= PyTuple_GetItem(result
, 3);
3601 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3608 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3613 wxPyEndBlockThreads(blocked
);
3615 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3620 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3621 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3622 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3623 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3624 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3625 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3626 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3632 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3633 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3636 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3637 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3640 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3641 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3642 PyObject* win = wxPyMake_wxObject(a,false); \
3643 PyObject* dc = wxPyMake_wxObject(&b,false); \
3644 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3648 wxPyEndBlockThreads(blocked); \
3650 rval = PCLASS::CBNAME(a, b); \
3657 class wxPyPrintPreview
: public wxPrintPreview
3659 DECLARE_CLASS(wxPyPrintPreview
)
3661 wxPyPrintPreview(wxPyPrintout
* printout
,
3662 wxPyPrintout
* printoutForPrinting
,
3663 wxPrintDialogData
* data
=NULL
)
3664 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3666 wxPyPrintPreview(wxPyPrintout
* printout
,
3667 wxPyPrintout
* printoutForPrinting
,
3669 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3672 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3673 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3674 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3675 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3676 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3677 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3678 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3683 // Stupid renamed classes... Fix this in 2.5...
3684 #if defined(__WXMSW__)
3685 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3686 #elif defined(__WXMAC__)
3687 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3689 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3692 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3693 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3694 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3695 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3696 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3697 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3698 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3701 class wxPyPreviewFrame
: public wxPreviewFrame
3703 DECLARE_CLASS(wxPyPreviewFrame
)
3705 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3706 const wxString
& title
,
3707 const wxPoint
& pos
= wxDefaultPosition
,
3708 const wxSize
& size
= wxDefaultSize
,
3709 long style
= wxDEFAULT_FRAME_STYLE
,
3710 const wxString
& name
= wxPyFrameNameStr
)
3711 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3714 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3715 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3717 DEC_PYCALLBACK_VOID_(Initialize
);
3718 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3719 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3724 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3727 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3728 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3731 class wxPyPreviewControlBar
: public wxPreviewControlBar
3733 DECLARE_CLASS(wxPyPreviewControlBar
)
3735 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3738 const wxPoint
& pos
= wxDefaultPosition
,
3739 const wxSize
& size
= wxDefaultSize
,
3741 const wxString
& name
= wxPyPanelNameStr
)
3742 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3745 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3747 DEC_PYCALLBACK_VOID_(CreateButtons
);
3748 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3753 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3754 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3755 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3760 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
= 0;
3762 wxWindow
*arg1
= (wxWindow
*) 0 ;
3763 int arg2
= (int) (int)-1 ;
3764 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3765 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3766 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3767 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3768 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3769 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3770 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3771 wxPanel
*result
= 0 ;
3780 bool temp6
= false ;
3781 PyObject
* obj0
= 0 ;
3782 PyObject
* obj1
= 0 ;
3783 PyObject
* obj2
= 0 ;
3784 PyObject
* obj3
= 0 ;
3785 PyObject
* obj4
= 0 ;
3786 PyObject
* obj5
= 0 ;
3787 char * kwnames
[] = {
3788 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3793 if (!SWIG_IsOK(res1
)) {
3794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3796 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3799 if (!SWIG_IsOK(ecode2
)) {
3800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3802 arg2
= static_cast< int >(val2
);
3807 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3813 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3817 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3818 if (!SWIG_IsOK(ecode5
)) {
3819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3821 arg5
= static_cast< long >(val5
);
3825 arg6
= wxString_in_helper(obj5
);
3826 if (arg6
== NULL
) SWIG_fail
;
3831 if (!wxPyCheckForApp()) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3852 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3853 PyObject
*resultobj
= 0;
3854 wxPanel
*result
= 0 ;
3856 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3858 if (!wxPyCheckForApp()) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (wxPanel
*)new wxPanel();
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3871 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
= 0;
3873 wxPanel
*arg1
= (wxPanel
*) 0 ;
3874 wxWindow
*arg2
= (wxWindow
*) 0 ;
3875 int arg3
= (int) (int)-1 ;
3876 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3877 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3878 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3879 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3880 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3881 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3882 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3894 bool temp7
= false ;
3895 PyObject
* obj0
= 0 ;
3896 PyObject
* obj1
= 0 ;
3897 PyObject
* obj2
= 0 ;
3898 PyObject
* obj3
= 0 ;
3899 PyObject
* obj4
= 0 ;
3900 PyObject
* obj5
= 0 ;
3901 PyObject
* obj6
= 0 ;
3902 char * kwnames
[] = {
3903 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3908 if (!SWIG_IsOK(res1
)) {
3909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3911 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3913 if (!SWIG_IsOK(res2
)) {
3914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3919 if (!SWIG_IsOK(ecode3
)) {
3920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3922 arg3
= static_cast< int >(val3
);
3927 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3933 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3937 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3938 if (!SWIG_IsOK(ecode6
)) {
3939 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3941 arg6
= static_cast< long >(val6
);
3945 arg7
= wxString_in_helper(obj6
);
3946 if (arg7
== NULL
) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3973 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3974 PyObject
*resultobj
= 0;
3975 wxPanel
*arg1
= (wxPanel
*) 0 ;
3978 PyObject
*swig_obj
[1] ;
3980 if (!args
) SWIG_fail
;
3982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3983 if (!SWIG_IsOK(res1
)) {
3984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3986 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 (arg1
)->SetFocusIgnoringChildren();
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 resultobj
= SWIG_Py_Void();
4000 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
= 0;
4002 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4003 SwigValueWrapper
<wxVisualAttributes
> result
;
4006 PyObject
* obj0
= 0 ;
4007 char * kwnames
[] = {
4008 (char *) "variant", NULL
4011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4013 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4014 if (!SWIG_IsOK(ecode1
)) {
4015 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4017 arg1
= static_cast< wxWindowVariant
>(val1
);
4020 if (!wxPyCheckForApp()) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4033 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4036 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4037 return SWIG_Py_Void();
4040 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 return SWIG_Python_InitShadowInstance(args
);
4044 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
= 0;
4046 wxWindow
*arg1
= (wxWindow
*) 0 ;
4047 int arg2
= (int) (int)-1 ;
4048 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4049 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4050 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4051 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4052 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4053 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4054 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4055 wxScrolledWindow
*result
= 0 ;
4064 bool temp6
= false ;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj1
= 0 ;
4067 PyObject
* obj2
= 0 ;
4068 PyObject
* obj3
= 0 ;
4069 PyObject
* obj4
= 0 ;
4070 PyObject
* obj5
= 0 ;
4071 char * kwnames
[] = {
4072 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4077 if (!SWIG_IsOK(res1
)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4080 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4083 if (!SWIG_IsOK(ecode2
)) {
4084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4086 arg2
= static_cast< int >(val2
);
4091 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4097 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4101 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4102 if (!SWIG_IsOK(ecode5
)) {
4103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4105 arg5
= static_cast< long >(val5
);
4109 arg6
= wxString_in_helper(obj5
);
4110 if (arg6
== NULL
) SWIG_fail
;
4115 if (!wxPyCheckForApp()) SWIG_fail
;
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4136 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4137 PyObject
*resultobj
= 0;
4138 wxScrolledWindow
*result
= 0 ;
4140 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4142 if (!wxPyCheckForApp()) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4155 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
= 0;
4157 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4158 wxWindow
*arg2
= (wxWindow
*) 0 ;
4159 int arg3
= (int) (int)-1 ;
4160 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4161 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4162 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4163 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4164 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4165 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4166 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4178 bool temp7
= false ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4181 PyObject
* obj2
= 0 ;
4182 PyObject
* obj3
= 0 ;
4183 PyObject
* obj4
= 0 ;
4184 PyObject
* obj5
= 0 ;
4185 PyObject
* obj6
= 0 ;
4186 char * kwnames
[] = {
4187 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4192 if (!SWIG_IsOK(res1
)) {
4193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4195 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4196 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4197 if (!SWIG_IsOK(res2
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4200 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4203 if (!SWIG_IsOK(ecode3
)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4206 arg3
= static_cast< int >(val3
);
4211 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4217 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4221 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4222 if (!SWIG_IsOK(ecode6
)) {
4223 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4225 arg6
= static_cast< long >(val6
);
4229 arg7
= wxString_in_helper(obj6
);
4230 if (arg7
== NULL
) SWIG_fail
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4257 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
= 0;
4259 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4264 int arg6
= (int) 0 ;
4265 int arg7
= (int) 0 ;
4266 bool arg8
= (bool) false ;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj1
= 0 ;
4285 PyObject
* obj2
= 0 ;
4286 PyObject
* obj3
= 0 ;
4287 PyObject
* obj4
= 0 ;
4288 PyObject
* obj5
= 0 ;
4289 PyObject
* obj6
= 0 ;
4290 PyObject
* obj7
= 0 ;
4291 char * kwnames
[] = {
4292 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4297 if (!SWIG_IsOK(res1
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4300 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4302 if (!SWIG_IsOK(ecode2
)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4305 arg2
= static_cast< int >(val2
);
4306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4307 if (!SWIG_IsOK(ecode3
)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4310 arg3
= static_cast< int >(val3
);
4311 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4312 if (!SWIG_IsOK(ecode4
)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4315 arg4
= static_cast< int >(val4
);
4316 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4317 if (!SWIG_IsOK(ecode5
)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4320 arg5
= static_cast< int >(val5
);
4322 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4323 if (!SWIG_IsOK(ecode6
)) {
4324 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4326 arg6
= static_cast< int >(val6
);
4329 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4330 if (!SWIG_IsOK(ecode7
)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4333 arg7
= static_cast< int >(val7
);
4336 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4337 if (!SWIG_IsOK(ecode8
)) {
4338 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4340 arg8
= static_cast< bool >(val8
);
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= SWIG_Py_Void();
4355 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
= 0;
4357 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4368 PyObject
* obj2
= 0 ;
4369 char * kwnames
[] = {
4370 (char *) "self",(char *) "x",(char *) "y", NULL
4373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4378 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4380 if (!SWIG_IsOK(ecode2
)) {
4381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4383 arg2
= static_cast< int >(val2
);
4384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4385 if (!SWIG_IsOK(ecode3
)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4388 arg3
= static_cast< int >(val3
);
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 (arg1
)->Scroll(arg2
,arg3
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_Py_Void();
4402 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
= 0;
4404 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4413 char * kwnames
[] = {
4414 (char *) "self",(char *) "orient", NULL
4417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4419 if (!SWIG_IsOK(res1
)) {
4420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4422 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4424 if (!SWIG_IsOK(ecode2
)) {
4425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4427 arg2
= static_cast< int >(val2
);
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 resultobj
= SWIG_From_int(static_cast< int >(result
));
4441 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
= 0;
4443 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4452 PyObject
* obj0
= 0 ;
4453 PyObject
* obj1
= 0 ;
4454 PyObject
* obj2
= 0 ;
4455 char * kwnames
[] = {
4456 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4461 if (!SWIG_IsOK(res1
)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4464 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4466 if (!SWIG_IsOK(ecode2
)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4469 arg2
= static_cast< int >(val2
);
4470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4471 if (!SWIG_IsOK(ecode3
)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4474 arg3
= static_cast< int >(val3
);
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_Py_Void();
4488 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
= 0;
4490 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4499 PyObject
* obj0
= 0 ;
4500 PyObject
* obj1
= 0 ;
4501 PyObject
* obj2
= 0 ;
4502 char * kwnames
[] = {
4503 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4508 if (!SWIG_IsOK(res1
)) {
4509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4511 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4513 if (!SWIG_IsOK(ecode2
)) {
4514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4516 arg2
= static_cast< int >(val2
);
4517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4518 if (!SWIG_IsOK(ecode3
)) {
4519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4521 arg3
= static_cast< int >(val3
);
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 (arg1
)->SetScrollRate(arg2
,arg3
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4528 resultobj
= SWIG_Py_Void();
4535 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4536 PyObject
*resultobj
= 0;
4537 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4538 int *arg2
= (int *) 0 ;
4539 int *arg3
= (int *) 0 ;
4543 int res2
= SWIG_TMPOBJ
;
4545 int res3
= SWIG_TMPOBJ
;
4546 PyObject
*swig_obj
[1] ;
4550 if (!args
) SWIG_fail
;
4552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4553 if (!SWIG_IsOK(res1
)) {
4554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4556 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= SWIG_Py_Void();
4564 if (SWIG_IsTmpObj(res2
)) {
4565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4567 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4570 if (SWIG_IsTmpObj(res3
)) {
4571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4573 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4582 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
= 0;
4584 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4593 PyObject
* obj0
= 0 ;
4594 PyObject
* obj1
= 0 ;
4595 PyObject
* obj2
= 0 ;
4596 char * kwnames
[] = {
4597 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4602 if (!SWIG_IsOK(res1
)) {
4603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4605 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4606 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4607 if (!SWIG_IsOK(ecode2
)) {
4608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4610 arg2
= static_cast< bool >(val2
);
4611 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4612 if (!SWIG_IsOK(ecode3
)) {
4613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4615 arg3
= static_cast< bool >(val3
);
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 (arg1
)->EnableScrolling(arg2
,arg3
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_Py_Void();
4629 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4630 PyObject
*resultobj
= 0;
4631 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4632 int *arg2
= (int *) 0 ;
4633 int *arg3
= (int *) 0 ;
4637 int res2
= SWIG_TMPOBJ
;
4639 int res3
= SWIG_TMPOBJ
;
4640 PyObject
*swig_obj
[1] ;
4644 if (!args
) SWIG_fail
;
4646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4647 if (!SWIG_IsOK(res1
)) {
4648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4650 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_Py_Void();
4658 if (SWIG_IsTmpObj(res2
)) {
4659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4661 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4664 if (SWIG_IsTmpObj(res3
)) {
4665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4667 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4676 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
= 0;
4678 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4688 PyObject
* obj1
= 0 ;
4689 PyObject
* obj2
= 0 ;
4690 char * kwnames
[] = {
4691 (char *) "self",(char *) "xs",(char *) "ys", NULL
4694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4696 if (!SWIG_IsOK(res1
)) {
4697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4699 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4700 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4701 if (!SWIG_IsOK(ecode2
)) {
4702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4704 arg2
= static_cast< double >(val2
);
4705 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4706 if (!SWIG_IsOK(ecode3
)) {
4707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4709 arg3
= static_cast< double >(val3
);
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 (arg1
)->SetScale(arg2
,arg3
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= SWIG_Py_Void();
4723 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4724 PyObject
*resultobj
= 0;
4725 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4729 PyObject
*swig_obj
[1] ;
4731 if (!args
) SWIG_fail
;
4733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4734 if (!SWIG_IsOK(res1
)) {
4735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4737 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 resultobj
= SWIG_From_double(static_cast< double >(result
));
4751 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4752 PyObject
*resultobj
= 0;
4753 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4757 PyObject
*swig_obj
[1] ;
4759 if (!args
) SWIG_fail
;
4761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4762 if (!SWIG_IsOK(res1
)) {
4763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4765 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4772 resultobj
= SWIG_From_double(static_cast< double >(result
));
4779 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4780 PyObject
*resultobj
= 0;
4781 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4788 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4790 if (!SWIG_IsOK(res1
)) {
4791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4793 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4796 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4811 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4812 PyObject
*resultobj
= 0;
4813 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4816 int *arg4
= (int *) 0 ;
4817 int *arg5
= (int *) 0 ;
4825 int res4
= SWIG_TMPOBJ
;
4827 int res5
= SWIG_TMPOBJ
;
4831 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4833 if (!SWIG_IsOK(res1
)) {
4834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4836 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4837 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4838 if (!SWIG_IsOK(ecode2
)) {
4839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4841 arg2
= static_cast< int >(val2
);
4842 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4843 if (!SWIG_IsOK(ecode3
)) {
4844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4846 arg3
= static_cast< int >(val3
);
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_Py_Void();
4854 if (SWIG_IsTmpObj(res4
)) {
4855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4857 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4860 if (SWIG_IsTmpObj(res5
)) {
4861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4863 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4872 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4876 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4879 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4882 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4886 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4891 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4892 PyObject
*resultobj
= 0;
4893 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4900 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4902 if (!SWIG_IsOK(res1
)) {
4903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4905 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4908 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4923 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4924 PyObject
*resultobj
= 0;
4925 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4928 int *arg4
= (int *) 0 ;
4929 int *arg5
= (int *) 0 ;
4937 int res4
= SWIG_TMPOBJ
;
4939 int res5
= SWIG_TMPOBJ
;
4943 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4945 if (!SWIG_IsOK(res1
)) {
4946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4948 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4949 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4950 if (!SWIG_IsOK(ecode2
)) {
4951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4953 arg2
= static_cast< int >(val2
);
4954 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4955 if (!SWIG_IsOK(ecode3
)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4958 arg3
= static_cast< int >(val3
);
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4965 resultobj
= SWIG_Py_Void();
4966 if (SWIG_IsTmpObj(res4
)) {
4967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4969 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4972 if (SWIG_IsTmpObj(res5
)) {
4973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4975 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4984 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4988 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4991 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4994 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4998 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5003 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5004 PyObject
*resultobj
= 0;
5005 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5008 PyObject
*swig_obj
[1] ;
5010 if (!args
) SWIG_fail
;
5012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5013 if (!SWIG_IsOK(res1
)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5016 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 (arg1
)->AdjustScrollbars();
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 resultobj
= SWIG_Py_Void();
5030 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
= 0;
5032 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5033 wxScrollWinEvent
*arg2
= 0 ;
5039 PyObject
* obj0
= 0 ;
5040 PyObject
* obj1
= 0 ;
5041 char * kwnames
[] = {
5042 (char *) "self",(char *) "event", NULL
5045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5047 if (!SWIG_IsOK(res1
)) {
5048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5050 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5052 if (!SWIG_IsOK(res2
)) {
5053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5058 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 resultobj
= SWIG_From_int(static_cast< int >(result
));
5072 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
= 0;
5074 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5075 wxWindow
*arg2
= (wxWindow
*) 0 ;
5080 PyObject
* obj0
= 0 ;
5081 PyObject
* obj1
= 0 ;
5082 char * kwnames
[] = {
5083 (char *) "self",(char *) "target", NULL
5086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5088 if (!SWIG_IsOK(res1
)) {
5089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5091 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5093 if (!SWIG_IsOK(res2
)) {
5094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5096 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 (arg1
)->SetTargetWindow(arg2
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_Py_Void();
5110 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5111 PyObject
*resultobj
= 0;
5112 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5113 wxWindow
*result
= 0 ;
5116 PyObject
*swig_obj
[1] ;
5118 if (!args
) SWIG_fail
;
5120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5121 if (!SWIG_IsOK(res1
)) {
5122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5124 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= wxPyMake_wxObject(result
, 0);
5140 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
= 0;
5142 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5149 char * kwnames
[] = {
5150 (char *) "self",(char *) "rect", NULL
5153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5155 if (!SWIG_IsOK(res1
)) {
5156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5158 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5161 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= SWIG_Py_Void();
5176 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5177 PyObject
*resultobj
= 0;
5178 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5182 PyObject
*swig_obj
[1] ;
5184 if (!args
) SWIG_fail
;
5186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5187 if (!SWIG_IsOK(res1
)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5190 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5204 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
= 0;
5206 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5212 PyObject
* obj0
= 0 ;
5213 PyObject
* obj1
= 0 ;
5214 char * kwnames
[] = {
5215 (char *) "self",(char *) "dc", NULL
5218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5220 if (!SWIG_IsOK(res1
)) {
5221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5223 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5225 if (!SWIG_IsOK(res2
)) {
5226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5231 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 (arg1
)->DoPrepareDC(*arg2
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= SWIG_Py_Void();
5245 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
= 0;
5247 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5248 SwigValueWrapper
<wxVisualAttributes
> result
;
5251 PyObject
* obj0
= 0 ;
5252 char * kwnames
[] = {
5253 (char *) "variant", NULL
5256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5258 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5259 if (!SWIG_IsOK(ecode1
)) {
5260 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5262 arg1
= static_cast< wxWindowVariant
>(val1
);
5265 if (!wxPyCheckForApp()) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5278 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5281 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5282 return SWIG_Py_Void();
5285 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5286 return SWIG_Python_InitShadowInstance(args
);
5289 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5290 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5295 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5296 PyObject
*pyobj
= 0;
5300 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5302 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5309 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5310 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5315 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5316 PyObject
*pyobj
= 0;
5320 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5322 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5329 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5330 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5335 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5336 PyObject
*pyobj
= 0;
5340 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5342 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5349 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5350 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5355 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5356 PyObject
*pyobj
= 0;
5360 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5362 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5369 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
= 0;
5371 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5372 bool arg2
= (bool) true ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5379 char * kwnames
[] = {
5380 (char *) "self",(char *) "maximize", NULL
5383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5385 if (!SWIG_IsOK(res1
)) {
5386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5388 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5390 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5391 if (!SWIG_IsOK(ecode2
)) {
5392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5394 arg2
= static_cast< bool >(val2
);
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 (arg1
)->Maximize(arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 resultobj
= SWIG_Py_Void();
5409 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5410 PyObject
*resultobj
= 0;
5411 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5414 PyObject
*swig_obj
[1] ;
5416 if (!args
) SWIG_fail
;
5418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5419 if (!SWIG_IsOK(res1
)) {
5420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5422 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_Py_Void();
5436 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
= 0;
5438 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5439 bool arg2
= (bool) true ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5446 char * kwnames
[] = {
5447 (char *) "self",(char *) "iconize", NULL
5450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5452 if (!SWIG_IsOK(res1
)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5455 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5457 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5458 if (!SWIG_IsOK(ecode2
)) {
5459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5461 arg2
= static_cast< bool >(val2
);
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 (arg1
)->Iconize(arg2
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_Py_Void();
5476 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5477 PyObject
*resultobj
= 0;
5478 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5482 PyObject
*swig_obj
[1] ;
5484 if (!args
) SWIG_fail
;
5486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5487 if (!SWIG_IsOK(res1
)) {
5488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5490 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5506 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5507 PyObject
*resultobj
= 0;
5508 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5512 PyObject
*swig_obj
[1] ;
5514 if (!args
) SWIG_fail
;
5516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5517 if (!SWIG_IsOK(res1
)) {
5518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5520 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5536 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5537 PyObject
*resultobj
= 0;
5538 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5542 PyObject
*swig_obj
[1] ;
5544 if (!args
) SWIG_fail
;
5546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5547 if (!SWIG_IsOK(res1
)) {
5548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5550 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5566 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5567 PyObject
*resultobj
= 0;
5568 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5572 PyObject
*swig_obj
[1] ;
5574 if (!args
) SWIG_fail
;
5576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5577 if (!SWIG_IsOK(res1
)) {
5578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5580 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5594 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
= 0;
5596 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5604 char * kwnames
[] = {
5605 (char *) "self",(char *) "icon", NULL
5608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5610 if (!SWIG_IsOK(res1
)) {
5611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5613 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5615 if (!SWIG_IsOK(res2
)) {
5616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5621 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 resultobj
= SWIG_Py_Void();
5635 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
= 0;
5637 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5638 wxIconBundle
*arg2
= 0 ;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5645 char * kwnames
[] = {
5646 (char *) "self",(char *) "icons", NULL
5649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5651 if (!SWIG_IsOK(res1
)) {
5652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5654 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5656 if (!SWIG_IsOK(res2
)) {
5657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5662 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= SWIG_Py_Void();
5676 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
= 0;
5678 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5680 long arg3
= (long) wxFULLSCREEN_ALL
;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5690 PyObject
* obj2
= 0 ;
5691 char * kwnames
[] = {
5692 (char *) "self",(char *) "show",(char *) "style", NULL
5695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5697 if (!SWIG_IsOK(res1
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5700 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5701 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5702 if (!SWIG_IsOK(ecode2
)) {
5703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5705 arg2
= static_cast< bool >(val2
);
5707 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5708 if (!SWIG_IsOK(ecode3
)) {
5709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5711 arg3
= static_cast< long >(val3
);
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5728 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5729 PyObject
*resultobj
= 0;
5730 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5734 PyObject
*swig_obj
[1] ;
5736 if (!args
) SWIG_fail
;
5738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5739 if (!SWIG_IsOK(res1
)) {
5740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5742 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5758 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
= 0;
5760 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5761 wxString
*arg2
= 0 ;
5764 bool temp2
= false ;
5765 PyObject
* obj0
= 0 ;
5766 PyObject
* obj1
= 0 ;
5767 char * kwnames
[] = {
5768 (char *) "self",(char *) "title", NULL
5771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5773 if (!SWIG_IsOK(res1
)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5776 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5778 arg2
= wxString_in_helper(obj1
);
5779 if (arg2
== NULL
) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 (arg1
)->SetTitle((wxString
const &)*arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_Py_Void();
5803 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5804 PyObject
*resultobj
= 0;
5805 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5809 PyObject
*swig_obj
[1] ;
5811 if (!args
) SWIG_fail
;
5813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5814 if (!SWIG_IsOK(res1
)) {
5815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5817 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5837 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
= 0;
5839 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5847 PyObject
* obj1
= 0 ;
5848 char * kwnames
[] = {
5849 (char *) "self",(char *) "enable", NULL
5852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5854 if (!SWIG_IsOK(res1
)) {
5855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5857 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5858 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5859 if (!SWIG_IsOK(ecode2
)) {
5860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5862 arg2
= static_cast< bool >(val2
);
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5878 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
= 0;
5880 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5881 wxRegion
*arg2
= 0 ;
5887 PyObject
* obj0
= 0 ;
5888 PyObject
* obj1
= 0 ;
5889 char * kwnames
[] = {
5890 (char *) "self",(char *) "region", NULL
5893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5895 if (!SWIG_IsOK(res1
)) {
5896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5898 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5900 if (!SWIG_IsOK(res2
)) {
5901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5906 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5922 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
= 0;
5924 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5925 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5930 PyObject
* obj0
= 0 ;
5931 PyObject
* obj1
= 0 ;
5932 char * kwnames
[] = {
5933 (char *) "self",(char *) "flags", NULL
5936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5938 if (!SWIG_IsOK(res1
)) {
5939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5941 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5944 if (!SWIG_IsOK(ecode2
)) {
5945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5947 arg2
= static_cast< int >(val2
);
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 (arg1
)->RequestUserAttention(arg2
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= SWIG_Py_Void();
5962 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5963 PyObject
*resultobj
= 0;
5964 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5968 PyObject
*swig_obj
[1] ;
5970 if (!args
) SWIG_fail
;
5972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5973 if (!SWIG_IsOK(res1
)) {
5974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5976 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= (bool)(arg1
)->IsActive();
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5992 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
= 0;
5994 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6002 char * kwnames
[] = {
6003 (char *) "self",(char *) "on", NULL
6006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6008 if (!SWIG_IsOK(res1
)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6011 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6012 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6013 if (!SWIG_IsOK(ecode2
)) {
6014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6016 arg2
= static_cast< bool >(val2
);
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= SWIG_Py_Void();
6030 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6031 PyObject
*resultobj
= 0;
6032 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6036 PyObject
*swig_obj
[1] ;
6038 if (!args
) SWIG_fail
;
6040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6041 if (!SWIG_IsOK(res1
)) {
6042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6044 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6060 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
= 0;
6062 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6063 int arg2
= (int) wxBOTH
;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6070 char * kwnames
[] = {
6071 (char *) "self",(char *) "dir", NULL
6074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6076 if (!SWIG_IsOK(res1
)) {
6077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6079 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6082 if (!SWIG_IsOK(ecode2
)) {
6083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6085 arg2
= static_cast< int >(val2
);
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 (arg1
)->CenterOnScreen(arg2
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= SWIG_Py_Void();
6100 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6101 PyObject
*resultobj
= 0;
6102 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6103 wxWindow
*result
= 0 ;
6106 PyObject
*swig_obj
[1] ;
6108 if (!args
) SWIG_fail
;
6110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6111 if (!SWIG_IsOK(res1
)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6114 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= wxPyMake_wxObject(result
, 0);
6130 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
= 0;
6132 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6133 wxWindow
*arg2
= (wxWindow
*) 0 ;
6134 wxWindow
*result
= 0 ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6141 char * kwnames
[] = {
6142 (char *) "self",(char *) "child", NULL
6145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6147 if (!SWIG_IsOK(res1
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6150 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6151 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6152 if (!SWIG_IsOK(res2
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6155 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= wxPyMake_wxObject(result
, 0);
6171 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
*resultobj
= 0;
6173 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6174 wxWindow
*arg2
= (wxWindow
*) 0 ;
6179 PyObject
* obj0
= 0 ;
6180 PyObject
* obj1
= 0 ;
6181 char * kwnames
[] = {
6182 (char *) "self",(char *) "win", NULL
6185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6187 if (!SWIG_IsOK(res1
)) {
6188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6190 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6192 if (!SWIG_IsOK(res2
)) {
6193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6195 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 (arg1
)->SetTmpDefaultItem(arg2
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= SWIG_Py_Void();
6209 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6210 PyObject
*resultobj
= 0;
6211 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6212 wxWindow
*result
= 0 ;
6215 PyObject
*swig_obj
[1] ;
6217 if (!args
) SWIG_fail
;
6219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6220 if (!SWIG_IsOK(res1
)) {
6221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6223 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= wxPyMake_wxObject(result
, 0);
6239 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6242 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6243 return SWIG_Py_Void();
6246 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
= 0;
6248 wxWindow
*arg1
= (wxWindow
*) 0 ;
6249 int arg2
= (int) (int)-1 ;
6250 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6252 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6253 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6254 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6255 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6256 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6257 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6258 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6259 wxFrame
*result
= 0 ;
6264 bool temp3
= false ;
6269 bool temp7
= false ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6272 PyObject
* obj2
= 0 ;
6273 PyObject
* obj3
= 0 ;
6274 PyObject
* obj4
= 0 ;
6275 PyObject
* obj5
= 0 ;
6276 PyObject
* obj6
= 0 ;
6277 char * kwnames
[] = {
6278 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6283 if (!SWIG_IsOK(res1
)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6286 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6289 if (!SWIG_IsOK(ecode2
)) {
6290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6292 arg2
= static_cast< int >(val2
);
6296 arg3
= wxString_in_helper(obj2
);
6297 if (arg3
== NULL
) SWIG_fail
;
6304 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6310 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6314 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6315 if (!SWIG_IsOK(ecode6
)) {
6316 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6318 arg6
= static_cast< long >(val6
);
6322 arg7
= wxString_in_helper(obj6
);
6323 if (arg7
== NULL
) SWIG_fail
;
6328 if (!wxPyCheckForApp()) SWIG_fail
;
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6357 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6358 PyObject
*resultobj
= 0;
6359 wxFrame
*result
= 0 ;
6361 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6363 if (!wxPyCheckForApp()) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 result
= (wxFrame
*)new wxFrame();
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6376 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
= 0;
6378 wxFrame
*arg1
= (wxFrame
*) 0 ;
6379 wxWindow
*arg2
= (wxWindow
*) 0 ;
6380 int arg3
= (int) (int)-1 ;
6381 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6382 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6383 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6384 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6385 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6386 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6387 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6388 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6389 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6397 bool temp4
= false ;
6402 bool temp8
= false ;
6403 PyObject
* obj0
= 0 ;
6404 PyObject
* obj1
= 0 ;
6405 PyObject
* obj2
= 0 ;
6406 PyObject
* obj3
= 0 ;
6407 PyObject
* obj4
= 0 ;
6408 PyObject
* obj5
= 0 ;
6409 PyObject
* obj6
= 0 ;
6410 PyObject
* obj7
= 0 ;
6411 char * kwnames
[] = {
6412 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6417 if (!SWIG_IsOK(res1
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6420 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6422 if (!SWIG_IsOK(res2
)) {
6423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6425 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6428 if (!SWIG_IsOK(ecode3
)) {
6429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6431 arg3
= static_cast< int >(val3
);
6435 arg4
= wxString_in_helper(obj3
);
6436 if (arg4
== NULL
) SWIG_fail
;
6443 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6449 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6453 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6454 if (!SWIG_IsOK(ecode7
)) {
6455 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6457 arg7
= static_cast< long >(val7
);
6461 arg8
= wxString_in_helper(obj7
);
6462 if (arg8
== NULL
) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6497 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6498 PyObject
*resultobj
= 0;
6499 wxFrame
*arg1
= (wxFrame
*) 0 ;
6502 PyObject
*swig_obj
[1] ;
6504 if (!args
) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6510 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 (arg1
)->SendSizeEvent();
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= SWIG_Py_Void();
6524 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
= 0;
6526 wxFrame
*arg1
= (wxFrame
*) 0 ;
6527 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6532 PyObject
* obj0
= 0 ;
6533 PyObject
* obj1
= 0 ;
6534 char * kwnames
[] = {
6535 (char *) "self",(char *) "menubar", NULL
6538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6540 if (!SWIG_IsOK(res1
)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6543 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6545 if (!SWIG_IsOK(res2
)) {
6546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6548 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 (arg1
)->SetMenuBar(arg2
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_Py_Void();
6562 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6563 PyObject
*resultobj
= 0;
6564 wxFrame
*arg1
= (wxFrame
*) 0 ;
6565 wxMenuBar
*result
= 0 ;
6568 PyObject
*swig_obj
[1] ;
6570 if (!args
) SWIG_fail
;
6572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6573 if (!SWIG_IsOK(res1
)) {
6574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6576 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= wxPyMake_wxObject(result
, 0);
6592 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
= 0;
6594 wxFrame
*arg1
= (wxFrame
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6602 PyObject
* obj1
= 0 ;
6603 char * kwnames
[] = {
6604 (char *) "self",(char *) "winid", NULL
6607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6612 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6614 if (!SWIG_IsOK(ecode2
)) {
6615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6617 arg2
= static_cast< int >(val2
);
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6633 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
= 0;
6635 wxFrame
*arg1
= (wxFrame
*) 0 ;
6636 int arg2
= (int) 1 ;
6637 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6638 int arg4
= (int) 0 ;
6639 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6640 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6641 wxStatusBar
*result
= 0 ;
6650 bool temp5
= false ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6653 PyObject
* obj2
= 0 ;
6654 PyObject
* obj3
= 0 ;
6655 PyObject
* obj4
= 0 ;
6656 char * kwnames
[] = {
6657 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6662 if (!SWIG_IsOK(res1
)) {
6663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6665 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6668 if (!SWIG_IsOK(ecode2
)) {
6669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6671 arg2
= static_cast< int >(val2
);
6674 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6675 if (!SWIG_IsOK(ecode3
)) {
6676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6678 arg3
= static_cast< long >(val3
);
6681 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6682 if (!SWIG_IsOK(ecode4
)) {
6683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6685 arg4
= static_cast< int >(val4
);
6689 arg5
= wxString_in_helper(obj4
);
6690 if (arg5
== NULL
) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6717 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6718 PyObject
*resultobj
= 0;
6719 wxFrame
*arg1
= (wxFrame
*) 0 ;
6720 wxStatusBar
*result
= 0 ;
6723 PyObject
*swig_obj
[1] ;
6725 if (!args
) SWIG_fail
;
6727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6728 if (!SWIG_IsOK(res1
)) {
6729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6731 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6747 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
= 0;
6749 wxFrame
*arg1
= (wxFrame
*) 0 ;
6750 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6756 PyObject
* obj1
= 0 ;
6757 char * kwnames
[] = {
6758 (char *) "self",(char *) "statBar", NULL
6761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6763 if (!SWIG_IsOK(res1
)) {
6764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6766 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6768 if (!SWIG_IsOK(res2
)) {
6769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6771 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 (arg1
)->SetStatusBar(arg2
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= SWIG_Py_Void();
6785 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
= 0;
6787 wxFrame
*arg1
= (wxFrame
*) 0 ;
6788 wxString
*arg2
= 0 ;
6789 int arg3
= (int) 0 ;
6792 bool temp2
= false ;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6797 PyObject
* obj2
= 0 ;
6798 char * kwnames
[] = {
6799 (char *) "self",(char *) "text",(char *) "number", NULL
6802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6804 if (!SWIG_IsOK(res1
)) {
6805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6807 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6809 arg2
= wxString_in_helper(obj1
);
6810 if (arg2
== NULL
) SWIG_fail
;
6814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6815 if (!SWIG_IsOK(ecode3
)) {
6816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6818 arg3
= static_cast< int >(val3
);
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6826 resultobj
= SWIG_Py_Void();
6841 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
= 0;
6843 wxFrame
*arg1
= (wxFrame
*) 0 ;
6845 int *arg3
= (int *) 0 ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6850 char * kwnames
[] = {
6851 (char *) "self",(char *) "widths", NULL
6854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6856 if (!SWIG_IsOK(res1
)) {
6857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6859 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6861 arg2
= PyList_Size(obj1
);
6862 arg3
= int_LIST_helper(obj1
);
6863 if (arg3
== NULL
) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= SWIG_Py_Void();
6873 if (arg3
) delete [] arg3
;
6878 if (arg3
) delete [] arg3
;
6884 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
= 0;
6886 wxFrame
*arg1
= (wxFrame
*) 0 ;
6887 wxString
*arg2
= 0 ;
6888 int arg3
= (int) 0 ;
6891 bool temp2
= false ;
6894 PyObject
* obj0
= 0 ;
6895 PyObject
* obj1
= 0 ;
6896 PyObject
* obj2
= 0 ;
6897 char * kwnames
[] = {
6898 (char *) "self",(char *) "text",(char *) "number", NULL
6901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6903 if (!SWIG_IsOK(res1
)) {
6904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6906 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6908 arg2
= wxString_in_helper(obj1
);
6909 if (arg2
== NULL
) SWIG_fail
;
6913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6914 if (!SWIG_IsOK(ecode3
)) {
6915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6917 arg3
= static_cast< int >(val3
);
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_Py_Void();
6940 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
*resultobj
= 0;
6942 wxFrame
*arg1
= (wxFrame
*) 0 ;
6943 int arg2
= (int) 0 ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6950 char * kwnames
[] = {
6951 (char *) "self",(char *) "number", NULL
6954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6956 if (!SWIG_IsOK(res1
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6959 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6962 if (!SWIG_IsOK(ecode2
)) {
6963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6965 arg2
= static_cast< int >(val2
);
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 (arg1
)->PopStatusText(arg2
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= SWIG_Py_Void();
6980 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
= 0;
6982 wxFrame
*arg1
= (wxFrame
*) 0 ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6990 char * kwnames
[] = {
6991 (char *) "self",(char *) "n", NULL
6994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6996 if (!SWIG_IsOK(res1
)) {
6997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6999 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7001 if (!SWIG_IsOK(ecode2
)) {
7002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7004 arg2
= static_cast< int >(val2
);
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 (arg1
)->SetStatusBarPane(arg2
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= SWIG_Py_Void();
7018 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7019 PyObject
*resultobj
= 0;
7020 wxFrame
*arg1
= (wxFrame
*) 0 ;
7024 PyObject
*swig_obj
[1] ;
7026 if (!args
) SWIG_fail
;
7028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7029 if (!SWIG_IsOK(res1
)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7032 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_From_int(static_cast< int >(result
));
7046 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
= 0;
7048 wxFrame
*arg1
= (wxFrame
*) 0 ;
7049 long arg2
= (long) -1 ;
7050 int arg3
= (int) -1 ;
7051 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7052 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7053 wxToolBar
*result
= 0 ;
7060 bool temp4
= false ;
7061 PyObject
* obj0
= 0 ;
7062 PyObject
* obj1
= 0 ;
7063 PyObject
* obj2
= 0 ;
7064 PyObject
* obj3
= 0 ;
7065 char * kwnames
[] = {
7066 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7071 if (!SWIG_IsOK(res1
)) {
7072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7074 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7076 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7077 if (!SWIG_IsOK(ecode2
)) {
7078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7080 arg2
= static_cast< long >(val2
);
7083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7084 if (!SWIG_IsOK(ecode3
)) {
7085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7087 arg3
= static_cast< int >(val3
);
7091 arg4
= wxString_in_helper(obj3
);
7092 if (arg4
== NULL
) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7119 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7120 PyObject
*resultobj
= 0;
7121 wxFrame
*arg1
= (wxFrame
*) 0 ;
7122 wxToolBar
*result
= 0 ;
7125 PyObject
*swig_obj
[1] ;
7127 if (!args
) SWIG_fail
;
7129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7130 if (!SWIG_IsOK(res1
)) {
7131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7133 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7149 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
= 0;
7151 wxFrame
*arg1
= (wxFrame
*) 0 ;
7152 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 char * kwnames
[] = {
7160 (char *) "self",(char *) "toolbar", NULL
7163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7165 if (!SWIG_IsOK(res1
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7168 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7170 if (!SWIG_IsOK(res2
)) {
7171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7173 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 (arg1
)->SetToolBar(arg2
);
7177 wxPyEndAllowThreads(__tstate
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7180 resultobj
= SWIG_Py_Void();
7187 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
= 0;
7189 wxFrame
*arg1
= (wxFrame
*) 0 ;
7190 wxString
*arg2
= 0 ;
7194 bool temp2
= false ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7199 PyObject
* obj2
= 0 ;
7200 char * kwnames
[] = {
7201 (char *) "self",(char *) "text",(char *) "show", NULL
7204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7209 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7211 arg2
= wxString_in_helper(obj1
);
7212 if (arg2
== NULL
) SWIG_fail
;
7215 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7216 if (!SWIG_IsOK(ecode3
)) {
7217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7219 arg3
= static_cast< bool >(val3
);
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= SWIG_Py_Void();
7241 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
= 0;
7243 wxFrame
*arg1
= (wxFrame
*) 0 ;
7244 wxMenu
*arg2
= (wxMenu
*) NULL
;
7249 PyObject
* obj0
= 0 ;
7250 PyObject
* obj1
= 0 ;
7251 char * kwnames
[] = {
7252 (char *) "self",(char *) "menu", NULL
7255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7257 if (!SWIG_IsOK(res1
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7260 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7263 if (!SWIG_IsOK(res2
)) {
7264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7266 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 (arg1
)->DoMenuUpdates(arg2
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 resultobj
= SWIG_Py_Void();
7281 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
= 0;
7283 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7284 SwigValueWrapper
<wxVisualAttributes
> result
;
7287 PyObject
* obj0
= 0 ;
7288 char * kwnames
[] = {
7289 (char *) "variant", NULL
7292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7294 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7295 if (!SWIG_IsOK(ecode1
)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7298 arg1
= static_cast< wxWindowVariant
>(val1
);
7301 if (!wxPyCheckForApp()) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7314 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7317 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7318 return SWIG_Py_Void();
7321 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7322 return SWIG_Python_InitShadowInstance(args
);
7325 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
= 0;
7327 wxWindow
*arg1
= (wxWindow
*) 0 ;
7328 int arg2
= (int) (int)-1 ;
7329 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7330 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7331 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7332 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7333 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7334 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7335 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7336 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7337 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7338 wxDialog
*result
= 0 ;
7343 bool temp3
= false ;
7348 bool temp7
= false ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7351 PyObject
* obj2
= 0 ;
7352 PyObject
* obj3
= 0 ;
7353 PyObject
* obj4
= 0 ;
7354 PyObject
* obj5
= 0 ;
7355 PyObject
* obj6
= 0 ;
7356 char * kwnames
[] = {
7357 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7362 if (!SWIG_IsOK(res1
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7365 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7368 if (!SWIG_IsOK(ecode2
)) {
7369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7371 arg2
= static_cast< int >(val2
);
7375 arg3
= wxString_in_helper(obj2
);
7376 if (arg3
== NULL
) SWIG_fail
;
7383 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7389 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7393 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7394 if (!SWIG_IsOK(ecode6
)) {
7395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7397 arg6
= static_cast< long >(val6
);
7401 arg7
= wxString_in_helper(obj6
);
7402 if (arg7
== NULL
) SWIG_fail
;
7407 if (!wxPyCheckForApp()) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7436 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7437 PyObject
*resultobj
= 0;
7438 wxDialog
*result
= 0 ;
7440 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7442 if (!wxPyCheckForApp()) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (wxDialog
*)new wxDialog();
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7455 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
= 0;
7457 wxDialog
*arg1
= (wxDialog
*) 0 ;
7458 wxWindow
*arg2
= (wxWindow
*) 0 ;
7459 int arg3
= (int) (int)-1 ;
7460 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7461 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7462 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7463 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7464 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7465 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7466 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7467 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7468 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7476 bool temp4
= false ;
7481 bool temp8
= false ;
7482 PyObject
* obj0
= 0 ;
7483 PyObject
* obj1
= 0 ;
7484 PyObject
* obj2
= 0 ;
7485 PyObject
* obj3
= 0 ;
7486 PyObject
* obj4
= 0 ;
7487 PyObject
* obj5
= 0 ;
7488 PyObject
* obj6
= 0 ;
7489 PyObject
* obj7
= 0 ;
7490 char * kwnames
[] = {
7491 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7496 if (!SWIG_IsOK(res1
)) {
7497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7499 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7501 if (!SWIG_IsOK(res2
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7504 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7507 if (!SWIG_IsOK(ecode3
)) {
7508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7510 arg3
= static_cast< int >(val3
);
7514 arg4
= wxString_in_helper(obj3
);
7515 if (arg4
== NULL
) SWIG_fail
;
7522 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7528 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7532 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7533 if (!SWIG_IsOK(ecode7
)) {
7534 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7536 arg7
= static_cast< long >(val7
);
7540 arg8
= wxString_in_helper(obj7
);
7541 if (arg8
== NULL
) SWIG_fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7576 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
= 0;
7578 wxDialog
*arg1
= (wxDialog
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7586 char * kwnames
[] = {
7587 (char *) "self",(char *) "returnCode", NULL
7590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7592 if (!SWIG_IsOK(res1
)) {
7593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7595 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7597 if (!SWIG_IsOK(ecode2
)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7600 arg2
= static_cast< int >(val2
);
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 (arg1
)->SetReturnCode(arg2
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= SWIG_Py_Void();
7614 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7615 PyObject
*resultobj
= 0;
7616 wxDialog
*arg1
= (wxDialog
*) 0 ;
7620 PyObject
*swig_obj
[1] ;
7622 if (!args
) SWIG_fail
;
7624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7625 if (!SWIG_IsOK(res1
)) {
7626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7628 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_From_int(static_cast< int >(result
));
7642 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxDialog
*arg1
= (wxDialog
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7651 PyObject
* obj1
= 0 ;
7652 char * kwnames
[] = {
7653 (char *) "self",(char *) "affirmativeId", NULL
7656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7661 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7663 if (!SWIG_IsOK(ecode2
)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7666 arg2
= static_cast< int >(val2
);
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 (arg1
)->SetAffirmativeId(arg2
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_Py_Void();
7680 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7681 PyObject
*resultobj
= 0;
7682 wxDialog
*arg1
= (wxDialog
*) 0 ;
7686 PyObject
*swig_obj
[1] ;
7688 if (!args
) SWIG_fail
;
7690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7691 if (!SWIG_IsOK(res1
)) {
7692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7694 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= SWIG_From_int(static_cast< int >(result
));
7708 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
= 0;
7710 wxDialog
*arg1
= (wxDialog
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7718 char * kwnames
[] = {
7719 (char *) "self",(char *) "escapeId", NULL
7722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7724 if (!SWIG_IsOK(res1
)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7727 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7729 if (!SWIG_IsOK(ecode2
)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7732 arg2
= static_cast< int >(val2
);
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 (arg1
)->SetEscapeId(arg2
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_Py_Void();
7746 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7747 PyObject
*resultobj
= 0;
7748 wxDialog
*arg1
= (wxDialog
*) 0 ;
7752 PyObject
*swig_obj
[1] ;
7754 if (!args
) SWIG_fail
;
7756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7757 if (!SWIG_IsOK(res1
)) {
7758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7760 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= SWIG_From_int(static_cast< int >(result
));
7774 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
= 0;
7776 wxDialog
*arg1
= (wxDialog
*) 0 ;
7777 wxString
*arg2
= 0 ;
7778 wxSizer
*result
= 0 ;
7781 bool temp2
= false ;
7782 PyObject
* obj0
= 0 ;
7783 PyObject
* obj1
= 0 ;
7784 char * kwnames
[] = {
7785 (char *) "self",(char *) "message", NULL
7788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7790 if (!SWIG_IsOK(res1
)) {
7791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7793 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7795 arg2
= wxString_in_helper(obj1
);
7796 if (arg2
== NULL
) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7822 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
= 0;
7824 wxDialog
*arg1
= (wxDialog
*) 0 ;
7826 wxSizer
*result
= 0 ;
7831 PyObject
* obj0
= 0 ;
7832 PyObject
* obj1
= 0 ;
7833 char * kwnames
[] = {
7834 (char *) "self",(char *) "flags", NULL
7837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7839 if (!SWIG_IsOK(res1
)) {
7840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7842 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7843 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7844 if (!SWIG_IsOK(ecode2
)) {
7845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7847 arg2
= static_cast< long >(val2
);
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7863 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
= 0;
7865 wxDialog
*arg1
= (wxDialog
*) 0 ;
7867 wxSizer
*result
= 0 ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7874 char * kwnames
[] = {
7875 (char *) "self",(char *) "flags", NULL
7878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7880 if (!SWIG_IsOK(res1
)) {
7881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7883 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7884 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7885 if (!SWIG_IsOK(ecode2
)) {
7886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7888 arg2
= static_cast< long >(val2
);
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7896 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7904 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
= 0;
7906 wxDialog
*arg1
= (wxDialog
*) 0 ;
7908 wxStdDialogButtonSizer
*result
= 0 ;
7913 PyObject
* obj0
= 0 ;
7914 PyObject
* obj1
= 0 ;
7915 char * kwnames
[] = {
7916 (char *) "self",(char *) "flags", NULL
7919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7921 if (!SWIG_IsOK(res1
)) {
7922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7924 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7925 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7926 if (!SWIG_IsOK(ecode2
)) {
7927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7929 arg2
= static_cast< long >(val2
);
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7943 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7944 PyObject
*resultobj
= 0;
7945 wxDialog
*arg1
= (wxDialog
*) 0 ;
7949 PyObject
*swig_obj
[1] ;
7951 if (!args
) SWIG_fail
;
7953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7954 if (!SWIG_IsOK(res1
)) {
7955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7957 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7973 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7974 PyObject
*resultobj
= 0;
7975 wxDialog
*arg1
= (wxDialog
*) 0 ;
7979 PyObject
*swig_obj
[1] ;
7981 if (!args
) SWIG_fail
;
7983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7984 if (!SWIG_IsOK(res1
)) {
7985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7987 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (int)(arg1
)->ShowModal();
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= SWIG_From_int(static_cast< int >(result
));
8001 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
= 0;
8003 wxDialog
*arg1
= (wxDialog
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8011 char * kwnames
[] = {
8012 (char *) "self",(char *) "retCode", NULL
8015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8017 if (!SWIG_IsOK(res1
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8020 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8022 if (!SWIG_IsOK(ecode2
)) {
8023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8025 arg2
= static_cast< int >(val2
);
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 (arg1
)->EndModal(arg2
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= SWIG_Py_Void();
8039 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
= 0;
8041 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8042 SwigValueWrapper
<wxVisualAttributes
> result
;
8045 PyObject
* obj0
= 0 ;
8046 char * kwnames
[] = {
8047 (char *) "variant", NULL
8050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8052 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8053 if (!SWIG_IsOK(ecode1
)) {
8054 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8056 arg1
= static_cast< wxWindowVariant
>(val1
);
8059 if (!wxPyCheckForApp()) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8072 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8075 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8076 return SWIG_Py_Void();
8079 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8080 return SWIG_Python_InitShadowInstance(args
);
8083 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
= 0;
8085 wxWindow
*arg1
= (wxWindow
*) 0 ;
8086 int arg2
= (int) (int)-1 ;
8087 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8088 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8089 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8090 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8091 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8092 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8093 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8094 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8095 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8096 wxMiniFrame
*result
= 0 ;
8101 bool temp3
= false ;
8106 bool temp7
= false ;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8109 PyObject
* obj2
= 0 ;
8110 PyObject
* obj3
= 0 ;
8111 PyObject
* obj4
= 0 ;
8112 PyObject
* obj5
= 0 ;
8113 PyObject
* obj6
= 0 ;
8114 char * kwnames
[] = {
8115 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8120 if (!SWIG_IsOK(res1
)) {
8121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8123 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8126 if (!SWIG_IsOK(ecode2
)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8129 arg2
= static_cast< int >(val2
);
8133 arg3
= wxString_in_helper(obj2
);
8134 if (arg3
== NULL
) SWIG_fail
;
8141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8151 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8152 if (!SWIG_IsOK(ecode6
)) {
8153 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8155 arg6
= static_cast< long >(val6
);
8159 arg7
= wxString_in_helper(obj6
);
8160 if (arg7
== NULL
) SWIG_fail
;
8165 if (!wxPyCheckForApp()) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8194 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8195 PyObject
*resultobj
= 0;
8196 wxMiniFrame
*result
= 0 ;
8198 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8200 if (!wxPyCheckForApp()) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 result
= (wxMiniFrame
*)new wxMiniFrame();
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8213 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
= 0;
8215 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8216 wxWindow
*arg2
= (wxWindow
*) 0 ;
8217 int arg3
= (int) (int)-1 ;
8218 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8219 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8220 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8221 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8222 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8223 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8224 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8225 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8226 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8234 bool temp4
= false ;
8239 bool temp8
= false ;
8240 PyObject
* obj0
= 0 ;
8241 PyObject
* obj1
= 0 ;
8242 PyObject
* obj2
= 0 ;
8243 PyObject
* obj3
= 0 ;
8244 PyObject
* obj4
= 0 ;
8245 PyObject
* obj5
= 0 ;
8246 PyObject
* obj6
= 0 ;
8247 PyObject
* obj7
= 0 ;
8248 char * kwnames
[] = {
8249 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8254 if (!SWIG_IsOK(res1
)) {
8255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8257 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8259 if (!SWIG_IsOK(res2
)) {
8260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8262 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8265 if (!SWIG_IsOK(ecode3
)) {
8266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8268 arg3
= static_cast< int >(val3
);
8272 arg4
= wxString_in_helper(obj3
);
8273 if (arg4
== NULL
) SWIG_fail
;
8280 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8286 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8290 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8291 if (!SWIG_IsOK(ecode7
)) {
8292 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8294 arg7
= static_cast< long >(val7
);
8298 arg8
= wxString_in_helper(obj7
);
8299 if (arg8
== NULL
) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8334 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8337 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8338 return SWIG_Py_Void();
8341 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8342 return SWIG_Python_InitShadowInstance(args
);
8345 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
= 0;
8347 wxBitmap
*arg1
= 0 ;
8348 wxWindow
*arg2
= (wxWindow
*) 0 ;
8350 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8351 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8352 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8353 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8354 long arg6
= (long) wxNO_BORDER
;
8355 wxSplashScreenWindow
*result
= 0 ;
8366 PyObject
* obj0
= 0 ;
8367 PyObject
* obj1
= 0 ;
8368 PyObject
* obj2
= 0 ;
8369 PyObject
* obj3
= 0 ;
8370 PyObject
* obj4
= 0 ;
8371 PyObject
* obj5
= 0 ;
8372 char * kwnames
[] = {
8373 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8377 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8378 if (!SWIG_IsOK(res1
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8384 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8386 if (!SWIG_IsOK(res2
)) {
8387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8389 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8391 if (!SWIG_IsOK(ecode3
)) {
8392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8394 arg3
= static_cast< int >(val3
);
8398 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8404 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8408 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8409 if (!SWIG_IsOK(ecode6
)) {
8410 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8412 arg6
= static_cast< long >(val6
);
8415 if (!wxPyCheckForApp()) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8428 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
= 0;
8430 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8431 wxBitmap
*arg2
= 0 ;
8436 PyObject
* obj0
= 0 ;
8437 PyObject
* obj1
= 0 ;
8438 char * kwnames
[] = {
8439 (char *) "self",(char *) "bitmap", NULL
8442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8444 if (!SWIG_IsOK(res1
)) {
8445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8447 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8449 if (!SWIG_IsOK(res2
)) {
8450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8455 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8462 resultobj
= SWIG_Py_Void();
8469 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8470 PyObject
*resultobj
= 0;
8471 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8472 wxBitmap
*result
= 0 ;
8475 PyObject
*swig_obj
[1] ;
8477 if (!args
) SWIG_fail
;
8479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8480 if (!SWIG_IsOK(res1
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8483 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8488 result
= (wxBitmap
*) &_result_ref
;
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8494 wxBitmap
* resultptr
= new wxBitmap(*result
);
8495 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8503 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8506 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8507 return SWIG_Py_Void();
8510 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8511 return SWIG_Python_InitShadowInstance(args
);
8514 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
= 0;
8516 wxBitmap
*arg1
= 0 ;
8519 wxWindow
*arg4
= (wxWindow
*) 0 ;
8520 int arg5
= (int) -1 ;
8521 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8522 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8523 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8524 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8525 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8526 wxSplashScreen
*result
= 0 ;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8543 PyObject
* obj2
= 0 ;
8544 PyObject
* obj3
= 0 ;
8545 PyObject
* obj4
= 0 ;
8546 PyObject
* obj5
= 0 ;
8547 PyObject
* obj6
= 0 ;
8548 PyObject
* obj7
= 0 ;
8549 char * kwnames
[] = {
8550 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8554 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8555 if (!SWIG_IsOK(res1
)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8561 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8562 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8563 if (!SWIG_IsOK(ecode2
)) {
8564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8566 arg2
= static_cast< long >(val2
);
8567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8568 if (!SWIG_IsOK(ecode3
)) {
8569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8571 arg3
= static_cast< int >(val3
);
8572 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8573 if (!SWIG_IsOK(res4
)) {
8574 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8576 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8578 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8579 if (!SWIG_IsOK(ecode5
)) {
8580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8582 arg5
= static_cast< int >(val5
);
8587 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8593 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8597 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8598 if (!SWIG_IsOK(ecode8
)) {
8599 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8601 arg8
= static_cast< long >(val8
);
8604 if (!wxPyCheckForApp()) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8617 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8618 PyObject
*resultobj
= 0;
8619 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8623 PyObject
*swig_obj
[1] ;
8625 if (!args
) SWIG_fail
;
8627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8628 if (!SWIG_IsOK(res1
)) {
8629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8631 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_From_long(static_cast< long >(result
));
8645 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8646 PyObject
*resultobj
= 0;
8647 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8648 wxSplashScreenWindow
*result
= 0 ;
8651 PyObject
*swig_obj
[1] ;
8653 if (!args
) SWIG_fail
;
8655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8656 if (!SWIG_IsOK(res1
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8659 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8673 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8674 PyObject
*resultobj
= 0;
8675 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8679 PyObject
*swig_obj
[1] ;
8681 if (!args
) SWIG_fail
;
8683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8684 if (!SWIG_IsOK(res1
)) {
8685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8687 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_From_int(static_cast< int >(result
));
8701 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8704 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8705 return SWIG_Py_Void();
8708 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8709 return SWIG_Python_InitShadowInstance(args
);
8712 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
= 0;
8714 wxWindow
*arg1
= (wxWindow
*) 0 ;
8715 int arg2
= (int) -1 ;
8716 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8717 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8718 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8719 wxStatusBar
*result
= 0 ;
8726 bool temp4
= false ;
8727 PyObject
* obj0
= 0 ;
8728 PyObject
* obj1
= 0 ;
8729 PyObject
* obj2
= 0 ;
8730 PyObject
* obj3
= 0 ;
8731 char * kwnames
[] = {
8732 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8737 if (!SWIG_IsOK(res1
)) {
8738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8740 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8743 if (!SWIG_IsOK(ecode2
)) {
8744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8746 arg2
= static_cast< int >(val2
);
8749 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8750 if (!SWIG_IsOK(ecode3
)) {
8751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8753 arg3
= static_cast< long >(val3
);
8757 arg4
= wxString_in_helper(obj3
);
8758 if (arg4
== NULL
) SWIG_fail
;
8763 if (!wxPyCheckForApp()) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8784 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8785 PyObject
*resultobj
= 0;
8786 wxStatusBar
*result
= 0 ;
8788 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8790 if (!wxPyCheckForApp()) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= (wxStatusBar
*)new wxStatusBar();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8803 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
= 0;
8805 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8806 wxWindow
*arg2
= (wxWindow
*) 0 ;
8807 int arg3
= (int) -1 ;
8808 long arg4
= (long) wxST_SIZEGRIP
;
8809 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8810 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8820 bool temp5
= false ;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8823 PyObject
* obj2
= 0 ;
8824 PyObject
* obj3
= 0 ;
8825 PyObject
* obj4
= 0 ;
8826 char * kwnames
[] = {
8827 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8832 if (!SWIG_IsOK(res1
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8835 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8836 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8837 if (!SWIG_IsOK(res2
)) {
8838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8840 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8843 if (!SWIG_IsOK(ecode3
)) {
8844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8846 arg3
= static_cast< int >(val3
);
8849 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8850 if (!SWIG_IsOK(ecode4
)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8853 arg4
= static_cast< long >(val4
);
8857 arg5
= wxString_in_helper(obj4
);
8858 if (arg5
== NULL
) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8885 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
= 0;
8887 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8888 int arg2
= (int) 1 ;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8895 char * kwnames
[] = {
8896 (char *) "self",(char *) "number", NULL
8899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8901 if (!SWIG_IsOK(res1
)) {
8902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8904 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8907 if (!SWIG_IsOK(ecode2
)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8910 arg2
= static_cast< int >(val2
);
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 (arg1
)->SetFieldsCount(arg2
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= SWIG_Py_Void();
8925 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8926 PyObject
*resultobj
= 0;
8927 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8931 PyObject
*swig_obj
[1] ;
8933 if (!args
) SWIG_fail
;
8935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8936 if (!SWIG_IsOK(res1
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8939 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= SWIG_From_int(static_cast< int >(result
));
8953 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
= 0;
8955 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8956 wxString
*arg2
= 0 ;
8957 int arg3
= (int) 0 ;
8960 bool temp2
= false ;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8965 PyObject
* obj2
= 0 ;
8966 char * kwnames
[] = {
8967 (char *) "self",(char *) "text",(char *) "number", NULL
8970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8972 if (!SWIG_IsOK(res1
)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8975 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8977 arg2
= wxString_in_helper(obj1
);
8978 if (arg2
== NULL
) SWIG_fail
;
8982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8983 if (!SWIG_IsOK(ecode3
)) {
8984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8986 arg3
= static_cast< int >(val3
);
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= SWIG_Py_Void();
9009 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
= 0;
9011 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9012 int arg2
= (int) 0 ;
9018 PyObject
* obj0
= 0 ;
9019 PyObject
* obj1
= 0 ;
9020 char * kwnames
[] = {
9021 (char *) "self",(char *) "number", NULL
9024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9026 if (!SWIG_IsOK(res1
)) {
9027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9029 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9032 if (!SWIG_IsOK(ecode2
)) {
9033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9035 arg2
= static_cast< int >(val2
);
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9056 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
*resultobj
= 0;
9058 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9059 wxString
*arg2
= 0 ;
9060 int arg3
= (int) 0 ;
9063 bool temp2
= false ;
9066 PyObject
* obj0
= 0 ;
9067 PyObject
* obj1
= 0 ;
9068 PyObject
* obj2
= 0 ;
9069 char * kwnames
[] = {
9070 (char *) "self",(char *) "text",(char *) "number", NULL
9073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9075 if (!SWIG_IsOK(res1
)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9078 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9080 arg2
= wxString_in_helper(obj1
);
9081 if (arg2
== NULL
) SWIG_fail
;
9085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9086 if (!SWIG_IsOK(ecode3
)) {
9087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9089 arg3
= static_cast< int >(val3
);
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 resultobj
= SWIG_Py_Void();
9112 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
= 0;
9114 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9115 int arg2
= (int) 0 ;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9122 char * kwnames
[] = {
9123 (char *) "self",(char *) "number", NULL
9126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9128 if (!SWIG_IsOK(res1
)) {
9129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9131 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9134 if (!SWIG_IsOK(ecode2
)) {
9135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9137 arg2
= static_cast< int >(val2
);
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 (arg1
)->PopStatusText(arg2
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_Py_Void();
9152 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
= 0;
9154 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9156 int *arg3
= (int *) 0 ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 char * kwnames
[] = {
9162 (char *) "self",(char *) "widths", NULL
9165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9167 if (!SWIG_IsOK(res1
)) {
9168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9170 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9172 arg2
= PyList_Size(obj1
);
9173 arg3
= int_LIST_helper(obj1
);
9174 if (arg3
== NULL
) SWIG_fail
;
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 resultobj
= SWIG_Py_Void();
9184 if (arg3
) delete [] arg3
;
9189 if (arg3
) delete [] arg3
;
9195 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
= 0;
9197 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9199 int *arg3
= (int *) 0 ;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 char * kwnames
[] = {
9205 (char *) "self",(char *) "styles", NULL
9208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9210 if (!SWIG_IsOK(res1
)) {
9211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9213 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9215 arg2
= PyList_Size(obj1
);
9216 arg3
= int_LIST_helper(obj1
);
9217 if (arg3
== NULL
) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_Py_Void();
9227 if (arg3
) delete [] arg3
;
9232 if (arg3
) delete [] arg3
;
9238 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
= 0;
9240 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9248 PyObject
* obj1
= 0 ;
9249 char * kwnames
[] = {
9250 (char *) "self",(char *) "i", NULL
9253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9255 if (!SWIG_IsOK(res1
)) {
9256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9258 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9260 if (!SWIG_IsOK(ecode2
)) {
9261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9263 arg2
= static_cast< int >(val2
);
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9277 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
= 0;
9279 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9286 PyObject
* obj1
= 0 ;
9287 char * kwnames
[] = {
9288 (char *) "self",(char *) "height", NULL
9291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9296 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9298 if (!SWIG_IsOK(ecode2
)) {
9299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9301 arg2
= static_cast< int >(val2
);
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 (arg1
)->SetMinHeight(arg2
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_Py_Void();
9315 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9316 PyObject
*resultobj
= 0;
9317 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9321 PyObject
*swig_obj
[1] ;
9323 if (!args
) SWIG_fail
;
9325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9326 if (!SWIG_IsOK(res1
)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9329 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= SWIG_From_int(static_cast< int >(result
));
9343 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9344 PyObject
*resultobj
= 0;
9345 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9349 PyObject
*swig_obj
[1] ;
9351 if (!args
) SWIG_fail
;
9353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9354 if (!SWIG_IsOK(res1
)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9357 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_From_int(static_cast< int >(result
));
9371 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
= 0;
9373 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9374 SwigValueWrapper
<wxVisualAttributes
> result
;
9377 PyObject
* obj0
= 0 ;
9378 char * kwnames
[] = {
9379 (char *) "variant", NULL
9382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9384 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9385 if (!SWIG_IsOK(ecode1
)) {
9386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9388 arg1
= static_cast< wxWindowVariant
>(val1
);
9391 if (!wxPyCheckForApp()) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9404 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9407 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9408 return SWIG_Py_Void();
9411 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9412 return SWIG_Python_InitShadowInstance(args
);
9415 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9416 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9421 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9422 PyObject
*pyobj
= 0;
9426 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9428 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9435 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
= 0;
9437 wxWindow
*arg1
= (wxWindow
*) 0 ;
9438 int arg2
= (int) -1 ;
9439 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9440 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9441 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9442 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9443 long arg5
= (long) wxSP_3D
;
9444 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9445 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9446 wxSplitterWindow
*result
= 0 ;
9455 bool temp6
= false ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9458 PyObject
* obj2
= 0 ;
9459 PyObject
* obj3
= 0 ;
9460 PyObject
* obj4
= 0 ;
9461 PyObject
* obj5
= 0 ;
9462 char * kwnames
[] = {
9463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9471 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9474 if (!SWIG_IsOK(ecode2
)) {
9475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9477 arg2
= static_cast< int >(val2
);
9482 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9488 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9492 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9493 if (!SWIG_IsOK(ecode5
)) {
9494 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9496 arg5
= static_cast< long >(val5
);
9500 arg6
= wxString_in_helper(obj5
);
9501 if (arg6
== NULL
) SWIG_fail
;
9506 if (!wxPyCheckForApp()) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9527 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9528 PyObject
*resultobj
= 0;
9529 wxSplitterWindow
*result
= 0 ;
9531 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9533 if (!wxPyCheckForApp()) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9546 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
= 0;
9548 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9549 wxWindow
*arg2
= (wxWindow
*) 0 ;
9550 int arg3
= (int) -1 ;
9551 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9552 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9553 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9554 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9555 long arg6
= (long) wxSP_3D
;
9556 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9557 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9569 bool temp7
= false ;
9570 PyObject
* obj0
= 0 ;
9571 PyObject
* obj1
= 0 ;
9572 PyObject
* obj2
= 0 ;
9573 PyObject
* obj3
= 0 ;
9574 PyObject
* obj4
= 0 ;
9575 PyObject
* obj5
= 0 ;
9576 PyObject
* obj6
= 0 ;
9577 char * kwnames
[] = {
9578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9583 if (!SWIG_IsOK(res1
)) {
9584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9586 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9588 if (!SWIG_IsOK(res2
)) {
9589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9591 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9594 if (!SWIG_IsOK(ecode3
)) {
9595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9597 arg3
= static_cast< int >(val3
);
9602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9608 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9612 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9613 if (!SWIG_IsOK(ecode6
)) {
9614 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9616 arg6
= static_cast< long >(val6
);
9620 arg7
= wxString_in_helper(obj6
);
9621 if (arg7
== NULL
) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9648 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9649 PyObject
*resultobj
= 0;
9650 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9651 wxWindow
*result
= 0 ;
9654 PyObject
*swig_obj
[1] ;
9656 if (!args
) SWIG_fail
;
9658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9659 if (!SWIG_IsOK(res1
)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9662 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= wxPyMake_wxObject(result
, 0);
9678 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9679 PyObject
*resultobj
= 0;
9680 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9681 wxWindow
*result
= 0 ;
9684 PyObject
*swig_obj
[1] ;
9686 if (!args
) SWIG_fail
;
9688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9689 if (!SWIG_IsOK(res1
)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9692 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= wxPyMake_wxObject(result
, 0);
9708 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
= 0;
9710 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9718 char * kwnames
[] = {
9719 (char *) "self",(char *) "mode", NULL
9722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9724 if (!SWIG_IsOK(res1
)) {
9725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9727 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9729 if (!SWIG_IsOK(ecode2
)) {
9730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9732 arg2
= static_cast< int >(val2
);
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 (arg1
)->SetSplitMode(arg2
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_Py_Void();
9746 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9747 PyObject
*resultobj
= 0;
9748 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9752 PyObject
*swig_obj
[1] ;
9754 if (!args
) SWIG_fail
;
9756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9757 if (!SWIG_IsOK(res1
)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9760 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_From_int(static_cast< int >(result
));
9774 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
= 0;
9776 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9777 wxWindow
*arg2
= (wxWindow
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9783 PyObject
* obj1
= 0 ;
9784 char * kwnames
[] = {
9785 (char *) "self",(char *) "window", NULL
9788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9790 if (!SWIG_IsOK(res1
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9793 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9794 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9795 if (!SWIG_IsOK(res2
)) {
9796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9798 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 (arg1
)->Initialize(arg2
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_Py_Void();
9812 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
= 0;
9814 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9815 wxWindow
*arg2
= (wxWindow
*) 0 ;
9816 wxWindow
*arg3
= (wxWindow
*) 0 ;
9817 int arg4
= (int) 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9830 PyObject
* obj3
= 0 ;
9831 char * kwnames
[] = {
9832 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9837 if (!SWIG_IsOK(res1
)) {
9838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9840 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9842 if (!SWIG_IsOK(res2
)) {
9843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9845 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9846 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9847 if (!SWIG_IsOK(res3
)) {
9848 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9850 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9852 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9853 if (!SWIG_IsOK(ecode4
)) {
9854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9856 arg4
= static_cast< int >(val4
);
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9873 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
= 0;
9875 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9876 wxWindow
*arg2
= (wxWindow
*) 0 ;
9877 wxWindow
*arg3
= (wxWindow
*) 0 ;
9878 int arg4
= (int) 0 ;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9890 PyObject
* obj2
= 0 ;
9891 PyObject
* obj3
= 0 ;
9892 char * kwnames
[] = {
9893 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9898 if (!SWIG_IsOK(res1
)) {
9899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9901 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9903 if (!SWIG_IsOK(res2
)) {
9904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9906 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9907 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9908 if (!SWIG_IsOK(res3
)) {
9909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9911 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9914 if (!SWIG_IsOK(ecode4
)) {
9915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9917 arg4
= static_cast< int >(val4
);
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9934 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
= 0;
9936 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9937 wxWindow
*arg2
= (wxWindow
*) NULL
;
9943 PyObject
* obj0
= 0 ;
9944 PyObject
* obj1
= 0 ;
9945 char * kwnames
[] = {
9946 (char *) "self",(char *) "toRemove", NULL
9949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9951 if (!SWIG_IsOK(res1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9954 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9957 if (!SWIG_IsOK(res2
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9960 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (bool)(arg1
)->Unsplit(arg2
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9977 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
= 0;
9979 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9980 wxWindow
*arg2
= (wxWindow
*) 0 ;
9981 wxWindow
*arg3
= (wxWindow
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9990 PyObject
* obj1
= 0 ;
9991 PyObject
* obj2
= 0 ;
9992 char * kwnames
[] = {
9993 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9998 if (!SWIG_IsOK(res1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10001 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10002 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10003 if (!SWIG_IsOK(res2
)) {
10004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10006 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10007 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10008 if (!SWIG_IsOK(res3
)) {
10009 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10011 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10027 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10028 PyObject
*resultobj
= 0;
10029 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10032 PyObject
*swig_obj
[1] ;
10034 if (!args
) SWIG_fail
;
10035 swig_obj
[0] = args
;
10036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10037 if (!SWIG_IsOK(res1
)) {
10038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10040 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 (arg1
)->UpdateSize();
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= SWIG_Py_Void();
10054 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10055 PyObject
*resultobj
= 0;
10056 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10060 PyObject
*swig_obj
[1] ;
10062 if (!args
) SWIG_fail
;
10063 swig_obj
[0] = args
;
10064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10065 if (!SWIG_IsOK(res1
)) {
10066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10068 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10084 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
= 0;
10086 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 char * kwnames
[] = {
10095 (char *) "self",(char *) "width", NULL
10098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10100 if (!SWIG_IsOK(res1
)) {
10101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10103 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10105 if (!SWIG_IsOK(ecode2
)) {
10106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10108 arg2
= static_cast< int >(val2
);
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 (arg1
)->SetSashSize(arg2
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_Py_Void();
10122 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
= 0;
10124 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 char * kwnames
[] = {
10133 (char *) "self",(char *) "width", NULL
10136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10138 if (!SWIG_IsOK(res1
)) {
10139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10141 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10143 if (!SWIG_IsOK(ecode2
)) {
10144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10146 arg2
= static_cast< int >(val2
);
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 (arg1
)->SetBorderSize(arg2
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= SWIG_Py_Void();
10160 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10161 PyObject
*resultobj
= 0;
10162 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10166 PyObject
*swig_obj
[1] ;
10168 if (!args
) SWIG_fail
;
10169 swig_obj
[0] = args
;
10170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10171 if (!SWIG_IsOK(res1
)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10174 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_From_int(static_cast< int >(result
));
10188 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10189 PyObject
*resultobj
= 0;
10190 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10194 PyObject
*swig_obj
[1] ;
10196 if (!args
) SWIG_fail
;
10197 swig_obj
[0] = args
;
10198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10199 if (!SWIG_IsOK(res1
)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10202 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10209 resultobj
= SWIG_From_int(static_cast< int >(result
));
10216 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
= 0;
10218 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10220 bool arg3
= (bool) true ;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 PyObject
* obj2
= 0 ;
10230 char * kwnames
[] = {
10231 (char *) "self",(char *) "position",(char *) "redraw", NULL
10234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10236 if (!SWIG_IsOK(res1
)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10239 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10241 if (!SWIG_IsOK(ecode2
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10244 arg2
= static_cast< int >(val2
);
10246 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10247 if (!SWIG_IsOK(ecode3
)) {
10248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10250 arg3
= static_cast< bool >(val3
);
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 (arg1
)->SetSashPosition(arg2
,arg3
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= SWIG_Py_Void();
10265 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10266 PyObject
*resultobj
= 0;
10267 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10271 PyObject
*swig_obj
[1] ;
10273 if (!args
) SWIG_fail
;
10274 swig_obj
[0] = args
;
10275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10276 if (!SWIG_IsOK(res1
)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10279 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_From_int(static_cast< int >(result
));
10293 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
= 0;
10295 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10301 PyObject
* obj0
= 0 ;
10302 PyObject
* obj1
= 0 ;
10303 char * kwnames
[] = {
10304 (char *) "self",(char *) "gravity", NULL
10307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10309 if (!SWIG_IsOK(res1
)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10312 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10313 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10314 if (!SWIG_IsOK(ecode2
)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10317 arg2
= static_cast< double >(val2
);
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 (arg1
)->SetSashGravity(arg2
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_Py_Void();
10331 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10332 PyObject
*resultobj
= 0;
10333 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10337 PyObject
*swig_obj
[1] ;
10339 if (!args
) SWIG_fail
;
10340 swig_obj
[0] = args
;
10341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10342 if (!SWIG_IsOK(res1
)) {
10343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10345 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_From_double(static_cast< double >(result
));
10359 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
= 0;
10361 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 char * kwnames
[] = {
10370 (char *) "self",(char *) "min", NULL
10373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10375 if (!SWIG_IsOK(res1
)) {
10376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10378 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10380 if (!SWIG_IsOK(ecode2
)) {
10381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10383 arg2
= static_cast< int >(val2
);
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 (arg1
)->SetMinimumPaneSize(arg2
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_Py_Void();
10397 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10398 PyObject
*resultobj
= 0;
10399 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10403 PyObject
*swig_obj
[1] ;
10405 if (!args
) SWIG_fail
;
10406 swig_obj
[0] = args
;
10407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10408 if (!SWIG_IsOK(res1
)) {
10409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10411 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= SWIG_From_int(static_cast< int >(result
));
10425 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
= 0;
10427 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10430 int arg4
= (int) 5 ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 PyObject
* obj2
= 0 ;
10443 PyObject
* obj3
= 0 ;
10444 char * kwnames
[] = {
10445 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10450 if (!SWIG_IsOK(res1
)) {
10451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10453 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10455 if (!SWIG_IsOK(ecode2
)) {
10456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10458 arg2
= static_cast< int >(val2
);
10459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10460 if (!SWIG_IsOK(ecode3
)) {
10461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10463 arg3
= static_cast< int >(val3
);
10465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10466 if (!SWIG_IsOK(ecode4
)) {
10467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10469 arg4
= static_cast< int >(val4
);
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10486 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10487 PyObject
*resultobj
= 0;
10488 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 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_wxSplitterWindow
, 0 | 0 );
10496 if (!SWIG_IsOK(res1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10499 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 (arg1
)->SizeWindows();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_Py_Void();
10513 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
= 0;
10515 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 char * kwnames
[] = {
10524 (char *) "self",(char *) "needUpdating", NULL
10527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10532 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10533 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10534 if (!SWIG_IsOK(ecode2
)) {
10535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10537 arg2
= static_cast< bool >(val2
);
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 (arg1
)->SetNeedUpdating(arg2
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 resultobj
= SWIG_Py_Void();
10551 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10552 PyObject
*resultobj
= 0;
10553 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10557 PyObject
*swig_obj
[1] ;
10559 if (!args
) SWIG_fail
;
10560 swig_obj
[0] = args
;
10561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10562 if (!SWIG_IsOK(res1
)) {
10563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10565 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10581 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
= 0;
10583 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10584 SwigValueWrapper
<wxVisualAttributes
> result
;
10587 PyObject
* obj0
= 0 ;
10588 char * kwnames
[] = {
10589 (char *) "variant", NULL
10592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10594 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10595 if (!SWIG_IsOK(ecode1
)) {
10596 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10598 arg1
= static_cast< wxWindowVariant
>(val1
);
10601 if (!wxPyCheckForApp()) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10614 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10617 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10618 return SWIG_Py_Void();
10621 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10622 return SWIG_Python_InitShadowInstance(args
);
10625 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
= 0;
10627 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10628 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10629 wxSplitterEvent
*result
= 0 ;
10634 PyObject
* obj0
= 0 ;
10635 PyObject
* obj1
= 0 ;
10636 char * kwnames
[] = {
10637 (char *) "type",(char *) "splitter", NULL
10640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10643 if (!SWIG_IsOK(ecode1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10646 arg1
= static_cast< wxEventType
>(val1
);
10649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10650 if (!SWIG_IsOK(res2
)) {
10651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10653 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10668 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
= 0;
10670 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 char * kwnames
[] = {
10679 (char *) "self",(char *) "pos", NULL
10682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10684 if (!SWIG_IsOK(res1
)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10687 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10689 if (!SWIG_IsOK(ecode2
)) {
10690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10692 arg2
= static_cast< int >(val2
);
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 (arg1
)->SetSashPosition(arg2
);
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10699 resultobj
= SWIG_Py_Void();
10706 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10707 PyObject
*resultobj
= 0;
10708 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10712 PyObject
*swig_obj
[1] ;
10714 if (!args
) SWIG_fail
;
10715 swig_obj
[0] = args
;
10716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10717 if (!SWIG_IsOK(res1
)) {
10718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10720 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= SWIG_From_int(static_cast< int >(result
));
10734 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10735 PyObject
*resultobj
= 0;
10736 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10737 wxWindow
*result
= 0 ;
10740 PyObject
*swig_obj
[1] ;
10742 if (!args
) SWIG_fail
;
10743 swig_obj
[0] = args
;
10744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10745 if (!SWIG_IsOK(res1
)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10748 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= wxPyMake_wxObject(result
, 0);
10764 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10765 PyObject
*resultobj
= 0;
10766 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10770 PyObject
*swig_obj
[1] ;
10772 if (!args
) SWIG_fail
;
10773 swig_obj
[0] = args
;
10774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10775 if (!SWIG_IsOK(res1
)) {
10776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10778 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 resultobj
= SWIG_From_int(static_cast< int >(result
));
10792 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10793 PyObject
*resultobj
= 0;
10794 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10798 PyObject
*swig_obj
[1] ;
10800 if (!args
) SWIG_fail
;
10801 swig_obj
[0] = args
;
10802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10803 if (!SWIG_IsOK(res1
)) {
10804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10806 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 resultobj
= SWIG_From_int(static_cast< int >(result
));
10820 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10823 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10824 return SWIG_Py_Void();
10827 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10828 return SWIG_Python_InitShadowInstance(args
);
10831 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10832 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10837 SWIGINTERN PyObject
*SashNameStr_get(void) {
10838 PyObject
*pyobj
= 0;
10842 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10844 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10851 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10852 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10857 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10858 PyObject
*pyobj
= 0;
10862 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10864 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10871 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
= 0;
10873 wxWindow
*arg1
= (wxWindow
*) 0 ;
10874 int arg2
= (int) -1 ;
10875 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10876 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10877 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10878 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10879 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10880 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10881 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10882 wxSashWindow
*result
= 0 ;
10891 bool temp6
= false ;
10892 PyObject
* obj0
= 0 ;
10893 PyObject
* obj1
= 0 ;
10894 PyObject
* obj2
= 0 ;
10895 PyObject
* obj3
= 0 ;
10896 PyObject
* obj4
= 0 ;
10897 PyObject
* obj5
= 0 ;
10898 char * kwnames
[] = {
10899 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10904 if (!SWIG_IsOK(res1
)) {
10905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10907 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10910 if (!SWIG_IsOK(ecode2
)) {
10911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10913 arg2
= static_cast< int >(val2
);
10918 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10924 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10928 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10929 if (!SWIG_IsOK(ecode5
)) {
10930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10932 arg5
= static_cast< long >(val5
);
10936 arg6
= wxString_in_helper(obj5
);
10937 if (arg6
== NULL
) SWIG_fail
;
10942 if (!wxPyCheckForApp()) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10963 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10964 PyObject
*resultobj
= 0;
10965 wxSashWindow
*result
= 0 ;
10967 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10969 if (!wxPyCheckForApp()) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (wxSashWindow
*)new wxSashWindow();
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10982 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
= 0;
10984 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10985 wxWindow
*arg2
= (wxWindow
*) 0 ;
10986 int arg3
= (int) -1 ;
10987 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10988 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10989 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10990 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10991 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10992 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10993 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11005 bool temp7
= false ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 PyObject
* obj2
= 0 ;
11009 PyObject
* obj3
= 0 ;
11010 PyObject
* obj4
= 0 ;
11011 PyObject
* obj5
= 0 ;
11012 PyObject
* obj6
= 0 ;
11013 char * kwnames
[] = {
11014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11019 if (!SWIG_IsOK(res1
)) {
11020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11022 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11023 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11024 if (!SWIG_IsOK(res2
)) {
11025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11027 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11030 if (!SWIG_IsOK(ecode3
)) {
11031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11033 arg3
= static_cast< int >(val3
);
11038 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11044 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11048 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11049 if (!SWIG_IsOK(ecode6
)) {
11050 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11052 arg6
= static_cast< long >(val6
);
11056 arg7
= wxString_in_helper(obj6
);
11057 if (arg7
== NULL
) SWIG_fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11084 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
= 0;
11086 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11087 wxSashEdgePosition arg2
;
11095 PyObject
* obj0
= 0 ;
11096 PyObject
* obj1
= 0 ;
11097 PyObject
* obj2
= 0 ;
11098 char * kwnames
[] = {
11099 (char *) "self",(char *) "edge",(char *) "sash", NULL
11102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11104 if (!SWIG_IsOK(res1
)) {
11105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11107 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11109 if (!SWIG_IsOK(ecode2
)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11112 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11113 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11114 if (!SWIG_IsOK(ecode3
)) {
11115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11117 arg3
= static_cast< bool >(val3
);
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 (arg1
)->SetSashVisible(arg2
,arg3
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 resultobj
= SWIG_Py_Void();
11131 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
= 0;
11133 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11134 wxSashEdgePosition arg2
;
11140 PyObject
* obj0
= 0 ;
11141 PyObject
* obj1
= 0 ;
11142 char * kwnames
[] = {
11143 (char *) "self",(char *) "edge", NULL
11146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11148 if (!SWIG_IsOK(res1
)) {
11149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11151 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11153 if (!SWIG_IsOK(ecode2
)) {
11154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11156 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11172 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
= 0;
11174 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11175 wxSashEdgePosition arg2
;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj1
= 0 ;
11185 PyObject
* obj2
= 0 ;
11186 char * kwnames
[] = {
11187 (char *) "self",(char *) "edge",(char *) "border", NULL
11190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11192 if (!SWIG_IsOK(res1
)) {
11193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11195 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11197 if (!SWIG_IsOK(ecode2
)) {
11198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11200 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11201 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11202 if (!SWIG_IsOK(ecode3
)) {
11203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11205 arg3
= static_cast< bool >(val3
);
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 (arg1
)->SetSashBorder(arg2
,arg3
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= SWIG_Py_Void();
11219 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
= 0;
11221 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11222 wxSashEdgePosition arg2
;
11228 PyObject
* obj0
= 0 ;
11229 PyObject
* obj1
= 0 ;
11230 char * kwnames
[] = {
11231 (char *) "self",(char *) "edge", NULL
11234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11236 if (!SWIG_IsOK(res1
)) {
11237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11239 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11241 if (!SWIG_IsOK(ecode2
)) {
11242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11244 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11260 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
= 0;
11262 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11263 wxSashEdgePosition arg2
;
11269 PyObject
* obj0
= 0 ;
11270 PyObject
* obj1
= 0 ;
11271 char * kwnames
[] = {
11272 (char *) "self",(char *) "edge", NULL
11275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11277 if (!SWIG_IsOK(res1
)) {
11278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11280 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11282 if (!SWIG_IsOK(ecode2
)) {
11283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11285 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_From_int(static_cast< int >(result
));
11299 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
= 0;
11301 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 char * kwnames
[] = {
11310 (char *) "self",(char *) "width", NULL
11313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11315 if (!SWIG_IsOK(res1
)) {
11316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11318 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11320 if (!SWIG_IsOK(ecode2
)) {
11321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11323 arg2
= static_cast< int >(val2
);
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 (arg1
)->SetDefaultBorderSize(arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= SWIG_Py_Void();
11337 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11338 PyObject
*resultobj
= 0;
11339 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11343 PyObject
*swig_obj
[1] ;
11345 if (!args
) SWIG_fail
;
11346 swig_obj
[0] = args
;
11347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11348 if (!SWIG_IsOK(res1
)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11351 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= SWIG_From_int(static_cast< int >(result
));
11365 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
= 0;
11367 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 char * kwnames
[] = {
11376 (char *) "self",(char *) "width", NULL
11379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11381 if (!SWIG_IsOK(res1
)) {
11382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11384 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11386 if (!SWIG_IsOK(ecode2
)) {
11387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11389 arg2
= static_cast< int >(val2
);
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 (arg1
)->SetExtraBorderSize(arg2
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= SWIG_Py_Void();
11403 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11404 PyObject
*resultobj
= 0;
11405 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11409 PyObject
*swig_obj
[1] ;
11411 if (!args
) SWIG_fail
;
11412 swig_obj
[0] = args
;
11413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11414 if (!SWIG_IsOK(res1
)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11417 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= SWIG_From_int(static_cast< int >(result
));
11431 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
= 0;
11433 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11441 char * kwnames
[] = {
11442 (char *) "self",(char *) "min", NULL
11445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11447 if (!SWIG_IsOK(res1
)) {
11448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11450 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11452 if (!SWIG_IsOK(ecode2
)) {
11453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11455 arg2
= static_cast< int >(val2
);
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 (arg1
)->SetMinimumSizeX(arg2
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_Py_Void();
11469 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
= 0;
11471 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11477 PyObject
* obj0
= 0 ;
11478 PyObject
* obj1
= 0 ;
11479 char * kwnames
[] = {
11480 (char *) "self",(char *) "min", NULL
11483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11485 if (!SWIG_IsOK(res1
)) {
11486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11488 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11490 if (!SWIG_IsOK(ecode2
)) {
11491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11493 arg2
= static_cast< int >(val2
);
11495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11496 (arg1
)->SetMinimumSizeY(arg2
);
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= SWIG_Py_Void();
11507 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11508 PyObject
*resultobj
= 0;
11509 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11513 PyObject
*swig_obj
[1] ;
11515 if (!args
) SWIG_fail
;
11516 swig_obj
[0] = args
;
11517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11518 if (!SWIG_IsOK(res1
)) {
11519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11521 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= SWIG_From_int(static_cast< int >(result
));
11535 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11536 PyObject
*resultobj
= 0;
11537 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11541 PyObject
*swig_obj
[1] ;
11543 if (!args
) SWIG_fail
;
11544 swig_obj
[0] = args
;
11545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11546 if (!SWIG_IsOK(res1
)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11549 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= SWIG_From_int(static_cast< int >(result
));
11563 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11564 PyObject
*resultobj
= 0;
11565 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11571 PyObject
* obj0
= 0 ;
11572 PyObject
* obj1
= 0 ;
11573 char * kwnames
[] = {
11574 (char *) "self",(char *) "max", NULL
11577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11579 if (!SWIG_IsOK(res1
)) {
11580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11582 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11584 if (!SWIG_IsOK(ecode2
)) {
11585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11587 arg2
= static_cast< int >(val2
);
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 (arg1
)->SetMaximumSizeX(arg2
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= SWIG_Py_Void();
11601 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
= 0;
11603 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11609 PyObject
* obj0
= 0 ;
11610 PyObject
* obj1
= 0 ;
11611 char * kwnames
[] = {
11612 (char *) "self",(char *) "max", NULL
11615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11617 if (!SWIG_IsOK(res1
)) {
11618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11620 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11622 if (!SWIG_IsOK(ecode2
)) {
11623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11625 arg2
= static_cast< int >(val2
);
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 (arg1
)->SetMaximumSizeY(arg2
);
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= SWIG_Py_Void();
11639 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11640 PyObject
*resultobj
= 0;
11641 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11645 PyObject
*swig_obj
[1] ;
11647 if (!args
) SWIG_fail
;
11648 swig_obj
[0] = args
;
11649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11650 if (!SWIG_IsOK(res1
)) {
11651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11653 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= SWIG_From_int(static_cast< int >(result
));
11667 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11668 PyObject
*resultobj
= 0;
11669 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11673 PyObject
*swig_obj
[1] ;
11675 if (!args
) SWIG_fail
;
11676 swig_obj
[0] = args
;
11677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11678 if (!SWIG_IsOK(res1
)) {
11679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11681 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= SWIG_From_int(static_cast< int >(result
));
11695 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
= 0;
11697 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11700 int arg4
= (int) 2 ;
11701 wxSashEdgePosition result
;
11710 PyObject
* obj0
= 0 ;
11711 PyObject
* obj1
= 0 ;
11712 PyObject
* obj2
= 0 ;
11713 PyObject
* obj3
= 0 ;
11714 char * kwnames
[] = {
11715 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11720 if (!SWIG_IsOK(res1
)) {
11721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11723 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11725 if (!SWIG_IsOK(ecode2
)) {
11726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11728 arg2
= static_cast< int >(val2
);
11729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11730 if (!SWIG_IsOK(ecode3
)) {
11731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11733 arg3
= static_cast< int >(val3
);
11735 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11736 if (!SWIG_IsOK(ecode4
)) {
11737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11739 arg4
= static_cast< int >(val4
);
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_From_int(static_cast< int >(result
));
11754 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11755 PyObject
*resultobj
= 0;
11756 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11759 PyObject
*swig_obj
[1] ;
11761 if (!args
) SWIG_fail
;
11762 swig_obj
[0] = args
;
11763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11764 if (!SWIG_IsOK(res1
)) {
11765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11767 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 (arg1
)->SizeWindows();
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= SWIG_Py_Void();
11781 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11784 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11785 return SWIG_Py_Void();
11788 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11789 return SWIG_Python_InitShadowInstance(args
);
11792 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
= 0;
11794 int arg1
= (int) 0 ;
11795 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11796 wxSashEvent
*result
= 0 ;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 char * kwnames
[] = {
11804 (char *) "id",(char *) "edge", NULL
11807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11809 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11810 if (!SWIG_IsOK(ecode1
)) {
11811 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11813 arg1
= static_cast< int >(val1
);
11816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11817 if (!SWIG_IsOK(ecode2
)) {
11818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11820 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11835 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
= 0;
11837 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11838 wxSashEdgePosition arg2
;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 char * kwnames
[] = {
11846 (char *) "self",(char *) "edge", NULL
11849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11851 if (!SWIG_IsOK(res1
)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11854 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11856 if (!SWIG_IsOK(ecode2
)) {
11857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11859 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 (arg1
)->SetEdge(arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 resultobj
= SWIG_Py_Void();
11873 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11874 PyObject
*resultobj
= 0;
11875 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11876 wxSashEdgePosition result
;
11879 PyObject
*swig_obj
[1] ;
11881 if (!args
) SWIG_fail
;
11882 swig_obj
[0] = args
;
11883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11884 if (!SWIG_IsOK(res1
)) {
11885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11887 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= SWIG_From_int(static_cast< int >(result
));
11901 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
*resultobj
= 0;
11903 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11908 PyObject
* obj0
= 0 ;
11909 PyObject
* obj1
= 0 ;
11910 char * kwnames
[] = {
11911 (char *) "self",(char *) "rect", NULL
11914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11916 if (!SWIG_IsOK(res1
)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11919 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11922 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11930 resultobj
= SWIG_Py_Void();
11937 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11938 PyObject
*resultobj
= 0;
11939 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11943 PyObject
*swig_obj
[1] ;
11945 if (!args
) SWIG_fail
;
11946 swig_obj
[0] = args
;
11947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11948 if (!SWIG_IsOK(res1
)) {
11949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11951 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11965 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
= 0;
11967 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11968 wxSashDragStatus arg2
;
11973 PyObject
* obj0
= 0 ;
11974 PyObject
* obj1
= 0 ;
11975 char * kwnames
[] = {
11976 (char *) "self",(char *) "status", NULL
11979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11981 if (!SWIG_IsOK(res1
)) {
11982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11984 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11986 if (!SWIG_IsOK(ecode2
)) {
11987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11989 arg2
= static_cast< wxSashDragStatus
>(val2
);
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 (arg1
)->SetDragStatus(arg2
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= SWIG_Py_Void();
12003 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12004 PyObject
*resultobj
= 0;
12005 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12006 wxSashDragStatus result
;
12009 PyObject
*swig_obj
[1] ;
12011 if (!args
) SWIG_fail
;
12012 swig_obj
[0] = args
;
12013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12017 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= SWIG_From_int(static_cast< int >(result
));
12031 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12034 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12035 return SWIG_Py_Void();
12038 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12039 return SWIG_Python_InitShadowInstance(args
);
12042 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
= 0;
12044 int arg1
= (int) 0 ;
12045 wxQueryLayoutInfoEvent
*result
= 0 ;
12048 PyObject
* obj0
= 0 ;
12049 char * kwnames
[] = {
12050 (char *) "id", NULL
12053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12055 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12056 if (!SWIG_IsOK(ecode1
)) {
12057 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12059 arg1
= static_cast< int >(val1
);
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12074 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
= 0;
12076 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 char * kwnames
[] = {
12085 (char *) "self",(char *) "length", NULL
12088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12090 if (!SWIG_IsOK(res1
)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12093 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12095 if (!SWIG_IsOK(ecode2
)) {
12096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12098 arg2
= static_cast< int >(val2
);
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 (arg1
)->SetRequestedLength(arg2
);
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_Py_Void();
12112 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12113 PyObject
*resultobj
= 0;
12114 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12118 PyObject
*swig_obj
[1] ;
12120 if (!args
) SWIG_fail
;
12121 swig_obj
[0] = args
;
12122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12123 if (!SWIG_IsOK(res1
)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12126 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= SWIG_From_int(static_cast< int >(result
));
12140 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
= 0;
12142 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char * kwnames
[] = {
12151 (char *) "self",(char *) "flags", NULL
12154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12156 if (!SWIG_IsOK(res1
)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12159 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12161 if (!SWIG_IsOK(ecode2
)) {
12162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12164 arg2
= static_cast< int >(val2
);
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 (arg1
)->SetFlags(arg2
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= SWIG_Py_Void();
12178 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12179 PyObject
*resultobj
= 0;
12180 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12184 PyObject
*swig_obj
[1] ;
12186 if (!args
) SWIG_fail
;
12187 swig_obj
[0] = args
;
12188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12189 if (!SWIG_IsOK(res1
)) {
12190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12192 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= SWIG_From_int(static_cast< int >(result
));
12206 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
= 0;
12208 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12213 PyObject
* obj0
= 0 ;
12214 PyObject
* obj1
= 0 ;
12215 char * kwnames
[] = {
12216 (char *) "self",(char *) "size", NULL
12219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12221 if (!SWIG_IsOK(res1
)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12224 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12227 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 (arg1
)->SetSize((wxSize
const &)*arg2
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_Py_Void();
12242 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12243 PyObject
*resultobj
= 0;
12244 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12248 PyObject
*swig_obj
[1] ;
12250 if (!args
) SWIG_fail
;
12251 swig_obj
[0] = args
;
12252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12253 if (!SWIG_IsOK(res1
)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12256 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12270 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
= 0;
12272 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12273 wxLayoutOrientation arg2
;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 char * kwnames
[] = {
12281 (char *) "self",(char *) "orient", NULL
12284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12286 if (!SWIG_IsOK(res1
)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12289 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12291 if (!SWIG_IsOK(ecode2
)) {
12292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12294 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 (arg1
)->SetOrientation(arg2
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_Py_Void();
12308 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12309 PyObject
*resultobj
= 0;
12310 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12311 wxLayoutOrientation result
;
12314 PyObject
*swig_obj
[1] ;
12316 if (!args
) SWIG_fail
;
12317 swig_obj
[0] = args
;
12318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12319 if (!SWIG_IsOK(res1
)) {
12320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12322 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= SWIG_From_int(static_cast< int >(result
));
12336 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
= 0;
12338 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12339 wxLayoutAlignment arg2
;
12344 PyObject
* obj0
= 0 ;
12345 PyObject
* obj1
= 0 ;
12346 char * kwnames
[] = {
12347 (char *) "self",(char *) "align", NULL
12350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12352 if (!SWIG_IsOK(res1
)) {
12353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12355 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12357 if (!SWIG_IsOK(ecode2
)) {
12358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12360 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 (arg1
)->SetAlignment(arg2
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_Py_Void();
12374 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12375 PyObject
*resultobj
= 0;
12376 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12377 wxLayoutAlignment result
;
12380 PyObject
*swig_obj
[1] ;
12382 if (!args
) SWIG_fail
;
12383 swig_obj
[0] = args
;
12384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12385 if (!SWIG_IsOK(res1
)) {
12386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12388 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= SWIG_From_int(static_cast< int >(result
));
12402 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12405 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12406 return SWIG_Py_Void();
12409 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12410 return SWIG_Python_InitShadowInstance(args
);
12413 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
= 0;
12415 int arg1
= (int) 0 ;
12416 wxCalculateLayoutEvent
*result
= 0 ;
12419 PyObject
* obj0
= 0 ;
12420 char * kwnames
[] = {
12421 (char *) "id", NULL
12424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12426 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12427 if (!SWIG_IsOK(ecode1
)) {
12428 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12430 arg1
= static_cast< int >(val1
);
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12445 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
= 0;
12447 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 char * kwnames
[] = {
12456 (char *) "self",(char *) "flags", NULL
12459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12461 if (!SWIG_IsOK(res1
)) {
12462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12464 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12466 if (!SWIG_IsOK(ecode2
)) {
12467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12469 arg2
= static_cast< int >(val2
);
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 (arg1
)->SetFlags(arg2
);
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= SWIG_Py_Void();
12483 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12484 PyObject
*resultobj
= 0;
12485 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12489 PyObject
*swig_obj
[1] ;
12491 if (!args
) SWIG_fail
;
12492 swig_obj
[0] = args
;
12493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12494 if (!SWIG_IsOK(res1
)) {
12495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12497 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= SWIG_From_int(static_cast< int >(result
));
12511 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
= 0;
12513 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12518 PyObject
* obj0
= 0 ;
12519 PyObject
* obj1
= 0 ;
12520 char * kwnames
[] = {
12521 (char *) "self",(char *) "rect", NULL
12524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12526 if (!SWIG_IsOK(res1
)) {
12527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12529 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12532 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 (arg1
)->SetRect((wxRect
const &)*arg2
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= SWIG_Py_Void();
12547 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12548 PyObject
*resultobj
= 0;
12549 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12553 PyObject
*swig_obj
[1] ;
12555 if (!args
) SWIG_fail
;
12556 swig_obj
[0] = args
;
12557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12558 if (!SWIG_IsOK(res1
)) {
12559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12561 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12575 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12578 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12579 return SWIG_Py_Void();
12582 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12583 return SWIG_Python_InitShadowInstance(args
);
12586 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
= 0;
12588 wxWindow
*arg1
= (wxWindow
*) 0 ;
12589 int arg2
= (int) -1 ;
12590 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12591 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12592 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12593 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12594 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12595 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12596 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12597 wxSashLayoutWindow
*result
= 0 ;
12606 bool temp6
= false ;
12607 PyObject
* obj0
= 0 ;
12608 PyObject
* obj1
= 0 ;
12609 PyObject
* obj2
= 0 ;
12610 PyObject
* obj3
= 0 ;
12611 PyObject
* obj4
= 0 ;
12612 PyObject
* obj5
= 0 ;
12613 char * kwnames
[] = {
12614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12619 if (!SWIG_IsOK(res1
)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12622 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12625 if (!SWIG_IsOK(ecode2
)) {
12626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12628 arg2
= static_cast< int >(val2
);
12633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12639 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12643 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12644 if (!SWIG_IsOK(ecode5
)) {
12645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12647 arg5
= static_cast< long >(val5
);
12651 arg6
= wxString_in_helper(obj5
);
12652 if (arg6
== NULL
) SWIG_fail
;
12657 if (!wxPyCheckForApp()) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12678 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12679 PyObject
*resultobj
= 0;
12680 wxSashLayoutWindow
*result
= 0 ;
12682 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12684 if (!wxPyCheckForApp()) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12697 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
= 0;
12699 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12700 wxWindow
*arg2
= (wxWindow
*) 0 ;
12701 int arg3
= (int) -1 ;
12702 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12703 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12704 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12705 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12706 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12707 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12708 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12720 bool temp7
= false ;
12721 PyObject
* obj0
= 0 ;
12722 PyObject
* obj1
= 0 ;
12723 PyObject
* obj2
= 0 ;
12724 PyObject
* obj3
= 0 ;
12725 PyObject
* obj4
= 0 ;
12726 PyObject
* obj5
= 0 ;
12727 PyObject
* obj6
= 0 ;
12728 char * kwnames
[] = {
12729 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12734 if (!SWIG_IsOK(res1
)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12737 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12739 if (!SWIG_IsOK(res2
)) {
12740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12742 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12745 if (!SWIG_IsOK(ecode3
)) {
12746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12748 arg3
= static_cast< int >(val3
);
12753 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12759 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12763 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12764 if (!SWIG_IsOK(ecode6
)) {
12765 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12767 arg6
= static_cast< long >(val6
);
12771 arg7
= wxString_in_helper(obj6
);
12772 if (arg7
== NULL
) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12799 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12800 PyObject
*resultobj
= 0;
12801 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12802 wxLayoutAlignment result
;
12805 PyObject
*swig_obj
[1] ;
12807 if (!args
) SWIG_fail
;
12808 swig_obj
[0] = args
;
12809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12810 if (!SWIG_IsOK(res1
)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12813 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= SWIG_From_int(static_cast< int >(result
));
12827 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12828 PyObject
*resultobj
= 0;
12829 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12830 wxLayoutOrientation result
;
12833 PyObject
*swig_obj
[1] ;
12835 if (!args
) SWIG_fail
;
12836 swig_obj
[0] = args
;
12837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12838 if (!SWIG_IsOK(res1
)) {
12839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12841 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= SWIG_From_int(static_cast< int >(result
));
12855 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
= 0;
12857 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12858 wxLayoutAlignment arg2
;
12863 PyObject
* obj0
= 0 ;
12864 PyObject
* obj1
= 0 ;
12865 char * kwnames
[] = {
12866 (char *) "self",(char *) "alignment", NULL
12869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12871 if (!SWIG_IsOK(res1
)) {
12872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12874 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12876 if (!SWIG_IsOK(ecode2
)) {
12877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12879 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 (arg1
)->SetAlignment(arg2
);
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 resultobj
= SWIG_Py_Void();
12893 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12894 PyObject
*resultobj
= 0;
12895 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 PyObject
* obj1
= 0 ;
12902 char * kwnames
[] = {
12903 (char *) "self",(char *) "size", NULL
12906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12908 if (!SWIG_IsOK(res1
)) {
12909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12911 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12914 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12922 resultobj
= SWIG_Py_Void();
12929 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
= 0;
12931 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12932 wxLayoutOrientation arg2
;
12937 PyObject
* obj0
= 0 ;
12938 PyObject
* obj1
= 0 ;
12939 char * kwnames
[] = {
12940 (char *) "self",(char *) "orientation", NULL
12943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12945 if (!SWIG_IsOK(res1
)) {
12946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12948 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12950 if (!SWIG_IsOK(ecode2
)) {
12951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12953 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 (arg1
)->SetOrientation(arg2
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= SWIG_Py_Void();
12967 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12970 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12971 return SWIG_Py_Void();
12974 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 return SWIG_Python_InitShadowInstance(args
);
12978 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12979 PyObject
*resultobj
= 0;
12980 wxLayoutAlgorithm
*result
= 0 ;
12982 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12996 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12997 PyObject
*resultobj
= 0;
12998 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13001 PyObject
*swig_obj
[1] ;
13003 if (!args
) SWIG_fail
;
13004 swig_obj
[0] = args
;
13005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
13006 if (!SWIG_IsOK(res1
)) {
13007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13009 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_Py_Void();
13024 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
= 0;
13026 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13027 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13028 wxRect
*arg3
= (wxRect
*) NULL
;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj1
= 0 ;
13038 PyObject
* obj2
= 0 ;
13039 char * kwnames
[] = {
13040 (char *) "self",(char *) "frame",(char *) "rect", NULL
13043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13045 if (!SWIG_IsOK(res1
)) {
13046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13048 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13050 if (!SWIG_IsOK(res2
)) {
13051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13053 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13055 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13056 if (!SWIG_IsOK(res3
)) {
13057 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13059 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13076 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
= 0;
13078 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13079 wxFrame
*arg2
= (wxFrame
*) 0 ;
13080 wxWindow
*arg3
= (wxWindow
*) NULL
;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 PyObject
* obj2
= 0 ;
13091 char * kwnames
[] = {
13092 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13097 if (!SWIG_IsOK(res1
)) {
13098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13100 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13101 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13102 if (!SWIG_IsOK(res2
)) {
13103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13105 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13107 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13108 if (!SWIG_IsOK(res3
)) {
13109 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13111 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13128 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
= 0;
13130 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13131 wxWindow
*arg2
= (wxWindow
*) 0 ;
13132 wxWindow
*arg3
= (wxWindow
*) NULL
;
13140 PyObject
* obj0
= 0 ;
13141 PyObject
* obj1
= 0 ;
13142 PyObject
* obj2
= 0 ;
13143 char * kwnames
[] = {
13144 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13149 if (!SWIG_IsOK(res1
)) {
13150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13152 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13153 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13154 if (!SWIG_IsOK(res2
)) {
13155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13157 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13159 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13160 if (!SWIG_IsOK(res3
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13163 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13180 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13183 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13184 return SWIG_Py_Void();
13187 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13188 return SWIG_Python_InitShadowInstance(args
);
13191 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
= 0;
13193 wxWindow
*arg1
= (wxWindow
*) 0 ;
13194 int arg2
= (int) wxBORDER_NONE
;
13195 wxPopupWindow
*result
= 0 ;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 char * kwnames
[] = {
13203 (char *) "parent",(char *) "flags", NULL
13206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13208 if (!SWIG_IsOK(res1
)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13211 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13214 if (!SWIG_IsOK(ecode2
)) {
13215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13217 arg2
= static_cast< int >(val2
);
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13232 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13233 PyObject
*resultobj
= 0;
13234 wxPopupWindow
*result
= 0 ;
13236 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= (wxPopupWindow
*)new wxPopupWindow();
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13250 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13252 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13253 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13254 return SWIG_Py_Void();
13257 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13258 return SWIG_Python_InitShadowInstance(args
);
13261 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
= 0;
13263 wxWindow
*arg1
= (wxWindow
*) 0 ;
13264 int arg2
= (int) wxBORDER_NONE
;
13265 wxPyPopupTransientWindow
*result
= 0 ;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 char * kwnames
[] = {
13273 (char *) "parent",(char *) "style", NULL
13276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13278 if (!SWIG_IsOK(res1
)) {
13279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13281 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13284 if (!SWIG_IsOK(ecode2
)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13287 arg2
= static_cast< int >(val2
);
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13302 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13303 PyObject
*resultobj
= 0;
13304 wxPyPopupTransientWindow
*result
= 0 ;
13306 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13320 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13323 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13324 return SWIG_Py_Void();
13327 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13328 return SWIG_Python_InitShadowInstance(args
);
13331 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
= 0;
13333 wxWindow
*arg1
= (wxWindow
*) 0 ;
13334 wxString
*arg2
= 0 ;
13335 int arg3
= (int) 100 ;
13336 wxRect
*arg4
= (wxRect
*) NULL
;
13337 wxTipWindow
*result
= 0 ;
13340 bool temp2
= false ;
13345 PyObject
* obj0
= 0 ;
13346 PyObject
* obj1
= 0 ;
13347 PyObject
* obj2
= 0 ;
13348 PyObject
* obj3
= 0 ;
13349 char * kwnames
[] = {
13350 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13355 if (!SWIG_IsOK(res1
)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13358 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13360 arg2
= wxString_in_helper(obj1
);
13361 if (arg2
== NULL
) SWIG_fail
;
13365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13366 if (!SWIG_IsOK(ecode3
)) {
13367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13369 arg3
= static_cast< int >(val3
);
13372 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13373 if (!SWIG_IsOK(res4
)) {
13374 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13376 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13379 if (!wxPyCheckForApp()) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13400 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
= 0;
13402 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 char * kwnames
[] = {
13410 (char *) "self",(char *) "rectBound", NULL
13413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13415 if (!SWIG_IsOK(res1
)) {
13416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13418 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13421 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= SWIG_Py_Void();
13436 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13437 PyObject
*resultobj
= 0;
13438 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13441 PyObject
*swig_obj
[1] ;
13443 if (!args
) SWIG_fail
;
13444 swig_obj
[0] = args
;
13445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13446 if (!SWIG_IsOK(res1
)) {
13447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13449 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= SWIG_Py_Void();
13463 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13466 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13467 return SWIG_Py_Void();
13470 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13471 return SWIG_Python_InitShadowInstance(args
);
13474 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
= 0;
13476 wxWindow
*arg1
= (wxWindow
*) 0 ;
13477 int arg2
= (int) wxID_ANY
;
13478 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13479 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13480 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13481 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13482 long arg5
= (long) 0 ;
13483 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13484 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13485 wxPyVScrolledWindow
*result
= 0 ;
13494 bool temp6
= false ;
13495 PyObject
* obj0
= 0 ;
13496 PyObject
* obj1
= 0 ;
13497 PyObject
* obj2
= 0 ;
13498 PyObject
* obj3
= 0 ;
13499 PyObject
* obj4
= 0 ;
13500 PyObject
* obj5
= 0 ;
13501 char * kwnames
[] = {
13502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13507 if (!SWIG_IsOK(res1
)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13510 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13513 if (!SWIG_IsOK(ecode2
)) {
13514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13516 arg2
= static_cast< int >(val2
);
13521 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13527 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13531 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13532 if (!SWIG_IsOK(ecode5
)) {
13533 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13535 arg5
= static_cast< long >(val5
);
13539 arg6
= wxString_in_helper(obj5
);
13540 if (arg6
== NULL
) SWIG_fail
;
13545 if (!wxPyCheckForApp()) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13566 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13567 PyObject
*resultobj
= 0;
13568 wxPyVScrolledWindow
*result
= 0 ;
13570 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13572 if (!wxPyCheckForApp()) SWIG_fail
;
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13585 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
= 0;
13587 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13588 PyObject
*arg2
= (PyObject
*) 0 ;
13589 PyObject
*arg3
= (PyObject
*) 0 ;
13592 PyObject
* obj0
= 0 ;
13593 PyObject
* obj1
= 0 ;
13594 PyObject
* obj2
= 0 ;
13595 char * kwnames
[] = {
13596 (char *) "self",(char *) "self",(char *) "_class", NULL
13599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13601 if (!SWIG_IsOK(res1
)) {
13602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13604 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= SWIG_Py_Void();
13620 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
= 0;
13622 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13623 wxWindow
*arg2
= (wxWindow
*) 0 ;
13624 int arg3
= (int) wxID_ANY
;
13625 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13626 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13627 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13628 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13629 long arg6
= (long) 0 ;
13630 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13631 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13643 bool temp7
= false ;
13644 PyObject
* obj0
= 0 ;
13645 PyObject
* obj1
= 0 ;
13646 PyObject
* obj2
= 0 ;
13647 PyObject
* obj3
= 0 ;
13648 PyObject
* obj4
= 0 ;
13649 PyObject
* obj5
= 0 ;
13650 PyObject
* obj6
= 0 ;
13651 char * kwnames
[] = {
13652 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13657 if (!SWIG_IsOK(res1
)) {
13658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13660 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13662 if (!SWIG_IsOK(res2
)) {
13663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13665 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13668 if (!SWIG_IsOK(ecode3
)) {
13669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13671 arg3
= static_cast< int >(val3
);
13676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13686 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13687 if (!SWIG_IsOK(ecode6
)) {
13688 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13690 arg6
= static_cast< long >(val6
);
13694 arg7
= wxString_in_helper(obj6
);
13695 if (arg7
== NULL
) SWIG_fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13722 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
= 0;
13724 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 PyObject
* obj1
= 0 ;
13732 char * kwnames
[] = {
13733 (char *) "self",(char *) "count", NULL
13736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13738 if (!SWIG_IsOK(res1
)) {
13739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13741 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13742 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13743 if (!SWIG_IsOK(ecode2
)) {
13744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13746 arg2
= static_cast< size_t >(val2
);
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 (arg1
)->SetLineCount(arg2
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= SWIG_Py_Void();
13760 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
= 0;
13762 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13769 PyObject
* obj0
= 0 ;
13770 PyObject
* obj1
= 0 ;
13771 char * kwnames
[] = {
13772 (char *) "self",(char *) "line", NULL
13775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13777 if (!SWIG_IsOK(res1
)) {
13778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13780 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13781 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13782 if (!SWIG_IsOK(ecode2
)) {
13783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13785 arg2
= static_cast< size_t >(val2
);
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13801 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
= 0;
13803 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 char * kwnames
[] = {
13812 (char *) "self",(char *) "line", NULL
13815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13817 if (!SWIG_IsOK(res1
)) {
13818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13820 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13821 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13822 if (!SWIG_IsOK(ecode2
)) {
13823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13825 arg2
= static_cast< size_t >(val2
);
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 (arg1
)->RefreshLine(arg2
);
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= SWIG_Py_Void();
13839 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
= 0;
13841 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13850 PyObject
* obj0
= 0 ;
13851 PyObject
* obj1
= 0 ;
13852 PyObject
* obj2
= 0 ;
13853 char * kwnames
[] = {
13854 (char *) "self",(char *) "from",(char *) "to", NULL
13857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13859 if (!SWIG_IsOK(res1
)) {
13860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13862 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13863 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13864 if (!SWIG_IsOK(ecode2
)) {
13865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13867 arg2
= static_cast< size_t >(val2
);
13868 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13869 if (!SWIG_IsOK(ecode3
)) {
13870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13872 arg3
= static_cast< size_t >(val3
);
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 (arg1
)->RefreshLines(arg2
,arg3
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_Py_Void();
13886 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
= 0;
13888 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13898 PyObject
* obj0
= 0 ;
13899 PyObject
* obj1
= 0 ;
13900 PyObject
* obj2
= 0 ;
13901 char * kwnames
[] = {
13902 (char *) "self",(char *) "x",(char *) "y", NULL
13905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13907 if (!SWIG_IsOK(res1
)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13910 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13912 if (!SWIG_IsOK(ecode2
)) {
13913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13915 arg2
= static_cast< int >(val2
);
13916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13917 if (!SWIG_IsOK(ecode3
)) {
13918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13920 arg3
= static_cast< int >(val3
);
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_From_int(static_cast< int >(result
));
13934 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
= 0;
13936 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13937 wxPoint
*arg2
= 0 ;
13942 PyObject
* obj0
= 0 ;
13943 PyObject
* obj1
= 0 ;
13944 char * kwnames
[] = {
13945 (char *) "self",(char *) "pt", NULL
13948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13950 if (!SWIG_IsOK(res1
)) {
13951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13953 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_From_int(static_cast< int >(result
));
13971 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13972 PyObject
*resultobj
= 0;
13973 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13976 PyObject
*swig_obj
[1] ;
13978 if (!args
) SWIG_fail
;
13979 swig_obj
[0] = args
;
13980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13981 if (!SWIG_IsOK(res1
)) {
13982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13984 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 (arg1
)->RefreshAll();
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_Py_Void();
13998 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13999 PyObject
*resultobj
= 0;
14000 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14004 PyObject
*swig_obj
[1] ;
14006 if (!args
) SWIG_fail
;
14007 swig_obj
[0] = args
;
14008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14009 if (!SWIG_IsOK(res1
)) {
14010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14012 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14016 wxPyEndAllowThreads(__tstate
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14019 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14026 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14027 PyObject
*resultobj
= 0;
14028 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14032 PyObject
*swig_obj
[1] ;
14034 if (!args
) SWIG_fail
;
14035 swig_obj
[0] = args
;
14036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14037 if (!SWIG_IsOK(res1
)) {
14038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14040 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14043 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14054 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14055 PyObject
*resultobj
= 0;
14056 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14060 PyObject
*swig_obj
[1] ;
14062 if (!args
) SWIG_fail
;
14063 swig_obj
[0] = args
;
14064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14065 if (!SWIG_IsOK(res1
)) {
14066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14068 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14082 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
= 0;
14084 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14091 PyObject
* obj0
= 0 ;
14092 PyObject
* obj1
= 0 ;
14093 char * kwnames
[] = {
14094 (char *) "self",(char *) "line", NULL
14097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14099 if (!SWIG_IsOK(res1
)) {
14100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14102 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14103 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14104 if (!SWIG_IsOK(ecode2
)) {
14105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14107 arg2
= static_cast< size_t >(val2
);
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14123 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14124 PyObject
*resultobj
= 0;
14125 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14129 PyObject
*swig_obj
[1] ;
14131 if (!args
) SWIG_fail
;
14132 swig_obj
[0] = args
;
14133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14134 if (!SWIG_IsOK(res1
)) {
14135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14137 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
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_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14152 PyObject
*resultobj
= 0;
14153 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14157 PyObject
*swig_obj
[1] ;
14159 if (!args
) SWIG_fail
;
14160 swig_obj
[0] = args
;
14161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14162 if (!SWIG_IsOK(res1
)) {
14163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14165 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14179 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
= 0;
14181 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14183 bool arg3
= (bool) false ;
14191 PyObject
* obj0
= 0 ;
14192 PyObject
* obj1
= 0 ;
14193 PyObject
* obj2
= 0 ;
14194 char * kwnames
[] = {
14195 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14200 if (!SWIG_IsOK(res1
)) {
14201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14203 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14204 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14205 if (!SWIG_IsOK(ecode2
)) {
14206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14208 arg2
= static_cast< size_t >(val2
);
14210 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14211 if (!SWIG_IsOK(ecode3
)) {
14212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14214 arg3
= static_cast< bool >(val3
);
14217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14222 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14229 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
= 0;
14231 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 PyObject
* obj1
= 0 ;
14243 PyObject
* obj2
= 0 ;
14244 char * kwnames
[] = {
14245 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14250 if (!SWIG_IsOK(res1
)) {
14251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14253 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14254 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14255 if (!SWIG_IsOK(ecode2
)) {
14256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14258 arg2
= static_cast< size_t >(val2
);
14259 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14260 if (!SWIG_IsOK(ecode3
)) {
14261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14263 arg3
= static_cast< size_t >(val3
);
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14270 resultobj
= SWIG_From_int(static_cast< int >(result
));
14277 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14280 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14281 return SWIG_Py_Void();
14284 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14285 return SWIG_Python_InitShadowInstance(args
);
14288 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14289 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14294 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14295 PyObject
*pyobj
= 0;
14299 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14301 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14308 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
= 0;
14310 wxWindow
*arg1
= (wxWindow
*) 0 ;
14311 int arg2
= (int) wxID_ANY
;
14312 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14313 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14314 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14315 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14316 long arg5
= (long) 0 ;
14317 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14318 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14319 wxPyVListBox
*result
= 0 ;
14328 bool temp6
= false ;
14329 PyObject
* obj0
= 0 ;
14330 PyObject
* obj1
= 0 ;
14331 PyObject
* obj2
= 0 ;
14332 PyObject
* obj3
= 0 ;
14333 PyObject
* obj4
= 0 ;
14334 PyObject
* obj5
= 0 ;
14335 char * kwnames
[] = {
14336 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14341 if (!SWIG_IsOK(res1
)) {
14342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14344 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14347 if (!SWIG_IsOK(ecode2
)) {
14348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14350 arg2
= static_cast< int >(val2
);
14355 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14361 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14365 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14366 if (!SWIG_IsOK(ecode5
)) {
14367 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14369 arg5
= static_cast< long >(val5
);
14373 arg6
= wxString_in_helper(obj5
);
14374 if (arg6
== NULL
) SWIG_fail
;
14379 if (!wxPyCheckForApp()) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14400 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14401 PyObject
*resultobj
= 0;
14402 wxPyVListBox
*result
= 0 ;
14404 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14406 if (!wxPyCheckForApp()) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (wxPyVListBox
*)new wxPyVListBox();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14419 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
= 0;
14421 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14422 PyObject
*arg2
= (PyObject
*) 0 ;
14423 PyObject
*arg3
= (PyObject
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 PyObject
* obj2
= 0 ;
14429 char * kwnames
[] = {
14430 (char *) "self",(char *) "self",(char *) "_class", NULL
14433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14435 if (!SWIG_IsOK(res1
)) {
14436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14438 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= SWIG_Py_Void();
14454 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
= 0;
14456 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14457 wxWindow
*arg2
= (wxWindow
*) 0 ;
14458 int arg3
= (int) wxID_ANY
;
14459 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14460 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14461 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14462 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14463 long arg6
= (long) 0 ;
14464 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14465 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14477 bool temp7
= false ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 PyObject
* obj2
= 0 ;
14481 PyObject
* obj3
= 0 ;
14482 PyObject
* obj4
= 0 ;
14483 PyObject
* obj5
= 0 ;
14484 PyObject
* obj6
= 0 ;
14485 char * kwnames
[] = {
14486 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14491 if (!SWIG_IsOK(res1
)) {
14492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14494 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14495 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14496 if (!SWIG_IsOK(res2
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14499 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14502 if (!SWIG_IsOK(ecode3
)) {
14503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14505 arg3
= static_cast< int >(val3
);
14510 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14516 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14520 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14521 if (!SWIG_IsOK(ecode6
)) {
14522 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14524 arg6
= static_cast< long >(val6
);
14528 arg7
= wxString_in_helper(obj6
);
14529 if (arg7
== NULL
) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14556 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14557 PyObject
*resultobj
= 0;
14558 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14562 PyObject
*swig_obj
[1] ;
14564 if (!args
) SWIG_fail
;
14565 swig_obj
[0] = args
;
14566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14567 if (!SWIG_IsOK(res1
)) {
14568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14570 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14573 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14574 wxPyEndAllowThreads(__tstate
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14577 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14584 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14585 PyObject
*resultobj
= 0;
14586 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14590 PyObject
*swig_obj
[1] ;
14592 if (!args
) SWIG_fail
;
14593 swig_obj
[0] = args
;
14594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14595 if (!SWIG_IsOK(res1
)) {
14596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14598 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14614 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14615 PyObject
*resultobj
= 0;
14616 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14620 PyObject
*swig_obj
[1] ;
14622 if (!args
) SWIG_fail
;
14623 swig_obj
[0] = args
;
14624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14625 if (!SWIG_IsOK(res1
)) {
14626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14628 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14635 resultobj
= SWIG_From_int(static_cast< int >(result
));
14642 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
= 0;
14644 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14651 PyObject
* obj0
= 0 ;
14652 PyObject
* obj1
= 0 ;
14653 char * kwnames
[] = {
14654 (char *) "self",(char *) "item", NULL
14657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14659 if (!SWIG_IsOK(res1
)) {
14660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14662 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14663 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14664 if (!SWIG_IsOK(ecode2
)) {
14665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14667 arg2
= static_cast< size_t >(val2
);
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14683 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
= 0;
14685 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14692 PyObject
* obj0
= 0 ;
14693 PyObject
* obj1
= 0 ;
14694 char * kwnames
[] = {
14695 (char *) "self",(char *) "item", NULL
14698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14700 if (!SWIG_IsOK(res1
)) {
14701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14703 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14704 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14705 if (!SWIG_IsOK(ecode2
)) {
14706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14708 arg2
= static_cast< size_t >(val2
);
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14724 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14725 PyObject
*resultobj
= 0;
14726 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14730 PyObject
*swig_obj
[1] ;
14732 if (!args
) SWIG_fail
;
14733 swig_obj
[0] = args
;
14734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14735 if (!SWIG_IsOK(res1
)) {
14736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14738 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14752 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14753 PyObject
*resultobj
= 0;
14754 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14755 PyObject
*result
= 0 ;
14758 PyObject
*swig_obj
[1] ;
14760 if (!args
) SWIG_fail
;
14761 swig_obj
[0] = args
;
14762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14763 if (!SWIG_IsOK(res1
)) {
14764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14766 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14769 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= result
;
14780 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
= 0;
14782 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14783 unsigned long arg2
;
14784 PyObject
*result
= 0 ;
14787 unsigned long val2
;
14789 PyObject
* obj0
= 0 ;
14790 PyObject
* obj1
= 0 ;
14791 char * kwnames
[] = {
14792 (char *) "self",(char *) "cookie", NULL
14795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14797 if (!SWIG_IsOK(res1
)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14800 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14801 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14802 if (!SWIG_IsOK(ecode2
)) {
14803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14805 arg2
= static_cast< unsigned long >(val2
);
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= result
;
14819 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14820 PyObject
*resultobj
= 0;
14821 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14825 PyObject
*swig_obj
[1] ;
14827 if (!args
) SWIG_fail
;
14828 swig_obj
[0] = args
;
14829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14830 if (!SWIG_IsOK(res1
)) {
14831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14833 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14847 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14848 PyObject
*resultobj
= 0;
14849 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14850 wxColour
*result
= 0 ;
14853 PyObject
*swig_obj
[1] ;
14855 if (!args
) SWIG_fail
;
14856 swig_obj
[0] = args
;
14857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14858 if (!SWIG_IsOK(res1
)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14861 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14865 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14866 result
= (wxColour
*) &_result_ref
;
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14878 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
= 0;
14880 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14886 PyObject
* obj0
= 0 ;
14887 PyObject
* obj1
= 0 ;
14888 char * kwnames
[] = {
14889 (char *) "self",(char *) "count", NULL
14892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14894 if (!SWIG_IsOK(res1
)) {
14895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14897 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14898 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14899 if (!SWIG_IsOK(ecode2
)) {
14900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14902 arg2
= static_cast< size_t >(val2
);
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 (arg1
)->SetItemCount(arg2
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= SWIG_Py_Void();
14916 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14917 PyObject
*resultobj
= 0;
14918 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14921 PyObject
*swig_obj
[1] ;
14923 if (!args
) SWIG_fail
;
14924 swig_obj
[0] = args
;
14925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14926 if (!SWIG_IsOK(res1
)) {
14927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14929 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= SWIG_Py_Void();
14943 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
= 0;
14945 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 char * kwnames
[] = {
14954 (char *) "self",(char *) "selection", NULL
14957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14959 if (!SWIG_IsOK(res1
)) {
14960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14962 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14964 if (!SWIG_IsOK(ecode2
)) {
14965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14967 arg2
= static_cast< int >(val2
);
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 (arg1
)->SetSelection(arg2
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= SWIG_Py_Void();
14981 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
= 0;
14983 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14985 bool arg3
= (bool) true ;
14993 PyObject
* obj0
= 0 ;
14994 PyObject
* obj1
= 0 ;
14995 PyObject
* obj2
= 0 ;
14996 char * kwnames
[] = {
14997 (char *) "self",(char *) "item",(char *) "select", NULL
15000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15002 if (!SWIG_IsOK(res1
)) {
15003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15005 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15006 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15007 if (!SWIG_IsOK(ecode2
)) {
15008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15010 arg2
= static_cast< size_t >(val2
);
15012 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15013 if (!SWIG_IsOK(ecode3
)) {
15014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15016 arg3
= static_cast< bool >(val3
);
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15033 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
= 0;
15035 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 PyObject
* obj1
= 0 ;
15047 PyObject
* obj2
= 0 ;
15048 char * kwnames
[] = {
15049 (char *) "self",(char *) "from",(char *) "to", NULL
15052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15054 if (!SWIG_IsOK(res1
)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15057 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15058 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15059 if (!SWIG_IsOK(ecode2
)) {
15060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15062 arg2
= static_cast< size_t >(val2
);
15063 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15064 if (!SWIG_IsOK(ecode3
)) {
15065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15067 arg3
= static_cast< size_t >(val3
);
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15083 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
= 0;
15085 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char * kwnames
[] = {
15094 (char *) "self",(char *) "item", NULL
15097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15099 if (!SWIG_IsOK(res1
)) {
15100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15102 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15103 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15104 if (!SWIG_IsOK(ecode2
)) {
15105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15107 arg2
= static_cast< size_t >(val2
);
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 (arg1
)->Toggle(arg2
);
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_Py_Void();
15121 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15122 PyObject
*resultobj
= 0;
15123 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15127 PyObject
*swig_obj
[1] ;
15129 if (!args
) SWIG_fail
;
15130 swig_obj
[0] = args
;
15131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15132 if (!SWIG_IsOK(res1
)) {
15133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15135 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (bool)(arg1
)->SelectAll();
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15151 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15152 PyObject
*resultobj
= 0;
15153 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15157 PyObject
*swig_obj
[1] ;
15159 if (!args
) SWIG_fail
;
15160 swig_obj
[0] = args
;
15161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15162 if (!SWIG_IsOK(res1
)) {
15163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15165 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 result
= (bool)(arg1
)->DeselectAll();
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15181 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
= 0;
15183 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15184 wxPoint
*arg2
= 0 ;
15188 PyObject
* obj0
= 0 ;
15189 PyObject
* obj1
= 0 ;
15190 char * kwnames
[] = {
15191 (char *) "self",(char *) "pt", NULL
15194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15196 if (!SWIG_IsOK(res1
)) {
15197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15199 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15202 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= SWIG_Py_Void();
15217 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
= 0;
15219 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15228 PyObject
* obj0
= 0 ;
15229 PyObject
* obj1
= 0 ;
15230 PyObject
* obj2
= 0 ;
15231 char * kwnames
[] = {
15232 (char *) "self",(char *) "x",(char *) "y", NULL
15235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15237 if (!SWIG_IsOK(res1
)) {
15238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15240 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15242 if (!SWIG_IsOK(ecode2
)) {
15243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15245 arg2
= static_cast< int >(val2
);
15246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15247 if (!SWIG_IsOK(ecode3
)) {
15248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15250 arg3
= static_cast< int >(val3
);
15252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 (arg1
)->SetMargins(arg2
,arg3
);
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 resultobj
= SWIG_Py_Void();
15264 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
= 0;
15266 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15267 wxColour
*arg2
= 0 ;
15271 PyObject
* obj0
= 0 ;
15272 PyObject
* obj1
= 0 ;
15273 char * kwnames
[] = {
15274 (char *) "self",(char *) "col", NULL
15277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15279 if (!SWIG_IsOK(res1
)) {
15280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15282 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15285 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= SWIG_Py_Void();
15300 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
= 0;
15302 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 PyObject
* obj1
= 0 ;
15315 PyObject
* obj2
= 0 ;
15316 PyObject
* obj3
= 0 ;
15317 char * kwnames
[] = {
15318 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15323 if (!SWIG_IsOK(res1
)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15326 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15328 if (!SWIG_IsOK(res2
)) {
15329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15334 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15337 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15339 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15340 if (!SWIG_IsOK(ecode4
)) {
15341 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15343 arg4
= static_cast< size_t >(val4
);
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= SWIG_Py_Void();
15357 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
= 0;
15359 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 PyObject
* obj1
= 0 ;
15372 PyObject
* obj2
= 0 ;
15373 PyObject
* obj3
= 0 ;
15374 char * kwnames
[] = {
15375 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15380 if (!SWIG_IsOK(res1
)) {
15381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15383 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15384 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15385 if (!SWIG_IsOK(res2
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15391 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15394 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15396 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15397 if (!SWIG_IsOK(ecode4
)) {
15398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15400 arg4
= static_cast< size_t >(val4
);
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= SWIG_Py_Void();
15414 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15417 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15418 return SWIG_Py_Void();
15421 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15422 return SWIG_Python_InitShadowInstance(args
);
15425 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
= 0;
15427 wxWindow
*arg1
= (wxWindow
*) 0 ;
15428 int arg2
= (int) wxID_ANY
;
15429 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15430 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15431 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15432 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15433 long arg5
= (long) 0 ;
15434 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15435 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15436 wxPyHtmlListBox
*result
= 0 ;
15445 bool temp6
= false ;
15446 PyObject
* obj0
= 0 ;
15447 PyObject
* obj1
= 0 ;
15448 PyObject
* obj2
= 0 ;
15449 PyObject
* obj3
= 0 ;
15450 PyObject
* obj4
= 0 ;
15451 PyObject
* obj5
= 0 ;
15452 char * kwnames
[] = {
15453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15458 if (!SWIG_IsOK(res1
)) {
15459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15461 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15464 if (!SWIG_IsOK(ecode2
)) {
15465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15467 arg2
= static_cast< int >(val2
);
15472 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15478 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15482 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15483 if (!SWIG_IsOK(ecode5
)) {
15484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15486 arg5
= static_cast< long >(val5
);
15490 arg6
= wxString_in_helper(obj5
);
15491 if (arg6
== NULL
) SWIG_fail
;
15496 if (!wxPyCheckForApp()) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15517 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15518 PyObject
*resultobj
= 0;
15519 wxPyHtmlListBox
*result
= 0 ;
15521 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15523 if (!wxPyCheckForApp()) SWIG_fail
;
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15525 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15536 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
= 0;
15538 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15539 PyObject
*arg2
= (PyObject
*) 0 ;
15540 PyObject
*arg3
= (PyObject
*) 0 ;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 PyObject
* obj2
= 0 ;
15546 char * kwnames
[] = {
15547 (char *) "self",(char *) "self",(char *) "_class", NULL
15550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15552 if (!SWIG_IsOK(res1
)) {
15553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15555 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= SWIG_Py_Void();
15571 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
= 0;
15573 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15574 wxWindow
*arg2
= (wxWindow
*) 0 ;
15575 int arg3
= (int) wxID_ANY
;
15576 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15577 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15578 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15579 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15580 long arg6
= (long) 0 ;
15581 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15582 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15594 bool temp7
= false ;
15595 PyObject
* obj0
= 0 ;
15596 PyObject
* obj1
= 0 ;
15597 PyObject
* obj2
= 0 ;
15598 PyObject
* obj3
= 0 ;
15599 PyObject
* obj4
= 0 ;
15600 PyObject
* obj5
= 0 ;
15601 PyObject
* obj6
= 0 ;
15602 char * kwnames
[] = {
15603 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15608 if (!SWIG_IsOK(res1
)) {
15609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15611 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15612 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15613 if (!SWIG_IsOK(res2
)) {
15614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15616 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15619 if (!SWIG_IsOK(ecode3
)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15622 arg3
= static_cast< int >(val3
);
15627 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15633 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15637 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15638 if (!SWIG_IsOK(ecode6
)) {
15639 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15641 arg6
= static_cast< long >(val6
);
15645 arg7
= wxString_in_helper(obj6
);
15646 if (arg7
== NULL
) SWIG_fail
;
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15673 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15674 PyObject
*resultobj
= 0;
15675 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj1
= 0 ;
15683 char * kwnames
[] = {
15684 (char *) "self",(char *) "count", NULL
15687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15689 if (!SWIG_IsOK(res1
)) {
15690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15692 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15693 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15694 if (!SWIG_IsOK(ecode2
)) {
15695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15697 arg2
= static_cast< size_t >(val2
);
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 (arg1
)->SetItemCount(arg2
);
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= SWIG_Py_Void();
15711 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15712 PyObject
*resultobj
= 0;
15713 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15714 wxFileSystem
*result
= 0 ;
15717 PyObject
*swig_obj
[1] ;
15719 if (!args
) SWIG_fail
;
15720 swig_obj
[0] = args
;
15721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15725 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15730 result
= (wxFileSystem
*) &_result_ref
;
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15742 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
= 0;
15744 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15746 wxHtmlLinkInfo
*arg3
= 0 ;
15753 PyObject
* obj0
= 0 ;
15754 PyObject
* obj1
= 0 ;
15755 PyObject
* obj2
= 0 ;
15756 char * kwnames
[] = {
15757 (char *) "self",(char *) "n",(char *) "link", NULL
15760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15762 if (!SWIG_IsOK(res1
)) {
15763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15765 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15766 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15767 if (!SWIG_IsOK(ecode2
)) {
15768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15770 arg2
= static_cast< size_t >(val2
);
15771 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15772 if (!SWIG_IsOK(res3
)) {
15773 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15778 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= SWIG_Py_Void();
15792 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15794 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15795 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15796 return SWIG_Py_Void();
15799 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15800 return SWIG_Python_InitShadowInstance(args
);
15803 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
15804 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
15809 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
15810 PyObject
*pyobj
= 0;
15814 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15816 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15823 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
= 0;
15825 wxWindow
*arg1
= (wxWindow
*) 0 ;
15826 int arg2
= (int) -1 ;
15827 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15828 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15829 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15830 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15831 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
15832 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
15833 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
15834 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15835 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15836 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
15837 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15838 wxSimpleHtmlListBox
*result
= 0 ;
15845 bool temp5
= false ;
15850 bool temp8
= false ;
15851 PyObject
* obj0
= 0 ;
15852 PyObject
* obj1
= 0 ;
15853 PyObject
* obj2
= 0 ;
15854 PyObject
* obj3
= 0 ;
15855 PyObject
* obj4
= 0 ;
15856 PyObject
* obj5
= 0 ;
15857 PyObject
* obj6
= 0 ;
15858 PyObject
* obj7
= 0 ;
15859 char * kwnames
[] = {
15860 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
15864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15865 if (!SWIG_IsOK(res1
)) {
15866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15871 if (!SWIG_IsOK(ecode2
)) {
15872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
15874 arg2
= static_cast< int >(val2
);
15879 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15885 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15890 if (! PySequence_Check(obj4
)) {
15891 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15894 arg5
= new wxArrayString
;
15896 int i
, len
=PySequence_Length(obj4
);
15897 for (i
=0; i
<len
; i
++) {
15898 PyObject
* item
= PySequence_GetItem(obj4
, i
);
15899 wxString
* s
= wxString_in_helper(item
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15908 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15909 if (!SWIG_IsOK(ecode6
)) {
15910 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
15912 arg6
= static_cast< long >(val6
);
15915 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
15916 if (!SWIG_IsOK(res7
)) {
15917 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15922 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
15926 arg8
= wxString_in_helper(obj7
);
15927 if (arg8
== NULL
) SWIG_fail
;
15932 if (!wxPyCheckForApp()) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15940 if (temp5
) delete arg5
;
15949 if (temp5
) delete arg5
;
15959 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15960 PyObject
*resultobj
= 0;
15961 wxSimpleHtmlListBox
*result
= 0 ;
15963 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
15965 if (!wxPyCheckForApp()) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15978 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
= 0;
15980 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
15981 wxWindow
*arg2
= (wxWindow
*) 0 ;
15982 int arg3
= (int) -1 ;
15983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15987 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15988 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15989 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
15990 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15991 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15992 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
15993 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16003 bool temp6
= false ;
16008 bool temp9
= false ;
16009 PyObject
* obj0
= 0 ;
16010 PyObject
* obj1
= 0 ;
16011 PyObject
* obj2
= 0 ;
16012 PyObject
* obj3
= 0 ;
16013 PyObject
* obj4
= 0 ;
16014 PyObject
* obj5
= 0 ;
16015 PyObject
* obj6
= 0 ;
16016 PyObject
* obj7
= 0 ;
16017 PyObject
* obj8
= 0 ;
16018 char * kwnames
[] = {
16019 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
16024 if (!SWIG_IsOK(res1
)) {
16025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16027 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
16028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16029 if (!SWIG_IsOK(res2
)) {
16030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16032 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16035 if (!SWIG_IsOK(ecode3
)) {
16036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16038 arg3
= static_cast< int >(val3
);
16043 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16049 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16054 if (! PySequence_Check(obj5
)) {
16055 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16058 arg6
= new wxArrayString
;
16060 int i
, len
=PySequence_Length(obj5
);
16061 for (i
=0; i
<len
; i
++) {
16062 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16063 wxString
* s
= wxString_in_helper(item
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16072 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16073 if (!SWIG_IsOK(ecode7
)) {
16074 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16076 arg7
= static_cast< long >(val7
);
16079 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16080 if (!SWIG_IsOK(res8
)) {
16081 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16086 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16090 arg9
= wxString_in_helper(obj8
);
16091 if (arg9
== NULL
) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16105 if (temp6
) delete arg6
;
16114 if (temp6
) delete arg6
;
16124 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16127 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
16128 return SWIG_Py_Void();
16131 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16132 return SWIG_Python_InitShadowInstance(args
);
16135 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16136 PyObject
*resultobj
= 0;
16137 wxPyTaskBarIcon
*result
= 0 ;
16139 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16141 if (!wxPyCheckForApp()) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16154 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16155 PyObject
*resultobj
= 0;
16156 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16159 PyObject
*swig_obj
[1] ;
16161 if (!args
) SWIG_fail
;
16162 swig_obj
[0] = args
;
16163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16164 if (!SWIG_IsOK(res1
)) {
16165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16167 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= SWIG_Py_Void();
16182 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
= 0;
16184 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16185 PyObject
*arg2
= (PyObject
*) 0 ;
16186 PyObject
*arg3
= (PyObject
*) 0 ;
16187 int arg4
= (int) 0 ;
16192 PyObject
* obj0
= 0 ;
16193 PyObject
* obj1
= 0 ;
16194 PyObject
* obj2
= 0 ;
16195 PyObject
* obj3
= 0 ;
16196 char * kwnames
[] = {
16197 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16202 if (!SWIG_IsOK(res1
)) {
16203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16205 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16209 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16210 if (!SWIG_IsOK(ecode4
)) {
16211 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16213 arg4
= static_cast< int >(val4
);
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= SWIG_Py_Void();
16228 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16229 PyObject
*resultobj
= 0;
16230 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16233 PyObject
*swig_obj
[1] ;
16235 if (!args
) SWIG_fail
;
16236 swig_obj
[0] = args
;
16237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16238 if (!SWIG_IsOK(res1
)) {
16239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16241 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 wxPyTaskBarIcon_Destroy(arg1
);
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= SWIG_Py_Void();
16255 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16256 PyObject
*resultobj
= 0;
16257 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16261 PyObject
*swig_obj
[1] ;
16263 if (!args
) SWIG_fail
;
16264 swig_obj
[0] = args
;
16265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16266 if (!SWIG_IsOK(res1
)) {
16267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16269 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16285 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16286 PyObject
*resultobj
= 0;
16287 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16291 PyObject
*swig_obj
[1] ;
16293 if (!args
) SWIG_fail
;
16294 swig_obj
[0] = args
;
16295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16296 if (!SWIG_IsOK(res1
)) {
16297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16299 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16315 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
= 0;
16317 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16319 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16320 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16326 bool temp3
= false ;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 PyObject
* obj2
= 0 ;
16330 char * kwnames
[] = {
16331 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16336 if (!SWIG_IsOK(res1
)) {
16337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16339 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16341 if (!SWIG_IsOK(res2
)) {
16342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16347 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16350 arg3
= wxString_in_helper(obj2
);
16351 if (arg3
== NULL
) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16378 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16379 PyObject
*resultobj
= 0;
16380 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16384 PyObject
*swig_obj
[1] ;
16386 if (!args
) SWIG_fail
;
16387 swig_obj
[0] = args
;
16388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16389 if (!SWIG_IsOK(res1
)) {
16390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16392 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 result
= (bool)(arg1
)->RemoveIcon();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16408 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
= 0;
16410 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16411 wxMenu
*arg2
= (wxMenu
*) 0 ;
16417 PyObject
* obj0
= 0 ;
16418 PyObject
* obj1
= 0 ;
16419 char * kwnames
[] = {
16420 (char *) "self",(char *) "menu", NULL
16423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16425 if (!SWIG_IsOK(res1
)) {
16426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16428 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16430 if (!SWIG_IsOK(res2
)) {
16431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16433 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 result
= (bool)(arg1
)->PopupMenu(arg2
);
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16449 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16452 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16453 return SWIG_Py_Void();
16456 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16457 return SWIG_Python_InitShadowInstance(args
);
16460 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
= 0;
16463 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16464 wxTaskBarIconEvent
*result
= 0 ;
16469 PyObject
* obj0
= 0 ;
16470 PyObject
* obj1
= 0 ;
16471 char * kwnames
[] = {
16472 (char *) "evtType",(char *) "tbIcon", NULL
16475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16476 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16477 if (!SWIG_IsOK(ecode1
)) {
16478 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16480 arg1
= static_cast< wxEventType
>(val1
);
16481 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16482 if (!SWIG_IsOK(res2
)) {
16483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16485 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16489 wxPyEndAllowThreads(__tstate
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16499 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16502 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16503 return SWIG_Py_Void();
16506 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16507 return SWIG_Python_InitShadowInstance(args
);
16510 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16511 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16516 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16517 PyObject
*pyobj
= 0;
16521 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16523 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16530 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16531 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16536 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16537 PyObject
*pyobj
= 0;
16541 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16543 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16550 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16551 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16556 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16557 PyObject
*pyobj
= 0;
16561 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16563 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16570 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16571 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16576 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16577 PyObject
*pyobj
= 0;
16581 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16583 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16590 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16591 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16596 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16597 PyObject
*pyobj
= 0;
16601 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16603 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16610 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16611 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16616 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16617 PyObject
*pyobj
= 0;
16621 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16623 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16630 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16631 PyObject
*resultobj
= 0;
16632 wxColourData
*result
= 0 ;
16634 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= (wxColourData
*)new wxColourData();
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16648 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16649 PyObject
*resultobj
= 0;
16650 wxColourData
*arg1
= (wxColourData
*) 0 ;
16653 PyObject
*swig_obj
[1] ;
16655 if (!args
) SWIG_fail
;
16656 swig_obj
[0] = args
;
16657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16658 if (!SWIG_IsOK(res1
)) {
16659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16661 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16669 resultobj
= SWIG_Py_Void();
16676 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16677 PyObject
*resultobj
= 0;
16678 wxColourData
*arg1
= (wxColourData
*) 0 ;
16682 PyObject
*swig_obj
[1] ;
16684 if (!args
) SWIG_fail
;
16685 swig_obj
[0] = args
;
16686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16687 if (!SWIG_IsOK(res1
)) {
16688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16690 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 result
= (bool)(arg1
)->GetChooseFull();
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16706 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16707 PyObject
*resultobj
= 0;
16708 wxColourData
*arg1
= (wxColourData
*) 0 ;
16712 PyObject
*swig_obj
[1] ;
16714 if (!args
) SWIG_fail
;
16715 swig_obj
[0] = args
;
16716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16717 if (!SWIG_IsOK(res1
)) {
16718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16720 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 result
= (arg1
)->GetColour();
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16734 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
= 0;
16736 wxColourData
*arg1
= (wxColourData
*) 0 ;
16743 PyObject
* obj0
= 0 ;
16744 PyObject
* obj1
= 0 ;
16745 char * kwnames
[] = {
16746 (char *) "self",(char *) "i", NULL
16749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16751 if (!SWIG_IsOK(res1
)) {
16752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16754 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16756 if (!SWIG_IsOK(ecode2
)) {
16757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16759 arg2
= static_cast< int >(val2
);
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= (arg1
)->GetCustomColour(arg2
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16773 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
= 0;
16775 wxColourData
*arg1
= (wxColourData
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 PyObject
* obj1
= 0 ;
16783 char * kwnames
[] = {
16784 (char *) "self",(char *) "flag", NULL
16787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16789 if (!SWIG_IsOK(res1
)) {
16790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16792 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16794 if (!SWIG_IsOK(ecode2
)) {
16795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16797 arg2
= static_cast< int >(val2
);
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 (arg1
)->SetChooseFull(arg2
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= SWIG_Py_Void();
16811 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
= 0;
16813 wxColourData
*arg1
= (wxColourData
*) 0 ;
16814 wxColour
*arg2
= 0 ;
16818 PyObject
* obj0
= 0 ;
16819 PyObject
* obj1
= 0 ;
16820 char * kwnames
[] = {
16821 (char *) "self",(char *) "colour", NULL
16824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16826 if (!SWIG_IsOK(res1
)) {
16827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16829 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16832 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 (arg1
)->SetColour((wxColour
const &)*arg2
);
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= SWIG_Py_Void();
16847 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
= 0;
16849 wxColourData
*arg1
= (wxColourData
*) 0 ;
16851 wxColour
*arg3
= 0 ;
16857 PyObject
* obj0
= 0 ;
16858 PyObject
* obj1
= 0 ;
16859 PyObject
* obj2
= 0 ;
16860 char * kwnames
[] = {
16861 (char *) "self",(char *) "i",(char *) "colour", NULL
16864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16866 if (!SWIG_IsOK(res1
)) {
16867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16869 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16871 if (!SWIG_IsOK(ecode2
)) {
16872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16874 arg2
= static_cast< int >(val2
);
16877 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 resultobj
= SWIG_Py_Void();
16892 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16895 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16896 return SWIG_Py_Void();
16899 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16900 return SWIG_Python_InitShadowInstance(args
);
16903 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
= 0;
16905 wxWindow
*arg1
= (wxWindow
*) 0 ;
16906 wxColourData
*arg2
= (wxColourData
*) NULL
;
16907 wxColourDialog
*result
= 0 ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 char * kwnames
[] = {
16915 (char *) "parent",(char *) "data", NULL
16918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16920 if (!SWIG_IsOK(res1
)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16923 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16925 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16926 if (!SWIG_IsOK(res2
)) {
16927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16929 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16932 if (!wxPyCheckForApp()) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16945 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16946 PyObject
*resultobj
= 0;
16947 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16948 wxColourData
*result
= 0 ;
16951 PyObject
*swig_obj
[1] ;
16953 if (!args
) SWIG_fail
;
16954 swig_obj
[0] = args
;
16955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16956 if (!SWIG_IsOK(res1
)) {
16957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16959 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16964 result
= (wxColourData
*) &_result_ref
;
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16976 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16979 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16980 return SWIG_Py_Void();
16983 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16984 return SWIG_Python_InitShadowInstance(args
);
16987 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
= 0;
16989 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16990 wxColour
const &arg2_defvalue
= wxNullColour
;
16991 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16992 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16993 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16998 bool temp3
= false ;
16999 PyObject
* obj0
= 0 ;
17000 PyObject
* obj1
= 0 ;
17001 PyObject
* obj2
= 0 ;
17002 char * kwnames
[] = {
17003 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17009 if (!SWIG_IsOK(res1
)) {
17010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17012 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17017 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17022 arg3
= wxString_in_helper(obj2
);
17023 if (arg3
== NULL
) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17048 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
= 0;
17050 wxWindow
*arg1
= (wxWindow
*) 0 ;
17051 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
17052 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17053 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17054 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17055 long arg4
= (long) wxDD_DEFAULT_STYLE
;
17056 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17057 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17058 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17059 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17060 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
17061 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17062 wxDirDialog
*result
= 0 ;
17065 bool temp2
= false ;
17066 bool temp3
= false ;
17071 bool temp7
= false ;
17072 PyObject
* obj0
= 0 ;
17073 PyObject
* obj1
= 0 ;
17074 PyObject
* obj2
= 0 ;
17075 PyObject
* obj3
= 0 ;
17076 PyObject
* obj4
= 0 ;
17077 PyObject
* obj5
= 0 ;
17078 PyObject
* obj6
= 0 ;
17079 char * kwnames
[] = {
17080 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17085 if (!SWIG_IsOK(res1
)) {
17086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17091 arg2
= wxString_in_helper(obj1
);
17092 if (arg2
== NULL
) SWIG_fail
;
17098 arg3
= wxString_in_helper(obj2
);
17099 if (arg3
== NULL
) SWIG_fail
;
17104 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17105 if (!SWIG_IsOK(ecode4
)) {
17106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17108 arg4
= static_cast< long >(val4
);
17113 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17119 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17124 arg7
= wxString_in_helper(obj6
);
17125 if (arg7
== NULL
) SWIG_fail
;
17130 if (!wxPyCheckForApp()) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17167 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17168 PyObject
*resultobj
= 0;
17169 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17173 PyObject
*swig_obj
[1] ;
17175 if (!args
) SWIG_fail
;
17176 swig_obj
[0] = args
;
17177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17178 if (!SWIG_IsOK(res1
)) {
17179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17181 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (arg1
)->GetPath();
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17201 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17202 PyObject
*resultobj
= 0;
17203 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17207 PyObject
*swig_obj
[1] ;
17209 if (!args
) SWIG_fail
;
17210 swig_obj
[0] = args
;
17211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17212 if (!SWIG_IsOK(res1
)) {
17213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17215 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (arg1
)->GetMessage();
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17235 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
= 0;
17237 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17238 wxString
*arg2
= 0 ;
17241 bool temp2
= false ;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 char * kwnames
[] = {
17245 (char *) "self",(char *) "message", NULL
17248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17250 if (!SWIG_IsOK(res1
)) {
17251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17253 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17255 arg2
= wxString_in_helper(obj1
);
17256 if (arg2
== NULL
) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 (arg1
)->SetMessage((wxString
const &)*arg2
);
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17265 resultobj
= SWIG_Py_Void();
17280 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
= 0;
17282 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17283 wxString
*arg2
= 0 ;
17286 bool temp2
= false ;
17287 PyObject
* obj0
= 0 ;
17288 PyObject
* obj1
= 0 ;
17289 char * kwnames
[] = {
17290 (char *) "self",(char *) "path", NULL
17293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17295 if (!SWIG_IsOK(res1
)) {
17296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17298 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17300 arg2
= wxString_in_helper(obj1
);
17301 if (arg2
== NULL
) SWIG_fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 (arg1
)->SetPath((wxString
const &)*arg2
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= SWIG_Py_Void();
17325 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17328 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17329 return SWIG_Py_Void();
17332 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17333 return SWIG_Python_InitShadowInstance(args
);
17336 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
= 0;
17338 wxWindow
*arg1
= (wxWindow
*) 0 ;
17339 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17340 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17341 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17342 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17343 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17344 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17345 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17346 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17347 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17348 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17349 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17350 wxFileDialog
*result
= 0 ;
17353 bool temp2
= false ;
17354 bool temp3
= false ;
17355 bool temp4
= false ;
17356 bool temp5
= false ;
17360 PyObject
* obj0
= 0 ;
17361 PyObject
* obj1
= 0 ;
17362 PyObject
* obj2
= 0 ;
17363 PyObject
* obj3
= 0 ;
17364 PyObject
* obj4
= 0 ;
17365 PyObject
* obj5
= 0 ;
17366 PyObject
* obj6
= 0 ;
17367 char * kwnames
[] = {
17368 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17373 if (!SWIG_IsOK(res1
)) {
17374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17379 arg2
= wxString_in_helper(obj1
);
17380 if (arg2
== NULL
) SWIG_fail
;
17386 arg3
= wxString_in_helper(obj2
);
17387 if (arg3
== NULL
) SWIG_fail
;
17393 arg4
= wxString_in_helper(obj3
);
17394 if (arg4
== NULL
) SWIG_fail
;
17400 arg5
= wxString_in_helper(obj4
);
17401 if (arg5
== NULL
) SWIG_fail
;
17406 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17407 if (!SWIG_IsOK(ecode6
)) {
17408 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17410 arg6
= static_cast< long >(val6
);
17415 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17419 if (!wxPyCheckForApp()) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17464 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
= 0;
17466 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17467 wxString
*arg2
= 0 ;
17470 bool temp2
= false ;
17471 PyObject
* obj0
= 0 ;
17472 PyObject
* obj1
= 0 ;
17473 char * kwnames
[] = {
17474 (char *) "self",(char *) "message", NULL
17477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17479 if (!SWIG_IsOK(res1
)) {
17480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17482 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17484 arg2
= wxString_in_helper(obj1
);
17485 if (arg2
== NULL
) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 (arg1
)->SetMessage((wxString
const &)*arg2
);
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= SWIG_Py_Void();
17509 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
= 0;
17511 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17512 wxString
*arg2
= 0 ;
17515 bool temp2
= false ;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 char * kwnames
[] = {
17519 (char *) "self",(char *) "path", NULL
17522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17524 if (!SWIG_IsOK(res1
)) {
17525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17527 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17529 arg2
= wxString_in_helper(obj1
);
17530 if (arg2
== NULL
) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 (arg1
)->SetPath((wxString
const &)*arg2
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= SWIG_Py_Void();
17554 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
= 0;
17556 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17557 wxString
*arg2
= 0 ;
17560 bool temp2
= false ;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 char * kwnames
[] = {
17564 (char *) "self",(char *) "dir", NULL
17567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17569 if (!SWIG_IsOK(res1
)) {
17570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17572 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17574 arg2
= wxString_in_helper(obj1
);
17575 if (arg2
== NULL
) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= SWIG_Py_Void();
17599 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
= 0;
17601 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17602 wxString
*arg2
= 0 ;
17605 bool temp2
= false ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 char * kwnames
[] = {
17609 (char *) "self",(char *) "name", NULL
17612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17614 if (!SWIG_IsOK(res1
)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17617 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17619 arg2
= wxString_in_helper(obj1
);
17620 if (arg2
== NULL
) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 (arg1
)->SetFilename((wxString
const &)*arg2
);
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= SWIG_Py_Void();
17644 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
= 0;
17646 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17647 wxString
*arg2
= 0 ;
17650 bool temp2
= false ;
17651 PyObject
* obj0
= 0 ;
17652 PyObject
* obj1
= 0 ;
17653 char * kwnames
[] = {
17654 (char *) "self",(char *) "wildCard", NULL
17657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17659 if (!SWIG_IsOK(res1
)) {
17660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17662 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17664 arg2
= wxString_in_helper(obj1
);
17665 if (arg2
== NULL
) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= SWIG_Py_Void();
17689 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
= 0;
17691 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17697 PyObject
* obj0
= 0 ;
17698 PyObject
* obj1
= 0 ;
17699 char * kwnames
[] = {
17700 (char *) "self",(char *) "filterIndex", NULL
17703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17705 if (!SWIG_IsOK(res1
)) {
17706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17708 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17710 if (!SWIG_IsOK(ecode2
)) {
17711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17713 arg2
= static_cast< int >(val2
);
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 (arg1
)->SetFilterIndex(arg2
);
17717 wxPyEndAllowThreads(__tstate
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= SWIG_Py_Void();
17727 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17728 PyObject
*resultobj
= 0;
17729 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17733 PyObject
*swig_obj
[1] ;
17735 if (!args
) SWIG_fail
;
17736 swig_obj
[0] = args
;
17737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17738 if (!SWIG_IsOK(res1
)) {
17739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17741 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17761 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17762 PyObject
*resultobj
= 0;
17763 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17767 PyObject
*swig_obj
[1] ;
17769 if (!args
) SWIG_fail
;
17770 swig_obj
[0] = args
;
17771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17772 if (!SWIG_IsOK(res1
)) {
17773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17775 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17795 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17796 PyObject
*resultobj
= 0;
17797 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17801 PyObject
*swig_obj
[1] ;
17803 if (!args
) SWIG_fail
;
17804 swig_obj
[0] = args
;
17805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17806 if (!SWIG_IsOK(res1
)) {
17807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17809 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17829 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17830 PyObject
*resultobj
= 0;
17831 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17835 PyObject
*swig_obj
[1] ;
17837 if (!args
) SWIG_fail
;
17838 swig_obj
[0] = args
;
17839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17840 if (!SWIG_IsOK(res1
)) {
17841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17843 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17863 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17864 PyObject
*resultobj
= 0;
17865 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17869 PyObject
*swig_obj
[1] ;
17871 if (!args
) SWIG_fail
;
17872 swig_obj
[0] = args
;
17873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17874 if (!SWIG_IsOK(res1
)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17877 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17897 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17898 PyObject
*resultobj
= 0;
17899 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17903 PyObject
*swig_obj
[1] ;
17905 if (!args
) SWIG_fail
;
17906 swig_obj
[0] = args
;
17907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17908 if (!SWIG_IsOK(res1
)) {
17909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17911 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= SWIG_From_int(static_cast< int >(result
));
17925 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17926 PyObject
*resultobj
= 0;
17927 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17928 PyObject
*result
= 0 ;
17931 PyObject
*swig_obj
[1] ;
17933 if (!args
) SWIG_fail
;
17934 swig_obj
[0] = args
;
17935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17936 if (!SWIG_IsOK(res1
)) {
17937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17939 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 resultobj
= result
;
17953 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17954 PyObject
*resultobj
= 0;
17955 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17956 PyObject
*result
= 0 ;
17959 PyObject
*swig_obj
[1] ;
17961 if (!args
) SWIG_fail
;
17962 swig_obj
[0] = args
;
17963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17964 if (!SWIG_IsOK(res1
)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17967 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17974 resultobj
= result
;
17981 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17984 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17985 return SWIG_Py_Void();
17988 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17989 return SWIG_Python_InitShadowInstance(args
);
17992 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
= 0;
17994 wxWindow
*arg1
= (wxWindow
*) 0 ;
17995 wxString
*arg2
= 0 ;
17996 wxString
*arg3
= 0 ;
17997 int arg4
= (int) 0 ;
17998 wxString
*arg5
= (wxString
*) NULL
;
17999 long arg6
= (long) wxCHOICEDLG_STYLE
;
18000 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18001 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18002 wxMultiChoiceDialog
*result
= 0 ;
18005 bool temp2
= false ;
18006 bool temp3
= false ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 PyObject
* obj2
= 0 ;
18013 PyObject
* obj3
= 0 ;
18014 PyObject
* obj4
= 0 ;
18015 PyObject
* obj5
= 0 ;
18016 char * kwnames
[] = {
18017 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18022 if (!SWIG_IsOK(res1
)) {
18023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18025 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18027 arg2
= wxString_in_helper(obj1
);
18028 if (arg2
== NULL
) SWIG_fail
;
18032 arg3
= wxString_in_helper(obj2
);
18033 if (arg3
== NULL
) SWIG_fail
;
18038 arg4
= PyList_Size(obj3
);
18039 arg5
= wxString_LIST_helper(obj3
);
18040 if (arg5
== NULL
) SWIG_fail
;
18044 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18045 if (!SWIG_IsOK(ecode6
)) {
18046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18048 arg6
= static_cast< long >(val6
);
18053 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18057 if (!wxPyCheckForApp()) SWIG_fail
;
18058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18059 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18073 if (arg5
) delete [] arg5
;
18086 if (arg5
) delete [] arg5
;
18092 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
= 0;
18094 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18095 wxArrayInt
*arg2
= 0 ;
18098 bool temp2
= false ;
18099 PyObject
* obj0
= 0 ;
18100 PyObject
* obj1
= 0 ;
18101 char * kwnames
[] = {
18102 (char *) "self",(char *) "selections", NULL
18105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18107 if (!SWIG_IsOK(res1
)) {
18108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18110 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18112 if (! PySequence_Check(obj1
)) {
18113 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18116 arg2
= new wxArrayInt
;
18118 int i
, len
=PySequence_Length(obj1
);
18119 for (i
=0; i
<len
; i
++) {
18120 PyObject
* item
= PySequence_GetItem(obj1
, i
);
18121 PyObject
* number
= PyNumber_Int(item
);
18123 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18126 arg2
->Add(PyInt_AS_LONG(number
));
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= SWIG_Py_Void();
18139 if (temp2
) delete arg2
;
18144 if (temp2
) delete arg2
;
18150 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18151 PyObject
*resultobj
= 0;
18152 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18153 PyObject
*result
= 0 ;
18156 PyObject
*swig_obj
[1] ;
18158 if (!args
) SWIG_fail
;
18159 swig_obj
[0] = args
;
18160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18161 if (!SWIG_IsOK(res1
)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18164 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 resultobj
= result
;
18178 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18181 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18182 return SWIG_Py_Void();
18185 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18186 return SWIG_Python_InitShadowInstance(args
);
18189 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
= 0;
18191 wxWindow
*arg1
= (wxWindow
*) 0 ;
18192 wxString
*arg2
= 0 ;
18193 wxString
*arg3
= 0 ;
18195 wxString
*arg5
= (wxString
*) 0 ;
18196 long arg6
= (long) wxCHOICEDLG_STYLE
;
18197 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18198 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18199 wxSingleChoiceDialog
*result
= 0 ;
18202 bool temp2
= false ;
18203 bool temp3
= false ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 PyObject
* obj2
= 0 ;
18210 PyObject
* obj3
= 0 ;
18211 PyObject
* obj4
= 0 ;
18212 PyObject
* obj5
= 0 ;
18213 char * kwnames
[] = {
18214 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18219 if (!SWIG_IsOK(res1
)) {
18220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18222 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18224 arg2
= wxString_in_helper(obj1
);
18225 if (arg2
== NULL
) SWIG_fail
;
18229 arg3
= wxString_in_helper(obj2
);
18230 if (arg3
== NULL
) SWIG_fail
;
18234 arg4
= PyList_Size(obj3
);
18235 arg5
= wxString_LIST_helper(obj3
);
18236 if (arg5
== NULL
) SWIG_fail
;
18239 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18240 if (!SWIG_IsOK(ecode6
)) {
18241 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18243 arg6
= static_cast< long >(val6
);
18248 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18252 if (!wxPyCheckForApp()) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18268 if (arg5
) delete [] arg5
;
18281 if (arg5
) delete [] arg5
;
18287 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18288 PyObject
*resultobj
= 0;
18289 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18293 PyObject
*swig_obj
[1] ;
18295 if (!args
) SWIG_fail
;
18296 swig_obj
[0] = args
;
18297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18298 if (!SWIG_IsOK(res1
)) {
18299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18301 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 result
= (int)(arg1
)->GetSelection();
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18308 resultobj
= SWIG_From_int(static_cast< int >(result
));
18315 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18316 PyObject
*resultobj
= 0;
18317 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18321 PyObject
*swig_obj
[1] ;
18323 if (!args
) SWIG_fail
;
18324 swig_obj
[0] = args
;
18325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18326 if (!SWIG_IsOK(res1
)) {
18327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18329 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 result
= (arg1
)->GetStringSelection();
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18349 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
= 0;
18351 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 char * kwnames
[] = {
18360 (char *) "self",(char *) "sel", NULL
18363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18365 if (!SWIG_IsOK(res1
)) {
18366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18368 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18370 if (!SWIG_IsOK(ecode2
)) {
18371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18373 arg2
= static_cast< int >(val2
);
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 (arg1
)->SetSelection(arg2
);
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 resultobj
= SWIG_Py_Void();
18387 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18390 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18391 return SWIG_Py_Void();
18394 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18395 return SWIG_Python_InitShadowInstance(args
);
18398 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
= 0;
18400 wxWindow
*arg1
= (wxWindow
*) 0 ;
18401 wxString
*arg2
= 0 ;
18402 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18404 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18405 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18406 long arg5
= (long) wxTextEntryDialogStyle
;
18407 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18408 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18409 wxTextEntryDialog
*result
= 0 ;
18412 bool temp2
= false ;
18413 bool temp3
= false ;
18414 bool temp4
= false ;
18418 PyObject
* obj0
= 0 ;
18419 PyObject
* obj1
= 0 ;
18420 PyObject
* obj2
= 0 ;
18421 PyObject
* obj3
= 0 ;
18422 PyObject
* obj4
= 0 ;
18423 PyObject
* obj5
= 0 ;
18424 char * kwnames
[] = {
18425 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18430 if (!SWIG_IsOK(res1
)) {
18431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18433 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18435 arg2
= wxString_in_helper(obj1
);
18436 if (arg2
== NULL
) SWIG_fail
;
18441 arg3
= wxString_in_helper(obj2
);
18442 if (arg3
== NULL
) SWIG_fail
;
18448 arg4
= wxString_in_helper(obj3
);
18449 if (arg4
== NULL
) SWIG_fail
;
18454 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18455 if (!SWIG_IsOK(ecode5
)) {
18456 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18458 arg5
= static_cast< long >(val5
);
18463 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18467 if (!wxPyCheckForApp()) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18504 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18505 PyObject
*resultobj
= 0;
18506 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18510 PyObject
*swig_obj
[1] ;
18512 if (!args
) SWIG_fail
;
18513 swig_obj
[0] = args
;
18514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18515 if (!SWIG_IsOK(res1
)) {
18516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18518 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 result
= (arg1
)->GetValue();
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18538 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
= 0;
18540 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18541 wxString
*arg2
= 0 ;
18544 bool temp2
= false ;
18545 PyObject
* obj0
= 0 ;
18546 PyObject
* obj1
= 0 ;
18547 char * kwnames
[] = {
18548 (char *) "self",(char *) "value", NULL
18551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18553 if (!SWIG_IsOK(res1
)) {
18554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18556 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18558 arg2
= wxString_in_helper(obj1
);
18559 if (arg2
== NULL
) SWIG_fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 (arg1
)->SetValue((wxString
const &)*arg2
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= SWIG_Py_Void();
18583 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18586 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18587 return SWIG_Py_Void();
18590 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18591 return SWIG_Python_InitShadowInstance(args
);
18594 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18595 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18600 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18601 PyObject
*pyobj
= 0;
18605 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18607 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18614 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
= 0;
18616 wxWindow
*arg1
= (wxWindow
*) 0 ;
18617 wxString
*arg2
= 0 ;
18618 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18620 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18621 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18622 long arg5
= (long) wxTextEntryDialogStyle
;
18623 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18624 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18625 wxPasswordEntryDialog
*result
= 0 ;
18628 bool temp2
= false ;
18629 bool temp3
= false ;
18630 bool temp4
= false ;
18634 PyObject
* obj0
= 0 ;
18635 PyObject
* obj1
= 0 ;
18636 PyObject
* obj2
= 0 ;
18637 PyObject
* obj3
= 0 ;
18638 PyObject
* obj4
= 0 ;
18639 PyObject
* obj5
= 0 ;
18640 char * kwnames
[] = {
18641 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18646 if (!SWIG_IsOK(res1
)) {
18647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18649 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18651 arg2
= wxString_in_helper(obj1
);
18652 if (arg2
== NULL
) SWIG_fail
;
18657 arg3
= wxString_in_helper(obj2
);
18658 if (arg3
== NULL
) SWIG_fail
;
18664 arg4
= wxString_in_helper(obj3
);
18665 if (arg4
== NULL
) SWIG_fail
;
18670 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18671 if (!SWIG_IsOK(ecode5
)) {
18672 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18674 arg5
= static_cast< long >(val5
);
18679 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18719 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18722 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18723 return SWIG_Py_Void();
18726 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18727 return SWIG_Python_InitShadowInstance(args
);
18730 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
= 0;
18732 wxWindow
*arg1
= (wxWindow
*) 0 ;
18733 wxString
*arg2
= 0 ;
18734 wxString
*arg3
= 0 ;
18735 wxString
*arg4
= 0 ;
18739 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18740 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18741 wxNumberEntryDialog
*result
= 0 ;
18744 bool temp2
= false ;
18745 bool temp3
= false ;
18746 bool temp4
= false ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 PyObject
* obj2
= 0 ;
18757 PyObject
* obj3
= 0 ;
18758 PyObject
* obj4
= 0 ;
18759 PyObject
* obj5
= 0 ;
18760 PyObject
* obj6
= 0 ;
18761 PyObject
* obj7
= 0 ;
18762 char * kwnames
[] = {
18763 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18768 if (!SWIG_IsOK(res1
)) {
18769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18771 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18773 arg2
= wxString_in_helper(obj1
);
18774 if (arg2
== NULL
) SWIG_fail
;
18778 arg3
= wxString_in_helper(obj2
);
18779 if (arg3
== NULL
) SWIG_fail
;
18783 arg4
= wxString_in_helper(obj3
);
18784 if (arg4
== NULL
) SWIG_fail
;
18787 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18788 if (!SWIG_IsOK(ecode5
)) {
18789 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18791 arg5
= static_cast< long >(val5
);
18792 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18793 if (!SWIG_IsOK(ecode6
)) {
18794 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18796 arg6
= static_cast< long >(val6
);
18797 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18798 if (!SWIG_IsOK(ecode7
)) {
18799 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18801 arg7
= static_cast< long >(val7
);
18805 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18809 if (!wxPyCheckForApp()) SWIG_fail
;
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18846 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18847 PyObject
*resultobj
= 0;
18848 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18852 PyObject
*swig_obj
[1] ;
18854 if (!args
) SWIG_fail
;
18855 swig_obj
[0] = args
;
18856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18857 if (!SWIG_IsOK(res1
)) {
18858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18860 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 result
= (long)(arg1
)->GetValue();
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_From_long(static_cast< long >(result
));
18874 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18877 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18878 return SWIG_Py_Void();
18881 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18882 return SWIG_Python_InitShadowInstance(args
);
18885 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18886 PyObject
*resultobj
= 0;
18887 wxFontData
*result
= 0 ;
18889 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 result
= (wxFontData
*)new wxFontData();
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18903 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18904 PyObject
*resultobj
= 0;
18905 wxFontData
*arg1
= (wxFontData
*) 0 ;
18908 PyObject
*swig_obj
[1] ;
18910 if (!args
) SWIG_fail
;
18911 swig_obj
[0] = args
;
18912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18913 if (!SWIG_IsOK(res1
)) {
18914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18916 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= SWIG_Py_Void();
18931 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
= 0;
18933 wxFontData
*arg1
= (wxFontData
*) 0 ;
18939 PyObject
* obj0
= 0 ;
18940 PyObject
* obj1
= 0 ;
18941 char * kwnames
[] = {
18942 (char *) "self",(char *) "enable", NULL
18945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18947 if (!SWIG_IsOK(res1
)) {
18948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18950 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18951 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18952 if (!SWIG_IsOK(ecode2
)) {
18953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18955 arg2
= static_cast< bool >(val2
);
18957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18958 (arg1
)->EnableEffects(arg2
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 resultobj
= SWIG_Py_Void();
18969 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18970 PyObject
*resultobj
= 0;
18971 wxFontData
*arg1
= (wxFontData
*) 0 ;
18975 PyObject
*swig_obj
[1] ;
18977 if (!args
) SWIG_fail
;
18978 swig_obj
[0] = args
;
18979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18980 if (!SWIG_IsOK(res1
)) {
18981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18983 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (bool)(arg1
)->GetAllowSymbols();
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18999 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19000 PyObject
*resultobj
= 0;
19001 wxFontData
*arg1
= (wxFontData
*) 0 ;
19005 PyObject
*swig_obj
[1] ;
19007 if (!args
) SWIG_fail
;
19008 swig_obj
[0] = args
;
19009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19010 if (!SWIG_IsOK(res1
)) {
19011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19013 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= (arg1
)->GetColour();
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19027 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19028 PyObject
*resultobj
= 0;
19029 wxFontData
*arg1
= (wxFontData
*) 0 ;
19033 PyObject
*swig_obj
[1] ;
19035 if (!args
) SWIG_fail
;
19036 swig_obj
[0] = args
;
19037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19038 if (!SWIG_IsOK(res1
)) {
19039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19041 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 result
= (arg1
)->GetChosenFont();
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19048 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19055 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19056 PyObject
*resultobj
= 0;
19057 wxFontData
*arg1
= (wxFontData
*) 0 ;
19061 PyObject
*swig_obj
[1] ;
19063 if (!args
) SWIG_fail
;
19064 swig_obj
[0] = args
;
19065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19066 if (!SWIG_IsOK(res1
)) {
19067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19069 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 result
= (bool)(arg1
)->GetEnableEffects();
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19085 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19086 PyObject
*resultobj
= 0;
19087 wxFontData
*arg1
= (wxFontData
*) 0 ;
19091 PyObject
*swig_obj
[1] ;
19093 if (!args
) SWIG_fail
;
19094 swig_obj
[0] = args
;
19095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19096 if (!SWIG_IsOK(res1
)) {
19097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19099 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 result
= (arg1
)->GetInitialFont();
19103 wxPyEndAllowThreads(__tstate
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19106 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19113 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19114 PyObject
*resultobj
= 0;
19115 wxFontData
*arg1
= (wxFontData
*) 0 ;
19119 PyObject
*swig_obj
[1] ;
19121 if (!args
) SWIG_fail
;
19122 swig_obj
[0] = args
;
19123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19124 if (!SWIG_IsOK(res1
)) {
19125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19127 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 result
= (bool)(arg1
)->GetShowHelp();
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19143 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19144 PyObject
*resultobj
= 0;
19145 wxFontData
*arg1
= (wxFontData
*) 0 ;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 char * kwnames
[] = {
19154 (char *) "self",(char *) "allowSymbols", NULL
19157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19159 if (!SWIG_IsOK(res1
)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19162 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19163 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19164 if (!SWIG_IsOK(ecode2
)) {
19165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19167 arg2
= static_cast< bool >(val2
);
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 (arg1
)->SetAllowSymbols(arg2
);
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 resultobj
= SWIG_Py_Void();
19181 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
= 0;
19183 wxFontData
*arg1
= (wxFontData
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char * kwnames
[] = {
19192 (char *) "self",(char *) "font", NULL
19195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19197 if (!SWIG_IsOK(res1
)) {
19198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19200 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19202 if (!SWIG_IsOK(res2
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19208 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19212 wxPyEndAllowThreads(__tstate
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 resultobj
= SWIG_Py_Void();
19222 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
= 0;
19224 wxFontData
*arg1
= (wxFontData
*) 0 ;
19225 wxColour
*arg2
= 0 ;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char * kwnames
[] = {
19232 (char *) "self",(char *) "colour", NULL
19235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19237 if (!SWIG_IsOK(res1
)) {
19238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19240 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19243 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 (arg1
)->SetColour((wxColour
const &)*arg2
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 resultobj
= SWIG_Py_Void();
19258 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
= 0;
19260 wxFontData
*arg1
= (wxFontData
*) 0 ;
19266 PyObject
* obj0
= 0 ;
19267 PyObject
* obj1
= 0 ;
19268 char * kwnames
[] = {
19269 (char *) "self",(char *) "font", NULL
19272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19274 if (!SWIG_IsOK(res1
)) {
19275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19277 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19279 if (!SWIG_IsOK(res2
)) {
19280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19285 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19289 wxPyEndAllowThreads(__tstate
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19292 resultobj
= SWIG_Py_Void();
19299 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
= 0;
19301 wxFontData
*arg1
= (wxFontData
*) 0 ;
19310 PyObject
* obj0
= 0 ;
19311 PyObject
* obj1
= 0 ;
19312 PyObject
* obj2
= 0 ;
19313 char * kwnames
[] = {
19314 (char *) "self",(char *) "min",(char *) "max", NULL
19317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19319 if (!SWIG_IsOK(res1
)) {
19320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19322 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19324 if (!SWIG_IsOK(ecode2
)) {
19325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19327 arg2
= static_cast< int >(val2
);
19328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19329 if (!SWIG_IsOK(ecode3
)) {
19330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19332 arg3
= static_cast< int >(val3
);
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 (arg1
)->SetRange(arg2
,arg3
);
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19339 resultobj
= SWIG_Py_Void();
19346 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19347 PyObject
*resultobj
= 0;
19348 wxFontData
*arg1
= (wxFontData
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 char * kwnames
[] = {
19357 (char *) "self",(char *) "showHelp", NULL
19360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19362 if (!SWIG_IsOK(res1
)) {
19363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19365 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19366 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19367 if (!SWIG_IsOK(ecode2
)) {
19368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19370 arg2
= static_cast< bool >(val2
);
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 (arg1
)->SetShowHelp(arg2
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= SWIG_Py_Void();
19384 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19387 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19388 return SWIG_Py_Void();
19391 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19392 return SWIG_Python_InitShadowInstance(args
);
19395 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
= 0;
19397 wxWindow
*arg1
= (wxWindow
*) 0 ;
19398 wxFontData
*arg2
= 0 ;
19399 wxFontDialog
*result
= 0 ;
19404 PyObject
* obj0
= 0 ;
19405 PyObject
* obj1
= 0 ;
19406 char * kwnames
[] = {
19407 (char *) "parent",(char *) "data", NULL
19410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19412 if (!SWIG_IsOK(res1
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19415 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19417 if (!SWIG_IsOK(res2
)) {
19418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19423 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19425 if (!wxPyCheckForApp()) SWIG_fail
;
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19438 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19439 PyObject
*resultobj
= 0;
19440 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19441 wxFontData
*result
= 0 ;
19444 PyObject
*swig_obj
[1] ;
19446 if (!args
) SWIG_fail
;
19447 swig_obj
[0] = args
;
19448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19449 if (!SWIG_IsOK(res1
)) {
19450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19452 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19457 result
= (wxFontData
*) &_result_ref
;
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19469 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19472 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19473 return SWIG_Py_Void();
19476 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19477 return SWIG_Python_InitShadowInstance(args
);
19480 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
= 0;
19482 wxWindow
*arg1
= (wxWindow
*) NULL
;
19483 wxFont
const &arg2_defvalue
= wxNullFont
;
19484 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19485 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19486 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19492 bool temp3
= false ;
19493 PyObject
* obj0
= 0 ;
19494 PyObject
* obj1
= 0 ;
19495 PyObject
* obj2
= 0 ;
19496 char * kwnames
[] = {
19497 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19503 if (!SWIG_IsOK(res1
)) {
19504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19506 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19510 if (!SWIG_IsOK(res2
)) {
19511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19516 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19520 arg3
= wxString_in_helper(obj2
);
19521 if (arg3
== NULL
) SWIG_fail
;
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19546 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
= 0;
19548 wxWindow
*arg1
= (wxWindow
*) 0 ;
19549 wxString
*arg2
= 0 ;
19550 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19551 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19552 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19553 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19554 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19555 wxMessageDialog
*result
= 0 ;
19558 bool temp2
= false ;
19559 bool temp3
= false ;
19563 PyObject
* obj0
= 0 ;
19564 PyObject
* obj1
= 0 ;
19565 PyObject
* obj2
= 0 ;
19566 PyObject
* obj3
= 0 ;
19567 PyObject
* obj4
= 0 ;
19568 char * kwnames
[] = {
19569 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19574 if (!SWIG_IsOK(res1
)) {
19575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19577 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19579 arg2
= wxString_in_helper(obj1
);
19580 if (arg2
== NULL
) SWIG_fail
;
19585 arg3
= wxString_in_helper(obj2
);
19586 if (arg3
== NULL
) SWIG_fail
;
19591 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19592 if (!SWIG_IsOK(ecode4
)) {
19593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19595 arg4
= static_cast< long >(val4
);
19600 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19604 if (!wxPyCheckForApp()) SWIG_fail
;
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19633 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19636 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19637 return SWIG_Py_Void();
19640 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19641 return SWIG_Python_InitShadowInstance(args
);
19644 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
= 0;
19646 wxString
*arg1
= 0 ;
19647 wxString
*arg2
= 0 ;
19648 int arg3
= (int) 100 ;
19649 wxWindow
*arg4
= (wxWindow
*) NULL
;
19650 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19651 wxProgressDialog
*result
= 0 ;
19652 bool temp1
= false ;
19653 bool temp2
= false ;
19660 PyObject
* obj0
= 0 ;
19661 PyObject
* obj1
= 0 ;
19662 PyObject
* obj2
= 0 ;
19663 PyObject
* obj3
= 0 ;
19664 PyObject
* obj4
= 0 ;
19665 char * kwnames
[] = {
19666 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19671 arg1
= wxString_in_helper(obj0
);
19672 if (arg1
== NULL
) SWIG_fail
;
19676 arg2
= wxString_in_helper(obj1
);
19677 if (arg2
== NULL
) SWIG_fail
;
19681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19682 if (!SWIG_IsOK(ecode3
)) {
19683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19685 arg3
= static_cast< int >(val3
);
19688 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19689 if (!SWIG_IsOK(res4
)) {
19690 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19692 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19695 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19696 if (!SWIG_IsOK(ecode5
)) {
19697 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19699 arg5
= static_cast< int >(val5
);
19702 if (!wxPyCheckForApp()) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19731 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
= 0;
19733 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19735 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19736 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19737 bool *arg4
= (bool *) 0 ;
19743 bool temp3
= false ;
19745 int res4
= SWIG_TMPOBJ
;
19746 PyObject
* obj0
= 0 ;
19747 PyObject
* obj1
= 0 ;
19748 PyObject
* obj2
= 0 ;
19749 char * kwnames
[] = {
19750 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19756 if (!SWIG_IsOK(res1
)) {
19757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19759 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19761 if (!SWIG_IsOK(ecode2
)) {
19762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19764 arg2
= static_cast< int >(val2
);
19767 arg3
= wxString_in_helper(obj2
);
19768 if (arg3
== NULL
) SWIG_fail
;
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19781 if (SWIG_IsTmpObj(res4
)) {
19782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19784 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19801 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
= 0;
19803 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19804 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19805 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19806 bool *arg3
= (bool *) 0 ;
19810 bool temp2
= false ;
19812 int res3
= SWIG_TMPOBJ
;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 char * kwnames
[] = {
19816 (char *) "self",(char *) "newmsg", NULL
19820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19822 if (!SWIG_IsOK(res1
)) {
19823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19825 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19828 arg2
= wxString_in_helper(obj1
);
19829 if (arg2
== NULL
) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19842 if (SWIG_IsTmpObj(res3
)) {
19843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19845 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19862 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19863 PyObject
*resultobj
= 0;
19864 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19867 PyObject
*swig_obj
[1] ;
19869 if (!args
) SWIG_fail
;
19870 swig_obj
[0] = args
;
19871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19872 if (!SWIG_IsOK(res1
)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19875 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 resultobj
= SWIG_Py_Void();
19889 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19892 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19893 return SWIG_Py_Void();
19896 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19897 return SWIG_Python_InitShadowInstance(args
);
19900 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
= 0;
19902 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19903 int arg2
= (int) 0 ;
19904 wxFindDialogEvent
*result
= 0 ;
19909 PyObject
* obj0
= 0 ;
19910 PyObject
* obj1
= 0 ;
19911 char * kwnames
[] = {
19912 (char *) "commandType",(char *) "id", NULL
19915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19917 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19918 if (!SWIG_IsOK(ecode1
)) {
19919 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19921 arg1
= static_cast< wxEventType
>(val1
);
19924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19925 if (!SWIG_IsOK(ecode2
)) {
19926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19928 arg2
= static_cast< int >(val2
);
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19943 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19944 PyObject
*resultobj
= 0;
19945 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19949 PyObject
*swig_obj
[1] ;
19951 if (!args
) SWIG_fail
;
19952 swig_obj
[0] = args
;
19953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19954 if (!SWIG_IsOK(res1
)) {
19955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19957 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= (int)(arg1
)->GetFlags();
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 resultobj
= SWIG_From_int(static_cast< int >(result
));
19971 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19972 PyObject
*resultobj
= 0;
19973 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19974 wxString
*result
= 0 ;
19977 PyObject
*swig_obj
[1] ;
19979 if (!args
) SWIG_fail
;
19980 swig_obj
[0] = args
;
19981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19982 if (!SWIG_IsOK(res1
)) {
19983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19985 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 wxString
const &_result_ref
= (arg1
)->GetFindString();
19990 result
= (wxString
*) &_result_ref
;
19992 wxPyEndAllowThreads(__tstate
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19997 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19999 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20008 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20009 PyObject
*resultobj
= 0;
20010 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20011 wxString
*result
= 0 ;
20014 PyObject
*swig_obj
[1] ;
20016 if (!args
) SWIG_fail
;
20017 swig_obj
[0] = args
;
20018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20019 if (!SWIG_IsOK(res1
)) {
20020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20022 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20027 result
= (wxString
*) &_result_ref
;
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20034 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20036 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20045 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20046 PyObject
*resultobj
= 0;
20047 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20048 wxFindReplaceDialog
*result
= 0 ;
20051 PyObject
*swig_obj
[1] ;
20053 if (!args
) SWIG_fail
;
20054 swig_obj
[0] = args
;
20055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20056 if (!SWIG_IsOK(res1
)) {
20057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20059 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20073 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
= 0;
20075 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 char * kwnames
[] = {
20084 (char *) "self",(char *) "flags", NULL
20087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20089 if (!SWIG_IsOK(res1
)) {
20090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20092 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20094 if (!SWIG_IsOK(ecode2
)) {
20095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20097 arg2
= static_cast< int >(val2
);
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 (arg1
)->SetFlags(arg2
);
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= SWIG_Py_Void();
20111 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
= 0;
20113 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20114 wxString
*arg2
= 0 ;
20117 bool temp2
= false ;
20118 PyObject
* obj0
= 0 ;
20119 PyObject
* obj1
= 0 ;
20120 char * kwnames
[] = {
20121 (char *) "self",(char *) "str", NULL
20124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20126 if (!SWIG_IsOK(res1
)) {
20127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20129 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20131 arg2
= wxString_in_helper(obj1
);
20132 if (arg2
== NULL
) SWIG_fail
;
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 (arg1
)->SetFindString((wxString
const &)*arg2
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= SWIG_Py_Void();
20156 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
= 0;
20158 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20159 wxString
*arg2
= 0 ;
20162 bool temp2
= false ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char * kwnames
[] = {
20166 (char *) "self",(char *) "str", NULL
20169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20171 if (!SWIG_IsOK(res1
)) {
20172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20174 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20176 arg2
= wxString_in_helper(obj1
);
20177 if (arg2
== NULL
) SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= SWIG_Py_Void();
20201 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20204 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20205 return SWIG_Py_Void();
20208 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20209 return SWIG_Python_InitShadowInstance(args
);
20212 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
= 0;
20214 int arg1
= (int) 0 ;
20215 wxFindReplaceData
*result
= 0 ;
20218 PyObject
* obj0
= 0 ;
20219 char * kwnames
[] = {
20220 (char *) "flags", NULL
20223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20225 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20226 if (!SWIG_IsOK(ecode1
)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20229 arg1
= static_cast< int >(val1
);
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20244 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20245 PyObject
*resultobj
= 0;
20246 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20249 PyObject
*swig_obj
[1] ;
20251 if (!args
) SWIG_fail
;
20252 swig_obj
[0] = args
;
20253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20254 if (!SWIG_IsOK(res1
)) {
20255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20257 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= SWIG_Py_Void();
20272 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20273 PyObject
*resultobj
= 0;
20274 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20275 wxString
*result
= 0 ;
20278 PyObject
*swig_obj
[1] ;
20280 if (!args
) SWIG_fail
;
20281 swig_obj
[0] = args
;
20282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20283 if (!SWIG_IsOK(res1
)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20286 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 wxString
const &_result_ref
= (arg1
)->GetFindString();
20291 result
= (wxString
*) &_result_ref
;
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20300 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20309 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20310 PyObject
*resultobj
= 0;
20311 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20312 wxString
*result
= 0 ;
20315 PyObject
*swig_obj
[1] ;
20317 if (!args
) SWIG_fail
;
20318 swig_obj
[0] = args
;
20319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20320 if (!SWIG_IsOK(res1
)) {
20321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20323 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20328 result
= (wxString
*) &_result_ref
;
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20335 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20337 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20346 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20347 PyObject
*resultobj
= 0;
20348 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20352 PyObject
*swig_obj
[1] ;
20354 if (!args
) SWIG_fail
;
20355 swig_obj
[0] = args
;
20356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20357 if (!SWIG_IsOK(res1
)) {
20358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20360 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (int)(arg1
)->GetFlags();
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20367 resultobj
= SWIG_From_int(static_cast< int >(result
));
20374 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
= 0;
20376 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20384 char * kwnames
[] = {
20385 (char *) "self",(char *) "flags", NULL
20388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20390 if (!SWIG_IsOK(res1
)) {
20391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20393 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20395 if (!SWIG_IsOK(ecode2
)) {
20396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20398 arg2
= static_cast< int >(val2
);
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 (arg1
)->SetFlags(arg2
);
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= SWIG_Py_Void();
20412 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
= 0;
20414 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20415 wxString
*arg2
= 0 ;
20418 bool temp2
= false ;
20419 PyObject
* obj0
= 0 ;
20420 PyObject
* obj1
= 0 ;
20421 char * kwnames
[] = {
20422 (char *) "self",(char *) "str", NULL
20425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20427 if (!SWIG_IsOK(res1
)) {
20428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20430 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20432 arg2
= wxString_in_helper(obj1
);
20433 if (arg2
== NULL
) SWIG_fail
;
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 (arg1
)->SetFindString((wxString
const &)*arg2
);
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 resultobj
= SWIG_Py_Void();
20457 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
= 0;
20459 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20460 wxString
*arg2
= 0 ;
20463 bool temp2
= false ;
20464 PyObject
* obj0
= 0 ;
20465 PyObject
* obj1
= 0 ;
20466 char * kwnames
[] = {
20467 (char *) "self",(char *) "str", NULL
20470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20472 if (!SWIG_IsOK(res1
)) {
20473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20475 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20477 arg2
= wxString_in_helper(obj1
);
20478 if (arg2
== NULL
) SWIG_fail
;
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= SWIG_Py_Void();
20502 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20505 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20506 return SWIG_Py_Void();
20509 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20510 return SWIG_Python_InitShadowInstance(args
);
20513 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
= 0;
20515 wxWindow
*arg1
= (wxWindow
*) 0 ;
20516 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20517 wxString
*arg3
= 0 ;
20518 int arg4
= (int) 0 ;
20519 wxFindReplaceDialog
*result
= 0 ;
20524 bool temp3
= false ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 PyObject
* obj2
= 0 ;
20530 PyObject
* obj3
= 0 ;
20531 char * kwnames
[] = {
20532 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20537 if (!SWIG_IsOK(res1
)) {
20538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20540 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20541 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20542 if (!SWIG_IsOK(res2
)) {
20543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20545 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20547 arg3
= wxString_in_helper(obj2
);
20548 if (arg3
== NULL
) SWIG_fail
;
20552 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20553 if (!SWIG_IsOK(ecode4
)) {
20554 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20556 arg4
= static_cast< int >(val4
);
20559 if (!wxPyCheckForApp()) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20580 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20581 PyObject
*resultobj
= 0;
20582 wxFindReplaceDialog
*result
= 0 ;
20584 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20586 if (!wxPyCheckForApp()) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20599 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20600 PyObject
*resultobj
= 0;
20601 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20602 wxWindow
*arg2
= (wxWindow
*) 0 ;
20603 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20604 wxString
*arg4
= 0 ;
20605 int arg5
= (int) 0 ;
20613 bool temp4
= false ;
20616 PyObject
* obj0
= 0 ;
20617 PyObject
* obj1
= 0 ;
20618 PyObject
* obj2
= 0 ;
20619 PyObject
* obj3
= 0 ;
20620 PyObject
* obj4
= 0 ;
20621 char * kwnames
[] = {
20622 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20627 if (!SWIG_IsOK(res1
)) {
20628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20630 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20631 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20632 if (!SWIG_IsOK(res2
)) {
20633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20635 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20636 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20637 if (!SWIG_IsOK(res3
)) {
20638 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20640 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20642 arg4
= wxString_in_helper(obj3
);
20643 if (arg4
== NULL
) SWIG_fail
;
20647 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20648 if (!SWIG_IsOK(ecode5
)) {
20649 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20651 arg5
= static_cast< int >(val5
);
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20676 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20677 PyObject
*resultobj
= 0;
20678 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20679 wxFindReplaceData
*result
= 0 ;
20682 PyObject
*swig_obj
[1] ;
20684 if (!args
) SWIG_fail
;
20685 swig_obj
[0] = args
;
20686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20687 if (!SWIG_IsOK(res1
)) {
20688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20690 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20693 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20704 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20705 PyObject
*resultobj
= 0;
20706 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20707 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20712 PyObject
* obj0
= 0 ;
20713 PyObject
* obj1
= 0 ;
20714 char * kwnames
[] = {
20715 (char *) "self",(char *) "data", NULL
20718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20720 if (!SWIG_IsOK(res1
)) {
20721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20723 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20725 if (!SWIG_IsOK(res2
)) {
20726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20728 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 (arg1
)->SetData(arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_Py_Void();
20742 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20745 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20746 return SWIG_Py_Void();
20749 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20750 return SWIG_Python_InitShadowInstance(args
);
20753 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
= 0;
20755 wxWindow
*arg1
= (wxWindow
*) 0 ;
20756 int arg2
= (int) (int)-1 ;
20757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20759 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20760 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20761 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20762 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20763 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20764 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20765 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20766 wxMDIParentFrame
*result
= 0 ;
20771 bool temp3
= false ;
20776 bool temp7
= false ;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 PyObject
* obj2
= 0 ;
20780 PyObject
* obj3
= 0 ;
20781 PyObject
* obj4
= 0 ;
20782 PyObject
* obj5
= 0 ;
20783 PyObject
* obj6
= 0 ;
20784 char * kwnames
[] = {
20785 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20790 if (!SWIG_IsOK(res1
)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20793 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20796 if (!SWIG_IsOK(ecode2
)) {
20797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20799 arg2
= static_cast< int >(val2
);
20803 arg3
= wxString_in_helper(obj2
);
20804 if (arg3
== NULL
) SWIG_fail
;
20811 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20817 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20821 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20822 if (!SWIG_IsOK(ecode6
)) {
20823 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20825 arg6
= static_cast< long >(val6
);
20829 arg7
= wxString_in_helper(obj6
);
20830 if (arg7
== NULL
) SWIG_fail
;
20835 if (!wxPyCheckForApp()) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20864 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20865 PyObject
*resultobj
= 0;
20866 wxMDIParentFrame
*result
= 0 ;
20868 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20870 if (!wxPyCheckForApp()) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20883 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
= 0;
20885 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20886 wxWindow
*arg2
= (wxWindow
*) 0 ;
20887 int arg3
= (int) (int)-1 ;
20888 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20889 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20890 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20891 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20892 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20893 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20894 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20895 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20896 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20904 bool temp4
= false ;
20909 bool temp8
= false ;
20910 PyObject
* obj0
= 0 ;
20911 PyObject
* obj1
= 0 ;
20912 PyObject
* obj2
= 0 ;
20913 PyObject
* obj3
= 0 ;
20914 PyObject
* obj4
= 0 ;
20915 PyObject
* obj5
= 0 ;
20916 PyObject
* obj6
= 0 ;
20917 PyObject
* obj7
= 0 ;
20918 char * kwnames
[] = {
20919 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20924 if (!SWIG_IsOK(res1
)) {
20925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20927 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20928 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20929 if (!SWIG_IsOK(res2
)) {
20930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20932 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20935 if (!SWIG_IsOK(ecode3
)) {
20936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20938 arg3
= static_cast< int >(val3
);
20942 arg4
= wxString_in_helper(obj3
);
20943 if (arg4
== NULL
) SWIG_fail
;
20950 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20956 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20960 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20961 if (!SWIG_IsOK(ecode7
)) {
20962 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20964 arg7
= static_cast< long >(val7
);
20968 arg8
= wxString_in_helper(obj7
);
20969 if (arg8
== NULL
) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21004 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21005 PyObject
*resultobj
= 0;
21006 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21009 PyObject
*swig_obj
[1] ;
21011 if (!args
) SWIG_fail
;
21012 swig_obj
[0] = args
;
21013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21014 if (!SWIG_IsOK(res1
)) {
21015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21017 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 (arg1
)->ActivateNext();
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= SWIG_Py_Void();
21031 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21032 PyObject
*resultobj
= 0;
21033 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21036 PyObject
*swig_obj
[1] ;
21038 if (!args
) SWIG_fail
;
21039 swig_obj
[0] = args
;
21040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21041 if (!SWIG_IsOK(res1
)) {
21042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21044 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 (arg1
)->ActivatePrevious();
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 resultobj
= SWIG_Py_Void();
21058 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21059 PyObject
*resultobj
= 0;
21060 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21063 PyObject
*swig_obj
[1] ;
21065 if (!args
) SWIG_fail
;
21066 swig_obj
[0] = args
;
21067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21068 if (!SWIG_IsOK(res1
)) {
21069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21071 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 (arg1
)->ArrangeIcons();
21075 wxPyEndAllowThreads(__tstate
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21078 resultobj
= SWIG_Py_Void();
21085 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21086 PyObject
*resultobj
= 0;
21087 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21090 PyObject
*swig_obj
[1] ;
21092 if (!args
) SWIG_fail
;
21093 swig_obj
[0] = args
;
21094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21095 if (!SWIG_IsOK(res1
)) {
21096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21098 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_Py_Void();
21112 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21113 PyObject
*resultobj
= 0;
21114 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21115 wxMDIChildFrame
*result
= 0 ;
21118 PyObject
*swig_obj
[1] ;
21120 if (!args
) SWIG_fail
;
21121 swig_obj
[0] = args
;
21122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21123 if (!SWIG_IsOK(res1
)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21126 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21142 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21143 PyObject
*resultobj
= 0;
21144 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21145 wxMDIClientWindow
*result
= 0 ;
21148 PyObject
*swig_obj
[1] ;
21150 if (!args
) SWIG_fail
;
21151 swig_obj
[0] = args
;
21152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21153 if (!SWIG_IsOK(res1
)) {
21154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21156 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21164 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21172 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
= 0;
21174 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21175 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21180 PyObject
* obj0
= 0 ;
21181 PyObject
* obj1
= 0 ;
21182 char * kwnames
[] = {
21183 (char *) "self",(char *) "orient", NULL
21186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21188 if (!SWIG_IsOK(res1
)) {
21189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21191 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21194 if (!SWIG_IsOK(ecode2
)) {
21195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21197 arg2
= static_cast< wxOrientation
>(val2
);
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 (arg1
)->Tile(arg2
);
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= SWIG_Py_Void();
21212 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21214 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21215 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21216 return SWIG_Py_Void();
21219 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21220 return SWIG_Python_InitShadowInstance(args
);
21223 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21224 PyObject
*resultobj
= 0;
21225 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21226 int arg2
= (int) (int)-1 ;
21227 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21228 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21229 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21230 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21231 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21232 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21233 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21234 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21235 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21236 wxMDIChildFrame
*result
= 0 ;
21241 bool temp3
= false ;
21246 bool temp7
= false ;
21247 PyObject
* obj0
= 0 ;
21248 PyObject
* obj1
= 0 ;
21249 PyObject
* obj2
= 0 ;
21250 PyObject
* obj3
= 0 ;
21251 PyObject
* obj4
= 0 ;
21252 PyObject
* obj5
= 0 ;
21253 PyObject
* obj6
= 0 ;
21254 char * kwnames
[] = {
21255 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21260 if (!SWIG_IsOK(res1
)) {
21261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21263 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21266 if (!SWIG_IsOK(ecode2
)) {
21267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21269 arg2
= static_cast< int >(val2
);
21273 arg3
= wxString_in_helper(obj2
);
21274 if (arg3
== NULL
) SWIG_fail
;
21281 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21287 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21291 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21292 if (!SWIG_IsOK(ecode6
)) {
21293 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21295 arg6
= static_cast< long >(val6
);
21299 arg7
= wxString_in_helper(obj6
);
21300 if (arg7
== NULL
) SWIG_fail
;
21305 if (!wxPyCheckForApp()) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21334 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21335 PyObject
*resultobj
= 0;
21336 wxMDIChildFrame
*result
= 0 ;
21338 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21340 if (!wxPyCheckForApp()) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21353 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
= 0;
21355 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21356 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21357 int arg3
= (int) (int)-1 ;
21358 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21359 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21360 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21361 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21362 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21363 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21364 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21365 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21366 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21374 bool temp4
= false ;
21379 bool temp8
= false ;
21380 PyObject
* obj0
= 0 ;
21381 PyObject
* obj1
= 0 ;
21382 PyObject
* obj2
= 0 ;
21383 PyObject
* obj3
= 0 ;
21384 PyObject
* obj4
= 0 ;
21385 PyObject
* obj5
= 0 ;
21386 PyObject
* obj6
= 0 ;
21387 PyObject
* obj7
= 0 ;
21388 char * kwnames
[] = {
21389 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21394 if (!SWIG_IsOK(res1
)) {
21395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21397 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21399 if (!SWIG_IsOK(res2
)) {
21400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21402 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21405 if (!SWIG_IsOK(ecode3
)) {
21406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21408 arg3
= static_cast< int >(val3
);
21412 arg4
= wxString_in_helper(obj3
);
21413 if (arg4
== NULL
) SWIG_fail
;
21420 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21426 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21430 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21431 if (!SWIG_IsOK(ecode7
)) {
21432 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21434 arg7
= static_cast< long >(val7
);
21438 arg8
= wxString_in_helper(obj7
);
21439 if (arg8
== NULL
) SWIG_fail
;
21444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21474 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21475 PyObject
*resultobj
= 0;
21476 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21479 PyObject
*swig_obj
[1] ;
21481 if (!args
) SWIG_fail
;
21482 swig_obj
[0] = args
;
21483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21484 if (!SWIG_IsOK(res1
)) {
21485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21487 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 (arg1
)->Activate();
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= SWIG_Py_Void();
21501 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21504 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21505 return SWIG_Py_Void();
21508 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21509 return SWIG_Python_InitShadowInstance(args
);
21512 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
= 0;
21514 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21515 long arg2
= (long) 0 ;
21516 wxMDIClientWindow
*result
= 0 ;
21521 PyObject
* obj0
= 0 ;
21522 PyObject
* obj1
= 0 ;
21523 char * kwnames
[] = {
21524 (char *) "parent",(char *) "style", NULL
21527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21529 if (!SWIG_IsOK(res1
)) {
21530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21532 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21534 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21535 if (!SWIG_IsOK(ecode2
)) {
21536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21538 arg2
= static_cast< long >(val2
);
21541 if (!wxPyCheckForApp()) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21554 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21555 PyObject
*resultobj
= 0;
21556 wxMDIClientWindow
*result
= 0 ;
21558 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21560 if (!wxPyCheckForApp()) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21573 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
= 0;
21575 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21576 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21577 long arg3
= (long) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 PyObject
* obj2
= 0 ;
21588 char * kwnames
[] = {
21589 (char *) "self",(char *) "parent",(char *) "style", NULL
21592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21594 if (!SWIG_IsOK(res1
)) {
21595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21597 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21598 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21599 if (!SWIG_IsOK(res2
)) {
21600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21602 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21604 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21605 if (!SWIG_IsOK(ecode3
)) {
21606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21608 arg3
= static_cast< long >(val3
);
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21625 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21628 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21629 return SWIG_Py_Void();
21632 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21633 return SWIG_Python_InitShadowInstance(args
);
21636 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
= 0;
21638 wxWindow
*arg1
= (wxWindow
*) 0 ;
21639 int arg2
= (int) (int)-1 ;
21640 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21641 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21642 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21643 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21644 long arg5
= (long) 0 ;
21645 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21646 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21647 wxPyWindow
*result
= 0 ;
21656 bool temp6
= false ;
21657 PyObject
* obj0
= 0 ;
21658 PyObject
* obj1
= 0 ;
21659 PyObject
* obj2
= 0 ;
21660 PyObject
* obj3
= 0 ;
21661 PyObject
* obj4
= 0 ;
21662 PyObject
* obj5
= 0 ;
21663 char * kwnames
[] = {
21664 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21669 if (!SWIG_IsOK(res1
)) {
21670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21672 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21675 if (!SWIG_IsOK(ecode2
)) {
21676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21678 arg2
= static_cast< int >(val2
);
21683 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21689 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21693 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21694 if (!SWIG_IsOK(ecode5
)) {
21695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21697 arg5
= static_cast< long >(val5
);
21701 arg6
= wxString_in_helper(obj5
);
21702 if (arg6
== NULL
) SWIG_fail
;
21707 if (!wxPyCheckForApp()) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21728 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21729 PyObject
*resultobj
= 0;
21730 wxPyWindow
*result
= 0 ;
21732 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21734 if (!wxPyCheckForApp()) SWIG_fail
;
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 result
= (wxPyWindow
*)new wxPyWindow();
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21747 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
= 0;
21749 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21750 PyObject
*arg2
= (PyObject
*) 0 ;
21751 PyObject
*arg3
= (PyObject
*) 0 ;
21754 PyObject
* obj0
= 0 ;
21755 PyObject
* obj1
= 0 ;
21756 PyObject
* obj2
= 0 ;
21757 char * kwnames
[] = {
21758 (char *) "self",(char *) "self",(char *) "_class", NULL
21761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21763 if (!SWIG_IsOK(res1
)) {
21764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21766 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21775 resultobj
= SWIG_Py_Void();
21782 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21783 PyObject
*resultobj
= 0;
21784 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21785 wxDC
*arg2
= (wxDC
*) 0 ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char * kwnames
[] = {
21794 (char *) "self",(char *) "dc", NULL
21797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21799 if (!SWIG_IsOK(res1
)) {
21800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21802 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21804 if (!SWIG_IsOK(res2
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21807 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21823 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
= 0;
21825 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 PyObject
* obj2
= 0 ;
21843 PyObject
* obj3
= 0 ;
21844 PyObject
* obj4
= 0 ;
21845 char * kwnames
[] = {
21846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21851 if (!SWIG_IsOK(res1
)) {
21852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21854 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21856 if (!SWIG_IsOK(ecode2
)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21859 arg2
= static_cast< int >(val2
);
21860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21861 if (!SWIG_IsOK(ecode3
)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21864 arg3
= static_cast< int >(val3
);
21865 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21866 if (!SWIG_IsOK(ecode4
)) {
21867 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21869 arg4
= static_cast< int >(val4
);
21870 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21871 if (!SWIG_IsOK(ecode5
)) {
21872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21874 arg5
= static_cast< int >(val5
);
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 resultobj
= SWIG_Py_Void();
21888 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
= 0;
21890 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21895 int arg6
= (int) wxSIZE_AUTO
;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 PyObject
* obj2
= 0 ;
21911 PyObject
* obj3
= 0 ;
21912 PyObject
* obj4
= 0 ;
21913 PyObject
* obj5
= 0 ;
21914 char * kwnames
[] = {
21915 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21920 if (!SWIG_IsOK(res1
)) {
21921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21923 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21925 if (!SWIG_IsOK(ecode2
)) {
21926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21928 arg2
= static_cast< int >(val2
);
21929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21930 if (!SWIG_IsOK(ecode3
)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21933 arg3
= static_cast< int >(val3
);
21934 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21935 if (!SWIG_IsOK(ecode4
)) {
21936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21938 arg4
= static_cast< int >(val4
);
21939 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21940 if (!SWIG_IsOK(ecode5
)) {
21941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21943 arg5
= static_cast< int >(val5
);
21945 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21946 if (!SWIG_IsOK(ecode6
)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21949 arg6
= static_cast< int >(val6
);
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 resultobj
= SWIG_Py_Void();
21964 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
= 0;
21966 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 PyObject
* obj1
= 0 ;
21977 PyObject
* obj2
= 0 ;
21978 char * kwnames
[] = {
21979 (char *) "self",(char *) "width",(char *) "height", NULL
21982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21984 if (!SWIG_IsOK(res1
)) {
21985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21987 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21989 if (!SWIG_IsOK(ecode2
)) {
21990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21992 arg2
= static_cast< int >(val2
);
21993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21994 if (!SWIG_IsOK(ecode3
)) {
21995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21997 arg3
= static_cast< int >(val3
);
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 (arg1
)->DoSetClientSize(arg2
,arg3
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= SWIG_Py_Void();
22011 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
= 0;
22013 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22022 PyObject
* obj0
= 0 ;
22023 PyObject
* obj1
= 0 ;
22024 PyObject
* obj2
= 0 ;
22025 char * kwnames
[] = {
22026 (char *) "self",(char *) "x",(char *) "y", NULL
22029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22031 if (!SWIG_IsOK(res1
)) {
22032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22034 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22036 if (!SWIG_IsOK(ecode2
)) {
22037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22039 arg2
= static_cast< int >(val2
);
22040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22041 if (!SWIG_IsOK(ecode3
)) {
22042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22044 arg3
= static_cast< int >(val3
);
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= SWIG_Py_Void();
22058 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22059 PyObject
*resultobj
= 0;
22060 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22061 int *arg2
= (int *) 0 ;
22062 int *arg3
= (int *) 0 ;
22066 int res2
= SWIG_TMPOBJ
;
22068 int res3
= SWIG_TMPOBJ
;
22069 PyObject
*swig_obj
[1] ;
22073 if (!args
) SWIG_fail
;
22074 swig_obj
[0] = args
;
22075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22076 if (!SWIG_IsOK(res1
)) {
22077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22079 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= SWIG_Py_Void();
22087 if (SWIG_IsTmpObj(res2
)) {
22088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22090 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22093 if (SWIG_IsTmpObj(res3
)) {
22094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22096 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22105 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22106 PyObject
*resultobj
= 0;
22107 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22108 int *arg2
= (int *) 0 ;
22109 int *arg3
= (int *) 0 ;
22113 int res2
= SWIG_TMPOBJ
;
22115 int res3
= SWIG_TMPOBJ
;
22116 PyObject
*swig_obj
[1] ;
22120 if (!args
) SWIG_fail
;
22121 swig_obj
[0] = args
;
22122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22123 if (!SWIG_IsOK(res1
)) {
22124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22126 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= SWIG_Py_Void();
22134 if (SWIG_IsTmpObj(res2
)) {
22135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22137 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22140 if (SWIG_IsTmpObj(res3
)) {
22141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22143 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22152 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22153 PyObject
*resultobj
= 0;
22154 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22155 int *arg2
= (int *) 0 ;
22156 int *arg3
= (int *) 0 ;
22160 int res2
= SWIG_TMPOBJ
;
22162 int res3
= SWIG_TMPOBJ
;
22163 PyObject
*swig_obj
[1] ;
22167 if (!args
) SWIG_fail
;
22168 swig_obj
[0] = args
;
22169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22170 if (!SWIG_IsOK(res1
)) {
22171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22173 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 resultobj
= SWIG_Py_Void();
22181 if (SWIG_IsTmpObj(res2
)) {
22182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22184 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22187 if (SWIG_IsTmpObj(res3
)) {
22188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22190 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22199 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22200 PyObject
*resultobj
= 0;
22201 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22205 PyObject
*swig_obj
[1] ;
22207 if (!args
) SWIG_fail
;
22208 swig_obj
[0] = args
;
22209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22210 if (!SWIG_IsOK(res1
)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22213 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22227 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22228 PyObject
*resultobj
= 0;
22229 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22233 PyObject
*swig_obj
[1] ;
22235 if (!args
) SWIG_fail
;
22236 swig_obj
[0] = args
;
22237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22238 if (!SWIG_IsOK(res1
)) {
22239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22241 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22255 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22256 PyObject
*resultobj
= 0;
22257 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22258 SwigValueWrapper
<wxVisualAttributes
> result
;
22261 PyObject
*swig_obj
[1] ;
22263 if (!args
) SWIG_fail
;
22264 swig_obj
[0] = args
;
22265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22266 if (!SWIG_IsOK(res1
)) {
22267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22269 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= (arg1
)->GetDefaultAttributes();
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22276 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22283 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22284 PyObject
*resultobj
= 0;
22285 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22288 PyObject
*swig_obj
[1] ;
22290 if (!args
) SWIG_fail
;
22291 swig_obj
[0] = args
;
22292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22293 if (!SWIG_IsOK(res1
)) {
22294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22296 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 (arg1
)->OnInternalIdle();
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= SWIG_Py_Void();
22310 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22313 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22314 return SWIG_Py_Void();
22317 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22318 return SWIG_Python_InitShadowInstance(args
);
22321 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
= 0;
22323 wxWindow
*arg1
= (wxWindow
*) 0 ;
22324 int arg2
= (int) (int)-1 ;
22325 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22326 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22327 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22328 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22329 long arg5
= (long) 0 ;
22330 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22331 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22332 wxPyPanel
*result
= 0 ;
22341 bool temp6
= false ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 PyObject
* obj2
= 0 ;
22345 PyObject
* obj3
= 0 ;
22346 PyObject
* obj4
= 0 ;
22347 PyObject
* obj5
= 0 ;
22348 char * kwnames
[] = {
22349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22354 if (!SWIG_IsOK(res1
)) {
22355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22360 if (!SWIG_IsOK(ecode2
)) {
22361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22363 arg2
= static_cast< int >(val2
);
22368 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22374 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22378 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22379 if (!SWIG_IsOK(ecode5
)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22382 arg5
= static_cast< long >(val5
);
22386 arg6
= wxString_in_helper(obj5
);
22387 if (arg6
== NULL
) SWIG_fail
;
22392 if (!wxPyCheckForApp()) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22413 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22414 PyObject
*resultobj
= 0;
22415 wxPyPanel
*result
= 0 ;
22417 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22419 if (!wxPyCheckForApp()) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= (wxPyPanel
*)new wxPyPanel();
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22432 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
= 0;
22434 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22435 PyObject
*arg2
= (PyObject
*) 0 ;
22436 PyObject
*arg3
= (PyObject
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 PyObject
* obj1
= 0 ;
22441 PyObject
* obj2
= 0 ;
22442 char * kwnames
[] = {
22443 (char *) "self",(char *) "self",(char *) "_class", NULL
22446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22448 if (!SWIG_IsOK(res1
)) {
22449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22451 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= SWIG_Py_Void();
22467 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22468 PyObject
*resultobj
= 0;
22469 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22470 wxDC
*arg2
= (wxDC
*) 0 ;
22476 PyObject
* obj0
= 0 ;
22477 PyObject
* obj1
= 0 ;
22478 char * kwnames
[] = {
22479 (char *) "self",(char *) "dc", NULL
22482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22484 if (!SWIG_IsOK(res1
)) {
22485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22487 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22488 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22489 if (!SWIG_IsOK(res2
)) {
22490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22492 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22508 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
= 0;
22510 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 PyObject
* obj2
= 0 ;
22528 PyObject
* obj3
= 0 ;
22529 PyObject
* obj4
= 0 ;
22530 char * kwnames
[] = {
22531 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22536 if (!SWIG_IsOK(res1
)) {
22537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22539 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22541 if (!SWIG_IsOK(ecode2
)) {
22542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22544 arg2
= static_cast< int >(val2
);
22545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22546 if (!SWIG_IsOK(ecode3
)) {
22547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22549 arg3
= static_cast< int >(val3
);
22550 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22551 if (!SWIG_IsOK(ecode4
)) {
22552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22554 arg4
= static_cast< int >(val4
);
22555 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22556 if (!SWIG_IsOK(ecode5
)) {
22557 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22559 arg5
= static_cast< int >(val5
);
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 resultobj
= SWIG_Py_Void();
22573 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
= 0;
22575 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22580 int arg6
= (int) wxSIZE_AUTO
;
22593 PyObject
* obj0
= 0 ;
22594 PyObject
* obj1
= 0 ;
22595 PyObject
* obj2
= 0 ;
22596 PyObject
* obj3
= 0 ;
22597 PyObject
* obj4
= 0 ;
22598 PyObject
* obj5
= 0 ;
22599 char * kwnames
[] = {
22600 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22605 if (!SWIG_IsOK(res1
)) {
22606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22608 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22610 if (!SWIG_IsOK(ecode2
)) {
22611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22613 arg2
= static_cast< int >(val2
);
22614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22615 if (!SWIG_IsOK(ecode3
)) {
22616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22618 arg3
= static_cast< int >(val3
);
22619 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22620 if (!SWIG_IsOK(ecode4
)) {
22621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22623 arg4
= static_cast< int >(val4
);
22624 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22625 if (!SWIG_IsOK(ecode5
)) {
22626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22628 arg5
= static_cast< int >(val5
);
22630 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22631 if (!SWIG_IsOK(ecode6
)) {
22632 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22634 arg6
= static_cast< int >(val6
);
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 resultobj
= SWIG_Py_Void();
22649 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
= 0;
22651 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 PyObject
* obj1
= 0 ;
22662 PyObject
* obj2
= 0 ;
22663 char * kwnames
[] = {
22664 (char *) "self",(char *) "width",(char *) "height", NULL
22667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22669 if (!SWIG_IsOK(res1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22672 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22674 if (!SWIG_IsOK(ecode2
)) {
22675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22677 arg2
= static_cast< int >(val2
);
22678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22679 if (!SWIG_IsOK(ecode3
)) {
22680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22682 arg3
= static_cast< int >(val3
);
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 (arg1
)->DoSetClientSize(arg2
,arg3
);
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 resultobj
= SWIG_Py_Void();
22696 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
= 0;
22698 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22707 PyObject
* obj0
= 0 ;
22708 PyObject
* obj1
= 0 ;
22709 PyObject
* obj2
= 0 ;
22710 char * kwnames
[] = {
22711 (char *) "self",(char *) "x",(char *) "y", NULL
22714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22716 if (!SWIG_IsOK(res1
)) {
22717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22719 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22721 if (!SWIG_IsOK(ecode2
)) {
22722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22724 arg2
= static_cast< int >(val2
);
22725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22726 if (!SWIG_IsOK(ecode3
)) {
22727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22729 arg3
= static_cast< int >(val3
);
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22736 resultobj
= SWIG_Py_Void();
22743 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22744 PyObject
*resultobj
= 0;
22745 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22746 int *arg2
= (int *) 0 ;
22747 int *arg3
= (int *) 0 ;
22751 int res2
= SWIG_TMPOBJ
;
22753 int res3
= SWIG_TMPOBJ
;
22754 PyObject
*swig_obj
[1] ;
22758 if (!args
) SWIG_fail
;
22759 swig_obj
[0] = args
;
22760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22761 if (!SWIG_IsOK(res1
)) {
22762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22764 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22771 resultobj
= SWIG_Py_Void();
22772 if (SWIG_IsTmpObj(res2
)) {
22773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22775 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22778 if (SWIG_IsTmpObj(res3
)) {
22779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22781 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22790 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22791 PyObject
*resultobj
= 0;
22792 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22793 int *arg2
= (int *) 0 ;
22794 int *arg3
= (int *) 0 ;
22798 int res2
= SWIG_TMPOBJ
;
22800 int res3
= SWIG_TMPOBJ
;
22801 PyObject
*swig_obj
[1] ;
22805 if (!args
) SWIG_fail
;
22806 swig_obj
[0] = args
;
22807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22808 if (!SWIG_IsOK(res1
)) {
22809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22811 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= SWIG_Py_Void();
22819 if (SWIG_IsTmpObj(res2
)) {
22820 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22822 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22823 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22825 if (SWIG_IsTmpObj(res3
)) {
22826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22828 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22829 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22837 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22838 PyObject
*resultobj
= 0;
22839 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22840 int *arg2
= (int *) 0 ;
22841 int *arg3
= (int *) 0 ;
22845 int res2
= SWIG_TMPOBJ
;
22847 int res3
= SWIG_TMPOBJ
;
22848 PyObject
*swig_obj
[1] ;
22852 if (!args
) SWIG_fail
;
22853 swig_obj
[0] = args
;
22854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22855 if (!SWIG_IsOK(res1
)) {
22856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22858 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22862 wxPyEndAllowThreads(__tstate
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22865 resultobj
= SWIG_Py_Void();
22866 if (SWIG_IsTmpObj(res2
)) {
22867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22869 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22872 if (SWIG_IsTmpObj(res3
)) {
22873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22875 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22884 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22885 PyObject
*resultobj
= 0;
22886 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22890 PyObject
*swig_obj
[1] ;
22892 if (!args
) SWIG_fail
;
22893 swig_obj
[0] = args
;
22894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22895 if (!SWIG_IsOK(res1
)) {
22896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22898 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22901 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22912 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22913 PyObject
*resultobj
= 0;
22914 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22918 PyObject
*swig_obj
[1] ;
22920 if (!args
) SWIG_fail
;
22921 swig_obj
[0] = args
;
22922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22923 if (!SWIG_IsOK(res1
)) {
22924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22926 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22940 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22941 PyObject
*resultobj
= 0;
22942 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22943 SwigValueWrapper
<wxVisualAttributes
> result
;
22946 PyObject
*swig_obj
[1] ;
22948 if (!args
) SWIG_fail
;
22949 swig_obj
[0] = args
;
22950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22951 if (!SWIG_IsOK(res1
)) {
22952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22954 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 result
= (arg1
)->GetDefaultAttributes();
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22968 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22969 PyObject
*resultobj
= 0;
22970 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22973 PyObject
*swig_obj
[1] ;
22975 if (!args
) SWIG_fail
;
22976 swig_obj
[0] = args
;
22977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22978 if (!SWIG_IsOK(res1
)) {
22979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22981 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22984 (arg1
)->OnInternalIdle();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_Py_Void();
22995 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22998 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22999 return SWIG_Py_Void();
23002 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23003 return SWIG_Python_InitShadowInstance(args
);
23006 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23007 PyObject
*resultobj
= 0;
23008 wxWindow
*arg1
= (wxWindow
*) 0 ;
23009 int arg2
= (int) (int)-1 ;
23010 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23011 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23012 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23013 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23014 long arg5
= (long) 0 ;
23015 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23016 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23017 wxPyScrolledWindow
*result
= 0 ;
23026 bool temp6
= false ;
23027 PyObject
* obj0
= 0 ;
23028 PyObject
* obj1
= 0 ;
23029 PyObject
* obj2
= 0 ;
23030 PyObject
* obj3
= 0 ;
23031 PyObject
* obj4
= 0 ;
23032 PyObject
* obj5
= 0 ;
23033 char * kwnames
[] = {
23034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23039 if (!SWIG_IsOK(res1
)) {
23040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23042 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23045 if (!SWIG_IsOK(ecode2
)) {
23046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23048 arg2
= static_cast< int >(val2
);
23053 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23059 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23063 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23064 if (!SWIG_IsOK(ecode5
)) {
23065 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23067 arg5
= static_cast< long >(val5
);
23071 arg6
= wxString_in_helper(obj5
);
23072 if (arg6
== NULL
) SWIG_fail
;
23077 if (!wxPyCheckForApp()) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23098 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23099 PyObject
*resultobj
= 0;
23100 wxPyScrolledWindow
*result
= 0 ;
23102 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23104 if (!wxPyCheckForApp()) SWIG_fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23117 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23118 PyObject
*resultobj
= 0;
23119 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23120 PyObject
*arg2
= (PyObject
*) 0 ;
23121 PyObject
*arg3
= (PyObject
*) 0 ;
23124 PyObject
* obj0
= 0 ;
23125 PyObject
* obj1
= 0 ;
23126 PyObject
* obj2
= 0 ;
23127 char * kwnames
[] = {
23128 (char *) "self",(char *) "self",(char *) "_class", NULL
23131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23133 if (!SWIG_IsOK(res1
)) {
23134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23136 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 resultobj
= SWIG_Py_Void();
23152 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
= 0;
23154 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23155 wxDC
*arg2
= (wxDC
*) 0 ;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23163 char * kwnames
[] = {
23164 (char *) "self",(char *) "dc", NULL
23167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23169 if (!SWIG_IsOK(res1
)) {
23170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23172 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23173 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23174 if (!SWIG_IsOK(res2
)) {
23175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23177 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23193 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
= 0;
23195 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23210 PyObject
* obj0
= 0 ;
23211 PyObject
* obj1
= 0 ;
23212 PyObject
* obj2
= 0 ;
23213 PyObject
* obj3
= 0 ;
23214 PyObject
* obj4
= 0 ;
23215 char * kwnames
[] = {
23216 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23221 if (!SWIG_IsOK(res1
)) {
23222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23224 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23226 if (!SWIG_IsOK(ecode2
)) {
23227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23229 arg2
= static_cast< int >(val2
);
23230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23231 if (!SWIG_IsOK(ecode3
)) {
23232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23234 arg3
= static_cast< int >(val3
);
23235 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23236 if (!SWIG_IsOK(ecode4
)) {
23237 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23239 arg4
= static_cast< int >(val4
);
23240 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23241 if (!SWIG_IsOK(ecode5
)) {
23242 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23244 arg5
= static_cast< int >(val5
);
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_Py_Void();
23258 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
= 0;
23260 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23265 int arg6
= (int) wxSIZE_AUTO
;
23278 PyObject
* obj0
= 0 ;
23279 PyObject
* obj1
= 0 ;
23280 PyObject
* obj2
= 0 ;
23281 PyObject
* obj3
= 0 ;
23282 PyObject
* obj4
= 0 ;
23283 PyObject
* obj5
= 0 ;
23284 char * kwnames
[] = {
23285 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23290 if (!SWIG_IsOK(res1
)) {
23291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23293 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23295 if (!SWIG_IsOK(ecode2
)) {
23296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23298 arg2
= static_cast< int >(val2
);
23299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23300 if (!SWIG_IsOK(ecode3
)) {
23301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23303 arg3
= static_cast< int >(val3
);
23304 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23305 if (!SWIG_IsOK(ecode4
)) {
23306 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23308 arg4
= static_cast< int >(val4
);
23309 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23310 if (!SWIG_IsOK(ecode5
)) {
23311 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23313 arg5
= static_cast< int >(val5
);
23315 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23316 if (!SWIG_IsOK(ecode6
)) {
23317 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23319 arg6
= static_cast< int >(val6
);
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_Py_Void();
23334 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
= 0;
23336 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 PyObject
* obj2
= 0 ;
23348 char * kwnames
[] = {
23349 (char *) "self",(char *) "width",(char *) "height", NULL
23352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23354 if (!SWIG_IsOK(res1
)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23357 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23359 if (!SWIG_IsOK(ecode2
)) {
23360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23362 arg2
= static_cast< int >(val2
);
23363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23364 if (!SWIG_IsOK(ecode3
)) {
23365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23367 arg3
= static_cast< int >(val3
);
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 (arg1
)->DoSetClientSize(arg2
,arg3
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_Py_Void();
23381 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
= 0;
23383 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23392 PyObject
* obj0
= 0 ;
23393 PyObject
* obj1
= 0 ;
23394 PyObject
* obj2
= 0 ;
23395 char * kwnames
[] = {
23396 (char *) "self",(char *) "x",(char *) "y", NULL
23399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23401 if (!SWIG_IsOK(res1
)) {
23402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23404 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23406 if (!SWIG_IsOK(ecode2
)) {
23407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23409 arg2
= static_cast< int >(val2
);
23410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23411 if (!SWIG_IsOK(ecode3
)) {
23412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23414 arg3
= static_cast< int >(val3
);
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= SWIG_Py_Void();
23428 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23429 PyObject
*resultobj
= 0;
23430 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23431 int *arg2
= (int *) 0 ;
23432 int *arg3
= (int *) 0 ;
23436 int res2
= SWIG_TMPOBJ
;
23438 int res3
= SWIG_TMPOBJ
;
23439 PyObject
*swig_obj
[1] ;
23443 if (!args
) SWIG_fail
;
23444 swig_obj
[0] = args
;
23445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23446 if (!SWIG_IsOK(res1
)) {
23447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23449 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23456 resultobj
= SWIG_Py_Void();
23457 if (SWIG_IsTmpObj(res2
)) {
23458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23460 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23463 if (SWIG_IsTmpObj(res3
)) {
23464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23466 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23475 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23476 PyObject
*resultobj
= 0;
23477 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23478 int *arg2
= (int *) 0 ;
23479 int *arg3
= (int *) 0 ;
23483 int res2
= SWIG_TMPOBJ
;
23485 int res3
= SWIG_TMPOBJ
;
23486 PyObject
*swig_obj
[1] ;
23490 if (!args
) SWIG_fail
;
23491 swig_obj
[0] = args
;
23492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23493 if (!SWIG_IsOK(res1
)) {
23494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23496 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23503 resultobj
= SWIG_Py_Void();
23504 if (SWIG_IsTmpObj(res2
)) {
23505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23507 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23510 if (SWIG_IsTmpObj(res3
)) {
23511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23513 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23522 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23523 PyObject
*resultobj
= 0;
23524 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23525 int *arg2
= (int *) 0 ;
23526 int *arg3
= (int *) 0 ;
23530 int res2
= SWIG_TMPOBJ
;
23532 int res3
= SWIG_TMPOBJ
;
23533 PyObject
*swig_obj
[1] ;
23537 if (!args
) SWIG_fail
;
23538 swig_obj
[0] = args
;
23539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23540 if (!SWIG_IsOK(res1
)) {
23541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23543 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= SWIG_Py_Void();
23551 if (SWIG_IsTmpObj(res2
)) {
23552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23554 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23557 if (SWIG_IsTmpObj(res3
)) {
23558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23560 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23569 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23570 PyObject
*resultobj
= 0;
23571 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23575 PyObject
*swig_obj
[1] ;
23577 if (!args
) SWIG_fail
;
23578 swig_obj
[0] = args
;
23579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23580 if (!SWIG_IsOK(res1
)) {
23581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23583 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23590 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23597 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23598 PyObject
*resultobj
= 0;
23599 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23603 PyObject
*swig_obj
[1] ;
23605 if (!args
) SWIG_fail
;
23606 swig_obj
[0] = args
;
23607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23608 if (!SWIG_IsOK(res1
)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23611 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23625 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23626 PyObject
*resultobj
= 0;
23627 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23628 SwigValueWrapper
<wxVisualAttributes
> result
;
23631 PyObject
*swig_obj
[1] ;
23633 if (!args
) SWIG_fail
;
23634 swig_obj
[0] = args
;
23635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23636 if (!SWIG_IsOK(res1
)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23639 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 result
= (arg1
)->GetDefaultAttributes();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23653 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23654 PyObject
*resultobj
= 0;
23655 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23658 PyObject
*swig_obj
[1] ;
23660 if (!args
) SWIG_fail
;
23661 swig_obj
[0] = args
;
23662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23663 if (!SWIG_IsOK(res1
)) {
23664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23666 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 (arg1
)->OnInternalIdle();
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_Py_Void();
23680 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23683 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23684 return SWIG_Py_Void();
23687 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23688 return SWIG_Python_InitShadowInstance(args
);
23691 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23692 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23697 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23698 PyObject
*pyobj
= 0;
23702 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23704 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23711 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23712 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23717 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23718 PyObject
*pyobj
= 0;
23722 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23724 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23731 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23732 PyObject
*resultobj
= 0;
23733 wxPrintData
*result
= 0 ;
23735 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 result
= (wxPrintData
*)new wxPrintData();
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23749 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23750 PyObject
*resultobj
= 0;
23751 wxPrintData
*arg1
= 0 ;
23752 wxPrintData
*result
= 0 ;
23756 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23758 if (!SWIG_IsOK(res1
)) {
23759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23764 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23778 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23782 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23785 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23788 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23792 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23797 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23798 PyObject
*resultobj
= 0;
23799 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23802 PyObject
*swig_obj
[1] ;
23804 if (!args
) SWIG_fail
;
23805 swig_obj
[0] = args
;
23806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23807 if (!SWIG_IsOK(res1
)) {
23808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23810 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 resultobj
= SWIG_Py_Void();
23825 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23826 PyObject
*resultobj
= 0;
23827 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23831 PyObject
*swig_obj
[1] ;
23833 if (!args
) SWIG_fail
;
23834 swig_obj
[0] = args
;
23835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23836 if (!SWIG_IsOK(res1
)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23839 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (int)(arg1
)->GetNoCopies();
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= SWIG_From_int(static_cast< int >(result
));
23853 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23854 PyObject
*resultobj
= 0;
23855 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23859 PyObject
*swig_obj
[1] ;
23861 if (!args
) SWIG_fail
;
23862 swig_obj
[0] = args
;
23863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23864 if (!SWIG_IsOK(res1
)) {
23865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23867 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= (bool)(arg1
)->GetCollate();
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23883 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23884 PyObject
*resultobj
= 0;
23885 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23889 PyObject
*swig_obj
[1] ;
23891 if (!args
) SWIG_fail
;
23892 swig_obj
[0] = args
;
23893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23894 if (!SWIG_IsOK(res1
)) {
23895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23897 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (int)(arg1
)->GetOrientation();
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= SWIG_From_int(static_cast< int >(result
));
23911 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23912 PyObject
*resultobj
= 0;
23913 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23917 PyObject
*swig_obj
[1] ;
23919 if (!args
) SWIG_fail
;
23920 swig_obj
[0] = args
;
23921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23922 if (!SWIG_IsOK(res1
)) {
23923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23925 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23941 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23942 PyObject
*resultobj
= 0;
23943 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23947 PyObject
*swig_obj
[1] ;
23949 if (!args
) SWIG_fail
;
23950 swig_obj
[0] = args
;
23951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23952 if (!SWIG_IsOK(res1
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23955 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 result
= (bool)(arg1
)->IsOk();
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23971 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23972 PyObject
*resultobj
= 0;
23973 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23974 wxString
*result
= 0 ;
23977 PyObject
*swig_obj
[1] ;
23979 if (!args
) SWIG_fail
;
23980 swig_obj
[0] = args
;
23981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23982 if (!SWIG_IsOK(res1
)) {
23983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23985 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23990 result
= (wxString
*) &_result_ref
;
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23997 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23999 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24008 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24009 PyObject
*resultobj
= 0;
24010 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24014 PyObject
*swig_obj
[1] ;
24016 if (!args
) SWIG_fail
;
24017 swig_obj
[0] = args
;
24018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24019 if (!SWIG_IsOK(res1
)) {
24020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24022 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 result
= (bool)(arg1
)->GetColour();
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24038 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24039 PyObject
*resultobj
= 0;
24040 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24041 wxDuplexMode result
;
24044 PyObject
*swig_obj
[1] ;
24046 if (!args
) SWIG_fail
;
24047 swig_obj
[0] = args
;
24048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24049 if (!SWIG_IsOK(res1
)) {
24050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24052 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 resultobj
= SWIG_From_int(static_cast< int >(result
));
24066 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24067 PyObject
*resultobj
= 0;
24068 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24069 wxPaperSize result
;
24072 PyObject
*swig_obj
[1] ;
24074 if (!args
) SWIG_fail
;
24075 swig_obj
[0] = args
;
24076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24077 if (!SWIG_IsOK(res1
)) {
24078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24080 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= SWIG_From_int(static_cast< int >(result
));
24094 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24095 PyObject
*resultobj
= 0;
24096 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24097 wxSize
*result
= 0 ;
24100 PyObject
*swig_obj
[1] ;
24102 if (!args
) SWIG_fail
;
24103 swig_obj
[0] = args
;
24104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24105 if (!SWIG_IsOK(res1
)) {
24106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24108 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24113 result
= (wxSize
*) &_result_ref
;
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24125 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24126 PyObject
*resultobj
= 0;
24127 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24131 PyObject
*swig_obj
[1] ;
24133 if (!args
) SWIG_fail
;
24134 swig_obj
[0] = args
;
24135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24136 if (!SWIG_IsOK(res1
)) {
24137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24139 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 result
= (int)(arg1
)->GetQuality();
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= SWIG_From_int(static_cast< int >(result
));
24153 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24154 PyObject
*resultobj
= 0;
24155 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24159 PyObject
*swig_obj
[1] ;
24161 if (!args
) SWIG_fail
;
24162 swig_obj
[0] = args
;
24163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24164 if (!SWIG_IsOK(res1
)) {
24165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24167 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 result
= (wxPrintBin
)(arg1
)->GetBin();
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 resultobj
= SWIG_From_int(static_cast< int >(result
));
24181 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24182 PyObject
*resultobj
= 0;
24183 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24184 wxPrintMode result
;
24187 PyObject
*swig_obj
[1] ;
24189 if (!args
) SWIG_fail
;
24190 swig_obj
[0] = args
;
24191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24192 if (!SWIG_IsOK(res1
)) {
24193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24195 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= SWIG_From_int(static_cast< int >(result
));
24209 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24210 PyObject
*resultobj
= 0;
24211 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24215 PyObject
*swig_obj
[1] ;
24217 if (!args
) SWIG_fail
;
24218 swig_obj
[0] = args
;
24219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24220 if (!SWIG_IsOK(res1
)) {
24221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24223 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= SWIG_From_int(static_cast< int >(result
));
24237 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
= 0;
24239 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 char * kwnames
[] = {
24248 (char *) "self",(char *) "v", NULL
24251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24253 if (!SWIG_IsOK(res1
)) {
24254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24256 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24258 if (!SWIG_IsOK(ecode2
)) {
24259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24261 arg2
= static_cast< int >(val2
);
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->SetNoCopies(arg2
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= SWIG_Py_Void();
24275 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
= 0;
24277 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 char * kwnames
[] = {
24286 (char *) "self",(char *) "flag", NULL
24289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24291 if (!SWIG_IsOK(res1
)) {
24292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24294 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24295 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24296 if (!SWIG_IsOK(ecode2
)) {
24297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24299 arg2
= static_cast< bool >(val2
);
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 (arg1
)->SetCollate(arg2
);
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24306 resultobj
= SWIG_Py_Void();
24313 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24314 PyObject
*resultobj
= 0;
24315 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 char * kwnames
[] = {
24324 (char *) "self",(char *) "orient", NULL
24327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24329 if (!SWIG_IsOK(res1
)) {
24330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24332 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24334 if (!SWIG_IsOK(ecode2
)) {
24335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24337 arg2
= static_cast< int >(val2
);
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 (arg1
)->SetOrientation(arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= SWIG_Py_Void();
24351 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
= 0;
24353 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 char * kwnames
[] = {
24362 (char *) "self",(char *) "reversed", NULL
24365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24367 if (!SWIG_IsOK(res1
)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24370 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24371 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24372 if (!SWIG_IsOK(ecode2
)) {
24373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24375 arg2
= static_cast< bool >(val2
);
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 (arg1
)->SetOrientationReversed(arg2
);
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= SWIG_Py_Void();
24389 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
= 0;
24391 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24392 wxString
*arg2
= 0 ;
24395 bool temp2
= false ;
24396 PyObject
* obj0
= 0 ;
24397 PyObject
* obj1
= 0 ;
24398 char * kwnames
[] = {
24399 (char *) "self",(char *) "name", NULL
24402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24404 if (!SWIG_IsOK(res1
)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24407 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24409 arg2
= wxString_in_helper(obj1
);
24410 if (arg2
== NULL
) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_Py_Void();
24434 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
= 0;
24436 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 char * kwnames
[] = {
24445 (char *) "self",(char *) "colour", NULL
24448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24450 if (!SWIG_IsOK(res1
)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24453 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24454 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24455 if (!SWIG_IsOK(ecode2
)) {
24456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24458 arg2
= static_cast< bool >(val2
);
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 (arg1
)->SetColour(arg2
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= SWIG_Py_Void();
24472 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
= 0;
24474 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24475 wxDuplexMode arg2
;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 char * kwnames
[] = {
24483 (char *) "self",(char *) "duplex", NULL
24486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24488 if (!SWIG_IsOK(res1
)) {
24489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24491 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24493 if (!SWIG_IsOK(ecode2
)) {
24494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24496 arg2
= static_cast< wxDuplexMode
>(val2
);
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 (arg1
)->SetDuplex(arg2
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= SWIG_Py_Void();
24510 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
= 0;
24512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 char * kwnames
[] = {
24521 (char *) "self",(char *) "sizeId", NULL
24524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24526 if (!SWIG_IsOK(res1
)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24529 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24531 if (!SWIG_IsOK(ecode2
)) {
24532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24534 arg2
= static_cast< wxPaperSize
>(val2
);
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 (arg1
)->SetPaperId(arg2
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= SWIG_Py_Void();
24548 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
= 0;
24550 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 char * kwnames
[] = {
24558 (char *) "self",(char *) "sz", NULL
24561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24563 if (!SWIG_IsOK(res1
)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24566 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24569 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 resultobj
= SWIG_Py_Void();
24584 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
= 0;
24586 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 char * kwnames
[] = {
24595 (char *) "self",(char *) "quality", NULL
24598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24600 if (!SWIG_IsOK(res1
)) {
24601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24603 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24605 if (!SWIG_IsOK(ecode2
)) {
24606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24608 arg2
= static_cast< int >(val2
);
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 (arg1
)->SetQuality(arg2
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= SWIG_Py_Void();
24622 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
= 0;
24624 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 char * kwnames
[] = {
24633 (char *) "self",(char *) "bin", NULL
24636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24638 if (!SWIG_IsOK(res1
)) {
24639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24641 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24643 if (!SWIG_IsOK(ecode2
)) {
24644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24646 arg2
= static_cast< wxPrintBin
>(val2
);
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 (arg1
)->SetBin(arg2
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24653 resultobj
= SWIG_Py_Void();
24660 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
= 0;
24662 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24668 PyObject
* obj0
= 0 ;
24669 PyObject
* obj1
= 0 ;
24670 char * kwnames
[] = {
24671 (char *) "self",(char *) "printMode", NULL
24674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24676 if (!SWIG_IsOK(res1
)) {
24677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24679 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24681 if (!SWIG_IsOK(ecode2
)) {
24682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24684 arg2
= static_cast< wxPrintMode
>(val2
);
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 (arg1
)->SetPrintMode(arg2
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_Py_Void();
24698 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
= 0;
24700 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 PyObject
* obj1
= 0 ;
24708 char * kwnames
[] = {
24709 (char *) "self",(char *) "media", NULL
24712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24714 if (!SWIG_IsOK(res1
)) {
24715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24717 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24719 if (!SWIG_IsOK(ecode2
)) {
24720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24722 arg2
= static_cast< int >(val2
);
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 (arg1
)->SetMedia(arg2
);
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= SWIG_Py_Void();
24736 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24737 PyObject
*resultobj
= 0;
24738 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24742 PyObject
*swig_obj
[1] ;
24744 if (!args
) SWIG_fail
;
24745 swig_obj
[0] = args
;
24746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24747 if (!SWIG_IsOK(res1
)) {
24748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24750 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24770 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
= 0;
24772 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24773 wxString
*arg2
= 0 ;
24776 bool temp2
= false ;
24777 PyObject
* obj0
= 0 ;
24778 PyObject
* obj1
= 0 ;
24779 char * kwnames
[] = {
24780 (char *) "self",(char *) "filename", NULL
24783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24785 if (!SWIG_IsOK(res1
)) {
24786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24788 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24790 arg2
= wxString_in_helper(obj1
);
24791 if (arg2
== NULL
) SWIG_fail
;
24795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24796 (arg1
)->SetFilename((wxString
const &)*arg2
);
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24800 resultobj
= SWIG_Py_Void();
24815 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24816 PyObject
*resultobj
= 0;
24817 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24818 PyObject
*result
= 0 ;
24821 PyObject
*swig_obj
[1] ;
24823 if (!args
) SWIG_fail
;
24824 swig_obj
[0] = args
;
24825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24826 if (!SWIG_IsOK(res1
)) {
24827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24829 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= result
;
24843 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
= 0;
24845 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24846 PyObject
*arg2
= (PyObject
*) 0 ;
24849 PyObject
* obj0
= 0 ;
24850 PyObject
* obj1
= 0 ;
24851 char * kwnames
[] = {
24852 (char *) "self",(char *) "data", NULL
24855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24857 if (!SWIG_IsOK(res1
)) {
24858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24860 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 wxPrintData_SetPrivData(arg1
,arg2
);
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= SWIG_Py_Void();
24875 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24878 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24879 return SWIG_Py_Void();
24882 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24883 return SWIG_Python_InitShadowInstance(args
);
24886 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24887 PyObject
*resultobj
= 0;
24888 wxPageSetupDialogData
*result
= 0 ;
24890 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24904 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24905 PyObject
*resultobj
= 0;
24906 wxPageSetupDialogData
*arg1
= 0 ;
24907 wxPageSetupDialogData
*result
= 0 ;
24911 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24913 if (!SWIG_IsOK(res1
)) {
24914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24919 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24933 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24934 PyObject
*resultobj
= 0;
24935 wxPrintData
*arg1
= 0 ;
24936 wxPageSetupDialogData
*result
= 0 ;
24940 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24942 if (!SWIG_IsOK(res1
)) {
24943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24948 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24962 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24966 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24969 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24974 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24975 _v
= SWIG_CheckState(res
);
24977 if (!_v
) goto check_2
;
24978 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24983 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24987 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24992 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24993 PyObject
*resultobj
= 0;
24994 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
, SWIG_POINTER_DISOWN
| 0 );
25002 if (!SWIG_IsOK(res1
)) {
25003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25005 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 wxPyEndAllowThreads(__tstate
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= SWIG_Py_Void();
25020 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
= 0;
25022 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25028 PyObject
* obj0
= 0 ;
25029 PyObject
* obj1
= 0 ;
25030 char * kwnames
[] = {
25031 (char *) "self",(char *) "flag", NULL
25034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25036 if (!SWIG_IsOK(res1
)) {
25037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25039 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25040 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25041 if (!SWIG_IsOK(ecode2
)) {
25042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25044 arg2
= static_cast< bool >(val2
);
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 (arg1
)->EnableHelp(arg2
);
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= SWIG_Py_Void();
25058 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25059 PyObject
*resultobj
= 0;
25060 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25066 PyObject
* obj0
= 0 ;
25067 PyObject
* obj1
= 0 ;
25068 char * kwnames
[] = {
25069 (char *) "self",(char *) "flag", NULL
25072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25074 if (!SWIG_IsOK(res1
)) {
25075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25077 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25078 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25079 if (!SWIG_IsOK(ecode2
)) {
25080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25082 arg2
= static_cast< bool >(val2
);
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 (arg1
)->EnableMargins(arg2
);
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_Py_Void();
25096 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25097 PyObject
*resultobj
= 0;
25098 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25104 PyObject
* obj0
= 0 ;
25105 PyObject
* obj1
= 0 ;
25106 char * kwnames
[] = {
25107 (char *) "self",(char *) "flag", NULL
25110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",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_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25115 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25116 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25117 if (!SWIG_IsOK(ecode2
)) {
25118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25120 arg2
= static_cast< bool >(val2
);
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 (arg1
)->EnableOrientation(arg2
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= SWIG_Py_Void();
25134 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
= 0;
25136 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25142 PyObject
* obj0
= 0 ;
25143 PyObject
* obj1
= 0 ;
25144 char * kwnames
[] = {
25145 (char *) "self",(char *) "flag", NULL
25148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25150 if (!SWIG_IsOK(res1
)) {
25151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25153 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25154 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25155 if (!SWIG_IsOK(ecode2
)) {
25156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25158 arg2
= static_cast< bool >(val2
);
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 (arg1
)->EnablePaper(arg2
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= SWIG_Py_Void();
25172 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
= 0;
25174 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 char * kwnames
[] = {
25183 (char *) "self",(char *) "flag", NULL
25186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25188 if (!SWIG_IsOK(res1
)) {
25189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25191 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25192 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25193 if (!SWIG_IsOK(ecode2
)) {
25194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25196 arg2
= static_cast< bool >(val2
);
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 (arg1
)->EnablePrinter(arg2
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= SWIG_Py_Void();
25210 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25211 PyObject
*resultobj
= 0;
25212 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25216 PyObject
*swig_obj
[1] ;
25218 if (!args
) SWIG_fail
;
25219 swig_obj
[0] = args
;
25220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25221 if (!SWIG_IsOK(res1
)) {
25222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25224 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 result
= (bool)(arg1
)->GetDefaultMinMargins();
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25240 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25241 PyObject
*resultobj
= 0;
25242 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25246 PyObject
*swig_obj
[1] ;
25248 if (!args
) SWIG_fail
;
25249 swig_obj
[0] = args
;
25250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25251 if (!SWIG_IsOK(res1
)) {
25252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25254 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 result
= (bool)(arg1
)->GetEnableMargins();
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25270 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25271 PyObject
*resultobj
= 0;
25272 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25276 PyObject
*swig_obj
[1] ;
25278 if (!args
) SWIG_fail
;
25279 swig_obj
[0] = args
;
25280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25284 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (bool)(arg1
)->GetEnableOrientation();
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25300 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25301 PyObject
*resultobj
= 0;
25302 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25306 PyObject
*swig_obj
[1] ;
25308 if (!args
) SWIG_fail
;
25309 swig_obj
[0] = args
;
25310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25311 if (!SWIG_IsOK(res1
)) {
25312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25314 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= (bool)(arg1
)->GetEnablePaper();
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25330 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25331 PyObject
*resultobj
= 0;
25332 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25336 PyObject
*swig_obj
[1] ;
25338 if (!args
) SWIG_fail
;
25339 swig_obj
[0] = args
;
25340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25341 if (!SWIG_IsOK(res1
)) {
25342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25344 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 result
= (bool)(arg1
)->GetEnablePrinter();
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25360 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25361 PyObject
*resultobj
= 0;
25362 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25366 PyObject
*swig_obj
[1] ;
25368 if (!args
) SWIG_fail
;
25369 swig_obj
[0] = args
;
25370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25371 if (!SWIG_IsOK(res1
)) {
25372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25374 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25377 result
= (bool)(arg1
)->GetEnableHelp();
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25390 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25391 PyObject
*resultobj
= 0;
25392 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25396 PyObject
*swig_obj
[1] ;
25398 if (!args
) SWIG_fail
;
25399 swig_obj
[0] = args
;
25400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25401 if (!SWIG_IsOK(res1
)) {
25402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25404 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 result
= (bool)(arg1
)->GetDefaultInfo();
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25420 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25421 PyObject
*resultobj
= 0;
25422 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25426 PyObject
*swig_obj
[1] ;
25428 if (!args
) SWIG_fail
;
25429 swig_obj
[0] = args
;
25430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25431 if (!SWIG_IsOK(res1
)) {
25432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25434 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25437 result
= (arg1
)->GetMarginTopLeft();
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25448 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25449 PyObject
*resultobj
= 0;
25450 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25454 PyObject
*swig_obj
[1] ;
25456 if (!args
) SWIG_fail
;
25457 swig_obj
[0] = args
;
25458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25459 if (!SWIG_IsOK(res1
)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25462 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 result
= (arg1
)->GetMarginBottomRight();
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25476 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25477 PyObject
*resultobj
= 0;
25478 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25482 PyObject
*swig_obj
[1] ;
25484 if (!args
) SWIG_fail
;
25485 swig_obj
[0] = args
;
25486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25487 if (!SWIG_IsOK(res1
)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25490 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 result
= (arg1
)->GetMinMarginTopLeft();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25504 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25505 PyObject
*resultobj
= 0;
25506 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25510 PyObject
*swig_obj
[1] ;
25512 if (!args
) SWIG_fail
;
25513 swig_obj
[0] = args
;
25514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25515 if (!SWIG_IsOK(res1
)) {
25516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25518 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 result
= (arg1
)->GetMinMarginBottomRight();
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25532 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25533 PyObject
*resultobj
= 0;
25534 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25535 wxPaperSize result
;
25538 PyObject
*swig_obj
[1] ;
25540 if (!args
) SWIG_fail
;
25541 swig_obj
[0] = args
;
25542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25543 if (!SWIG_IsOK(res1
)) {
25544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25546 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= SWIG_From_int(static_cast< int >(result
));
25560 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25561 PyObject
*resultobj
= 0;
25562 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25566 PyObject
*swig_obj
[1] ;
25568 if (!args
) SWIG_fail
;
25569 swig_obj
[0] = args
;
25570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25571 if (!SWIG_IsOK(res1
)) {
25572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25574 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 result
= (arg1
)->GetPaperSize();
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25588 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25589 PyObject
*resultobj
= 0;
25590 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25591 wxPrintData
*result
= 0 ;
25594 PyObject
*swig_obj
[1] ;
25596 if (!args
) SWIG_fail
;
25597 swig_obj
[0] = args
;
25598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25599 if (!SWIG_IsOK(res1
)) {
25600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25602 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25607 result
= (wxPrintData
*) &_result_ref
;
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25619 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25620 PyObject
*resultobj
= 0;
25621 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25625 PyObject
*swig_obj
[1] ;
25627 if (!args
) SWIG_fail
;
25628 swig_obj
[0] = args
;
25629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25630 if (!SWIG_IsOK(res1
)) {
25631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25633 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 result
= (bool)(arg1
)->IsOk();
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25649 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25650 PyObject
*resultobj
= 0;
25651 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25657 PyObject
* obj0
= 0 ;
25658 PyObject
* obj1
= 0 ;
25659 char * kwnames
[] = {
25660 (char *) "self",(char *) "flag", NULL
25663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25665 if (!SWIG_IsOK(res1
)) {
25666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25668 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25669 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25670 if (!SWIG_IsOK(ecode2
)) {
25671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25673 arg2
= static_cast< bool >(val2
);
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 (arg1
)->SetDefaultInfo(arg2
);
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= SWIG_Py_Void();
25687 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
= 0;
25689 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25695 PyObject
* obj0
= 0 ;
25696 PyObject
* obj1
= 0 ;
25697 char * kwnames
[] = {
25698 (char *) "self",(char *) "flag", NULL
25701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25703 if (!SWIG_IsOK(res1
)) {
25704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25706 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25707 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25708 if (!SWIG_IsOK(ecode2
)) {
25709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25711 arg2
= static_cast< bool >(val2
);
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 (arg1
)->SetDefaultMinMargins(arg2
);
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25718 resultobj
= SWIG_Py_Void();
25725 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25726 PyObject
*resultobj
= 0;
25727 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25728 wxPoint
*arg2
= 0 ;
25732 PyObject
* obj0
= 0 ;
25733 PyObject
* obj1
= 0 ;
25734 char * kwnames
[] = {
25735 (char *) "self",(char *) "pt", NULL
25738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25740 if (!SWIG_IsOK(res1
)) {
25741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25743 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25746 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 resultobj
= SWIG_Py_Void();
25761 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
= 0;
25763 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25764 wxPoint
*arg2
= 0 ;
25768 PyObject
* obj0
= 0 ;
25769 PyObject
* obj1
= 0 ;
25770 char * kwnames
[] = {
25771 (char *) "self",(char *) "pt", NULL
25774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25776 if (!SWIG_IsOK(res1
)) {
25777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25779 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 resultobj
= SWIG_Py_Void();
25797 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
= 0;
25799 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25800 wxPoint
*arg2
= 0 ;
25804 PyObject
* obj0
= 0 ;
25805 PyObject
* obj1
= 0 ;
25806 char * kwnames
[] = {
25807 (char *) "self",(char *) "pt", NULL
25810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25812 if (!SWIG_IsOK(res1
)) {
25813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25815 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25818 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 resultobj
= SWIG_Py_Void();
25833 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
= 0;
25835 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25836 wxPoint
*arg2
= 0 ;
25840 PyObject
* obj0
= 0 ;
25841 PyObject
* obj1
= 0 ;
25842 char * kwnames
[] = {
25843 (char *) "self",(char *) "pt", NULL
25846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25848 if (!SWIG_IsOK(res1
)) {
25849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25851 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25854 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_Py_Void();
25869 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
= 0;
25871 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 char * kwnames
[] = {
25880 (char *) "self",(char *) "id", NULL
25883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25885 if (!SWIG_IsOK(res1
)) {
25886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25888 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25890 if (!SWIG_IsOK(ecode2
)) {
25891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25893 arg2
= static_cast< wxPaperSize
>(val2
);
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 (arg1
)->SetPaperId(arg2
);
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= SWIG_Py_Void();
25907 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25908 PyObject
*resultobj
= 0;
25909 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25914 PyObject
* obj0
= 0 ;
25915 PyObject
* obj1
= 0 ;
25916 char * kwnames
[] = {
25917 (char *) "self",(char *) "size", NULL
25920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25922 if (!SWIG_IsOK(res1
)) {
25923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25925 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25928 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25933 wxPyEndAllowThreads(__tstate
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25936 resultobj
= SWIG_Py_Void();
25943 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
= 0;
25945 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25946 wxPrintData
*arg2
= 0 ;
25951 PyObject
* obj0
= 0 ;
25952 PyObject
* obj1
= 0 ;
25953 char * kwnames
[] = {
25954 (char *) "self",(char *) "printData", NULL
25957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25959 if (!SWIG_IsOK(res1
)) {
25960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25962 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25964 if (!SWIG_IsOK(res2
)) {
25965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25970 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 resultobj
= SWIG_Py_Void();
25984 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25985 PyObject
*resultobj
= 0;
25986 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25989 PyObject
*swig_obj
[1] ;
25991 if (!args
) SWIG_fail
;
25992 swig_obj
[0] = args
;
25993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25994 if (!SWIG_IsOK(res1
)) {
25995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25997 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 (arg1
)->CalculateIdFromPaperSize();
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26004 resultobj
= SWIG_Py_Void();
26011 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26012 PyObject
*resultobj
= 0;
26013 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26016 PyObject
*swig_obj
[1] ;
26018 if (!args
) SWIG_fail
;
26019 swig_obj
[0] = args
;
26020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26021 if (!SWIG_IsOK(res1
)) {
26022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26024 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 (arg1
)->CalculatePaperSizeFromId();
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26031 resultobj
= SWIG_Py_Void();
26038 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26041 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
26042 return SWIG_Py_Void();
26045 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26046 return SWIG_Python_InitShadowInstance(args
);
26049 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
= 0;
26051 wxWindow
*arg1
= (wxWindow
*) 0 ;
26052 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
26053 wxPageSetupDialog
*result
= 0 ;
26058 PyObject
* obj0
= 0 ;
26059 PyObject
* obj1
= 0 ;
26060 char * kwnames
[] = {
26061 (char *) "parent",(char *) "data", NULL
26064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26066 if (!SWIG_IsOK(res1
)) {
26067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26069 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26071 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26072 if (!SWIG_IsOK(res2
)) {
26073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26075 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26078 if (!wxPyCheckForApp()) SWIG_fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26081 wxPyEndAllowThreads(__tstate
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26091 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26092 PyObject
*resultobj
= 0;
26093 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26096 PyObject
*swig_obj
[1] ;
26098 if (!args
) SWIG_fail
;
26099 swig_obj
[0] = args
;
26100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26101 if (!SWIG_IsOK(res1
)) {
26102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26104 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26112 resultobj
= SWIG_Py_Void();
26119 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26120 PyObject
*resultobj
= 0;
26121 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26122 wxPageSetupDialogData
*result
= 0 ;
26125 PyObject
*swig_obj
[1] ;
26127 if (!args
) SWIG_fail
;
26128 swig_obj
[0] = args
;
26129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26130 if (!SWIG_IsOK(res1
)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26133 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26138 result
= (wxPageSetupDialogData
*) &_result_ref
;
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26150 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26151 PyObject
*resultobj
= 0;
26152 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26153 wxPageSetupDialogData
*result
= 0 ;
26156 PyObject
*swig_obj
[1] ;
26158 if (!args
) SWIG_fail
;
26159 swig_obj
[0] = args
;
26160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26161 if (!SWIG_IsOK(res1
)) {
26162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26164 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26169 result
= (wxPageSetupDialogData
*) &_result_ref
;
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26181 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26182 PyObject
*resultobj
= 0;
26183 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26187 PyObject
*swig_obj
[1] ;
26189 if (!args
) SWIG_fail
;
26190 swig_obj
[0] = args
;
26191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26192 if (!SWIG_IsOK(res1
)) {
26193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26195 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26198 result
= (int)(arg1
)->ShowModal();
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= SWIG_From_int(static_cast< int >(result
));
26209 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26212 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26213 return SWIG_Py_Void();
26216 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26217 return SWIG_Python_InitShadowInstance(args
);
26220 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26221 PyObject
*resultobj
= 0;
26222 wxPrintDialogData
*result
= 0 ;
26224 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26238 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26239 PyObject
*resultobj
= 0;
26240 wxPrintData
*arg1
= 0 ;
26241 wxPrintDialogData
*result
= 0 ;
26245 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26247 if (!SWIG_IsOK(res1
)) {
26248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26253 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26267 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26268 PyObject
*resultobj
= 0;
26269 wxPrintDialogData
*arg1
= 0 ;
26270 wxPrintDialogData
*result
= 0 ;
26274 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26276 if (!SWIG_IsOK(res1
)) {
26277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26282 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26296 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26300 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26303 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26308 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26309 _v
= SWIG_CheckState(res
);
26311 if (!_v
) goto check_2
;
26312 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26317 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26321 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26326 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26327 PyObject
*resultobj
= 0;
26328 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26331 PyObject
*swig_obj
[1] ;
26333 if (!args
) SWIG_fail
;
26334 swig_obj
[0] = args
;
26335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26336 if (!SWIG_IsOK(res1
)) {
26337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26339 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 resultobj
= SWIG_Py_Void();
26354 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26355 PyObject
*resultobj
= 0;
26356 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26360 PyObject
*swig_obj
[1] ;
26362 if (!args
) SWIG_fail
;
26363 swig_obj
[0] = args
;
26364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26365 if (!SWIG_IsOK(res1
)) {
26366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26368 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26371 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26375 resultobj
= SWIG_From_int(static_cast< int >(result
));
26382 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26383 PyObject
*resultobj
= 0;
26384 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26388 PyObject
*swig_obj
[1] ;
26390 if (!args
) SWIG_fail
;
26391 swig_obj
[0] = args
;
26392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26393 if (!SWIG_IsOK(res1
)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26396 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 resultobj
= SWIG_From_int(static_cast< int >(result
));
26410 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26411 PyObject
*resultobj
= 0;
26412 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26416 PyObject
*swig_obj
[1] ;
26418 if (!args
) SWIG_fail
;
26419 swig_obj
[0] = args
;
26420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26421 if (!SWIG_IsOK(res1
)) {
26422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26424 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26428 wxPyEndAllowThreads(__tstate
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26431 resultobj
= SWIG_From_int(static_cast< int >(result
));
26438 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26439 PyObject
*resultobj
= 0;
26440 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26444 PyObject
*swig_obj
[1] ;
26446 if (!args
) SWIG_fail
;
26447 swig_obj
[0] = args
;
26448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26449 if (!SWIG_IsOK(res1
)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26452 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= SWIG_From_int(static_cast< int >(result
));
26466 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26467 PyObject
*resultobj
= 0;
26468 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26472 PyObject
*swig_obj
[1] ;
26474 if (!args
) SWIG_fail
;
26475 swig_obj
[0] = args
;
26476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26477 if (!SWIG_IsOK(res1
)) {
26478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26480 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26483 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 resultobj
= SWIG_From_int(static_cast< int >(result
));
26494 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26495 PyObject
*resultobj
= 0;
26496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26500 PyObject
*swig_obj
[1] ;
26502 if (!args
) SWIG_fail
;
26503 swig_obj
[0] = args
;
26504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26505 if (!SWIG_IsOK(res1
)) {
26506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26508 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26524 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26525 PyObject
*resultobj
= 0;
26526 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26530 PyObject
*swig_obj
[1] ;
26532 if (!args
) SWIG_fail
;
26533 swig_obj
[0] = args
;
26534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26535 if (!SWIG_IsOK(res1
)) {
26536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26538 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26554 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26555 PyObject
*resultobj
= 0;
26556 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26560 PyObject
*swig_obj
[1] ;
26562 if (!args
) SWIG_fail
;
26563 swig_obj
[0] = args
;
26564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26565 if (!SWIG_IsOK(res1
)) {
26566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26568 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26571 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26584 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26585 PyObject
*resultobj
= 0;
26586 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26590 PyObject
*swig_obj
[1] ;
26592 if (!args
) SWIG_fail
;
26593 swig_obj
[0] = args
;
26594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26595 if (!SWIG_IsOK(res1
)) {
26596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26598 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26601 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26602 wxPyEndAllowThreads(__tstate
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26614 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26615 PyObject
*resultobj
= 0;
26616 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26622 PyObject
* obj0
= 0 ;
26623 PyObject
* obj1
= 0 ;
26624 char * kwnames
[] = {
26625 (char *) "self",(char *) "v", NULL
26628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26630 if (!SWIG_IsOK(res1
)) {
26631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26633 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26635 if (!SWIG_IsOK(ecode2
)) {
26636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26638 arg2
= static_cast< int >(val2
);
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 (arg1
)->SetFromPage(arg2
);
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= SWIG_Py_Void();
26652 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
= 0;
26654 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26660 PyObject
* obj0
= 0 ;
26661 PyObject
* obj1
= 0 ;
26662 char * kwnames
[] = {
26663 (char *) "self",(char *) "v", NULL
26666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26668 if (!SWIG_IsOK(res1
)) {
26669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26671 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26673 if (!SWIG_IsOK(ecode2
)) {
26674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26676 arg2
= static_cast< int >(val2
);
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 (arg1
)->SetToPage(arg2
);
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 resultobj
= SWIG_Py_Void();
26690 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
= 0;
26692 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26698 PyObject
* obj0
= 0 ;
26699 PyObject
* obj1
= 0 ;
26700 char * kwnames
[] = {
26701 (char *) "self",(char *) "v", NULL
26704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26706 if (!SWIG_IsOK(res1
)) {
26707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26709 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26711 if (!SWIG_IsOK(ecode2
)) {
26712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26714 arg2
= static_cast< int >(val2
);
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 (arg1
)->SetMinPage(arg2
);
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 resultobj
= SWIG_Py_Void();
26728 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
= 0;
26730 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26736 PyObject
* obj0
= 0 ;
26737 PyObject
* obj1
= 0 ;
26738 char * kwnames
[] = {
26739 (char *) "self",(char *) "v", NULL
26742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26744 if (!SWIG_IsOK(res1
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26747 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26749 if (!SWIG_IsOK(ecode2
)) {
26750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26752 arg2
= static_cast< int >(val2
);
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 (arg1
)->SetMaxPage(arg2
);
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26759 resultobj
= SWIG_Py_Void();
26766 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26767 PyObject
*resultobj
= 0;
26768 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26774 PyObject
* obj0
= 0 ;
26775 PyObject
* obj1
= 0 ;
26776 char * kwnames
[] = {
26777 (char *) "self",(char *) "v", NULL
26780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26782 if (!SWIG_IsOK(res1
)) {
26783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26785 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26787 if (!SWIG_IsOK(ecode2
)) {
26788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26790 arg2
= static_cast< int >(val2
);
26792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26793 (arg1
)->SetNoCopies(arg2
);
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 resultobj
= SWIG_Py_Void();
26804 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
= 0;
26806 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26812 PyObject
* obj0
= 0 ;
26813 PyObject
* obj1
= 0 ;
26814 char * kwnames
[] = {
26815 (char *) "self",(char *) "flag", NULL
26818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26820 if (!SWIG_IsOK(res1
)) {
26821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26823 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26824 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26825 if (!SWIG_IsOK(ecode2
)) {
26826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26828 arg2
= static_cast< bool >(val2
);
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 (arg1
)->SetAllPages(arg2
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 resultobj
= SWIG_Py_Void();
26842 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
= 0;
26844 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26850 PyObject
* obj0
= 0 ;
26851 PyObject
* obj1
= 0 ;
26852 char * kwnames
[] = {
26853 (char *) "self",(char *) "flag", NULL
26856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26858 if (!SWIG_IsOK(res1
)) {
26859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26861 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26862 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26863 if (!SWIG_IsOK(ecode2
)) {
26864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26866 arg2
= static_cast< bool >(val2
);
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26869 (arg1
)->SetSelection(arg2
);
26870 wxPyEndAllowThreads(__tstate
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26873 resultobj
= SWIG_Py_Void();
26880 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26881 PyObject
*resultobj
= 0;
26882 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26888 PyObject
* obj0
= 0 ;
26889 PyObject
* obj1
= 0 ;
26890 char * kwnames
[] = {
26891 (char *) "self",(char *) "flag", NULL
26894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26896 if (!SWIG_IsOK(res1
)) {
26897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26899 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26900 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26901 if (!SWIG_IsOK(ecode2
)) {
26902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26904 arg2
= static_cast< bool >(val2
);
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26907 (arg1
)->SetCollate(arg2
);
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26911 resultobj
= SWIG_Py_Void();
26918 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
= 0;
26920 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26926 PyObject
* obj0
= 0 ;
26927 PyObject
* obj1
= 0 ;
26928 char * kwnames
[] = {
26929 (char *) "self",(char *) "flag", NULL
26932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26934 if (!SWIG_IsOK(res1
)) {
26935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26937 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26938 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26939 if (!SWIG_IsOK(ecode2
)) {
26940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26942 arg2
= static_cast< bool >(val2
);
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 (arg1
)->SetPrintToFile(arg2
);
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26949 resultobj
= SWIG_Py_Void();
26956 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
= 0;
26958 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26964 PyObject
* obj0
= 0 ;
26965 PyObject
* obj1
= 0 ;
26966 char * kwnames
[] = {
26967 (char *) "self",(char *) "flag", NULL
26970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26972 if (!SWIG_IsOK(res1
)) {
26973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26975 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26976 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26977 if (!SWIG_IsOK(ecode2
)) {
26978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26980 arg2
= static_cast< bool >(val2
);
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 (arg1
)->EnablePrintToFile(arg2
);
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 resultobj
= SWIG_Py_Void();
26994 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
= 0;
26996 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27002 PyObject
* obj0
= 0 ;
27003 PyObject
* obj1
= 0 ;
27004 char * kwnames
[] = {
27005 (char *) "self",(char *) "flag", NULL
27008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27010 if (!SWIG_IsOK(res1
)) {
27011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27013 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27014 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27015 if (!SWIG_IsOK(ecode2
)) {
27016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27018 arg2
= static_cast< bool >(val2
);
27020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27021 (arg1
)->EnableSelection(arg2
);
27022 wxPyEndAllowThreads(__tstate
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= SWIG_Py_Void();
27032 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
= 0;
27034 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27040 PyObject
* obj0
= 0 ;
27041 PyObject
* obj1
= 0 ;
27042 char * kwnames
[] = {
27043 (char *) "self",(char *) "flag", NULL
27046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27048 if (!SWIG_IsOK(res1
)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27051 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27052 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27053 if (!SWIG_IsOK(ecode2
)) {
27054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27056 arg2
= static_cast< bool >(val2
);
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 (arg1
)->EnablePageNumbers(arg2
);
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= SWIG_Py_Void();
27070 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
= 0;
27072 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27078 PyObject
* obj0
= 0 ;
27079 PyObject
* obj1
= 0 ;
27080 char * kwnames
[] = {
27081 (char *) "self",(char *) "flag", NULL
27084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27086 if (!SWIG_IsOK(res1
)) {
27087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27089 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27090 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27091 if (!SWIG_IsOK(ecode2
)) {
27092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27094 arg2
= static_cast< bool >(val2
);
27096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27097 (arg1
)->EnableHelp(arg2
);
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27101 resultobj
= SWIG_Py_Void();
27108 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27109 PyObject
*resultobj
= 0;
27110 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27114 PyObject
*swig_obj
[1] ;
27116 if (!args
) SWIG_fail
;
27117 swig_obj
[0] = args
;
27118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27119 if (!SWIG_IsOK(res1
)) {
27120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27122 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27138 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27139 PyObject
*resultobj
= 0;
27140 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27144 PyObject
*swig_obj
[1] ;
27146 if (!args
) SWIG_fail
;
27147 swig_obj
[0] = args
;
27148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27149 if (!SWIG_IsOK(res1
)) {
27150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27152 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27156 wxPyEndAllowThreads(__tstate
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27168 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27169 PyObject
*resultobj
= 0;
27170 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27174 PyObject
*swig_obj
[1] ;
27176 if (!args
) SWIG_fail
;
27177 swig_obj
[0] = args
;
27178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27179 if (!SWIG_IsOK(res1
)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27182 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27186 wxPyEndAllowThreads(__tstate
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27198 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27199 PyObject
*resultobj
= 0;
27200 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27204 PyObject
*swig_obj
[1] ;
27206 if (!args
) SWIG_fail
;
27207 swig_obj
[0] = args
;
27208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27209 if (!SWIG_IsOK(res1
)) {
27210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27212 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27228 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27229 PyObject
*resultobj
= 0;
27230 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27234 PyObject
*swig_obj
[1] ;
27236 if (!args
) SWIG_fail
;
27237 swig_obj
[0] = args
;
27238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27239 if (!SWIG_IsOK(res1
)) {
27240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27242 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27246 wxPyEndAllowThreads(__tstate
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27258 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27259 PyObject
*resultobj
= 0;
27260 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27261 wxPrintData
*result
= 0 ;
27264 PyObject
*swig_obj
[1] ;
27266 if (!args
) SWIG_fail
;
27267 swig_obj
[0] = args
;
27268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27269 if (!SWIG_IsOK(res1
)) {
27270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27272 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27276 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27277 result
= (wxPrintData
*) &_result_ref
;
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27289 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27290 PyObject
*resultobj
= 0;
27291 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27292 wxPrintData
*arg2
= 0 ;
27297 PyObject
* obj0
= 0 ;
27298 PyObject
* obj1
= 0 ;
27299 char * kwnames
[] = {
27300 (char *) "self",(char *) "printData", NULL
27303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27305 if (!SWIG_IsOK(res1
)) {
27306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27308 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27309 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27310 if (!SWIG_IsOK(res2
)) {
27311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27316 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= SWIG_Py_Void();
27330 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27332 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27333 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27334 return SWIG_Py_Void();
27337 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27338 return SWIG_Python_InitShadowInstance(args
);
27341 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
= 0;
27343 wxWindow
*arg1
= (wxWindow
*) 0 ;
27344 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27345 wxPrintDialog
*result
= 0 ;
27350 PyObject
* obj0
= 0 ;
27351 PyObject
* obj1
= 0 ;
27352 char * kwnames
[] = {
27353 (char *) "parent",(char *) "data", NULL
27356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27358 if (!SWIG_IsOK(res1
)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27361 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27363 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27364 if (!SWIG_IsOK(res2
)) {
27365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27367 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27370 if (!wxPyCheckForApp()) SWIG_fail
;
27371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27383 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27384 PyObject
*resultobj
= 0;
27385 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27388 PyObject
*swig_obj
[1] ;
27390 if (!args
) SWIG_fail
;
27391 swig_obj
[0] = args
;
27392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27393 if (!SWIG_IsOK(res1
)) {
27394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27396 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 wxPyEndAllowThreads(__tstate
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27404 resultobj
= SWIG_Py_Void();
27411 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27412 PyObject
*resultobj
= 0;
27413 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27417 PyObject
*swig_obj
[1] ;
27419 if (!args
) SWIG_fail
;
27420 swig_obj
[0] = args
;
27421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27422 if (!SWIG_IsOK(res1
)) {
27423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27425 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 result
= (int)(arg1
)->ShowModal();
27429 wxPyEndAllowThreads(__tstate
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= SWIG_From_int(static_cast< int >(result
));
27439 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27440 PyObject
*resultobj
= 0;
27441 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27442 wxPrintDialogData
*result
= 0 ;
27445 PyObject
*swig_obj
[1] ;
27447 if (!args
) SWIG_fail
;
27448 swig_obj
[0] = args
;
27449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27450 if (!SWIG_IsOK(res1
)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27453 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27458 result
= (wxPrintDialogData
*) &_result_ref
;
27460 wxPyEndAllowThreads(__tstate
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27470 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27471 PyObject
*resultobj
= 0;
27472 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27473 wxPrintData
*result
= 0 ;
27476 PyObject
*swig_obj
[1] ;
27478 if (!args
) SWIG_fail
;
27479 swig_obj
[0] = args
;
27480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27481 if (!SWIG_IsOK(res1
)) {
27482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27484 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27489 result
= (wxPrintData
*) &_result_ref
;
27491 wxPyEndAllowThreads(__tstate
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27501 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27502 PyObject
*resultobj
= 0;
27503 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27507 PyObject
*swig_obj
[1] ;
27509 if (!args
) SWIG_fail
;
27510 swig_obj
[0] = args
;
27511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27512 if (!SWIG_IsOK(res1
)) {
27513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27515 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 result
= (wxDC
*)(arg1
)->GetPrintDC();
27519 wxPyEndAllowThreads(__tstate
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27523 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27531 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27533 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27534 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27535 return SWIG_Py_Void();
27538 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27539 return SWIG_Python_InitShadowInstance(args
);
27542 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27543 PyObject
*resultobj
= 0;
27544 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27545 wxPrinter
*result
= 0 ;
27548 PyObject
* obj0
= 0 ;
27549 char * kwnames
[] = {
27550 (char *) "data", NULL
27553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27556 if (!SWIG_IsOK(res1
)) {
27557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27559 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27562 if (!wxPyCheckForApp()) SWIG_fail
;
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 result
= (wxPrinter
*)new wxPrinter(arg1
);
27565 wxPyEndAllowThreads(__tstate
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27575 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27576 PyObject
*resultobj
= 0;
27577 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27580 PyObject
*swig_obj
[1] ;
27582 if (!args
) SWIG_fail
;
27583 swig_obj
[0] = args
;
27584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27585 if (!SWIG_IsOK(res1
)) {
27586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27588 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 wxPyEndAllowThreads(__tstate
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27596 resultobj
= SWIG_Py_Void();
27603 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27604 PyObject
*resultobj
= 0;
27605 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27606 wxWindow
*arg2
= (wxWindow
*) 0 ;
27607 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27608 wxWindow
*result
= 0 ;
27615 PyObject
* obj0
= 0 ;
27616 PyObject
* obj1
= 0 ;
27617 PyObject
* obj2
= 0 ;
27618 char * kwnames
[] = {
27619 (char *) "self",(char *) "parent",(char *) "printout", NULL
27622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27624 if (!SWIG_IsOK(res1
)) {
27625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27627 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27629 if (!SWIG_IsOK(res2
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27632 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27633 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27634 if (!SWIG_IsOK(res3
)) {
27635 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27637 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27645 resultobj
= wxPyMake_wxObject(result
, 0);
27653 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27654 PyObject
*resultobj
= 0;
27655 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27656 wxWindow
*arg2
= (wxWindow
*) 0 ;
27657 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27658 wxString
*arg4
= 0 ;
27665 bool temp4
= false ;
27666 PyObject
* obj0
= 0 ;
27667 PyObject
* obj1
= 0 ;
27668 PyObject
* obj2
= 0 ;
27669 PyObject
* obj3
= 0 ;
27670 char * kwnames
[] = {
27671 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27676 if (!SWIG_IsOK(res1
)) {
27677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27679 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27680 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27681 if (!SWIG_IsOK(res2
)) {
27682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27684 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27685 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27686 if (!SWIG_IsOK(res3
)) {
27687 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27689 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27691 arg4
= wxString_in_helper(obj3
);
27692 if (arg4
== NULL
) SWIG_fail
;
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27698 wxPyEndAllowThreads(__tstate
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27701 resultobj
= SWIG_Py_Void();
27716 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
= 0;
27718 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27719 wxWindow
*arg2
= (wxWindow
*) 0 ;
27725 PyObject
* obj0
= 0 ;
27726 PyObject
* obj1
= 0 ;
27727 char * kwnames
[] = {
27728 (char *) "self",(char *) "parent", NULL
27731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27733 if (!SWIG_IsOK(res1
)) {
27734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27736 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27738 if (!SWIG_IsOK(res2
)) {
27739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27741 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 result
= (bool)(arg1
)->Setup(arg2
);
27745 wxPyEndAllowThreads(__tstate
);
27746 if (PyErr_Occurred()) SWIG_fail
;
27749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27757 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27758 PyObject
*resultobj
= 0;
27759 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27760 wxWindow
*arg2
= (wxWindow
*) 0 ;
27761 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27762 bool arg4
= (bool) true ;
27772 PyObject
* obj0
= 0 ;
27773 PyObject
* obj1
= 0 ;
27774 PyObject
* obj2
= 0 ;
27775 PyObject
* obj3
= 0 ;
27776 char * kwnames
[] = {
27777 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27782 if (!SWIG_IsOK(res1
)) {
27783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27785 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27787 if (!SWIG_IsOK(res2
)) {
27788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27790 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27791 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27792 if (!SWIG_IsOK(res3
)) {
27793 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27795 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27797 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27798 if (!SWIG_IsOK(ecode4
)) {
27799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27801 arg4
= static_cast< bool >(val4
);
27804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27805 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27806 wxPyEndAllowThreads(__tstate
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27818 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
= 0;
27820 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27821 wxWindow
*arg2
= (wxWindow
*) 0 ;
27827 PyObject
* obj0
= 0 ;
27828 PyObject
* obj1
= 0 ;
27829 char * kwnames
[] = {
27830 (char *) "self",(char *) "parent", NULL
27833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27835 if (!SWIG_IsOK(res1
)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27838 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27840 if (!SWIG_IsOK(res2
)) {
27841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27843 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27846 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27847 wxPyEndAllowThreads(__tstate
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27859 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27860 PyObject
*resultobj
= 0;
27861 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27862 wxPrintDialogData
*result
= 0 ;
27865 PyObject
*swig_obj
[1] ;
27867 if (!args
) SWIG_fail
;
27868 swig_obj
[0] = args
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27873 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27878 result
= (wxPrintDialogData
*) &_result_ref
;
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27890 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27891 PyObject
*resultobj
= 0;
27892 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27896 PyObject
*swig_obj
[1] ;
27898 if (!args
) SWIG_fail
;
27899 swig_obj
[0] = args
;
27900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27901 if (!SWIG_IsOK(res1
)) {
27902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27904 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (bool)(arg1
)->GetAbort();
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27920 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27921 PyObject
*resultobj
= 0;
27922 wxPrinterError result
;
27924 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= (wxPrinterError
)wxPrinter::GetLastError();
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= SWIG_From_int(static_cast< int >(result
));
27938 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27940 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27941 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27942 return SWIG_Py_Void();
27945 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27946 return SWIG_Python_InitShadowInstance(args
);
27949 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
= 0;
27951 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27952 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27953 wxPyPrintout
*result
= 0 ;
27954 bool temp1
= false ;
27955 PyObject
* obj0
= 0 ;
27956 char * kwnames
[] = {
27957 (char *) "title", NULL
27960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27963 arg1
= wxString_in_helper(obj0
);
27964 if (arg1
== NULL
) SWIG_fail
;
27969 if (!wxPyCheckForApp()) SWIG_fail
;
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27971 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27972 wxPyEndAllowThreads(__tstate
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27990 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27991 PyObject
*resultobj
= 0;
27992 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27995 PyObject
*swig_obj
[1] ;
27997 if (!args
) SWIG_fail
;
27998 swig_obj
[0] = args
;
27999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28003 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28008 wxPyEndAllowThreads(__tstate
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 resultobj
= SWIG_Py_Void();
28018 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28019 PyObject
*resultobj
= 0;
28020 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28021 PyObject
*arg2
= (PyObject
*) 0 ;
28022 PyObject
*arg3
= (PyObject
*) 0 ;
28025 PyObject
* obj0
= 0 ;
28026 PyObject
* obj1
= 0 ;
28027 PyObject
* obj2
= 0 ;
28028 char * kwnames
[] = {
28029 (char *) "self",(char *) "self",(char *) "_class", NULL
28032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28034 if (!SWIG_IsOK(res1
)) {
28035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28037 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28042 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28043 wxPyEndAllowThreads(__tstate
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28046 resultobj
= SWIG_Py_Void();
28053 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28054 PyObject
*resultobj
= 0;
28055 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28059 PyObject
*swig_obj
[1] ;
28061 if (!args
) SWIG_fail
;
28062 swig_obj
[0] = args
;
28063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28064 if (!SWIG_IsOK(res1
)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28067 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28087 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28088 PyObject
*resultobj
= 0;
28089 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28093 PyObject
*swig_obj
[1] ;
28095 if (!args
) SWIG_fail
;
28096 swig_obj
[0] = args
;
28097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28098 if (!SWIG_IsOK(res1
)) {
28099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28101 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 result
= (wxDC
*)(arg1
)->GetDC();
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28109 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28117 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28118 PyObject
*resultobj
= 0;
28119 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28120 wxDC
*arg2
= (wxDC
*) 0 ;
28125 PyObject
* obj0
= 0 ;
28126 PyObject
* obj1
= 0 ;
28127 char * kwnames
[] = {
28128 (char *) "self",(char *) "dc", NULL
28131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28133 if (!SWIG_IsOK(res1
)) {
28134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28136 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28138 if (!SWIG_IsOK(res2
)) {
28139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28141 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 (arg1
)->SetDC(arg2
);
28145 wxPyEndAllowThreads(__tstate
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28148 resultobj
= SWIG_Py_Void();
28155 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28156 PyObject
*resultobj
= 0;
28157 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28162 PyObject
* obj0
= 0 ;
28163 PyObject
* obj1
= 0 ;
28164 char * kwnames
[] = {
28165 (char *) "self",(char *) "imageSize", NULL
28168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28170 if (!SWIG_IsOK(res1
)) {
28171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28173 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28176 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= SWIG_Py_Void();
28191 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
= 0;
28193 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28198 PyObject
* obj0
= 0 ;
28199 PyObject
* obj1
= 0 ;
28200 char * kwnames
[] = {
28201 (char *) "self",(char *) "imageSize", NULL
28204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28206 if (!SWIG_IsOK(res1
)) {
28207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28209 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28212 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= SWIG_Py_Void();
28227 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
= 0;
28229 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28231 wxPageSetupDialogData
*arg3
= 0 ;
28237 PyObject
* obj0
= 0 ;
28238 PyObject
* obj1
= 0 ;
28239 PyObject
* obj2
= 0 ;
28240 char * kwnames
[] = {
28241 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28246 if (!SWIG_IsOK(res1
)) {
28247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28249 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28252 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28254 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28255 if (!SWIG_IsOK(res3
)) {
28256 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28261 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28264 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 resultobj
= SWIG_Py_Void();
28275 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28276 PyObject
*resultobj
= 0;
28277 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28280 PyObject
*swig_obj
[1] ;
28282 if (!args
) SWIG_fail
;
28283 swig_obj
[0] = args
;
28284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28285 if (!SWIG_IsOK(res1
)) {
28286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28288 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 (arg1
)->MapScreenSizeToPaper();
28292 wxPyEndAllowThreads(__tstate
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28295 resultobj
= SWIG_Py_Void();
28302 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28303 PyObject
*resultobj
= 0;
28304 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28307 PyObject
*swig_obj
[1] ;
28309 if (!args
) SWIG_fail
;
28310 swig_obj
[0] = args
;
28311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28312 if (!SWIG_IsOK(res1
)) {
28313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28315 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28318 (arg1
)->MapScreenSizeToPage();
28319 wxPyEndAllowThreads(__tstate
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28322 resultobj
= SWIG_Py_Void();
28329 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28330 PyObject
*resultobj
= 0;
28331 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28332 wxPageSetupDialogData
*arg2
= 0 ;
28337 PyObject
* obj0
= 0 ;
28338 PyObject
* obj1
= 0 ;
28339 char * kwnames
[] = {
28340 (char *) "self",(char *) "pageSetupData", NULL
28343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28345 if (!SWIG_IsOK(res1
)) {
28346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28348 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28350 if (!SWIG_IsOK(res2
)) {
28351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28356 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28359 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28360 wxPyEndAllowThreads(__tstate
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28363 resultobj
= SWIG_Py_Void();
28370 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28371 PyObject
*resultobj
= 0;
28372 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28375 PyObject
*swig_obj
[1] ;
28377 if (!args
) SWIG_fail
;
28378 swig_obj
[0] = args
;
28379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28380 if (!SWIG_IsOK(res1
)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28383 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 (arg1
)->MapScreenSizeToDevice();
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= SWIG_Py_Void();
28397 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28398 PyObject
*resultobj
= 0;
28399 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28403 PyObject
*swig_obj
[1] ;
28405 if (!args
) SWIG_fail
;
28406 swig_obj
[0] = args
;
28407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28408 if (!SWIG_IsOK(res1
)) {
28409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28411 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28414 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28415 wxPyEndAllowThreads(__tstate
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28418 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28425 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28426 PyObject
*resultobj
= 0;
28427 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28431 PyObject
*swig_obj
[1] ;
28433 if (!args
) SWIG_fail
;
28434 swig_obj
[0] = args
;
28435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28436 if (!SWIG_IsOK(res1
)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28439 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28443 wxPyEndAllowThreads(__tstate
);
28444 if (PyErr_Occurred()) SWIG_fail
;
28446 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28453 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28454 PyObject
*resultobj
= 0;
28455 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28456 wxPageSetupDialogData
*arg2
= 0 ;
28462 PyObject
* obj0
= 0 ;
28463 PyObject
* obj1
= 0 ;
28464 char * kwnames
[] = {
28465 (char *) "self",(char *) "pageSetupData", NULL
28468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28470 if (!SWIG_IsOK(res1
)) {
28471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28473 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28474 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28475 if (!SWIG_IsOK(res2
)) {
28476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28481 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28485 wxPyEndAllowThreads(__tstate
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28488 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28495 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28496 PyObject
*resultobj
= 0;
28497 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28506 PyObject
* obj0
= 0 ;
28507 PyObject
* obj1
= 0 ;
28508 PyObject
* obj2
= 0 ;
28509 char * kwnames
[] = {
28510 (char *) "self",(char *) "x",(char *) "y", NULL
28513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28515 if (!SWIG_IsOK(res1
)) {
28516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28518 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28520 if (!SWIG_IsOK(ecode2
)) {
28521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28523 arg2
= static_cast< int >(val2
);
28524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28525 if (!SWIG_IsOK(ecode3
)) {
28526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28528 arg3
= static_cast< int >(val3
);
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28535 resultobj
= SWIG_Py_Void();
28542 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28543 PyObject
*resultobj
= 0;
28544 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28553 PyObject
* obj0
= 0 ;
28554 PyObject
* obj1
= 0 ;
28555 PyObject
* obj2
= 0 ;
28556 char * kwnames
[] = {
28557 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28562 if (!SWIG_IsOK(res1
)) {
28563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28565 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28567 if (!SWIG_IsOK(ecode2
)) {
28568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28570 arg2
= static_cast< int >(val2
);
28571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28572 if (!SWIG_IsOK(ecode3
)) {
28573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28575 arg3
= static_cast< int >(val3
);
28577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 resultobj
= SWIG_Py_Void();
28589 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28590 PyObject
*resultobj
= 0;
28591 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28600 PyObject
* obj0
= 0 ;
28601 PyObject
* obj1
= 0 ;
28602 PyObject
* obj2
= 0 ;
28603 char * kwnames
[] = {
28604 (char *) "self",(char *) "w",(char *) "h", NULL
28607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28609 if (!SWIG_IsOK(res1
)) {
28610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28612 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28614 if (!SWIG_IsOK(ecode2
)) {
28615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28617 arg2
= static_cast< int >(val2
);
28618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28619 if (!SWIG_IsOK(ecode3
)) {
28620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28622 arg3
= static_cast< int >(val3
);
28624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28625 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28626 wxPyEndAllowThreads(__tstate
);
28627 if (PyErr_Occurred()) SWIG_fail
;
28629 resultobj
= SWIG_Py_Void();
28636 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28637 PyObject
*resultobj
= 0;
28638 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28639 int *arg2
= (int *) 0 ;
28640 int *arg3
= (int *) 0 ;
28644 int res2
= SWIG_TMPOBJ
;
28646 int res3
= SWIG_TMPOBJ
;
28647 PyObject
*swig_obj
[1] ;
28651 if (!args
) SWIG_fail
;
28652 swig_obj
[0] = args
;
28653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28654 if (!SWIG_IsOK(res1
)) {
28655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28657 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28660 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= SWIG_Py_Void();
28665 if (SWIG_IsTmpObj(res2
)) {
28666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28668 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28671 if (SWIG_IsTmpObj(res3
)) {
28672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28674 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28683 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28684 PyObject
*resultobj
= 0;
28685 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28694 PyObject
* obj0
= 0 ;
28695 PyObject
* obj1
= 0 ;
28696 PyObject
* obj2
= 0 ;
28697 char * kwnames
[] = {
28698 (char *) "self",(char *) "w",(char *) "h", NULL
28701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28703 if (!SWIG_IsOK(res1
)) {
28704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28706 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28708 if (!SWIG_IsOK(ecode2
)) {
28709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28711 arg2
= static_cast< int >(val2
);
28712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28713 if (!SWIG_IsOK(ecode3
)) {
28714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28716 arg3
= static_cast< int >(val3
);
28718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28719 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= SWIG_Py_Void();
28730 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28731 PyObject
*resultobj
= 0;
28732 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28733 int *arg2
= (int *) 0 ;
28734 int *arg3
= (int *) 0 ;
28738 int res2
= SWIG_TMPOBJ
;
28740 int res3
= SWIG_TMPOBJ
;
28741 PyObject
*swig_obj
[1] ;
28745 if (!args
) SWIG_fail
;
28746 swig_obj
[0] = args
;
28747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28748 if (!SWIG_IsOK(res1
)) {
28749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28751 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= SWIG_Py_Void();
28759 if (SWIG_IsTmpObj(res2
)) {
28760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28762 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28765 if (SWIG_IsTmpObj(res3
)) {
28766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28768 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28777 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28778 PyObject
*resultobj
= 0;
28779 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28788 PyObject
* obj0
= 0 ;
28789 PyObject
* obj1
= 0 ;
28790 PyObject
* obj2
= 0 ;
28791 char * kwnames
[] = {
28792 (char *) "self",(char *) "x",(char *) "y", NULL
28795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28797 if (!SWIG_IsOK(res1
)) {
28798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28800 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28802 if (!SWIG_IsOK(ecode2
)) {
28803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28805 arg2
= static_cast< int >(val2
);
28806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28807 if (!SWIG_IsOK(ecode3
)) {
28808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28810 arg3
= static_cast< int >(val3
);
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 (arg1
)->SetPPIScreen(arg2
,arg3
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 resultobj
= SWIG_Py_Void();
28824 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28825 PyObject
*resultobj
= 0;
28826 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28827 int *arg2
= (int *) 0 ;
28828 int *arg3
= (int *) 0 ;
28832 int res2
= SWIG_TMPOBJ
;
28834 int res3
= SWIG_TMPOBJ
;
28835 PyObject
*swig_obj
[1] ;
28839 if (!args
) SWIG_fail
;
28840 swig_obj
[0] = args
;
28841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28842 if (!SWIG_IsOK(res1
)) {
28843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28845 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 (arg1
)->GetPPIScreen(arg2
,arg3
);
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28852 resultobj
= SWIG_Py_Void();
28853 if (SWIG_IsTmpObj(res2
)) {
28854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28856 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28859 if (SWIG_IsTmpObj(res3
)) {
28860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28862 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28871 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28872 PyObject
*resultobj
= 0;
28873 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28882 PyObject
* obj0
= 0 ;
28883 PyObject
* obj1
= 0 ;
28884 PyObject
* obj2
= 0 ;
28885 char * kwnames
[] = {
28886 (char *) "self",(char *) "x",(char *) "y", NULL
28889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28891 if (!SWIG_IsOK(res1
)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28894 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28896 if (!SWIG_IsOK(ecode2
)) {
28897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28899 arg2
= static_cast< int >(val2
);
28900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28901 if (!SWIG_IsOK(ecode3
)) {
28902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28904 arg3
= static_cast< int >(val3
);
28906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28907 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_Py_Void();
28918 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28919 PyObject
*resultobj
= 0;
28920 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28921 int *arg2
= (int *) 0 ;
28922 int *arg3
= (int *) 0 ;
28926 int res2
= SWIG_TMPOBJ
;
28928 int res3
= SWIG_TMPOBJ
;
28929 PyObject
*swig_obj
[1] ;
28933 if (!args
) SWIG_fail
;
28934 swig_obj
[0] = args
;
28935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28936 if (!SWIG_IsOK(res1
)) {
28937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28939 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28946 resultobj
= SWIG_Py_Void();
28947 if (SWIG_IsTmpObj(res2
)) {
28948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28950 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28953 if (SWIG_IsTmpObj(res3
)) {
28954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28956 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28965 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28966 PyObject
*resultobj
= 0;
28967 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28972 PyObject
* obj0
= 0 ;
28973 PyObject
* obj1
= 0 ;
28974 char * kwnames
[] = {
28975 (char *) "self",(char *) "paperRectPixels", NULL
28978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28980 if (!SWIG_IsOK(res1
)) {
28981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28983 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28986 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28990 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= SWIG_Py_Void();
29001 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29002 PyObject
*resultobj
= 0;
29003 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29007 PyObject
*swig_obj
[1] ;
29009 if (!args
) SWIG_fail
;
29010 swig_obj
[0] = args
;
29011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29012 if (!SWIG_IsOK(res1
)) {
29013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29015 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29029 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29030 PyObject
*resultobj
= 0;
29031 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29035 PyObject
*swig_obj
[1] ;
29037 if (!args
) SWIG_fail
;
29038 swig_obj
[0] = args
;
29039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29040 if (!SWIG_IsOK(res1
)) {
29041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29043 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 result
= (bool)(arg1
)->IsPreview();
29047 wxPyEndAllowThreads(__tstate
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29059 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29060 PyObject
*resultobj
= 0;
29061 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29067 PyObject
* obj0
= 0 ;
29068 PyObject
* obj1
= 0 ;
29069 char * kwnames
[] = {
29070 (char *) "self",(char *) "p", NULL
29073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29075 if (!SWIG_IsOK(res1
)) {
29076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29078 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29079 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29080 if (!SWIG_IsOK(ecode2
)) {
29081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29083 arg2
= static_cast< bool >(val2
);
29085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 (arg1
)->SetIsPreview(arg2
);
29087 wxPyEndAllowThreads(__tstate
);
29088 if (PyErr_Occurred()) SWIG_fail
;
29090 resultobj
= SWIG_Py_Void();
29097 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29098 PyObject
*resultobj
= 0;
29099 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29109 PyObject
* obj0
= 0 ;
29110 PyObject
* obj1
= 0 ;
29111 PyObject
* obj2
= 0 ;
29112 char * kwnames
[] = {
29113 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29118 if (!SWIG_IsOK(res1
)) {
29119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29121 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29123 if (!SWIG_IsOK(ecode2
)) {
29124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29126 arg2
= static_cast< int >(val2
);
29127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29128 if (!SWIG_IsOK(ecode3
)) {
29129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29131 arg3
= static_cast< int >(val3
);
29133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29134 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29147 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29148 PyObject
*resultobj
= 0;
29149 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29152 PyObject
*swig_obj
[1] ;
29154 if (!args
) SWIG_fail
;
29155 swig_obj
[0] = args
;
29156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29157 if (!SWIG_IsOK(res1
)) {
29158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29160 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29163 (arg1
)->OnEndDocument();
29164 wxPyEndAllowThreads(__tstate
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29167 resultobj
= SWIG_Py_Void();
29174 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29175 PyObject
*resultobj
= 0;
29176 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29179 PyObject
*swig_obj
[1] ;
29181 if (!args
) SWIG_fail
;
29182 swig_obj
[0] = args
;
29183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29184 if (!SWIG_IsOK(res1
)) {
29185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29187 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29190 (arg1
)->OnBeginPrinting();
29191 wxPyEndAllowThreads(__tstate
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29194 resultobj
= SWIG_Py_Void();
29201 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29202 PyObject
*resultobj
= 0;
29203 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29206 PyObject
*swig_obj
[1] ;
29208 if (!args
) SWIG_fail
;
29209 swig_obj
[0] = args
;
29210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29211 if (!SWIG_IsOK(res1
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29214 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 (arg1
)->OnEndPrinting();
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29221 resultobj
= SWIG_Py_Void();
29228 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29229 PyObject
*resultobj
= 0;
29230 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29233 PyObject
*swig_obj
[1] ;
29235 if (!args
) SWIG_fail
;
29236 swig_obj
[0] = args
;
29237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29238 if (!SWIG_IsOK(res1
)) {
29239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29241 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29244 (arg1
)->OnPreparePrinting();
29245 wxPyEndAllowThreads(__tstate
);
29246 if (PyErr_Occurred()) SWIG_fail
;
29248 resultobj
= SWIG_Py_Void();
29255 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29256 PyObject
*resultobj
= 0;
29257 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29264 PyObject
* obj0
= 0 ;
29265 PyObject
* obj1
= 0 ;
29266 char * kwnames
[] = {
29267 (char *) "self",(char *) "page", NULL
29270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29272 if (!SWIG_IsOK(res1
)) {
29273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29275 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29277 if (!SWIG_IsOK(ecode2
)) {
29278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29280 arg2
= static_cast< int >(val2
);
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 result
= (bool)(arg1
)->HasPage(arg2
);
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29296 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29297 PyObject
*resultobj
= 0;
29298 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29299 int *arg2
= (int *) 0 ;
29300 int *arg3
= (int *) 0 ;
29301 int *arg4
= (int *) 0 ;
29302 int *arg5
= (int *) 0 ;
29306 int res2
= SWIG_TMPOBJ
;
29308 int res3
= SWIG_TMPOBJ
;
29310 int res4
= SWIG_TMPOBJ
;
29312 int res5
= SWIG_TMPOBJ
;
29313 PyObject
*swig_obj
[1] ;
29319 if (!args
) SWIG_fail
;
29320 swig_obj
[0] = args
;
29321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29322 if (!SWIG_IsOK(res1
)) {
29323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29325 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29329 wxPyEndAllowThreads(__tstate
);
29330 if (PyErr_Occurred()) SWIG_fail
;
29332 resultobj
= SWIG_Py_Void();
29333 if (SWIG_IsTmpObj(res2
)) {
29334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29336 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29339 if (SWIG_IsTmpObj(res3
)) {
29340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29342 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29345 if (SWIG_IsTmpObj(res4
)) {
29346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29348 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29351 if (SWIG_IsTmpObj(res5
)) {
29352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29354 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29363 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29366 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29367 return SWIG_Py_Void();
29370 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29371 return SWIG_Python_InitShadowInstance(args
);
29374 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29375 PyObject
*resultobj
= 0;
29376 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29377 wxWindow
*arg2
= (wxWindow
*) 0 ;
29378 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29379 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29380 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29381 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29382 long arg5
= (long) 0 ;
29383 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29384 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29385 wxPreviewCanvas
*result
= 0 ;
29394 bool temp6
= false ;
29395 PyObject
* obj0
= 0 ;
29396 PyObject
* obj1
= 0 ;
29397 PyObject
* obj2
= 0 ;
29398 PyObject
* obj3
= 0 ;
29399 PyObject
* obj4
= 0 ;
29400 PyObject
* obj5
= 0 ;
29401 char * kwnames
[] = {
29402 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29407 if (!SWIG_IsOK(res1
)) {
29408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29410 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29412 if (!SWIG_IsOK(res2
)) {
29413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29415 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29419 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29425 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29429 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29430 if (!SWIG_IsOK(ecode5
)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29433 arg5
= static_cast< long >(val5
);
29437 arg6
= wxString_in_helper(obj5
);
29438 if (arg6
== NULL
) SWIG_fail
;
29443 if (!wxPyCheckForApp()) SWIG_fail
;
29444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29445 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29446 wxPyEndAllowThreads(__tstate
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29464 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29467 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29468 return SWIG_Py_Void();
29471 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29472 return SWIG_Python_InitShadowInstance(args
);
29475 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29476 PyObject
*resultobj
= 0;
29477 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29478 wxFrame
*arg2
= (wxFrame
*) 0 ;
29479 wxString
*arg3
= 0 ;
29480 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29481 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29482 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29483 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29484 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29485 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29486 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29487 wxPreviewFrame
*result
= 0 ;
29491 bool temp3
= false ;
29496 bool temp7
= false ;
29497 PyObject
* obj0
= 0 ;
29498 PyObject
* obj1
= 0 ;
29499 PyObject
* obj2
= 0 ;
29500 PyObject
* obj3
= 0 ;
29501 PyObject
* obj4
= 0 ;
29502 PyObject
* obj5
= 0 ;
29503 PyObject
* obj6
= 0 ;
29504 char * kwnames
[] = {
29505 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29509 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29510 if (!SWIG_IsOK(res1
)) {
29511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29514 if (!SWIG_IsOK(res2
)) {
29515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29517 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29519 arg3
= wxString_in_helper(obj2
);
29520 if (arg3
== NULL
) SWIG_fail
;
29526 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29532 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29536 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29537 if (!SWIG_IsOK(ecode6
)) {
29538 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29540 arg6
= static_cast< long >(val6
);
29544 arg7
= wxString_in_helper(obj6
);
29545 if (arg7
== NULL
) SWIG_fail
;
29550 if (!wxPyCheckForApp()) SWIG_fail
;
29551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29552 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29553 wxPyEndAllowThreads(__tstate
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29579 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29580 PyObject
*resultobj
= 0;
29581 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29584 PyObject
*swig_obj
[1] ;
29586 if (!args
) SWIG_fail
;
29587 swig_obj
[0] = args
;
29588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29589 if (!SWIG_IsOK(res1
)) {
29590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29592 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 (arg1
)->Initialize();
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29599 resultobj
= SWIG_Py_Void();
29606 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29607 PyObject
*resultobj
= 0;
29608 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29611 PyObject
*swig_obj
[1] ;
29613 if (!args
) SWIG_fail
;
29614 swig_obj
[0] = args
;
29615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29616 if (!SWIG_IsOK(res1
)) {
29617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29619 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 (arg1
)->CreateControlBar();
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29626 resultobj
= SWIG_Py_Void();
29633 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29634 PyObject
*resultobj
= 0;
29635 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29638 PyObject
*swig_obj
[1] ;
29640 if (!args
) SWIG_fail
;
29641 swig_obj
[0] = args
;
29642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29643 if (!SWIG_IsOK(res1
)) {
29644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29646 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29649 (arg1
)->CreateCanvas();
29650 wxPyEndAllowThreads(__tstate
);
29651 if (PyErr_Occurred()) SWIG_fail
;
29653 resultobj
= SWIG_Py_Void();
29660 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29661 PyObject
*resultobj
= 0;
29662 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29663 wxPreviewControlBar
*result
= 0 ;
29666 PyObject
*swig_obj
[1] ;
29668 if (!args
) SWIG_fail
;
29669 swig_obj
[0] = args
;
29670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29671 if (!SWIG_IsOK(res1
)) {
29672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29674 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29688 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29691 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29692 return SWIG_Py_Void();
29695 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29696 return SWIG_Python_InitShadowInstance(args
);
29699 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29700 PyObject
*resultobj
= 0;
29701 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29703 wxWindow
*arg3
= (wxWindow
*) 0 ;
29704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29708 long arg6
= (long) wxTAB_TRAVERSAL
;
29709 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29711 wxPreviewControlBar
*result
= 0 ;
29722 bool temp7
= false ;
29723 PyObject
* obj0
= 0 ;
29724 PyObject
* obj1
= 0 ;
29725 PyObject
* obj2
= 0 ;
29726 PyObject
* obj3
= 0 ;
29727 PyObject
* obj4
= 0 ;
29728 PyObject
* obj5
= 0 ;
29729 PyObject
* obj6
= 0 ;
29730 char * kwnames
[] = {
29731 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29736 if (!SWIG_IsOK(res1
)) {
29737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29739 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29740 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29741 if (!SWIG_IsOK(ecode2
)) {
29742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29744 arg2
= static_cast< long >(val2
);
29745 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29746 if (!SWIG_IsOK(res3
)) {
29747 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29749 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29753 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29759 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29763 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29764 if (!SWIG_IsOK(ecode6
)) {
29765 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29767 arg6
= static_cast< long >(val6
);
29771 arg7
= wxString_in_helper(obj6
);
29772 if (arg7
== NULL
) SWIG_fail
;
29777 if (!wxPyCheckForApp()) SWIG_fail
;
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29779 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29780 wxPyEndAllowThreads(__tstate
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29798 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29799 PyObject
*resultobj
= 0;
29800 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29804 PyObject
*swig_obj
[1] ;
29806 if (!args
) SWIG_fail
;
29807 swig_obj
[0] = args
;
29808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29809 if (!SWIG_IsOK(res1
)) {
29810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29812 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29815 result
= (int)(arg1
)->GetZoomControl();
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29819 resultobj
= SWIG_From_int(static_cast< int >(result
));
29826 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
= 0;
29828 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29834 PyObject
* obj0
= 0 ;
29835 PyObject
* obj1
= 0 ;
29836 char * kwnames
[] = {
29837 (char *) "self",(char *) "zoom", NULL
29840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29842 if (!SWIG_IsOK(res1
)) {
29843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29845 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29847 if (!SWIG_IsOK(ecode2
)) {
29848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29850 arg2
= static_cast< int >(val2
);
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 (arg1
)->SetZoomControl(arg2
);
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29857 resultobj
= SWIG_Py_Void();
29864 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29865 PyObject
*resultobj
= 0;
29866 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29867 wxPrintPreview
*result
= 0 ;
29870 PyObject
*swig_obj
[1] ;
29872 if (!args
) SWIG_fail
;
29873 swig_obj
[0] = args
;
29874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29875 if (!SWIG_IsOK(res1
)) {
29876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29878 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29892 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29893 PyObject
*resultobj
= 0;
29894 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29897 PyObject
*swig_obj
[1] ;
29899 if (!args
) SWIG_fail
;
29900 swig_obj
[0] = args
;
29901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29902 if (!SWIG_IsOK(res1
)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29905 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= SWIG_Py_Void();
29919 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29920 PyObject
*resultobj
= 0;
29921 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29924 PyObject
*swig_obj
[1] ;
29926 if (!args
) SWIG_fail
;
29927 swig_obj
[0] = args
;
29928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29929 if (!SWIG_IsOK(res1
)) {
29930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29932 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29935 (arg1
)->OnPrevious();
29936 wxPyEndAllowThreads(__tstate
);
29937 if (PyErr_Occurred()) SWIG_fail
;
29939 resultobj
= SWIG_Py_Void();
29946 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29947 PyObject
*resultobj
= 0;
29948 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29951 PyObject
*swig_obj
[1] ;
29953 if (!args
) SWIG_fail
;
29954 swig_obj
[0] = args
;
29955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29956 if (!SWIG_IsOK(res1
)) {
29957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29959 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29963 wxPyEndAllowThreads(__tstate
);
29964 if (PyErr_Occurred()) SWIG_fail
;
29966 resultobj
= SWIG_Py_Void();
29973 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29974 PyObject
*resultobj
= 0;
29975 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29978 PyObject
*swig_obj
[1] ;
29980 if (!args
) SWIG_fail
;
29981 swig_obj
[0] = args
;
29982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29983 if (!SWIG_IsOK(res1
)) {
29984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29986 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29990 wxPyEndAllowThreads(__tstate
);
29991 if (PyErr_Occurred()) SWIG_fail
;
29993 resultobj
= SWIG_Py_Void();
30000 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30001 PyObject
*resultobj
= 0;
30002 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30005 PyObject
*swig_obj
[1] ;
30007 if (!args
) SWIG_fail
;
30008 swig_obj
[0] = args
;
30009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30010 if (!SWIG_IsOK(res1
)) {
30011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30013 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 wxPyEndAllowThreads(__tstate
);
30018 if (PyErr_Occurred()) SWIG_fail
;
30020 resultobj
= SWIG_Py_Void();
30027 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30030 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
30031 return SWIG_Py_Void();
30034 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30035 return SWIG_Python_InitShadowInstance(args
);
30038 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30039 PyObject
*resultobj
= 0;
30040 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30041 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30042 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30043 wxPrintPreview
*result
= 0 ;
30049 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30050 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30051 if (!SWIG_IsOK(res1
)) {
30052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30054 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30055 if (!SWIG_IsOK(res2
)) {
30056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30059 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30060 if (!SWIG_IsOK(res3
)) {
30061 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30063 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30066 if (!wxPyCheckForApp()) SWIG_fail
;
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30079 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30080 PyObject
*resultobj
= 0;
30081 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30082 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30083 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30084 wxPrintPreview
*result
= 0 ;
30090 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30091 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30092 if (!SWIG_IsOK(res1
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30095 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30096 if (!SWIG_IsOK(res2
)) {
30097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30099 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30100 if (!SWIG_IsOK(res3
)) {
30101 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30103 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30105 if (!wxPyCheckForApp()) SWIG_fail
;
30106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30107 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30108 wxPyEndAllowThreads(__tstate
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30118 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30122 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30124 if ((argc
>= 2) && (argc
<= 3)) {
30129 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30130 _v
= SWIG_CheckState(res
);
30132 if (!_v
) goto check_1
;
30134 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30139 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30143 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30148 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30149 PyObject
*resultobj
= 0;
30150 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30153 PyObject
*swig_obj
[1] ;
30155 if (!args
) SWIG_fail
;
30156 swig_obj
[0] = args
;
30157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30158 if (!SWIG_IsOK(res1
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30161 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30166 wxPyEndAllowThreads(__tstate
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30169 resultobj
= SWIG_Py_Void();
30176 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30177 PyObject
*resultobj
= 0;
30178 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30185 PyObject
* obj0
= 0 ;
30186 PyObject
* obj1
= 0 ;
30187 char * kwnames
[] = {
30188 (char *) "self",(char *) "pageNum", NULL
30191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30193 if (!SWIG_IsOK(res1
)) {
30194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30196 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30198 if (!SWIG_IsOK(ecode2
)) {
30199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30201 arg2
= static_cast< int >(val2
);
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30204 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30205 wxPyEndAllowThreads(__tstate
);
30206 if (PyErr_Occurred()) SWIG_fail
;
30209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30217 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30218 PyObject
*resultobj
= 0;
30219 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30223 PyObject
*swig_obj
[1] ;
30225 if (!args
) SWIG_fail
;
30226 swig_obj
[0] = args
;
30227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30228 if (!SWIG_IsOK(res1
)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30231 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30234 result
= (int)(arg1
)->GetCurrentPage();
30235 wxPyEndAllowThreads(__tstate
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30238 resultobj
= SWIG_From_int(static_cast< int >(result
));
30245 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30246 PyObject
*resultobj
= 0;
30247 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30248 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30252 PyObject
* obj0
= 0 ;
30253 PyObject
* obj1
= 0 ;
30254 char * kwnames
[] = {
30255 (char *) "self",(char *) "printout", NULL
30258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30260 if (!SWIG_IsOK(res1
)) {
30261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30263 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30264 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30265 if (!SWIG_IsOK(res2
)) {
30266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30270 (arg1
)->SetPrintout(arg2
);
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30274 resultobj
= SWIG_Py_Void();
30281 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30282 PyObject
*resultobj
= 0;
30283 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30284 wxPyPrintout
*result
= 0 ;
30287 PyObject
*swig_obj
[1] ;
30289 if (!args
) SWIG_fail
;
30290 swig_obj
[0] = args
;
30291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30292 if (!SWIG_IsOK(res1
)) {
30293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30295 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30298 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30299 wxPyEndAllowThreads(__tstate
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30303 resultobj
= wxPyMake_wxObject(result
, 0);
30311 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30312 PyObject
*resultobj
= 0;
30313 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30314 wxPyPrintout
*result
= 0 ;
30317 PyObject
*swig_obj
[1] ;
30319 if (!args
) SWIG_fail
;
30320 swig_obj
[0] = args
;
30321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30322 if (!SWIG_IsOK(res1
)) {
30323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30325 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= wxPyMake_wxObject(result
, 0);
30341 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30342 PyObject
*resultobj
= 0;
30343 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30344 wxFrame
*arg2
= (wxFrame
*) 0 ;
30349 PyObject
* obj0
= 0 ;
30350 PyObject
* obj1
= 0 ;
30351 char * kwnames
[] = {
30352 (char *) "self",(char *) "frame", NULL
30355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30357 if (!SWIG_IsOK(res1
)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30360 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30362 if (!SWIG_IsOK(res2
)) {
30363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30365 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30368 (arg1
)->SetFrame(arg2
);
30369 wxPyEndAllowThreads(__tstate
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 resultobj
= SWIG_Py_Void();
30379 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
= 0;
30381 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30382 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30387 PyObject
* obj0
= 0 ;
30388 PyObject
* obj1
= 0 ;
30389 char * kwnames
[] = {
30390 (char *) "self",(char *) "canvas", NULL
30393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30395 if (!SWIG_IsOK(res1
)) {
30396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30398 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30400 if (!SWIG_IsOK(res2
)) {
30401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30403 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30406 (arg1
)->SetCanvas(arg2
);
30407 wxPyEndAllowThreads(__tstate
);
30408 if (PyErr_Occurred()) SWIG_fail
;
30410 resultobj
= SWIG_Py_Void();
30417 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30418 PyObject
*resultobj
= 0;
30419 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30420 wxFrame
*result
= 0 ;
30423 PyObject
*swig_obj
[1] ;
30425 if (!args
) SWIG_fail
;
30426 swig_obj
[0] = args
;
30427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30428 if (!SWIG_IsOK(res1
)) {
30429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30431 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30434 result
= (wxFrame
*)(arg1
)->GetFrame();
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30439 resultobj
= wxPyMake_wxObject(result
, 0);
30447 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30448 PyObject
*resultobj
= 0;
30449 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30450 wxPreviewCanvas
*result
= 0 ;
30453 PyObject
*swig_obj
[1] ;
30455 if (!args
) SWIG_fail
;
30456 swig_obj
[0] = args
;
30457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30458 if (!SWIG_IsOK(res1
)) {
30459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30461 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30464 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30465 wxPyEndAllowThreads(__tstate
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30475 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30476 PyObject
*resultobj
= 0;
30477 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30478 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30487 PyObject
* obj0
= 0 ;
30488 PyObject
* obj1
= 0 ;
30489 PyObject
* obj2
= 0 ;
30490 char * kwnames
[] = {
30491 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30496 if (!SWIG_IsOK(res1
)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30499 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30501 if (!SWIG_IsOK(res2
)) {
30502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30504 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30505 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30506 if (!SWIG_IsOK(res3
)) {
30507 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30512 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30528 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
= 0;
30530 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30531 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30540 PyObject
* obj0
= 0 ;
30541 PyObject
* obj1
= 0 ;
30542 PyObject
* obj2
= 0 ;
30543 char * kwnames
[] = {
30544 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30549 if (!SWIG_IsOK(res1
)) {
30550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30552 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30553 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30554 if (!SWIG_IsOK(res2
)) {
30555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30557 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30558 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30559 if (!SWIG_IsOK(res3
)) {
30560 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30565 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30568 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30569 wxPyEndAllowThreads(__tstate
);
30570 if (PyErr_Occurred()) SWIG_fail
;
30573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30581 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30582 PyObject
*resultobj
= 0;
30583 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30590 PyObject
* obj0
= 0 ;
30591 PyObject
* obj1
= 0 ;
30592 char * kwnames
[] = {
30593 (char *) "self",(char *) "pageNum", NULL
30596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30598 if (!SWIG_IsOK(res1
)) {
30599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30601 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30603 if (!SWIG_IsOK(ecode2
)) {
30604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30606 arg2
= static_cast< int >(val2
);
30608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30609 result
= (bool)(arg1
)->RenderPage(arg2
);
30610 wxPyEndAllowThreads(__tstate
);
30611 if (PyErr_Occurred()) SWIG_fail
;
30614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30622 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30623 PyObject
*resultobj
= 0;
30624 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30625 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30630 PyObject
* obj0
= 0 ;
30631 PyObject
* obj1
= 0 ;
30632 char * kwnames
[] = {
30633 (char *) "self",(char *) "canvas", NULL
30636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30638 if (!SWIG_IsOK(res1
)) {
30639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30641 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30643 if (!SWIG_IsOK(res2
)) {
30644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30646 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30649 (arg1
)->AdjustScrollbars(arg2
);
30650 wxPyEndAllowThreads(__tstate
);
30651 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= SWIG_Py_Void();
30660 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30661 PyObject
*resultobj
= 0;
30662 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30663 wxPrintDialogData
*result
= 0 ;
30666 PyObject
*swig_obj
[1] ;
30668 if (!args
) SWIG_fail
;
30669 swig_obj
[0] = args
;
30670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30671 if (!SWIG_IsOK(res1
)) {
30672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30674 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30679 result
= (wxPrintDialogData
*) &_result_ref
;
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30691 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
= 0;
30693 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30699 PyObject
* obj0
= 0 ;
30700 PyObject
* obj1
= 0 ;
30701 char * kwnames
[] = {
30702 (char *) "self",(char *) "percent", NULL
30705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30707 if (!SWIG_IsOK(res1
)) {
30708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30710 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30712 if (!SWIG_IsOK(ecode2
)) {
30713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30715 arg2
= static_cast< int >(val2
);
30717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30718 (arg1
)->SetZoom(arg2
);
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30722 resultobj
= SWIG_Py_Void();
30729 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30730 PyObject
*resultobj
= 0;
30731 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30735 PyObject
*swig_obj
[1] ;
30737 if (!args
) SWIG_fail
;
30738 swig_obj
[0] = args
;
30739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30740 if (!SWIG_IsOK(res1
)) {
30741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30743 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 result
= (int)(arg1
)->GetZoom();
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30750 resultobj
= SWIG_From_int(static_cast< int >(result
));
30757 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30758 PyObject
*resultobj
= 0;
30759 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30763 PyObject
*swig_obj
[1] ;
30765 if (!args
) SWIG_fail
;
30766 swig_obj
[0] = args
;
30767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30768 if (!SWIG_IsOK(res1
)) {
30769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30771 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30774 result
= (int)(arg1
)->GetMaxPage();
30775 wxPyEndAllowThreads(__tstate
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30778 resultobj
= SWIG_From_int(static_cast< int >(result
));
30785 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30786 PyObject
*resultobj
= 0;
30787 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30791 PyObject
*swig_obj
[1] ;
30793 if (!args
) SWIG_fail
;
30794 swig_obj
[0] = args
;
30795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30796 if (!SWIG_IsOK(res1
)) {
30797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30799 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 result
= (int)(arg1
)->GetMinPage();
30803 wxPyEndAllowThreads(__tstate
);
30804 if (PyErr_Occurred()) SWIG_fail
;
30806 resultobj
= SWIG_From_int(static_cast< int >(result
));
30813 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30814 PyObject
*resultobj
= 0;
30815 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30819 PyObject
*swig_obj
[1] ;
30821 if (!args
) SWIG_fail
;
30822 swig_obj
[0] = args
;
30823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30824 if (!SWIG_IsOK(res1
)) {
30825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30827 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30830 result
= (bool)(arg1
)->IsOk();
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30843 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30844 PyObject
*resultobj
= 0;
30845 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30851 PyObject
* obj0
= 0 ;
30852 PyObject
* obj1
= 0 ;
30853 char * kwnames
[] = {
30854 (char *) "self",(char *) "ok", NULL
30857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30859 if (!SWIG_IsOK(res1
)) {
30860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30862 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30863 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30864 if (!SWIG_IsOK(ecode2
)) {
30865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30867 arg2
= static_cast< bool >(val2
);
30869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30870 (arg1
)->SetOk(arg2
);
30871 wxPyEndAllowThreads(__tstate
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30874 resultobj
= SWIG_Py_Void();
30881 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30882 PyObject
*resultobj
= 0;
30883 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30890 PyObject
* obj0
= 0 ;
30891 PyObject
* obj1
= 0 ;
30892 char * kwnames
[] = {
30893 (char *) "self",(char *) "interactive", NULL
30896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30898 if (!SWIG_IsOK(res1
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30901 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30902 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30903 if (!SWIG_IsOK(ecode2
)) {
30904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30906 arg2
= static_cast< bool >(val2
);
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30909 result
= (bool)(arg1
)->Print(arg2
);
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30922 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30923 PyObject
*resultobj
= 0;
30924 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30927 PyObject
*swig_obj
[1] ;
30929 if (!args
) SWIG_fail
;
30930 swig_obj
[0] = args
;
30931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30932 if (!SWIG_IsOK(res1
)) {
30933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30935 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 (arg1
)->DetermineScaling();
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30942 resultobj
= SWIG_Py_Void();
30949 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30952 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30953 return SWIG_Py_Void();
30956 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30957 return SWIG_Python_InitShadowInstance(args
);
30960 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30961 PyObject
*resultobj
= 0;
30962 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30963 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30964 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30965 wxPyPrintPreview
*result
= 0 ;
30971 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30972 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30973 if (!SWIG_IsOK(res1
)) {
30974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30976 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30977 if (!SWIG_IsOK(res2
)) {
30978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30981 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30982 if (!SWIG_IsOK(res3
)) {
30983 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30985 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30988 if (!wxPyCheckForApp()) SWIG_fail
;
30989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30990 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30991 wxPyEndAllowThreads(__tstate
);
30992 if (PyErr_Occurred()) SWIG_fail
;
30994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31001 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31002 PyObject
*resultobj
= 0;
31003 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31004 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31005 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
31006 wxPyPrintPreview
*result
= 0 ;
31012 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
31013 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31014 if (!SWIG_IsOK(res1
)) {
31015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31017 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31018 if (!SWIG_IsOK(res2
)) {
31019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31021 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
31022 if (!SWIG_IsOK(res3
)) {
31023 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31025 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
31027 if (!wxPyCheckForApp()) SWIG_fail
;
31028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31029 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31030 wxPyEndAllowThreads(__tstate
);
31031 if (PyErr_Occurred()) SWIG_fail
;
31033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31040 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
31044 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
31046 if ((argc
>= 2) && (argc
<= 3)) {
31051 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
31052 _v
= SWIG_CheckState(res
);
31054 if (!_v
) goto check_1
;
31056 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
31061 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
31065 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
31070 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31071 PyObject
*resultobj
= 0;
31072 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
31073 PyObject
*arg2
= (PyObject
*) 0 ;
31074 PyObject
*arg3
= (PyObject
*) 0 ;
31077 PyObject
* obj0
= 0 ;
31078 PyObject
* obj1
= 0 ;
31079 PyObject
* obj2
= 0 ;
31080 char * kwnames
[] = {
31081 (char *) "self",(char *) "self",(char *) "_class", NULL
31084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
31086 if (!SWIG_IsOK(res1
)) {
31087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31089 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
31093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31094 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31095 wxPyEndAllowThreads(__tstate
);
31096 if (PyErr_Occurred()) SWIG_fail
;
31098 resultobj
= SWIG_Py_Void();
31105 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31108 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31109 return SWIG_Py_Void();
31112 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31113 return SWIG_Python_InitShadowInstance(args
);
31116 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31117 PyObject
*resultobj
= 0;
31118 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31119 wxFrame
*arg2
= (wxFrame
*) 0 ;
31120 wxString
*arg3
= 0 ;
31121 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31122 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31123 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31124 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31125 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31126 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31127 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31128 wxPyPreviewFrame
*result
= 0 ;
31132 bool temp3
= false ;
31137 bool temp7
= false ;
31138 PyObject
* obj0
= 0 ;
31139 PyObject
* obj1
= 0 ;
31140 PyObject
* obj2
= 0 ;
31141 PyObject
* obj3
= 0 ;
31142 PyObject
* obj4
= 0 ;
31143 PyObject
* obj5
= 0 ;
31144 PyObject
* obj6
= 0 ;
31145 char * kwnames
[] = {
31146 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31150 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31151 if (!SWIG_IsOK(res1
)) {
31152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31154 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31155 if (!SWIG_IsOK(res2
)) {
31156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31158 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31160 arg3
= wxString_in_helper(obj2
);
31161 if (arg3
== NULL
) SWIG_fail
;
31167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31177 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31178 if (!SWIG_IsOK(ecode6
)) {
31179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31181 arg6
= static_cast< long >(val6
);
31185 arg7
= wxString_in_helper(obj6
);
31186 if (arg7
== NULL
) SWIG_fail
;
31191 if (!wxPyCheckForApp()) SWIG_fail
;
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31194 wxPyEndAllowThreads(__tstate
);
31195 if (PyErr_Occurred()) SWIG_fail
;
31197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31220 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31221 PyObject
*resultobj
= 0;
31222 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31223 PyObject
*arg2
= (PyObject
*) 0 ;
31224 PyObject
*arg3
= (PyObject
*) 0 ;
31227 PyObject
* obj0
= 0 ;
31228 PyObject
* obj1
= 0 ;
31229 PyObject
* obj2
= 0 ;
31230 char * kwnames
[] = {
31231 (char *) "self",(char *) "self",(char *) "_class", NULL
31234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31236 if (!SWIG_IsOK(res1
)) {
31237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31239 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31244 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31248 resultobj
= SWIG_Py_Void();
31255 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31256 PyObject
*resultobj
= 0;
31257 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31258 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31263 PyObject
* obj0
= 0 ;
31264 PyObject
* obj1
= 0 ;
31265 char * kwnames
[] = {
31266 (char *) "self",(char *) "canvas", NULL
31269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31271 if (!SWIG_IsOK(res1
)) {
31272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31274 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31276 if (!SWIG_IsOK(res2
)) {
31277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31279 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31282 (arg1
)->SetPreviewCanvas(arg2
);
31283 wxPyEndAllowThreads(__tstate
);
31284 if (PyErr_Occurred()) SWIG_fail
;
31286 resultobj
= SWIG_Py_Void();
31293 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31294 PyObject
*resultobj
= 0;
31295 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31296 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 char * kwnames
[] = {
31304 (char *) "self",(char *) "bar", NULL
31307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31309 if (!SWIG_IsOK(res1
)) {
31310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31312 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31314 if (!SWIG_IsOK(res2
)) {
31315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31317 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 (arg1
)->SetControlBar(arg2
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= SWIG_Py_Void();
31331 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31332 PyObject
*resultobj
= 0;
31333 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31336 PyObject
*swig_obj
[1] ;
31338 if (!args
) SWIG_fail
;
31339 swig_obj
[0] = args
;
31340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31341 if (!SWIG_IsOK(res1
)) {
31342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31344 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31347 (arg1
)->Initialize();
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= SWIG_Py_Void();
31358 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31359 PyObject
*resultobj
= 0;
31360 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31363 PyObject
*swig_obj
[1] ;
31365 if (!args
) SWIG_fail
;
31366 swig_obj
[0] = args
;
31367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31368 if (!SWIG_IsOK(res1
)) {
31369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31371 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 (arg1
)->CreateCanvas();
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= SWIG_Py_Void();
31385 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31386 PyObject
*resultobj
= 0;
31387 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31390 PyObject
*swig_obj
[1] ;
31392 if (!args
) SWIG_fail
;
31393 swig_obj
[0] = args
;
31394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31395 if (!SWIG_IsOK(res1
)) {
31396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31398 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31401 (arg1
)->CreateControlBar();
31402 wxPyEndAllowThreads(__tstate
);
31403 if (PyErr_Occurred()) SWIG_fail
;
31405 resultobj
= SWIG_Py_Void();
31412 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31415 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31416 return SWIG_Py_Void();
31419 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31420 return SWIG_Python_InitShadowInstance(args
);
31423 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31424 PyObject
*resultobj
= 0;
31425 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31427 wxWindow
*arg3
= (wxWindow
*) 0 ;
31428 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31429 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31430 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31431 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31432 long arg6
= (long) 0 ;
31433 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31434 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31435 wxPyPreviewControlBar
*result
= 0 ;
31445 bool temp7
= false ;
31446 PyObject
* obj0
= 0 ;
31447 PyObject
* obj1
= 0 ;
31448 PyObject
* obj2
= 0 ;
31449 PyObject
* obj3
= 0 ;
31450 PyObject
* obj4
= 0 ;
31451 PyObject
* obj5
= 0 ;
31452 PyObject
* obj6
= 0 ;
31453 char * kwnames
[] = {
31454 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31458 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31459 if (!SWIG_IsOK(res1
)) {
31460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31462 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31463 if (!SWIG_IsOK(ecode2
)) {
31464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31466 arg2
= static_cast< long >(val2
);
31467 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31468 if (!SWIG_IsOK(res3
)) {
31469 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31471 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31475 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31481 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31485 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31486 if (!SWIG_IsOK(ecode6
)) {
31487 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31489 arg6
= static_cast< long >(val6
);
31493 arg7
= wxString_in_helper(obj6
);
31494 if (arg7
== NULL
) SWIG_fail
;
31499 if (!wxPyCheckForApp()) SWIG_fail
;
31500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31501 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31502 wxPyEndAllowThreads(__tstate
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31520 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
= 0;
31522 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31523 PyObject
*arg2
= (PyObject
*) 0 ;
31524 PyObject
*arg3
= (PyObject
*) 0 ;
31527 PyObject
* obj0
= 0 ;
31528 PyObject
* obj1
= 0 ;
31529 PyObject
* obj2
= 0 ;
31530 char * kwnames
[] = {
31531 (char *) "self",(char *) "self",(char *) "_class", NULL
31534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31536 if (!SWIG_IsOK(res1
)) {
31537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31539 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31544 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31545 wxPyEndAllowThreads(__tstate
);
31546 if (PyErr_Occurred()) SWIG_fail
;
31548 resultobj
= SWIG_Py_Void();
31555 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31556 PyObject
*resultobj
= 0;
31557 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31558 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31562 PyObject
* obj0
= 0 ;
31563 PyObject
* obj1
= 0 ;
31564 char * kwnames
[] = {
31565 (char *) "self",(char *) "preview", NULL
31568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31570 if (!SWIG_IsOK(res1
)) {
31571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31573 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31574 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31575 if (!SWIG_IsOK(res2
)) {
31576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31580 (arg1
)->SetPrintPreview(arg2
);
31581 wxPyEndAllowThreads(__tstate
);
31582 if (PyErr_Occurred()) SWIG_fail
;
31584 resultobj
= SWIG_Py_Void();
31591 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31592 PyObject
*resultobj
= 0;
31593 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31596 PyObject
*swig_obj
[1] ;
31598 if (!args
) SWIG_fail
;
31599 swig_obj
[0] = args
;
31600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31601 if (!SWIG_IsOK(res1
)) {
31602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31604 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31607 (arg1
)->CreateButtons();
31608 wxPyEndAllowThreads(__tstate
);
31609 if (PyErr_Occurred()) SWIG_fail
;
31611 resultobj
= SWIG_Py_Void();
31618 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31619 PyObject
*resultobj
= 0;
31620 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31626 PyObject
* obj0
= 0 ;
31627 PyObject
* obj1
= 0 ;
31628 char * kwnames
[] = {
31629 (char *) "self",(char *) "zoom", NULL
31632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31634 if (!SWIG_IsOK(res1
)) {
31635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31637 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31639 if (!SWIG_IsOK(ecode2
)) {
31640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31642 arg2
= static_cast< int >(val2
);
31644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31645 (arg1
)->SetZoomControl(arg2
);
31646 wxPyEndAllowThreads(__tstate
);
31647 if (PyErr_Occurred()) SWIG_fail
;
31649 resultobj
= SWIG_Py_Void();
31656 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31659 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31660 return SWIG_Py_Void();
31663 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31664 return SWIG_Python_InitShadowInstance(args
);
31667 static PyMethodDef SwigMethods
[] = {
31668 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31670 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31672 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31674 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31675 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31677 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31684 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31686 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31688 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31689 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31690 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31691 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31692 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31695 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31697 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31700 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31701 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31703 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31705 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31706 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31707 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31708 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31712 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31714 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31718 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31720 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31722 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31725 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31726 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31728 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31730 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31732 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31735 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31742 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31744 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31749 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31750 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31752 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31755 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31757 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31759 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31764 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31765 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31768 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31769 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31771 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31773 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31774 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31777 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31778 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31779 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31781 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31782 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31783 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31784 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31785 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31787 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31790 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31799 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31800 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31802 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31803 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31805 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31807 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31808 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31810 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31816 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31817 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31820 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31821 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31823 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31825 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31827 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31829 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31831 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31833 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31834 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31837 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31838 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31839 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31840 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31841 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31842 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31844 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31852 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31854 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31857 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31858 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31861 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31862 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31864 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31865 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31866 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31869 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31871 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31873 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31874 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31875 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31878 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31880 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31882 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31884 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31886 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31887 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31888 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31891 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31893 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31894 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31895 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31897 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31899 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31900 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31904 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31905 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31906 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31907 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31911 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31912 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31914 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31915 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31916 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31918 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31919 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31920 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31923 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31924 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31925 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31927 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31936 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31937 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31938 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31939 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31941 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31942 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31945 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31946 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31948 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31951 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31952 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31953 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31956 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31957 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31959 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31960 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31962 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31967 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31968 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31974 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31975 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31977 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31981 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31983 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31984 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
31986 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31988 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31989 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31990 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31991 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31993 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31994 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31995 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31997 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31999 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
32000 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
32002 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
32003 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
32004 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
32005 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
32006 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
32007 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
32012 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
32013 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
32015 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
32016 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
32017 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
32020 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
32021 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
32024 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
32025 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
32033 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
32034 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
32035 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
32036 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
32037 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
32038 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
32039 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
32040 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
32041 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
32042 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
32045 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32046 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32047 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
32049 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
32050 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32052 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32053 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
32055 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32057 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32058 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32060 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32061 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
32063 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32064 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32065 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
32066 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
32067 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
32069 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
32070 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
32071 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
32072 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
32073 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
32074 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
32081 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
32082 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
32084 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
32085 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
32086 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
32089 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
32090 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
32094 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
32095 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
32096 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
32098 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32099 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32100 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32101 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32105 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32106 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32108 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32109 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32110 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32111 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32115 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32116 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32118 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32120 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32122 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32123 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32125 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32127 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32128 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32129 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32130 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32131 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32132 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32134 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32135 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32137 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32139 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32140 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32141 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32143 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32145 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32146 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32148 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32155 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32156 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32157 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32158 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32159 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32160 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32161 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32162 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32163 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32165 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32172 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32173 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32174 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32175 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32176 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32177 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32178 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32179 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32180 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32182 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32189 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32190 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32191 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32192 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32193 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32194 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32195 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32196 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32197 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32198 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32199 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32200 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32201 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32202 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
32203 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32204 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32205 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32206 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32207 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32208 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32209 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32210 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32211 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32212 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32213 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32227 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32229 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32231 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32232 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32233 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32234 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32240 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32241 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32242 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32243 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32244 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32245 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32246 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32247 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32248 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32249 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32250 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32251 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32252 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32253 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32254 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32264 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32265 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32266 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32267 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32269 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32270 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32271 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32272 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32273 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32274 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32275 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32276 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32277 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32278 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32279 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32280 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32281 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32282 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32283 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32284 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32285 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32299 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32300 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32301 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32302 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32303 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32304 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32306 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32307 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32309 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32310 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32311 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32312 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32313 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32314 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32315 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32317 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32323 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32324 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32325 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32326 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32327 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32329 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32331 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32332 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32337 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32338 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32340 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32341 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32342 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32347 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32349 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32351 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32353 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32355 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32356 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32359 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32360 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32361 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32362 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32364 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32365 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32366 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32368 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32369 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32371 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32372 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32373 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32374 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32375 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32376 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32378 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32380 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32381 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32382 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32383 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32384 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32385 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32386 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32387 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32388 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32389 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32391 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32393 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32394 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32397 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32398 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32403 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32405 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32406 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32407 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32408 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32411 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32412 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32413 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32414 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32416 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32417 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32422 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32423 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32424 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32425 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32426 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32430 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32432 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32433 { NULL
, NULL
, 0, NULL
}
32437 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32439 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32440 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32442 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32443 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32445 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32446 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32448 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32449 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32451 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32452 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32454 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32455 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32457 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32458 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32460 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32461 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32463 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32464 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32466 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32467 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32469 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32470 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32472 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32473 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32475 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32476 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32478 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32479 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32481 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32482 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32484 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32485 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32487 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32490 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32491 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32493 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32494 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32496 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32497 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32499 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32500 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32502 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32503 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32505 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32506 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32508 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32509 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32511 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32512 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32514 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32515 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32517 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32518 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32520 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32521 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32523 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32524 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32526 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32527 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32529 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32530 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32532 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32533 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32535 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32536 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32538 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32539 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32541 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32542 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32544 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32545 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32547 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32548 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32550 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32551 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32553 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32554 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32556 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32557 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32559 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32560 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32562 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32563 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32565 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32566 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32568 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32569 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32571 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32572 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32574 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32575 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32577 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
32578 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
32580 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32581 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32583 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32584 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32586 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32589 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32592 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
32593 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
32595 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32598 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32599 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32601 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32602 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32604 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32605 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32607 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32608 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32610 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32613 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32616 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32619 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32622 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32625 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32628 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32631 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32634 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32637 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32638 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32640 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32641 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32643 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32646 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32649 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32652 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32653 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32655 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32658 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32659 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32661 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32662 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32664 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32665 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32667 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32668 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32670 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32673 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32674 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32676 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32677 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32679 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32682 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32683 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32685 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32688 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32691 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32694 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32695 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32697 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32700 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32701 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32703 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32706 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32709 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32712 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32715 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32718 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32721 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32722 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32724 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32727 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32730 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32733 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32736 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32739 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32740 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32742 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
32743 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32745 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32746 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32748 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32749 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32751 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32752 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32754 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32755 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32757 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
32758 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
32760 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32761 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32763 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32764 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32766 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32767 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32769 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32770 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32772 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32773 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32775 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32778 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32781 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
32784 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32787 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32790 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32793 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32796 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32799 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32802 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32805 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32808 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) ((wxSizer
*) x
));
32811 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32814 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32817 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32820 static void *_p_wxEventTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) ((wxEvent
*) x
));
32823 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) ((wxFontData
*) x
));
32826 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32829 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32832 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32835 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32838 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32839 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32841 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32842 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32844 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32847 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32848 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32850 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32851 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32853 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32854 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32856 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32857 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32859 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32860 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32862 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32863 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32865 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32866 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32868 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32871 static void *_p_wxControlTo_p_wxObject(void *x
) {
32872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32874 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32875 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32877 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32878 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32880 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32881 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32883 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32884 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32886 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32887 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32889 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32892 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32893 return (void *)((wxObject
*) ((wxColourData
*) x
));
32895 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32896 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32898 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32899 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32901 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32904 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32907 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32910 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32913 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32916 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32919 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32922 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32925 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32928 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32931 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32934 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32935 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32937 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32938 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32940 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32941 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32943 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32946 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32947 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32949 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32950 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32952 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32953 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32955 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32956 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32958 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32959 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32961 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32962 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32964 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32965 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32967 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32968 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32970 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32971 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32973 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32974 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32976 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32977 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32979 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32980 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32982 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32983 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32985 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32986 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32988 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32989 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32991 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32992 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32994 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32995 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32997 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32998 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33000 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33001 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33003 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33004 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33006 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33007 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33009 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
33010 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
33012 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33013 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33015 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
33016 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
33018 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33019 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33021 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33024 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33027 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
33028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33030 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33031 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33033 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33034 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33036 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33039 static void *_p_wxImageTo_p_wxObject(void *x
) {
33040 return (void *)((wxObject
*) ((wxImage
*) x
));
33042 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33045 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33046 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33048 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33049 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33051 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33052 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33054 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33057 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33060 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33061 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33063 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33064 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33066 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33067 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33069 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33070 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33072 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33073 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33075 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33078 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33081 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33084 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33087 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33090 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33093 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33096 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33099 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33102 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33105 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33108 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33111 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33112 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33114 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33115 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33117 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33118 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33120 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33121 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33123 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33126 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33129 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33132 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33135 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33138 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33139 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33141 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33142 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33144 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33145 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33147 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33148 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33150 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33151 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33153 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33154 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33156 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33157 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33159 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33160 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33162 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33163 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33165 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33166 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33168 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33169 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33171 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33174 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33175 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33177 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33178 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33180 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33181 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33183 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33184 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33186 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33189 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33190 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33192 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33193 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33195 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33198 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33199 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33201 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33202 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33204 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33205 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33207 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33208 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33210 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33211 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33213 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33214 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33216 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33217 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33219 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33220 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33222 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33223 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33225 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33226 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33228 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33229 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33231 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33232 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33234 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33235 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33237 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
33238 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
33240 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33241 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33243 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33244 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33246 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33247 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33249 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33250 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33252 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33253 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33255 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33256 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33258 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33259 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33261 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33262 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33264 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33265 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33267 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33268 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33270 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33271 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33273 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33274 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33276 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33277 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33279 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33280 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33282 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33283 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33285 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33286 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33288 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33289 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33291 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33292 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33294 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33295 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33297 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33298 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33300 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33301 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33303 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33304 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33306 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33307 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33309 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33310 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33312 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33313 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33315 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33316 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33318 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33319 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33321 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33322 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33324 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33325 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33327 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33328 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33330 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33331 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33333 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33334 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33336 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33337 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33339 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33340 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33342 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33343 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33345 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33346 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33348 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33349 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33351 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33352 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33354 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33355 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33357 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33358 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33360 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33361 return (void *)((wxWindow
*) ((wxControl
*) x
));
33363 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33364 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33366 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33367 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33369 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33370 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33372 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33373 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33375 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33376 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33378 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33379 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33381 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
33382 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33384 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33385 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33387 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33388 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33390 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33391 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33393 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33394 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33396 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33397 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33399 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33400 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33402 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33403 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33405 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33406 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33408 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33409 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33411 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33412 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33414 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33415 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33417 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33418 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33420 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33421 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33423 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33424 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33426 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33427 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33429 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33430 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33432 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33433 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33435 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33436 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33438 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33439 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33441 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33442 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33444 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33445 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33447 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33448 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33450 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33451 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33453 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33454 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33456 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33457 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33459 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33460 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33462 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33463 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33465 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33466 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33468 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33469 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33471 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
33472 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33474 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33475 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33477 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33478 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33480 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33481 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33483 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33484 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33486 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33487 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33489 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33490 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33492 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33493 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33495 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33496 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33498 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33499 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33501 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33502 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33504 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33505 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33507 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33508 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33510 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33511 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33513 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33514 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33516 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33517 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33519 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33520 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33522 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33523 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33525 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33526 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33528 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33529 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33531 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33532 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33533 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};
33534 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33535 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33536 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33537 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33538 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33539 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33540 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33541 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33542 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33543 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33544 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33545 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33546 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33547 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33548 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33549 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33550 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33551 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33552 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33553 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33554 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33555 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33556 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33557 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33558 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33559 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33560 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33561 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33562 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33563 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33564 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33565 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33566 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33567 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33568 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33569 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33570 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33571 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33572 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33573 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33574 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33575 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33576 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33577 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33578 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33579 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33580 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33581 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33582 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33583 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33584 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33585 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33586 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33587 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
33588 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33589 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33590 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33591 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33592 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33593 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33594 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33595 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33596 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33597 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33598 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33599 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33600 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33601 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33602 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33603 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33604 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33605 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33606 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33607 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33608 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33609 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33610 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33611 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33612 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33613 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33614 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33615 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33616 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33617 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33618 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33619 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33620 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33621 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33622 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33623 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33624 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33625 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33626 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33627 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33628 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33629 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33630 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33631 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33632 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33633 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33634 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33635 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33636 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33637 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33638 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33639 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33640 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33641 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33642 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33643 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33644 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33645 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33646 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33647 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33648 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33649 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33650 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33651 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33652 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33653 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33654 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33655 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33656 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33657 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33658 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33659 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33660 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33661 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33662 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33663 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33664 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33665 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33666 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33667 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33668 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33669 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33670 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33671 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33672 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33673 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33674 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33675 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33676 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33677 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33678 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33679 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33680 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33681 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33682 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33683 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33684 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33685 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33686 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33687 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33688 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33689 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33690 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33691 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33692 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33693 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33694 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33695 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33696 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33697 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33698 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33699 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33700 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33702 static swig_type_info
*swig_type_initial
[] = {
33705 &_swigt__p_form_ops_t
,
33707 &_swigt__p_unsigned_char
,
33708 &_swigt__p_unsigned_int
,
33709 &_swigt__p_unsigned_long
,
33710 &_swigt__p_wxANIHandler
,
33711 &_swigt__p_wxAcceleratorTable
,
33712 &_swigt__p_wxActivateEvent
,
33713 &_swigt__p_wxArrayInt
,
33714 &_swigt__p_wxArrayString
,
33715 &_swigt__p_wxBMPHandler
,
33716 &_swigt__p_wxBitmap
,
33717 &_swigt__p_wxBoxSizer
,
33718 &_swigt__p_wxCURHandler
,
33719 &_swigt__p_wxCalculateLayoutEvent
,
33720 &_swigt__p_wxChildFocusEvent
,
33721 &_swigt__p_wxClipboardTextEvent
,
33722 &_swigt__p_wxCloseEvent
,
33723 &_swigt__p_wxColour
,
33724 &_swigt__p_wxColourData
,
33725 &_swigt__p_wxColourDialog
,
33726 &_swigt__p_wxCommandEvent
,
33727 &_swigt__p_wxContextMenuEvent
,
33728 &_swigt__p_wxControl
,
33729 &_swigt__p_wxControlWithItems
,
33731 &_swigt__p_wxDateEvent
,
33732 &_swigt__p_wxDialog
,
33733 &_swigt__p_wxDirDialog
,
33734 &_swigt__p_wxDisplayChangedEvent
,
33735 &_swigt__p_wxDropFilesEvent
,
33736 &_swigt__p_wxDuplexMode
,
33737 &_swigt__p_wxEraseEvent
,
33738 &_swigt__p_wxEvent
,
33739 &_swigt__p_wxEventBlocker
,
33740 &_swigt__p_wxEvtHandler
,
33741 &_swigt__p_wxFSFile
,
33742 &_swigt__p_wxFileDialog
,
33743 &_swigt__p_wxFileSystem
,
33744 &_swigt__p_wxFindDialogEvent
,
33745 &_swigt__p_wxFindReplaceData
,
33746 &_swigt__p_wxFindReplaceDialog
,
33747 &_swigt__p_wxFlexGridSizer
,
33748 &_swigt__p_wxFocusEvent
,
33750 &_swigt__p_wxFontData
,
33751 &_swigt__p_wxFontDialog
,
33752 &_swigt__p_wxFrame
,
33753 &_swigt__p_wxGBSizerItem
,
33754 &_swigt__p_wxGIFHandler
,
33755 &_swigt__p_wxGridBagSizer
,
33756 &_swigt__p_wxGridSizer
,
33757 &_swigt__p_wxHtmlLinkInfo
,
33758 &_swigt__p_wxICOHandler
,
33760 &_swigt__p_wxIconBundle
,
33761 &_swigt__p_wxIconizeEvent
,
33762 &_swigt__p_wxIdleEvent
,
33763 &_swigt__p_wxImage
,
33764 &_swigt__p_wxImageHandler
,
33765 &_swigt__p_wxIndividualLayoutConstraint
,
33766 &_swigt__p_wxInitDialogEvent
,
33767 &_swigt__p_wxItemContainer
,
33768 &_swigt__p_wxJPEGHandler
,
33769 &_swigt__p_wxKeyEvent
,
33770 &_swigt__p_wxLayoutAlgorithm
,
33771 &_swigt__p_wxLayoutConstraints
,
33772 &_swigt__p_wxMDIChildFrame
,
33773 &_swigt__p_wxMDIClientWindow
,
33774 &_swigt__p_wxMDIParentFrame
,
33775 &_swigt__p_wxMaximizeEvent
,
33777 &_swigt__p_wxMenuBar
,
33778 &_swigt__p_wxMenuEvent
,
33779 &_swigt__p_wxMenuItem
,
33780 &_swigt__p_wxMessageDialog
,
33781 &_swigt__p_wxMiniFrame
,
33782 &_swigt__p_wxMouseCaptureChangedEvent
,
33783 &_swigt__p_wxMouseCaptureLostEvent
,
33784 &_swigt__p_wxMouseEvent
,
33785 &_swigt__p_wxMoveEvent
,
33786 &_swigt__p_wxMultiChoiceDialog
,
33787 &_swigt__p_wxNavigationKeyEvent
,
33788 &_swigt__p_wxNcPaintEvent
,
33789 &_swigt__p_wxNotifyEvent
,
33790 &_swigt__p_wxNumberEntryDialog
,
33791 &_swigt__p_wxObject
,
33792 &_swigt__p_wxPCXHandler
,
33793 &_swigt__p_wxPNGHandler
,
33794 &_swigt__p_wxPNMHandler
,
33795 &_swigt__p_wxPageSetupDialog
,
33796 &_swigt__p_wxPageSetupDialogData
,
33797 &_swigt__p_wxPaintEvent
,
33798 &_swigt__p_wxPaletteChangedEvent
,
33799 &_swigt__p_wxPanel
,
33800 &_swigt__p_wxPaperSize
,
33801 &_swigt__p_wxPasswordEntryDialog
,
33802 &_swigt__p_wxPoint
,
33803 &_swigt__p_wxPopupWindow
,
33804 &_swigt__p_wxPreviewCanvas
,
33805 &_swigt__p_wxPreviewControlBar
,
33806 &_swigt__p_wxPreviewFrame
,
33807 &_swigt__p_wxPrintData
,
33808 &_swigt__p_wxPrintDialog
,
33809 &_swigt__p_wxPrintDialogData
,
33810 &_swigt__p_wxPrintPreview
,
33811 &_swigt__p_wxPrinter
,
33812 &_swigt__p_wxProgressDialog
,
33813 &_swigt__p_wxPyApp
,
33814 &_swigt__p_wxPyCommandEvent
,
33815 &_swigt__p_wxPyEvent
,
33816 &_swigt__p_wxPyHtmlListBox
,
33817 &_swigt__p_wxPyImageHandler
,
33818 &_swigt__p_wxPyPanel
,
33819 &_swigt__p_wxPyPopupTransientWindow
,
33820 &_swigt__p_wxPyPreviewControlBar
,
33821 &_swigt__p_wxPyPreviewFrame
,
33822 &_swigt__p_wxPyPrintPreview
,
33823 &_swigt__p_wxPyPrintout
,
33824 &_swigt__p_wxPyScrolledWindow
,
33825 &_swigt__p_wxPySizer
,
33826 &_swigt__p_wxPyTaskBarIcon
,
33827 &_swigt__p_wxPyVListBox
,
33828 &_swigt__p_wxPyVScrolledWindow
,
33829 &_swigt__p_wxPyValidator
,
33830 &_swigt__p_wxPyWindow
,
33831 &_swigt__p_wxQueryLayoutInfoEvent
,
33832 &_swigt__p_wxQueryNewPaletteEvent
,
33834 &_swigt__p_wxRegion
,
33835 &_swigt__p_wxSashEvent
,
33836 &_swigt__p_wxSashLayoutWindow
,
33837 &_swigt__p_wxSashWindow
,
33838 &_swigt__p_wxScrollEvent
,
33839 &_swigt__p_wxScrollWinEvent
,
33840 &_swigt__p_wxScrolledWindow
,
33841 &_swigt__p_wxSetCursorEvent
,
33842 &_swigt__p_wxShowEvent
,
33843 &_swigt__p_wxSimpleHtmlListBox
,
33844 &_swigt__p_wxSingleChoiceDialog
,
33846 &_swigt__p_wxSizeEvent
,
33847 &_swigt__p_wxSizer
,
33848 &_swigt__p_wxSizerItem
,
33849 &_swigt__p_wxSplashScreen
,
33850 &_swigt__p_wxSplashScreenWindow
,
33851 &_swigt__p_wxSplitterEvent
,
33852 &_swigt__p_wxSplitterWindow
,
33853 &_swigt__p_wxStaticBoxSizer
,
33854 &_swigt__p_wxStatusBar
,
33855 &_swigt__p_wxStdDialogButtonSizer
,
33856 &_swigt__p_wxString
,
33857 &_swigt__p_wxSysColourChangedEvent
,
33858 &_swigt__p_wxTGAHandler
,
33859 &_swigt__p_wxTIFFHandler
,
33860 &_swigt__p_wxTaskBarIcon
,
33861 &_swigt__p_wxTaskBarIconEvent
,
33862 &_swigt__p_wxTextEntryDialog
,
33863 &_swigt__p_wxTipWindow
,
33864 &_swigt__p_wxToolBar
,
33865 &_swigt__p_wxTopLevelWindow
,
33866 &_swigt__p_wxUpdateUIEvent
,
33867 &_swigt__p_wxValidator
,
33868 &_swigt__p_wxVisualAttributes
,
33869 &_swigt__p_wxWindow
,
33870 &_swigt__p_wxWindowCreateEvent
,
33871 &_swigt__p_wxWindowDestroyEvent
,
33872 &_swigt__p_wxXPMHandler
,
33875 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33876 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33877 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33878 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33879 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33880 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33881 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33882 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33883 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
33884 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33885 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33886 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33887 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33888 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33889 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33890 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33891 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33892 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33893 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33894 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33895 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33896 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33897 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33898 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}};
33899 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33900 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
33901 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33902 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33903 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33904 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33905 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33906 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33907 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33908 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33909 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33910 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33911 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33912 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33913 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33914 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33915 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33916 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33917 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33918 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33919 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33920 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33921 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33922 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33923 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33924 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33925 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33926 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33927 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33928 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33929 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
33930 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
33931 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33932 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33933 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33934 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33935 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_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_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
33936 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33937 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33938 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33939 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33940 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33941 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33942 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33943 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33944 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_wxTipWindow
, _p_wxTipWindowTo_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}};
33945 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33946 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33947 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33948 static swig_cast_info _swigc__p_wxItemContainer
[] = { {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxItemContainer
, 0, 0, 0},{0, 0, 0, 0}};
33949 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33950 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33951 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33952 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33953 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33954 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33955 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33956 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33957 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33958 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}};
33959 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33960 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33961 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33962 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33963 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33964 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33965 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33966 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33967 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33968 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33969 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33970 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33971 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33972 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33973 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33974 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33975 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33976 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33977 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33978 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33979 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33980 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33981 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33982 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33983 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33984 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33985 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33986 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
33987 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33988 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33989 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_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_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33990 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33991 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33992 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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
33993 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33994 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33995 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33996 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
33997 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33998 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}};
33999 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}};
34000 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
34001 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
34002 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34003 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}};
34004 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
34005 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
34006 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox
, 0, 0},{0, 0, 0, 0}};
34007 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
34008 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
34009 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
34010 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
34011 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
34012 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
34013 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
34014 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34015 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
34016 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = { {&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
34017 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
34018 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
34019 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34020 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
34021 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
34022 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
34023 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}};
34024 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34025 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}};
34026 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
34027 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34028 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34029 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
34030 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
34031 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
34032 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
34033 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
34034 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34035 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34036 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34037 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
34038 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}};
34039 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
34040 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
34041 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_wxTipWindow
, _p_wxTipWindowTo_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_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
34042 static swig_cast_info _swigc__p_wxValidator
[] = { {&_swigt__p_wxValidator
, 0, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxValidator
, 0, 0},{0, 0, 0, 0}};
34043 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
34044 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_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_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
34046 static swig_cast_info
*swig_cast_initial
[] = {
34049 _swigc__p_form_ops_t
,
34051 _swigc__p_unsigned_char
,
34052 _swigc__p_unsigned_int
,
34053 _swigc__p_unsigned_long
,
34054 _swigc__p_wxANIHandler
,
34055 _swigc__p_wxAcceleratorTable
,
34056 _swigc__p_wxActivateEvent
,
34057 _swigc__p_wxArrayInt
,
34058 _swigc__p_wxArrayString
,
34059 _swigc__p_wxBMPHandler
,
34060 _swigc__p_wxBitmap
,
34061 _swigc__p_wxBoxSizer
,
34062 _swigc__p_wxCURHandler
,
34063 _swigc__p_wxCalculateLayoutEvent
,
34064 _swigc__p_wxChildFocusEvent
,
34065 _swigc__p_wxClipboardTextEvent
,
34066 _swigc__p_wxCloseEvent
,
34067 _swigc__p_wxColour
,
34068 _swigc__p_wxColourData
,
34069 _swigc__p_wxColourDialog
,
34070 _swigc__p_wxCommandEvent
,
34071 _swigc__p_wxContextMenuEvent
,
34072 _swigc__p_wxControl
,
34073 _swigc__p_wxControlWithItems
,
34075 _swigc__p_wxDateEvent
,
34076 _swigc__p_wxDialog
,
34077 _swigc__p_wxDirDialog
,
34078 _swigc__p_wxDisplayChangedEvent
,
34079 _swigc__p_wxDropFilesEvent
,
34080 _swigc__p_wxDuplexMode
,
34081 _swigc__p_wxEraseEvent
,
34083 _swigc__p_wxEventBlocker
,
34084 _swigc__p_wxEvtHandler
,
34085 _swigc__p_wxFSFile
,
34086 _swigc__p_wxFileDialog
,
34087 _swigc__p_wxFileSystem
,
34088 _swigc__p_wxFindDialogEvent
,
34089 _swigc__p_wxFindReplaceData
,
34090 _swigc__p_wxFindReplaceDialog
,
34091 _swigc__p_wxFlexGridSizer
,
34092 _swigc__p_wxFocusEvent
,
34094 _swigc__p_wxFontData
,
34095 _swigc__p_wxFontDialog
,
34097 _swigc__p_wxGBSizerItem
,
34098 _swigc__p_wxGIFHandler
,
34099 _swigc__p_wxGridBagSizer
,
34100 _swigc__p_wxGridSizer
,
34101 _swigc__p_wxHtmlLinkInfo
,
34102 _swigc__p_wxICOHandler
,
34104 _swigc__p_wxIconBundle
,
34105 _swigc__p_wxIconizeEvent
,
34106 _swigc__p_wxIdleEvent
,
34108 _swigc__p_wxImageHandler
,
34109 _swigc__p_wxIndividualLayoutConstraint
,
34110 _swigc__p_wxInitDialogEvent
,
34111 _swigc__p_wxItemContainer
,
34112 _swigc__p_wxJPEGHandler
,
34113 _swigc__p_wxKeyEvent
,
34114 _swigc__p_wxLayoutAlgorithm
,
34115 _swigc__p_wxLayoutConstraints
,
34116 _swigc__p_wxMDIChildFrame
,
34117 _swigc__p_wxMDIClientWindow
,
34118 _swigc__p_wxMDIParentFrame
,
34119 _swigc__p_wxMaximizeEvent
,
34121 _swigc__p_wxMenuBar
,
34122 _swigc__p_wxMenuEvent
,
34123 _swigc__p_wxMenuItem
,
34124 _swigc__p_wxMessageDialog
,
34125 _swigc__p_wxMiniFrame
,
34126 _swigc__p_wxMouseCaptureChangedEvent
,
34127 _swigc__p_wxMouseCaptureLostEvent
,
34128 _swigc__p_wxMouseEvent
,
34129 _swigc__p_wxMoveEvent
,
34130 _swigc__p_wxMultiChoiceDialog
,
34131 _swigc__p_wxNavigationKeyEvent
,
34132 _swigc__p_wxNcPaintEvent
,
34133 _swigc__p_wxNotifyEvent
,
34134 _swigc__p_wxNumberEntryDialog
,
34135 _swigc__p_wxObject
,
34136 _swigc__p_wxPCXHandler
,
34137 _swigc__p_wxPNGHandler
,
34138 _swigc__p_wxPNMHandler
,
34139 _swigc__p_wxPageSetupDialog
,
34140 _swigc__p_wxPageSetupDialogData
,
34141 _swigc__p_wxPaintEvent
,
34142 _swigc__p_wxPaletteChangedEvent
,
34144 _swigc__p_wxPaperSize
,
34145 _swigc__p_wxPasswordEntryDialog
,
34147 _swigc__p_wxPopupWindow
,
34148 _swigc__p_wxPreviewCanvas
,
34149 _swigc__p_wxPreviewControlBar
,
34150 _swigc__p_wxPreviewFrame
,
34151 _swigc__p_wxPrintData
,
34152 _swigc__p_wxPrintDialog
,
34153 _swigc__p_wxPrintDialogData
,
34154 _swigc__p_wxPrintPreview
,
34155 _swigc__p_wxPrinter
,
34156 _swigc__p_wxProgressDialog
,
34158 _swigc__p_wxPyCommandEvent
,
34159 _swigc__p_wxPyEvent
,
34160 _swigc__p_wxPyHtmlListBox
,
34161 _swigc__p_wxPyImageHandler
,
34162 _swigc__p_wxPyPanel
,
34163 _swigc__p_wxPyPopupTransientWindow
,
34164 _swigc__p_wxPyPreviewControlBar
,
34165 _swigc__p_wxPyPreviewFrame
,
34166 _swigc__p_wxPyPrintPreview
,
34167 _swigc__p_wxPyPrintout
,
34168 _swigc__p_wxPyScrolledWindow
,
34169 _swigc__p_wxPySizer
,
34170 _swigc__p_wxPyTaskBarIcon
,
34171 _swigc__p_wxPyVListBox
,
34172 _swigc__p_wxPyVScrolledWindow
,
34173 _swigc__p_wxPyValidator
,
34174 _swigc__p_wxPyWindow
,
34175 _swigc__p_wxQueryLayoutInfoEvent
,
34176 _swigc__p_wxQueryNewPaletteEvent
,
34178 _swigc__p_wxRegion
,
34179 _swigc__p_wxSashEvent
,
34180 _swigc__p_wxSashLayoutWindow
,
34181 _swigc__p_wxSashWindow
,
34182 _swigc__p_wxScrollEvent
,
34183 _swigc__p_wxScrollWinEvent
,
34184 _swigc__p_wxScrolledWindow
,
34185 _swigc__p_wxSetCursorEvent
,
34186 _swigc__p_wxShowEvent
,
34187 _swigc__p_wxSimpleHtmlListBox
,
34188 _swigc__p_wxSingleChoiceDialog
,
34190 _swigc__p_wxSizeEvent
,
34192 _swigc__p_wxSizerItem
,
34193 _swigc__p_wxSplashScreen
,
34194 _swigc__p_wxSplashScreenWindow
,
34195 _swigc__p_wxSplitterEvent
,
34196 _swigc__p_wxSplitterWindow
,
34197 _swigc__p_wxStaticBoxSizer
,
34198 _swigc__p_wxStatusBar
,
34199 _swigc__p_wxStdDialogButtonSizer
,
34200 _swigc__p_wxString
,
34201 _swigc__p_wxSysColourChangedEvent
,
34202 _swigc__p_wxTGAHandler
,
34203 _swigc__p_wxTIFFHandler
,
34204 _swigc__p_wxTaskBarIcon
,
34205 _swigc__p_wxTaskBarIconEvent
,
34206 _swigc__p_wxTextEntryDialog
,
34207 _swigc__p_wxTipWindow
,
34208 _swigc__p_wxToolBar
,
34209 _swigc__p_wxTopLevelWindow
,
34210 _swigc__p_wxUpdateUIEvent
,
34211 _swigc__p_wxValidator
,
34212 _swigc__p_wxVisualAttributes
,
34213 _swigc__p_wxWindow
,
34214 _swigc__p_wxWindowCreateEvent
,
34215 _swigc__p_wxWindowDestroyEvent
,
34216 _swigc__p_wxXPMHandler
,
34220 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34222 static swig_const_info swig_const_table
[] = {
34223 {0, 0, 0, 0.0, 0, 0}};
34228 /* -----------------------------------------------------------------------------
34229 * Type initialization:
34230 * This problem is tough by the requirement that no dynamic
34231 * memory is used. Also, since swig_type_info structures store pointers to
34232 * swig_cast_info structures and swig_cast_info structures store pointers back
34233 * to swig_type_info structures, we need some lookup code at initialization.
34234 * The idea is that swig generates all the structures that are needed.
34235 * The runtime then collects these partially filled structures.
34236 * The SWIG_InitializeModule function takes these initial arrays out of
34237 * swig_module, and does all the lookup, filling in the swig_module.types
34238 * array with the correct data and linking the correct swig_cast_info
34239 * structures together.
34241 * The generated swig_type_info structures are assigned staticly to an initial
34242 * array. We just loop though that array, and handle each type individually.
34243 * First we lookup if this type has been already loaded, and if so, use the
34244 * loaded structure instead of the generated one. Then we have to fill in the
34245 * cast linked list. The cast data is initially stored in something like a
34246 * two-dimensional array. Each row corresponds to a type (there are the same
34247 * number of rows as there are in the swig_type_initial array). Each entry in
34248 * a column is one of the swig_cast_info structures for that type.
34249 * The cast_initial array is actually an array of arrays, because each row has
34250 * a variable number of columns. So to actually build the cast linked list,
34251 * we find the array of casts associated with the type, and loop through it
34252 * adding the casts to the list. The one last trick we need to do is making
34253 * sure the type pointer in the swig_cast_info struct is correct.
34255 * First off, we lookup the cast->type name to see if it is already loaded.
34256 * There are three cases to handle:
34257 * 1) If the cast->type has already been loaded AND the type we are adding
34258 * casting info to has not been loaded (it is in this module), THEN we
34259 * replace the cast->type pointer with the type pointer that has already
34261 * 2) If BOTH types (the one we are adding casting info to, and the
34262 * cast->type) are loaded, THEN the cast info has already been loaded by
34263 * the previous module so we just ignore it.
34264 * 3) Finally, if cast->type has not already been loaded, then we add that
34265 * swig_cast_info to the linked list (because the cast->type) pointer will
34267 * ----------------------------------------------------------------------------- */
34277 #define SWIGRUNTIME_DEBUG
34281 SWIG_InitializeModule(void *clientdata
) {
34283 swig_module_info
*module_head
;
34284 static int init_run
= 0;
34286 clientdata
= clientdata
;
34288 if (init_run
) return;
34291 /* Initialize the swig_module */
34292 swig_module
.type_initial
= swig_type_initial
;
34293 swig_module
.cast_initial
= swig_cast_initial
;
34295 /* Try and load any already created modules */
34296 module_head
= SWIG_GetModule(clientdata
);
34298 swig_module
.next
= module_head
->next
;
34299 module_head
->next
= &swig_module
;
34301 /* This is the first module loaded */
34302 swig_module
.next
= &swig_module
;
34303 SWIG_SetModule(clientdata
, &swig_module
);
34306 /* Now work on filling in swig_module.types */
34307 #ifdef SWIGRUNTIME_DEBUG
34308 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34310 for (i
= 0; i
< swig_module
.size
; ++i
) {
34311 swig_type_info
*type
= 0;
34312 swig_type_info
*ret
;
34313 swig_cast_info
*cast
;
34315 #ifdef SWIGRUNTIME_DEBUG
34316 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34319 /* if there is another module already loaded */
34320 if (swig_module
.next
!= &swig_module
) {
34321 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34324 /* Overwrite clientdata field */
34325 #ifdef SWIGRUNTIME_DEBUG
34326 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34328 if (swig_module
.type_initial
[i
]->clientdata
) {
34329 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34330 #ifdef SWIGRUNTIME_DEBUG
34331 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34335 type
= swig_module
.type_initial
[i
];
34338 /* Insert casting types */
34339 cast
= swig_module
.cast_initial
[i
];
34340 while (cast
->type
) {
34341 /* Don't need to add information already in the list */
34343 #ifdef SWIGRUNTIME_DEBUG
34344 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34346 if (swig_module
.next
!= &swig_module
) {
34347 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34348 #ifdef SWIGRUNTIME_DEBUG
34349 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34353 if (type
== swig_module
.type_initial
[i
]) {
34354 #ifdef SWIGRUNTIME_DEBUG
34355 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34360 /* Check for casting already in the list */
34361 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34362 #ifdef SWIGRUNTIME_DEBUG
34363 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34365 if (!ocast
) ret
= 0;
34370 #ifdef SWIGRUNTIME_DEBUG
34371 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34374 type
->cast
->prev
= cast
;
34375 cast
->next
= type
->cast
;
34381 /* Set entry in modules->types array equal to the type */
34382 swig_module
.types
[i
] = type
;
34384 swig_module
.types
[i
] = 0;
34386 #ifdef SWIGRUNTIME_DEBUG
34387 printf("**** SWIG_InitializeModule: Cast List ******\n");
34388 for (i
= 0; i
< swig_module
.size
; ++i
) {
34390 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34391 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34392 while (cast
->type
) {
34393 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34397 printf("---- Total casts: %d\n",j
);
34399 printf("**** SWIG_InitializeModule: Cast List ******\n");
34403 /* This function will propagate the clientdata field of type to
34404 * any new swig_type_info structures that have been added into the list
34405 * of equivalent types. It is like calling
34406 * SWIG_TypeClientData(type, clientdata) a second time.
34409 SWIG_PropagateClientData(void) {
34411 swig_cast_info
*equiv
;
34412 static int init_run
= 0;
34414 if (init_run
) return;
34417 for (i
= 0; i
< swig_module
.size
; i
++) {
34418 if (swig_module
.types
[i
]->clientdata
) {
34419 equiv
= swig_module
.types
[i
]->cast
;
34421 if (!equiv
->converter
) {
34422 if (equiv
->type
&& !equiv
->type
->clientdata
)
34423 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34425 equiv
= equiv
->next
;
34445 /* Python-specific SWIG API */
34446 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34447 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34448 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34450 /* -----------------------------------------------------------------------------
34451 * global variable support code.
34452 * ----------------------------------------------------------------------------- */
34454 typedef struct swig_globalvar
{
34455 char *name
; /* Name of global variable */
34456 PyObject
*(*get_attr
)(void); /* Return the current value */
34457 int (*set_attr
)(PyObject
*); /* Set the value */
34458 struct swig_globalvar
*next
;
34461 typedef struct swig_varlinkobject
{
34463 swig_globalvar
*vars
;
34464 } swig_varlinkobject
;
34466 SWIGINTERN PyObject
*
34467 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34468 return PyString_FromString("<Swig global variables>");
34471 SWIGINTERN PyObject
*
34472 swig_varlink_str(swig_varlinkobject
*v
) {
34473 PyObject
*str
= PyString_FromString("(");
34474 swig_globalvar
*var
;
34475 for (var
= v
->vars
; var
; var
=var
->next
) {
34476 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34477 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34479 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34484 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34485 PyObject
*str
= swig_varlink_str(v
);
34486 fprintf(fp
,"Swig global variables ");
34487 fprintf(fp
,"%s\n", PyString_AsString(str
));
34493 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34494 swig_globalvar
*var
= v
->vars
;
34496 swig_globalvar
*n
= var
->next
;
34503 SWIGINTERN PyObject
*
34504 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34505 PyObject
*res
= NULL
;
34506 swig_globalvar
*var
= v
->vars
;
34508 if (strcmp(var
->name
,n
) == 0) {
34509 res
= (*var
->get_attr
)();
34514 if (res
== NULL
&& !PyErr_Occurred()) {
34515 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34521 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34523 swig_globalvar
*var
= v
->vars
;
34525 if (strcmp(var
->name
,n
) == 0) {
34526 res
= (*var
->set_attr
)(p
);
34531 if (res
== 1 && !PyErr_Occurred()) {
34532 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34537 SWIGINTERN PyTypeObject
*
34538 swig_varlink_type(void) {
34539 static char varlink__doc__
[] = "Swig var link object";
34540 static PyTypeObject varlink_type
;
34541 static int type_init
= 0;
34543 const PyTypeObject tmp
34545 PyObject_HEAD_INIT(NULL
)
34546 0, /* Number of items in variable part (ob_size) */
34547 (char *)"swigvarlink", /* Type name (tp_name) */
34548 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34549 0, /* Itemsize (tp_itemsize) */
34550 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34551 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34552 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34553 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34554 0, /* tp_compare */
34555 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34556 0, /* tp_as_number */
34557 0, /* tp_as_sequence */
34558 0, /* tp_as_mapping */
34561 (reprfunc
)swig_varlink_str
, /* tp_str */
34562 0, /* tp_getattro */
34563 0, /* tp_setattro */
34564 0, /* tp_as_buffer */
34566 varlink__doc__
, /* tp_doc */
34567 0, /* tp_traverse */
34569 0, /* tp_richcompare */
34570 0, /* tp_weaklistoffset */
34571 #if PY_VERSION_HEX >= 0x02020000
34572 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34574 #if PY_VERSION_HEX >= 0x02030000
34577 #ifdef COUNT_ALLOCS
34578 0,0,0,0 /* tp_alloc -> tp_next */
34581 varlink_type
= tmp
;
34582 varlink_type
.ob_type
= &PyType_Type
;
34585 return &varlink_type
;
34588 /* Create a variable linking object for use later */
34589 SWIGINTERN PyObject
*
34590 SWIG_Python_newvarlink(void) {
34591 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34595 return ((PyObject
*) result
);
34599 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34600 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34601 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34603 size_t size
= strlen(name
)+1;
34604 gv
->name
= (char *)malloc(size
);
34606 strncpy(gv
->name
,name
,size
);
34607 gv
->get_attr
= get_attr
;
34608 gv
->set_attr
= set_attr
;
34609 gv
->next
= v
->vars
;
34615 SWIGINTERN PyObject
*
34617 static PyObject
*_SWIG_globals
= 0;
34618 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34619 return _SWIG_globals
;
34622 /* -----------------------------------------------------------------------------
34623 * constants/methods manipulation
34624 * ----------------------------------------------------------------------------- */
34626 /* Install Constants */
34628 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34631 for (i
= 0; constants
[i
].type
; ++i
) {
34632 switch(constants
[i
].type
) {
34633 case SWIG_PY_POINTER
:
34634 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34636 case SWIG_PY_BINARY
:
34637 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34644 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34650 /* -----------------------------------------------------------------------------*/
34651 /* Fix SwigMethods to carry the callback ptrs when needed */
34652 /* -----------------------------------------------------------------------------*/
34655 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34656 swig_const_info
*const_table
,
34657 swig_type_info
**types
,
34658 swig_type_info
**types_initial
) {
34660 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34661 const char *c
= methods
[i
].ml_doc
;
34662 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34664 swig_const_info
*ci
= 0;
34665 const char *name
= c
+ 10;
34666 for (j
= 0; const_table
[j
].type
; ++j
) {
34667 if (strncmp(const_table
[j
].name
, name
,
34668 strlen(const_table
[j
].name
)) == 0) {
34669 ci
= &(const_table
[j
]);
34674 size_t shift
= (ci
->ptype
) - types
;
34675 swig_type_info
*ty
= types_initial
[shift
];
34676 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34677 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34678 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34681 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34683 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34685 strncpy(buff
, "swig_ptr: ", 10);
34687 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34688 methods
[i
].ml_doc
= ndoc
;
34700 /* -----------------------------------------------------------------------------*
34701 * Partial Init method
34702 * -----------------------------------------------------------------------------*/
34707 SWIGEXPORT
void SWIG_init(void) {
34710 /* Fix SwigMethods to carry the callback ptrs when needed */
34711 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34713 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34714 d
= PyModule_GetDict(m
);
34716 SWIG_InitializeModule(0);
34717 SWIG_InstallConstants(d
,swig_const_table
);
34720 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34721 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34722 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34723 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34724 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34725 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34726 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34727 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34728 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34729 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34730 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34731 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34732 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34733 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34734 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34735 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34736 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34737 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34738 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34739 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34740 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34741 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34742 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34743 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34744 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34745 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34746 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34747 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34748 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34749 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34750 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34751 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34752 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34753 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34754 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34755 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34756 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34757 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34758 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34759 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34760 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34761 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34762 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34763 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34764 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34765 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34766 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34767 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34768 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34769 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34770 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34771 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34772 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34773 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34774 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34775 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34776 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34777 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34778 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34779 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34780 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34781 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34782 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34783 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34784 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34785 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34786 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34787 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34788 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34789 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34790 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34791 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34792 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34793 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34794 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34795 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34796 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34797 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34798 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34799 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34800 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34801 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34802 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34803 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34804 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34805 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34806 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34807 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34808 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34809 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34810 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34811 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34812 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34813 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34814 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34815 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34816 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34817 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34818 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34819 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34820 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34821 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34822 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34823 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34824 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34825 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34826 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
34827 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
34828 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
34830 // Map renamed classes back to their common name for OOR
34831 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34832 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34833 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34835 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34836 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34837 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34838 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34839 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34840 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34841 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34842 PyDict_SetItemString(d
, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK
));
34843 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34844 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34845 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34846 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34847 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34848 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34849 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34850 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34851 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34852 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34853 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34854 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34855 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34856 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34857 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34858 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34859 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34860 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34861 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34862 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34863 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34864 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34865 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34866 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34867 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34868 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34869 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34870 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34871 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34872 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34873 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34874 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34875 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34876 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34877 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34878 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34879 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34880 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34881 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34882 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34883 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34884 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34885 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34886 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34887 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34888 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34889 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34890 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34891 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34892 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34893 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34894 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34895 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34896 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34897 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34898 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34899 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34900 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34901 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34902 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34903 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34904 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34905 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34906 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34907 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34908 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34909 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34910 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34911 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34912 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34913 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34914 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34915 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34916 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34917 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34918 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34919 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34920 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34921 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34922 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34923 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34924 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34925 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34926 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34927 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34928 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34929 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34930 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34931 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34932 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34933 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34934 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34935 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34936 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34937 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34938 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34939 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34941 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");